so i want to use the atmega328 with out the shield and have seen numerous mentions of using a 16-22 mhz crystal across pin 9 and 10 to ground with 22 pf caps.
i can not find a 2 pin crystal locally and would like to finish the project tonight.
i have been able to find a 4 pin 16.384 mhz crystal
does anyone have an idea of how i could use this 4 pin instead of a 2 pin.
xl97:
What are you trying to do with your standalone circuit in the end?
Is this a time critical project?
i am making turn signals to make my UTV street legal. so the need to blink at a regular rate so far with my program using it on the arduino shield it works great i was going to mock it up and a bread boars tonight with out the shield to see how it works out.
The internal oscillator is known for inaccuracy (it's calibrated to within 1% or so), not for it's instability (well, temperature and Vcc do affect its frequency but you won't notice it).
Lots of projects use the internal oscillator. Timing is accurate enough for the vast majority of projects, and definitely for a turn signal which just has to be within some large margin. To any human observer it will look perfectly regular.
hunicombs:
i am making turn signals to make my UTV street legal. so the need to blink at a regular rate so far with my program using it on the arduino shield it works great i was going to mock it up and a bread boars tonight with out the shield to see how it works out.
If the board clock may be off by 3 or 4%, what is the legal range of turn signal blink rates? Legalese is a kind of code, it should detail or refer to details in another document -- between cool morning and hot afternoon most blinkers should drift, temperature compensation circuits cost money!
I'm a bit surprised you don't just have a 555 circuit and switches to do this.