ATmega8 8MHz with Arduino Bootloader

 

An Atmel ATmega8 running at 8MHz, pre-programmed with an optimized Arduino® bootloader. A handy label is attached to show the function of each pin on the AVR chip.

The ATmega8 is actually perfectly adequate to run almost all the example sketches in the Arduino IDE. Unless you need to run very advanced applications, 8K of program space is quite adequate. For example, tachometer code that drives a 2x16 LCD display, uses interrupts, and "long" multiplication comes in at 2.7KB!

By using the internal oscillator at 8MHz, there is an absolute minimum of external components required to make a working circuit. The example in the product gallery above is simply: power, an LED, and a resistor, which is running the basic Arduino "Blink" example code.

Programming can be done with an external serial device like our FTDIbridge, or by placing the chip temporarily in an Arduino board such as a Duemilanove or Uno. (note that even though an Arduino board will have a 16MHz crystal, it will be ignored by this chip, and function at 8MHz)

The AVR will be pre-loaded with an Arduino 10Hz D13 "blink" routine, so you can easily check if your connections are correct! Note that the Arduino NG bootloader has a fairly long bootloader delay before running the user code, so be patient!

NOTE: Because this AVR is running at a non-standard frequency, you will need to add an entry into the "boards.txt" file in your Arduino install directory usually located here: %install-directory%\hardware\arduino\boards.txt

Arduino "boards.txt" entry for Arduino 1.0 (copy and add to top of the boards.txt file):


##############################################################

ce8mhz_atmega8.name=Cal-Eng - ATmega8 8MHz [34800]
ce8mhz_atmega8.upload.protocol=arduino
ce8mhz_atmega8.upload.maximum_size=7168
ce8mhz_atmega8.upload.speed=38400

ce8mhz_atmega8.bootloader.low_fuses=0xe4
ce8mhz_atmega8.bootloader.high_fuses=0xc2
ce8mhz_atmega8.bootloader.path=atmega8
ce8mhz_atmega8.bootloader.file=atmega8_8.hex
ce8mhz_atmega8.bootloader.unlock_bits=0x3F
ce8mhz_atmega8.bootloader.lock_bits=0x0F

ce8mhz_atmega8.build.mcu=atmega8
ce8mhz_atmega8.build.f_cpu=8000000L
ce8mhz_atmega8.build.core=arduino:arduino
ce8mhz_atmega8.build.variant=standard
Quantity

Price: $3.95

Packing Cost:$0.25

Loading Updating cart...

Comments are closed.