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

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

225 comments:

«Oldest   ‹Older   201 – 225 of 225
Sunshine Warrier 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 :)

Sunshine Warrier 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!

Unknown said...

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

Unknown said...

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

Unknown said...

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

Unknown said...

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

Unknown said...

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

Unknown 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!!!

Unknown 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 )

Laura Bush said...

I admire this article for the well-researched content & excellent wording. I got so involved in this material that I couldn’t stop reading. I am impressed with your work and skill. Thank you so much. Optoelectronics Franchise distributor

coursework writing service said...

I think your post is about the mechanical department. Hw can I prepare such a kit ?

Unknown said...

this Explore Air Drone Review helps you to buy best Air Drone

Aerocity said...

If your life has stopped giving you pleasure due to some unknown reasons than our Escorts Service is the right place it is still not too late to make it exciting. It is just your, who are such buddies, who can make you worth living if you spend a few moments with them. There is no such nudging in availing yourself of their companionship. See the link below:-
Female Escorts in Agra
Call Girls in Agra
Call Girls in Aerocity
Escorts Service in Delhi
Escorts Service in Aerocity
Call Girls near Delhi Airport

valentinarosy said...

Traffic Lawyer Madison VASuch an informative post.

thomas said...

Amazing, Your blogs are really good and informative. I got a lots of useful information in your blogs. Real Time Clock IC DS1307 from maxim with battery back-up, four general purpose keys, two keys for generating interrupts and an LED virginia beach motorcycle accident attorney. It is very great and useful to all. Keeps sharing more useful blogs...

glen said...

Amazing, Your blogs are really good and informative. I didn't buy the etchant from Chennai, but for getting it, visit any chemical shop which supplies chemicals to school and college laboratories, normally they have it, and seeing the number of schools and colleges here, I'm sure there will be plenty of them here! tax and estate lawyer! I got a lots of useful information in your blogs. It is very great and useful to all. Keeps sharing more useful blogs...

i Care Financial Corp said...

The Medical Care Financing Program to provide financial assistance to individuals who require medical treatment but are unable to afford it. This program is designed to ensure that everyone has access to necessary healthcare services, regardless of their financial situation.

By offering financial support, the program helps alleviate the burden of medical expenses and ensures that individuals can receive the care they need without worrying about the cost.

Antony said...

A very creative and wonderful idea, I think your ideas will be implemented and invent many other ideas.
Abogado Federal de Defensa Criminal

Thomson said...

The Make-Yourself ATmega32 Starter's Kit is a comprehensive package designed for beginners and enthusiasts alike. Equipped with essential components including LCD, I2C, SPI, RTC, and ADC interfaces, it offers a versatile platform for exploring microcontroller-based projects. Whether you're diving into electronics or honing your skills, this kit provides everything needed to start experimenting and learning. With clear instructions and ample resources, it's an ideal choice for those eager to delve into embedded systems and develop their own innovative applications. Unlock the potential of the ATmega32 microcontroller with this all-inclusive starter kit. cuanto cuesta un abogado de divorcio en new jersey

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