Electronic – is there atmega 128 basic circuit for every project

atmegaavrprogrammingtest

This is my first Atmega project so I have following questions:

  1. Do I have to connect all those gnds and vcc's?
  2. In programming I used Vcc Reset Gnd Tx Rx SClk of USART0 is that okay?
  3. I didn't used external clock generator (quarks) because I'm planning to use inside clock?
  4. Is there any fundamental circuits or pins that must be connected to work simple code? (I connected only Vccs and Gnds)
  5. Is there simple circuit that tests if the atmega 128 is working or not without programming it?

Best Answer

  1. Yes.

  2. Only if you've programmed it with a serial bootloader already. Otherwise use ISP or HVPP as normal.

  3. Okay? This is not a question.

  4. AVCC must be connected. You probably also want to connect nPEN to a switch.

  5. No. They come unprogrammed from the factory other than the ATmega103 compatibility fuse. Don't forget to unprogram that fuse before use.