Standalone proects

Hi,

At the one supplier I checked with, the 328 chip was only double the price of the 85, so I ended up sticking with the 328, bought 10. I also have some standalone projects based on ATMega8's as they were all that I could find in Dubai. I imagine that these may be available elsewhere as old stock at a lower cost, possibly less than attiny's ? Anyone seen this anywhere ?

Duane B

rcarduino.blogspot.com

And of course there's no serial monitor for debug messages.

Actualy there is, you can use TinyDebugSerial or even SoftwareSerial

And if you want to connect some servos, there is a library for the 45/85 here.

http://www.cunningturtle.com/servo8bit-library-version-0-6-released/

Erni:

And of course there's no serial monitor for debug messages.

Actualy there is, you can use TinyDebugSerial or even SoftwareSerial

And if you want to connect some servos, there is a library for the 45/85 here.

» Servo8Bit Library version 0.6 released Cunning Turtle

I probably should have qualified that with the limited pins, I find I usually cannot spare the IO's for serial debugging :slight_smile:

You could venture into the 8Mhz area, with some isp you can run a atmega328 with just power, no crystal
you may want to keep a cap on there, but that's it

Like this, pretty minimal:

Hi,

Nick, Yours is the only version I see with AVCC decoupled, is it necessary or just a precaution ?

Duane B

rcarduino.blogspot.com

The reference design has it, and I believe as a general rule you should decouple (all) the Vcc as close to the processor as you can.

http://www.thebox.myzen.co.uk/Tutorial/De-coupling.html

Hi,
I am a big fan of Mikes site re decoupling, LEDs, Motors etc.

I can't see any harm in having the cap on AVCC, but from this reference -

I see only a single shared cap for VCC,AVCC,GND,AGND.

Duane B

rcarduino.blogspot.com

Thanks guys, this post is really interesting :slight_smile:

DuaneB:
I see only a single shared cap for VCC,AVCC,GND,AGND.

Yes I see what you mean. On my "breadboard" version though, there were quite long wire runs to get to AVCC (links across the breadboard etc.) so I added the second one. On the PCB the cap is probably quite close to both pins.

On the Atmel reference designs (search AVR042) they suggest LC filters on both Vcc and AVcc. May not be nescessary, but for a less than a dollar in parts is not a bad idea. I ended up using a 20-pin dip header that I placed the power LC filter, a reset circuit, power led, and a signal led. For less than $10 is parts I was able to make 10 or so... They make wiring up any AVR pretty easy.

Also have a 14 pin headers with xtal circuits and AVcc LC filters

Wire Wrap AVR Support Chip Documentation.pdf (486 KB)