ATmega48 DevBoard PDF
ATmega48 DevBoard PDF
This is versatile development board for AVR microcontrollers ATmega48/88/168. It is good for testing and debugging embedded programs. It has many built-in peripheries connected to microcontroller so you can use them without soldering. ATmega microcontrollers are produced by ATMEL and they include a lot of features: I/O, Timers, PWM generators, ADC, RS232, TWI, SPI, Analog Comparator, Oscillator, EEPROM These microcontrollers are very versatile, easy to program and easy to use. This is the reason why I like these microcontrollers and why I decided to make development board for them.
LEDs Reset Config Header Port C Pot.
Temp. Analog Temp. PWM
Screw Terminals
RS232
Port D Piezo
AREF
ISP
Top view
Bottom view
1. ATmega AVR microcontroller in DIP28 package The development board is designed to use ATmega48 with 4kB flash memory or ATmega88 (8kB), ATmega168 (16kB). New version of these microcontrollers ATmega48P/88P/168P and ATmega328P (with 32kB) are pin compatible so they can be used also. External crystal X1 is placed in socket, so it is easy to change it or remove it. If internal oscillator is used then two PB6 and PB7 pins dedicated for crystal can be connected to the Port B connector. Microcontroller can be reset by pressing reset button S1.
2. AVR Ports B, C, D headers If built in peripheries are not used another device can be connected to the PORT B, C and D. Each port is connected to the 10-pin header. You could connect LCD display, Rotary Encoder, SD Card Reader, etc. with microcontroller. See my future posts.
3. 5V Power supply Both AC and DC voltage can be plugged in, because of using rectifier bridge. Input voltage can be connected to 2.5mm power jack connector or screw terminal. Power can be switch on / off by SW1. Power supply voltage is stabilized by common IO 7805. When the power is switch on red LED6 is lighted.
4. 4x LEDs Four green LEDs can be connected to the Port D shorting jumpers JMP6-9.
7. ADC accessories The microcontroller has built-in 10bits AD converter. On the board is LC filter for power supply of this ADC. You can use internal or external reference. The rotary trimming resistor R2 is connected to Aref input for playing with the external reference.
8. Potentiometer For simulation of varying ADC input voltage the rotary trimming resistor R1 can be connected to PC1 (ADC1) through JMP12.
9. Temperature sensors If you want to play with temperature sensor, you can connect temperature sensor with either analog or PWM output. Temperature sensor with analog output can be connected to the PC0 (ADC0) through JMP10. Temperature sensor with PWM output can be connected to the PB0 through JMP11.
10. RS232 line Standard serial interface is placed on the board. Level shifter MAX232 is used. MAX232 has two receiver and two transmitter lines. You can connect RXD and TXD of RS232 with RXD and TXD of microcontroller with help of config header. RTS and CTS of RS232 can be connected with PD6 and PD7 through JMP3 and JMP4. See config header part.
11. Config Header Config header allows interconnect different I/O microcontroller pins with RS232 line or with screw terminal.
12. Screw Terminals Screw terminals allow easily connect wires to microcontroller. Through this terminal you compose for example frequency counter of voltmeter, etc. Ground and 5 Volts are also presented on screw terminal.
13. ISP Development board includes serial port interface to allow direct in-system programming (ISP). Microcontroller can be programmed trough RS232 serial port by using program Pony Prog or AVDdude (ponyser). To avoid interference with RS232 signals, programmer can be disconnected using analog switches 4066. These switches can be closed manually by SW2 or automatically when the reset is active (using JMP13).
14. Mounting Holes In each corner of PCB is placed one 3.2mm mounting hole.
PROCESSOR
VCC R1 10K RESET C1 100nF GND VCC
BYPASS CAPACITOR
VCC
PUSHBUTTONS
TEMPERATURE SENSORs
VCC S2 S3 S4 S5 3 IO4 LM35CZ 2 JMP10 PC0
S1
IO1 PC6 PD0 PD1 1 2 3 4 5 6 7 8 9 PC6 (RESET) PD0 (RXD) PD1 (TXD) PD2 (INT0) PD3 (INT1/OC2B) PD4 (T0/XCK) VCC GND PB6 (TOSC1/XTAL1) PB7 (TOSC2/XTAL2) PD5 (T1/OC0B) PD6 (AIN0/OC0A) PD7 (AIN1) PB0 (ICP1/CLKO) ATmega48 GND GND PC6 PC4 PC2 PC0 IO2 2 16 VDD VCC C1+ C1C2+ C2T1IN T2IN 1 3 4 5 11 10 12 9 15 (ADC5/SCL) PC5 (ADC4/SDA) PC4 (ADC3) PC3 (ADC2) PC2 (ADC1) PC1 (ADC0) PC0 AGND AREF AVCC (SCK) PB5 (MISO) PB4 (OC2A/MOSI) PB3 (SS/OC1B) PB2 (OC1A) PB1 28 27 26 25 24 23 22 21 20 19 18 17 16 15 AREF AVCC PB5 PB4 PB3 PB2 PB1 VCC P4 1 3 5 7 9 2 4 6 8 10 PC5 PC3 PC1 PB6 PB4 PB2 PB0 PC5 PC4 PC3 PC2 PC1 PC0 GND C12 100pF PB2 PB3 PB4 PB5
GND
C2 22pF
STATUS LED
VCC R6 330 R7 330 R8 330 GND R9 330 LED4 JMP9 PD7 GND LED1 JMP6 PD4 LED2 JMP7 PD5 1 LED3 JMP8 PD6 3
GND
2 X1 20MHz PD5 GND C3 22pF JMP1 PB6 JMP2 B PB7 PD6 PD7 PB0
10 11 12 13 14
POTENCIOMETER
VCC R15A 10k 2 C18 100nF B GND
JMP12 PC1
PORTB
VCC C4 1uF
PORTC C7 1uF VCC C8 1uF SERIAL_TXD SERIAL_CTS SERIAL_RXD SERIAL_RTS PD6 PD4 PD2 PD0 P5 1 3 5 7 9 2 4 6 8 10 PD7 PD5 PD3 PD1
DC JACK
11 10
14 7 13 8 6 C6 1uF
T1OUT T2OUT
PORTD
GND
PIEZO
C C
CONFIG HEADER
P1 PD0 SERIAL_RXD PC2 TERM3 PD2 1 3 5 7 9 2 4 6 8 10 PD1 SERIAL_TXD PC3 TERM4 PD3
ANALOG VOLTAGES
JMP5
SW2 ISP SW
C9 100nF
11 10
SCREW TERMINALS
VCC
VCC
C19 100nF
MOUNTING HOLES
1 2 3 4 5 6 TERMINALS
GND GND
GND GND
Revision