Blog Archives

Burning a compiled hex file for Atmega chips using Arduino avrdude command line

For my latest project i wanted to use the famous GRBL firmware that loads into an arduino and helps drive steppers with G-code as input. I had an Arduino-Uno that i wanted to use. Now the arduino IDE can be

Tagged with: , ,
Posted in Electronics

FTDI type USB-UART adapter for $3

The USB-UART type adapters have become quite ubiquitous, especially when using the Arduino or its clones. The standard adapter seems to be based on the FT-232RL. Good feature list and reliability. There are others with the PL2303 based chip. But

Tagged with: , , ,
Posted in Electronics

Atmega328P/Atmega328. What’s the difference?

I never really paid much attention to the crazy naming of the Atmega chips. Yesterday i was on mouser trying to buy some atmega328 when i came across Atmega328 which cost $2.82 each and the Atmega328P which cost $3.50 each.

Tagged with: , ,
Posted in Electronics

Anatomy of AVR hex file

The eventual output of any AVR compiler like Arduino, GCC, AVR studio is an ‘Intel Hex file’ that gets loaded into the AVR flash memory by the ISP tool. So understanding this hex file is good if you are trying

Tagged with: , ,
Posted in Electronics

Burning the Optiboot Arduino bootloader into the Atmega328p

I have some arduino boards (all of them are the RBBB ones from moderndevice & Jeelabs). But rather than buying the kits with the atmega programmed with the arduino firmware, i just bought the boards and populated them. Then came

Tagged with: , ,
Posted in Electronics
Archives
Categories