================================================================================================================================================

Saturday, August 30, 2008

Make-Yourself ATmega32 Starter's Kit with LCD, I2C, SPI, RTC, ADC interfaces













Hi friends,
here is my home-made kit of ATmega32 microcontroller interfacing. The ATmega32 controller is rich with features like onboard 32kB in-System programmable flash, 1 KB EEPROM, 2KB SRAM, 10bit ADC (8 channel), SPI bus inteface, TWI (compatible with I2C bus) interface, an USART, analog comparator, etc. That's why I've selected it to load my kit with all those features.

This M32 card is having an LCD inteface with contrast adjustment, an RS232 port for connecting with PC, a connector for 8 analog voltage inputs to measure by ADC, a Real Time Clock IC DS1307 from maxim with battery back-up, four general purpose keys, two keys for generating interrupts and an LED.
The circuit can be powered by an easily available 12v DC adapter. The voltage regulator IC 7805 used to convert the input into regulated 5v supply.

See below the kit in powered on condition and the schematic (click to enlarge the images)













The PCB is completely home-made, using the etching technique with the Ferric Chloride chemical. If you want to know how to make a PCB yourself from your layout, visit following webpage, it's really helpful:

http://electrons.psychogenic.com/modules/arms/art/10/pcb_howto.php

The schematic and layout of the M32_card shown here are prepared using EAGLE. It's a single layer board for making the home-preparation easy. Check out the bottom layer and the layouts in the pics below:












The software for the ATmega32 controller is written using imageCraft AVR compiler. The software contains code for LCD interface, use of RTC and communication with PC with RS232 port. Using the Hyper terminal in windows, the functionality of the kit can be checked, as I've mentioned in my previous post of RTC_EEPROM interface with ATmega128.
Sown below are the pics of RTC circuit in test and related screen shot of the hyper terminal while interacting with the M32_Card

















Here is Proteus ISIS Simulation:



The complete source code files including new addition of ADC (check out Here) can be downloaded below.


Download
----------------
Source code
PCB files (in PDF & EAGLE formats)LinkProteus Simulation Model


Datasheets:


--------
ccd@dharmanitech.com

217 comments:

«Oldest   ‹Older   201 – 217 of 217
raju said...

Great Thanks for your open source helpfull activity...

pcb design said...

I agree with your thought.Thank you for your sharing your great experience and knowledge here with us.pcb assembly

anamika said...

hi,
I have started working with atmega32 controller and I have to make a robotic kit using this controller. Could u please send me the schematic and the source code as it cannot be downloaded from the link provided. Please mail me at warrier.karthika@gmail.com
thanks :)

anamika said...

hi,

I have started working with atmega32. I am planning to make a robotic kit using this controller. Could u send me the source code and layout of the same as it cannot be downloaded from the specified link. mail me at warrier.karthika@gmail.com
thanks!

Mayur Takodara said...

what is the difference between atmega32 and atmega328.
may i use one instead of other???

Mayur Takodara said...

what is the difference between atmega32 and atmega328.
may i use one instead of other???

Mayur Takodara said...

what is the difference between atmega32 and atmega328.
may i use one instead of other???

Mayur Takodara said...

what is the difference between atmega32 and atmega328.
may i use one instead of other???

Mayur Takodara said...

what is the difference between atmega32 and atmega328.
may i use one instead of other???

Mayur Takodara said...

what is the difference between atmega32 and atmega328.
may i use one instead of other???

Anonymous said...

Nice work ! I've been working for a similar project but i faced problems in programming with PIC C Compiler. Can you write the code with this compiler ?

mahinda said...

Hi

Thank you very much for the nice post.Kindly send me PCB and Schematic to my mail address megatechelec@gmail.com
Thanks in advance.
mahinda

Sarip said...

Wonderfull,.please mail me schematic and PCB layout and some related documents to my mail syarief_kang@yahoo.com thank you

Anonymous said...

CC Dharmani,
Man i respect you!!! Believe me from my heart man!!!

Neliswani Mkhwanazi said...

Great Job thanx, would you please email me the schematics in multisim, email:yeneliswani@gmail.com

Golam Samdany said...
This comment has been removed by the author.
Golam Samdany said...

How i build and compile this projects with AVR studio 6. i tried but io32v not found and shown error.please help me.( Atmega32 Board )

«Oldest ‹Older   201 – 217 of 217   Newer› Newest»