Mega32 page

BACK TO FRONT PAGE

 

Welcome  to the Australian Amateur Robotics Mega32 page.

This is the home of tutorials, examples, discussion and resources for the AVR Mega32 Microcontroller here at Australian Amateur Robotics.

The code and tutorials presented here will not be for the absolute beginner but hopefully not too far from that. Tutorials are small sections of code that will be explained in great detail and code examples will be entire applications that will merely be heavily commented rather than each line explained.

Don't forget to check out the "Introduction to C on the AVR with the 2313" page for more turials and example code for the 2313. This page also has some great beginners guides to basic C coding on the AVR in general.

 

Pinout

                           Mega32 pinout diagram                             

 

Example AVRGCC programs (mostly using Procyon lib)

Reading and Writing to the 24LCXXX eeprom

Very small program in GCC showing how to read and write to the 24LC256 eeprom

Coming soon

Temperature Datalogger

Hardware I2C (TWI) reading Temperature from DS1631 and Time from DS1307 and storage on 24LC256.

Basic control of a hobby servo motor

Very simple program to control the position of a servo's rotor arm

 

Older C programs (very messy code)

Hardware I2C (TWI) with a DS1307 (Basic)

Using the RTC DS1307 IC to output time on the serial port.

Hardware I2C (TWI) with a DS1307 (Intermediate)

Using the RTC DS1307 IC to input and output time via the serial port.

 

I'm not sure what Zippo lighter fluid has to do with microcontrollers.