ATtiny as Clock Source


so, have project i'm working on need clock source can slow. can go below 1hz. adjustable 1khz @ top end. ok slower. , i've been toying idea of using attiny85 clock. reason change variables on fly use of inputs. versus a, example, 555 timer limited pot selection. i'm saying think slower speeds i'm looking at, , availability of parts on hand, think attiny might better fit project.

but here problem, plan on using for, need whatever clock choose use clean clock. read: close square wave possible, 50% duty cycle. don't have scope or logic analyzer, , cannot check how clean attiny is, blink style program, without 1 of tools. have failed in searches of finding information topic on net.

now considering digital ic, assume pretty clean. more use of external crystal. in opinions of resident experts, attiny using internal oscillator @ 8mhz clean enough use @ given duty cycle , frequencies hoping achieve?

the duty cycle should not problem. without hardware assistance (timer...) code can toggle output, on , off times should close.

for testing purposes can use arduino, counts or timestamps received clock pulses or transitions. can in determination of stability of internal clock. internal clock frequency may depend on supply voltage, chip , ambient temperature, don't forget vary these parameters in tests.


Arduino Forum > Using Arduino > Project Guidance > ATtiny as Clock Source


arduino

Comments