Close

Programming a bare bones Atmega328 over UART

A project log for 900 MHz radio

Hope RF module + Atmega 328

sophi-kravitzSophi Kravitz 01/31/2021 at 18:090 Comments

I found this whole process to be hard to figure out and didn't find a tutorial online, so here's some notes.

In order to use the Arduino IDE, you need a bootloader on your Arduino compatible chip.

1. Use ICSP pins to get the bootloader onto the chip. I use an AVR mkii programmer for this step.

2. After the bootloader is on the chip, you can program the board using the serial port. There is a specific circuit that I found needed to be designed in. I used the FTDI basic as the programmer.

3. NOTES: I had to upload the bootloader twice and cycle power a couple of times to get this to work

Discussions