Saturday, January 8, 2011

Tutorial 2: Making a development board for ATmega series.

Name: Making a development board for ATmega series.
Application: This is small development board & can be used with ATmega 16/32/64/644 etc.

Requirements and components:
There are 5 baric parts of the development board –
1.       µC holding circuit.
·         General purpose PCB
[If you’re not good with soldering then this can be implemented with two bread board]
·         40 pin IC holder
2.       Power supply circuit.
·         Small sliding switch (with three terminals)
·         Diode 1N4004
·         Electrolytic capacitors -100µF/25V, 10µF/25V
·         IC 7805(or 78L05)
·         Heat sink for 7805(with screw)
3.       Programming pins.
·         This is discussed letter.
4.       Reset circuit.
·         Resistor- 1.2KΩ
·         Electrolytic capacitor- 1uF/10V
·         Micro press button switch(D1/D2 press button switch with two legs)
5.       Crystal circuit.
·         Ceramic capacitors – 22pF
·         Crystal – 16MHz
[Note: Atmel Corporation ships ATmega AVR ICs with internal RC oscillator @ 8MHz. Hence, if you buy a new brand IC from stores then you don’t need to implement crystal assembly. But if you chance the “Fuse bit setting” (just mark the word here!!! we will see this in detail) then you need crystal assembly]
6.       Other
·         Male and female burg strips
·         Wires and soldering accessories.

Connections:
Following diagram shows the connection set up for ATmega16/32
If you see in the diagram all the above parts of circuit are implemented. SV1 and SV2 are the female (or can be male) connectors connected to the port C and port D of IC. One can also connect same connections to the Port A and Port B. But, I recommend that you leave port A as it is. (i.e. don’t connect anything to port A, because this port is used for internal ADC of MegaAVRs.)

One must take care of few things as-
·         Solder the IC base only don’t solder the IC directly to PCB.
·         Watch the position of VCC and GND pins as well as soldered tracks.
·         One can solder the crystal directly but it is good to have female burg at crystal, so that you can change the crystal whenever you need to do so.
Basic connections for development board

One pint to be noted here is that, when you mastered the skills of soldering you can start developing more complex circuit on general purpose PCB. And once u got all things correct on general purpose then you can start develop your own PCB module. But still I recommend the general purpose is better than to have a PCB module as you can modify the circuit on general purpose PCB.
Here are the some of the boards developed by me -



Cost and availability of components:

You can just figure out the components required from above mentioned list and the diagram. Cost of all the components is very less as compared to Atmega ICs.
·         Cost of all components except IC = Rs. 100/- [INR]
·         Cost of IC[ATmega 16/32] = Rs. 250/- [INR]
  
Note: All components will be available @

GALA ELECTRONICS
20, Kalpana Building, 1st Floor, 357,
Lamington Road, Opp. Police Station,
Mumbai-400 007 (INDIA)
Component Division
Tel.: (022) 2386 3549 / 2382 3550
Kit Division
Tel.: (022) 2387 9562
Fax: (022) 2382 3552

16 comments:

  1. Interesting... but too complicated for my need.
    I am newbie in electronic but can read circuit schematic.
    I have atmega162. I mess with fuse bits and the AT cant be accessed.
    I need to apply 1Mhz TTL level signal to pin 19 of AT.
    Do you have a simple schematic for this?

    Thanks.


    ReplyDelete
    Replies
    1. Dear rvkkoddi,

      Please provide your e-mail, I'll mail the simple schematics.

      Delete
  2. I am new to AVR and I want to make a simple serial port programmer for ATmega8/16/32 . Can you please provide me with the circuit/schematic for it. I am using PonrProg2000 software and programming in AVRStudio 6.
    Thanks

    ReplyDelete
    Replies
    1. Hi Anuj,
      Please find the link for serial port programmer :
      http://extremeelectronics.co.in/avr-tutorials/part-iii-making-programmer-and-target/

      To begin with AVR, I suggest you to go with parallel port programmer, though its slow it's very simple to construct.... Just solder 5 wires to parallel port and its done ... In the case of serial port you need to solder few components.

      Here is link for parallel port programmer :

      http://embeddedelectronicsforatmegaseries.blogspot.in/2011/01/tutorial-1-parallel-port-programmer-for.html

      Then gradually you can move ahead with serial and USB programmer.

      THT,
      Kaustubh Ghaisas.

      Delete
    2. i am a newbie. I want to know how to build ATMEGA32 development board

      Delete
    3. Hello Anuj,

      Please share your mail ID, I'll share schematics diagram shortly.

      Regards,
      Kaustubh Ghaisas.

      Delete
  3. Can u specify through what pins I can up load the program to microcontroller

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. I have attended summer training of HP Noida of Embedded Systems but we worked on the development board provided by them. Now I want to develop my own development board capable of running LCD, USART, TIMERS. Sir Please Help me in making the board by sending simple Schematics of board.

    Thanks A Lot Sir. :)

    ReplyDelete
    Replies
    1. My mail id vikrambansal04@gmail.com

      Delete
    2. Dear Vikram,

      Please check you mail inbox.

      Regards,
      Kaustubh Ghaisas.

      Delete
  6. Hello, I am Shivam and I need simple schematics for atmega 16 board

    ReplyDelete
    Replies
    1. Dear Shivam,

      Please check you mail inbox.

      Regards,
      Kaustubh Ghiasas.

      Delete
  7. My email id is
    shivam.sundram93@gmail.com

    ReplyDelete
  8. hi i'm kishore kumar, i new to this field.i like construct atmega16 development board .Can you help me with schematic diagram.

    ReplyDelete
  9. my mail id is kishorechurchil@gmail.com

    ReplyDelete