You are on page 1of 21

Home Made AVR Devboard | eXtreme Electronics

http://extremeelectronics.co.in/hardwares/home-made-avr-devboard/

Home
Ads by Google AVR C# Programmer Programmer Pic Atmel

Home Atmel AVR Tutorials Introduction Getting Started Making Programmer and Development Board Making Hello World Project Digital Input/Output in AVRs Interfacing Seven Segment Displays Controlling DC Motors Working with LCD Modules Using Internal Peripherals Analog To Digital Convertor Introduction To AVR Timers Timers in Compare Mode Multiplexed Seven Segment Displays Interfacing Temperature Sensor LM35 RS232 Communication Basics RS232 Level Convertor Using AVR USART Serial I/O More ... Products Low Cost AVR Dev Board Microchip PIC Dev Board xBoard MINI v2.0 (ATmega8) xBoard v2.0 (ATmega16) USB AVR Programmer USB PIC Programmer USB 8051 Programmer More ... Online Store Forum
1 of 21

8/14/2010 10:46 PM

Home Made AVR Devboard | eXtreme Electronics

http://extremeelectronics.co.in/hardwares/home-made-avr-devboard/

Links Contact Us Enquiry Form Payment and Shipping

Apr-6th-2008

Home Made AVR Devboard

2 of 21

8/14/2010 10:46 PM

Home Made AVR Devboard | eXtreme Electronics

http://extremeelectronics.co.in/hardwares/home-made-avr-devboard/

In this article, I will show you how to make your own AVR development board for ATmega8 microcontroller.

What is a development board?


In order to learn any MCU like AVR we need a AVR MCU that has all the basic connections like power supply, crystal oscillator, proper reset signal and an ISP connector for uploading a program. All these things are required for any project you will make. A development board is a circuit board that contains all these connections and it has connectors for IO pins of MCU so that they can be connected to any external circuit with ease. So as you see its is like a basic framework. Once you make a good development board and test it, you will have a solid foundation and for your project you can concentrate on the specific requirement of that project. This will also reduce the chance of making errors. Some more complicated development boards have a RS232 level converters(for serial communication) ,motor control chips etc.

Now lets do it!


I have described the basic connections required by any AVR MCU in Part III of my AVR tutorial series so I am jumping right to the schematic.

3 of 21

8/14/2010 10:46 PM

Home Made AVR Devboard | eXtreme Electronics

http://extremeelectronics.co.in/hardwares/home-made-avr-devboard/

Fig - Development board schematic.

Things you need are S.No Components 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 ATmega8 Voltage Regulator IC7805 Resistance Resistance Name Value IC1 IC2 R1 R2 330ohm 1k 100uF 100uF 1uF 0.1uF 22pF 22pF 0.1uF 10uH 1N4007 16Mhz

Capacitor(Electrolytic/Polar) C1 Capacitor(Electrolytic/Polar) C2 Capacitor(Electrolytic/Polar) C6 Capacitor(Ceramic disk type) Capacitor(Ceramic disk type) Capacitor(Ceramic disk type) Capacitor(Ceramic disk type) Inductor Diode Crystal Oscillator LED C3 C4 C5 C6 L1 D1 Q1 LED1

4 of 21

8/14/2010 10:46 PM

Home Made AVR Devboard | eXtreme Electronics

http://extremeelectronics.co.in/hardwares/home-made-avr-devboard/

16 17

Tactile push to on switch Connectors,IC Socket, Power jack, general purpose PCBs, wires etc

S1

Note: The voltage rating of C1 must be at least twice the input voltage while that of C2 & C6 can be 12 Volts or more

Fig - Components for power supply

5 of 21

8/14/2010 10:46 PM

Home Made AVR Devboard | eXtreme Electronics

http://extremeelectronics.co.in/hardwares/home-made-avr-devboard/

Fig - ATmega8, Resistors, Capacitors and Connectors.

Fig - Veroboard / General purpose PCB - Top View

6 of 21

8/14/2010 10:46 PM

Home Made AVR Devboard | eXtreme Electronics

http://extremeelectronics.co.in/hardwares/home-made-avr-devboard/

Fig - Veroboard / General purpose PCB - Bottom View

Now connect the components according to the schematic on a general purpose PCB. You will get something likeeasy connection/disconnection from Fig - Connectors for this.

MCU pins
7 of 21

8/14/2010 10:46 PM

Home Made AVR Devboard | eXtreme Electronics

http://extremeelectronics.co.in/hardwares/home-made-avr-devboard/

Before inserting the MCU, first test the board for any connection error. Make sure everything is according with all components assembled. Fig - Final Board to the schematic. Then check for any soldering errors like loose joints or unwanted shorting by solder. Finally connect power supply of 8 to 18
8 of 21

8/14/2010 10:46 PM

Home Made AVR Devboard | eXtreme Electronics

http://extremeelectronics.co.in/hardwares/home-made-avr-devboard/

volts to the circuit by using an adaptor, battery, or transformer (after converting to DC). Check the power pins of MCU in the IC socket with a multi-meter for voltage. It should be very close to 5V. If everything is ok your board is ready.

Note
Some difference in my prototype and the schematic. 1. The value of C2 is 100uF but I have used 0.1uF ceramic type. 2. I have not used the reverse protection diode D1. But you should for safety. 3. I have used 220uF capacitor as C1. Anything over 100uF will do. Also the voltage rating must be double the input supply voltage 4. I have not used the reset switch. However, it is very convenient if we have one. 5. I have not used C6(1uF) as it is required for reset switch 6. I have not used L1 for connecting the AVcc to Vcc, instead I have directly connected them. But if you are planning to use the ADC you should use the L1 as it makes the ADC much accurate by suppressing noise 7. I have connected a 0.1uF capacitor from Vref to GND as it is suggested by datasheet. Only necessary if you are using ADC.

The same board made with a professional PCB.

9 of 21

8/14/2010 10:46 PM

Home Made AVR Devboard | eXtreme Electronics

http://extremeelectronics.co.in/hardwares/home-made-avr-devboard/

Fig - A simple ATmega8 Devboard

You can buy it from here at only Rs 450/-. Sorry, but currently I ship it only within India (no International shipping right now). Download PDF version | Get Adobe Reader Free !!!

Share

10 of 21

8/14/2010 10:46 PM

Home Made AVR Devboard | eXtreme Electronics

http://extremeelectronics.co.in/hardwares/home-made-avr-devboard/

vote now

Capacitors & Vacuum tubes China made capacitor & vacuum tube Reliable products, Reliable EECTECH
www.eectech.info

This entry was posted on Sunday, April 6th, 2008 at 5:17 am and is filed under Hardwares. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

20 Responses to Home Made AVR Devboard 1. 1 Using the Analog To Digital Converter. | eXtreme Electronics Says: [...] I used the xBoard for testing the application but you can use your own development board. See Home Made AVR Devboard. [...]
September 18th, 2008 at 12:13 pm

2. 2 Multiplexed Seven Segment Displays - Part II | eXtreme Electronics Says: [...] can use a Home Made AVR Devboard or a low cost xBoard MINI to experiment with seven segment displays. In the picture I have used [...]
October 11th, 2008 at 4:32 am

3. 3 AL Says: Hi, This is great! Just like the board sold by sparkfun.com but better I am a very beginner with microcontrollers and circuit designs. Would you kindly explain how you come about to use capacitors and the L1? I know the capacitors would smooth out the voltage to make it more stable, etc. But how did you come about the capacitance values? What kinds of tolerances in your resistors and capacitors, e.g., 1%, etc.?
11 of 21

8/14/2010 10:46 PM

Home Made AVR Devboard | eXtreme Electronics

http://extremeelectronics.co.in/hardwares/home-made-avr-devboard/

Thanks. And GREAT WORK!


October 17th, 2008 at 2:51 am

4. 4 Avinash Says: Hi AL, The ceramic capacitors (0.1uF) are Decoupling capacitor capacitor. They are used to decouple the power supply from the MCU. The advantage is they bypass the spikes frm the power supply. They are placed close to the MCU. The standard value used for this purpose is 0.1uF ceramic disk type. The C1 (100uF) is used as a filter capacitor. Its purpose is to further smooth the In put DC input which you may supply from a transformer. Its value is not so important just select is according to the current requirement of the circuit. It the circuit is a consuming one you can increase it (470uF or even 1000uF). The two capacitors 22pF connected to the Crystal. Their value is suggested in the ATmega8 Datasheet (see page 27) The L1 (inductor) C7 is used as suggested in the dataseet page 202 ADC Noice Cancelling Techniques. So Now you know how the value are calculated you can go ahead and start building !!! For any help we are here The C6
October 17th, 2008 at 8:58 am

5. 5 AL Says: Hi, Thanks for the answers. That helps a lot. I happen to find ModernDevices tiny Atmel dev board. Its very interesting. See http://www.moderndevice.com /RBBB_revB.shtml.

12 of 21

8/14/2010 10:46 PM

Home Made AVR Devboard | eXtreme Electronics

http://extremeelectronics.co.in/hardwares/home-made-avr-devboard/

In your answer, you referred to page 202 for the ADC Noise Cancellation Techniques. All the Atmel datasheets I looked have 22 or pages not to 200+ pages. They do refer to those pages as well. I kept searching and searching on the atmel.com site but cant find the complete (200+ pages) of the atmel datasheet. Do you know the link by any chance? Thanks.
October 18th, 2008 at 10:34 pm

6. 6 AL Says: Found it! http://www.atmel.com/dyn/products/datasheets.asp?family_id=607


October 19th, 2008 at 12:27 am

7. 7 Using IR remote with AVR MCUs | eXtreme Electronics Says: [...] Home Made AVR Devboard [...]
November 2nd, 2008 at 10:00 am

8. 8 Part III - Making Programmer and Target. | eXtreme Electronics Says: [...] Home Made AVR Devboard. [...]
December 12th, 2008 at 7:46 pm

9. 9 Using the USART of AVR Microcontrollers : Reading and Writing Data | eXtreme Electronics Says: [...] Home Made AVR devboard To experiment with AVR micros first make this. [...]
December 29th, 2008 at 11:54 am

10. 10 Seemanta Says:

13 of 21

8/14/2010 10:46 PM

Home Made AVR Devboard | eXtreme Electronics

http://extremeelectronics.co.in/hardwares/home-made-avr-devboard/

Nice pictures man! I really liked you site. I too am a hobby embedded developer!
March 27th, 2009 at 1:31 am

11. 11 Raul Says: Hello, I have to do a project using ATmega16 and i make your Home Made AVR Devboard and the programmer for serial. I use PonyProg . Andi have some problems: I connect the programmer and Devboard to the PC serial, and when i tray to read the fuse bits, i receive the next error: device missing or unknown device -24, i clink the Ignore button and finally read the fuse bits, but all are selected. When i tray to write o small program into controller (i tray to on/off a LED)i receive the same error; i hit the Ignore button, PonyProg write something, verify something, but finally he says : Write fail!!. So what is the problem? I skip something?? One more question: when i write something into controller , the Devboard must to be power ?(i tray the both )
April 26th, 2009 at 6:52 pm

12. 12 Avinash Says: Hello Raul,

Please check connections. Communication with Programmer < -> Micro is not ok. Yes devboard should be powered while programming. Keep all cables as short as possible. Check DB9 PIN connections. Select Correct COM Port. If all else fails buy a ready made USB Port based programmer from here http://shop.extremeelectronics.co.in/product_info.php?cPath=21&
14 of 21

8/14/2010 10:46 PM

Home Made AVR Devboard | eXtreme Electronics

http://extremeelectronics.co.in/hardwares/home-made-avr-devboard/

products_id=28
April 30th, 2009 at 7:49 am

13. 13 Suhas Says: Hey, Is it possible for you to provide the PCB design of the Devboard? I am interested in making one myself.
May 13th, 2009 at 3:51 pm

14. 14 Zvonimir Cicak Says: Im interested also if you can give pcb layout of your Devboard so we can make it at home
August 2nd, 2009 at 5:08 pm

15. 15 Rohit Says: you are doing good work, looking forward to your tutorial on rf transceiver.
September 11th, 2009 at 4:54 am

16. 16 Mitesh Says: Hi Avinash, Nice kits! I am in the US (used to live in Hyderabad) and can purchase these from you and sell them here in the US. I have friends/family that routinely fly back and forth. Which city are you located in? If it is Hyderabad/Bangalore /Chennai, I can have somebody purchase some of them and get them to me over here. Thanks. Mitesh aminmitesh@hotmail.com
December 15th, 2009 at 4:01 am

17. 17 Avinash Says:


15 of 21

8/14/2010 10:46 PM

Home Made AVR Devboard | eXtreme Electronics

http://extremeelectronics.co.in/hardwares/home-made-avr-devboard/

@Mitesh Thanks! We are in Jamshedpur. I can also send these to you by DHL Express. We export many Items by DHL Express. Please tell me your background. Do you have experience in E business or Bussiness Related to electronics? Then you may represent us in USA. After India our Most of our Visitors are from USA and its a Great Market. PLEASE REPLY TO MY EMAIL avinash [ at ] eXtremeElectronics.co.in
December 15th, 2009 at 8:34 am

18. 18 Ramesh Says: Hi Avinash really gr8 job


January 12th, 2010 at 3:47 pm

19. 19 Rohit Sharma Says: You know Avinash , you are a good guy. I really like the tutorials, (party because i had summer training on Atmega microcontrollers) these tutorials really helps and i am looking forward for more (specially on wireless module [read Zigbee])

March 6th, 2010 at 9:35 am

20. 20 pp Says: i want to make the development board for atmega16 .is there some ckt diagram for this
March 13th, 2010 at 10:47 am

Leave a Reply

16 of 21

8/14/2010 10:46 PM

Home Made AVR Devboard | eXtreme Electronics

http://extremeelectronics.co.in/hardwares/home-made-avr-devboard/

Name (required) Mail (will not be published) (required) Website

Notify me of followup comments via e-mail


Ads by Google
Electronic Circuit Board Circuit Schematic 8051 Programmer Microcontroller Circuit Pic Schematic

New Products Tags Meta

Ads by Google
ATMEGA8 Circuit Assembly Circuit Programmer AVR ISP JTAG Embedded Programmer

New Products

Tags
isr Multiplexing programming microcontrollers avr programmer Timer0 internal peripherals USB Programmer timer1 atmega Hyperterminal remote control avr gcc interrupt c xBoard Seven Segment PIC Development Board usb pic

17 of 21

8/14/2010 10:46 PM

Home Made AVR Devboard | eXtreme Electronics

http://extremeelectronics.co.in/hardwares/home-made-avr-devboard/

pic16f877 Timer ADC mplab atmega16 pic16f pic18f4520 hi-tech c atmega32 USART rs232 pic18f microchip
programmer atmega8 ir Robotics pic tutorial mcu pwm lcd pic programmer

pic18f2550 pic18 pic18f4550 AVR pic

Meta
Log in RSS Comments RSS Wordpress Valid XHTML Recent Post Comments Video

Recent Post
Interfacing KS0108 based 12864 Graphical LCD with AVR MCU. Interfacing MMA7260 Triple Axis Accelerometer with ATmega32 AVR Tutorial Interfacing LM35 Temperature Sensor with PIC Microcontroller. Using Analog to Digital Converter (ADC) PIC Microcontroller Tutorial AVR Project Remote Controlled Fan Regulator. Servo Motor Control by Using AVR ATmega32 Microcontroller Obstacle Avoiding Robot using AVR ATmega32 Part III Making The LCD Expansion Board for PIC18F4520 Introduction to PIC18s Timers PIC Microcontroller Tutorial RS232 Communication using PIC18F4520s USART PIC Microcontroller Tutorial

Comments
Arifuddin Sheik: I am eagerly waiting for this article from a long time! Fairuz: great work,, good post keep posting broo!! bee: this tutorial is good..:)
18 of 21

8/14/2010 10:46 PM

Home Made AVR Devboard | eXtreme Electronics

http://extremeelectronics.co.in/hardwares/home-made-avr-devboard/

Akhil: Battery symbol should be inverted in Fig: Motor Controller Using L293d chip Nagaraj.P.R: Hi Avinash, Good work Keep it up. I want you to update the below 16 bit timers... pavan: max. how many servos could be controlled using mega32 or mega8.?? mega32 has 4 timers..so only... Jose: This is really nice. I think that the temperature sensor you are using is linear. I would be...

Video

eXtreme Electronics

eXtremeElec
Interfacing KS0108 based 128x64 Graphical LCD with AVR Microcontroller. | eXtreme Electronics http://bit.ly/anw5p3
3 hours ago

Using LCD Module with AVRs | eXtreme Electronics http://bit.ly /9e18M0


3 days ago

Interfacing Seven Segment Displays | eXtreme Electronics http://bit.ly/9yLJ19


4 days ago

RT @tweetmeme Part V Digital IO in AVRs | eXtreme Electronics http://bit.ly/a7Nu9y


4 days ago

Join the conversation

Categories
19 of 21

8/14/2010 10:46 PM

Home Made AVR Devboard | eXtreme Electronics

http://extremeelectronics.co.in/hardwares/home-made-avr-devboard/

AVR Development Board AVR Projects AVR Tutorials Code Libraries Code Snippets Hardwares Microchip PIC Tutorials PIC Development Board Programming in 'C' RF Robotics Software Tools

Navigation
Home Forum Shop Links

Subscribe

20 of 21

8/14/2010 10:46 PM

Home Made AVR Devboard | eXtreme Electronics

http://extremeelectronics.co.in/hardwares/home-made-avr-devboard/

Get New Articles Deliverd To Your Inbox! Email address:

Delivered by FeedBurner

Comments
Arifuddin Sheik: I am eagerly waiting for this article from a long time! Fairuz: great work,, good post keep posting broo!! bee: this tutorial is good..:) Akhil: Battery symbol should be inverted in Fig: Motor Controller Using L293d chip Nagaraj.P.R: Hi Avinash, Good work Keep it up. I want you to update the below 16 bit timers... pavan: max. how many servos could be controlled using mega32 or mega8.?? mega32 has 4 timers..so only... Jose: This is really nice. I think that the temperature sensor you are using is linear. I would be... eXtreme Electronics 2007-2009 | See Our Privacy Policy

21 of 21

8/14/2010 10:46 PM

You might also like