0% found this document useful (0 votes)
218 views21 pages

User Manual - At128 Dev BRD

The document is a user manual for the Provotech ATmega128 Development Board. It provides specifications for the board which uses the ATmega128 microcontroller and includes features like LEDs, switches, sensors, LCD display, and interfaces for SD card, real-time clock, and wireless communication. The manual describes how to power and program the board, and connect and interface various onboard components to the microcontroller for embedded applications. Sample code is provided to demonstrate controlling the LEDs.

Uploaded by

nm2007k
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
218 views21 pages

User Manual - At128 Dev BRD

The document is a user manual for the Provotech ATmega128 Development Board. It provides specifications for the board which uses the ATmega128 microcontroller and includes features like LEDs, switches, sensors, LCD display, and interfaces for SD card, real-time clock, and wireless communication. The manual describes how to power and program the board, and connect and interface various onboard components to the microcontroller for embedded applications. Sample code is provided to demonstrate controlling the LEDs.

Uploaded by

nm2007k
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 21

PROVOTECH

Sense. Innovate. Educate


ATmega128 Development Board
User Manual

For technical enquiry please email us at [email protected]


And for sales enquiry please email us at [email protected] and [email protected]
PROVOTECH
Sense. Innovate. Educate

Introduction:

Firstly we would like to thank you for your interest in ATmega128


Development Board.

We here at PROVOTECH believe in providing you quality development tools


for realizing your innovative ideas in the field of embedded systems.

ATmega128 Development Board is an embedded system development


board for AVR, 64 pin 8-bit microcontroller. It is a low cost kick start board
designed to help professionals, students and amateurs to explore the
capability of AVR microcontrollers and practice application development for
various interfaces with minimal hardware reconfiguration.

ATmega128 Development Board is a simple but powerful development


platform based on ATMEGA128 microcontroller which is one of the most
feature rich AVR microcontroller from Atmel, featuring 128K Flash, 4K RAM,
53 I/O lines arranged in seven 8 bit ports, 8 channel 10bit ADC, 2 UARTs, 4
timers, internal and external interrupts and much more.

This board is ideal for developing embedded applications involving high


speed wireless communication, real time data monitoring and control etc.
ATMEGA128 Development board is also a best available platform for
beginners’ in field of Embedded Systems due to wide number of I/O
interface.

For technical enquiry please email us at [email protected]


And for sales enquiry please email us at [email protected] and [email protected]
PROVOTECH
Sense. Innovate. Educate
Board Specifications:

 Power Supply: 9-12v DC operated with inbuilt voltage regulation.


 Display Peripherals: Onboard four 7-Segment display and 16x2
Character LCD interface operating in 4-bit mode and a potentiometer
to vary the contrast of Character LCD.
 Motor Controls: UL2003 stepper motor driver, L293D dual DC motor
driver.
 I/O Peripherals: 4 Switches, 8 LEDS for I/O Operations, Relay and
Buzzer Control, Onboard dual axis joystick with press switch, onboard
analog sensor circuitry for temperature sensing using LM35 and Light
sensing using LDR.
 SPI Protocol: Inbuilt MicroSD Card circuit for working with SPI
Protocol.
 I2C Protocol: DS1307 based Real-Time Clock for working with I2C
Protocol.
 UART Protocol: XBee wireless adaptor circuit as well as RS232 Serial
Interface.
 Sensor Interface: A whole port dedicated for sensor interfacing.
Provided VCC and GND rails for easy sensor connection.

This board is made from double sided PTH PCB board to provide extra
strength to the connector joints for increased reliability.

Package Content:
 ATmega128 Development Board with ATmega128 Header Board.
 USB Programmer with USB Cable. (Optional, as per order.)
 16x2 LCD (Optional, as per order.)
 10 Pin FRC Cable.

Board Usage Requirement:


 Hardware: USB Programmer, 9~12 V / 1 Amp DC Adapter.
 Software: WinAVR contains all the tools for development on the AVR.
This includes avr-gcc (Compiler), avrdude (Programmer), and avr-
gdb (debugger).
 Cables: 10 Pin FRC Cable, USB A-B Cable and RS232 straight male-to-
female DB9 cable.
For technical enquiry please email us at [email protected]
And for sales enquiry please email us at [email protected] and [email protected]
PROVOTECH
Sense. Innovate. Educate
Safety Instructions:
 Read the user manual carefully for exact jumper position.
 Keep the development board away from humid environment.
 Ensure that you supply the board with 9 to 12 Volts DC adapter or
power it using the USB Programmer.
 Disconnect the power supply before connecting LCD or other external
circuit.
 Disconnect the LCD while using 7 segment display.
 Connect DC motors or Stepper motor any one at a time.
 All cautions and warnings should be noted.
 The ATmega128 board must not be subject to high electrostatic
potentials. General practice for working with static sensitive devices
should be applied when working with this board.

For technical enquiry please email us at [email protected]


And for sales enquiry please email us at [email protected] and [email protected]
PROVOTECH
Sense. Innovate. Educate
Power Supply:
The ATmega128 development board can be powered either using an
external power supply or USB Programmer. For external power supply,
ensure that the output is in range of 9 to 12Volts DC with a minimum current
rating of 200 mA. An onboard LM7805 voltage regulator is used to regulate
the DC input to +5V DC output. Electrolytic capacitors are used to reduce the
ripples in the voltage. The ceramic capacitors are used to suppress the high
frequency noise present at the output of the voltage regulator.

Reset Switch:
A reset is generated by holding the RST pin high. Reset button can be used to
reset the microcontroller.

For technical enquiry please email us at [email protected]


And for sales enquiry please email us at [email protected] and [email protected]
PROVOTECH
Sense. Innovate. Educate
LEDs:
 There are 8 LEDs connected in Active Low configuration which means
that the LED will turn ON when a particular pin is set to 0. This
configuration results in microcontroller driving LEDs in sink manner.

 To connect the LEDs with the microcontroller use a 10 PIN FRC Cable
and connect EXT_PORT with LED_PORT.

For technical enquiry please email us at [email protected]


And for sales enquiry please email us at [email protected] and [email protected]
PROVOTECH
Sense. Innovate. Educate
 The EXT_PORT is connected to PORTB of microcontroller so you can
connect any external device like 4x4 Matrix Keypad, etc to connect it
to PORTB and for LED just connect it using FRC Cable.

Sample Code:
void main()
{
DDRB = 0xFF; // Set PORT B as O/P.
PORTB = 0xFF; // Set O/P pins HIGH, LEDs turned OFF.
while(1)
{
PORTB = 0xFF; // Turns OFF all LEDs due to LED sink configuration.
_delay_ms(1000);
PORTB = 0x00; // Turns ON all LEDs due to LED sink configuration.
_delay_ms(1000);
}
}
For technical enquiry please email us at [email protected]
And for sales enquiry please email us at [email protected] and [email protected]
PROVOTECH
Sense. Innovate. Educate
Switches:
 The ATmega128 development board has a total of 4 Push Buttons
connected to higher nibble of PORTE pins of the microcontroller i.e.
(From PE.4 to PE.5). The port pins to which the push buttons are
connected, are pulled up to define a Logic ‘1’ when button is not
pressed. On button press a Logic ‘0’ is applied to the microcontroller.

 The switches can be used as external interrupts also from INT4 to


INT7.

For technical enquiry please email us at [email protected]


And for sales enquiry please email us at [email protected] and [email protected]
PROVOTECH
Sense. Innovate. Educate

ADC and Sensor Connections:


 The development board has 8 channel 10 bit ADC on PORT F. We have
connected three analog device on-board so that user can use the on-
board ADC.
 We have connected 2 Axis Joystick, LM35 Temperature Sensor and an
LDR Sensor. Also we have provided the whole PORT F as breakout so
that user can interface any kind of standard sensor.
 Now to choose between on-board analog sensors and breakout user
have to shift the jumpers called X_SEL, Y_SEL, TEMP and LIGHT.
 For ADC reference setting at AREF pin a potentiometer is provided. To
use the pot connect the jumper AREF_JP.

For technical enquiry please email us at [email protected]


And for sales enquiry please email us at [email protected] and [email protected]
PROVOTECH
Sense. Innovate. Educate
2 Axis Joystick:
 The 2 axis joystick is an analog device - more accurate and sensitive
than just 'directional' joysticks - with a 'press in to select' button. Since
its analog, you'll need two analog reading pins on your microcontroller
to determine X and Y. Having an extra digital input will let you read the
switch.
 The X axis of Joystick is connected to PF0 and Y axis of Joystick to PF1.
The switch is connected to PA2. For connecting joystick to ADC pins
shift the jumper X_SEL and Y_SEL towards pin 1 i.e. towards your left.

For technical enquiry please email us at [email protected]


And for sales enquiry please email us at [email protected] and [email protected]
PROVOTECH
Sense. Innovate. Educate
LDR Sensor:
 A photoresistor or light-dependent resistor (LDR) is a light-controlled
variable resistor. The resistance of a photoresistor decreases with
increasing incident light intensity and vice versa; in other words, it
exhibits photoconductivity. In the absence of light, LDR exhibits a
resistance of the order of mega-ohms which decreases to few hundred
ohms in the presence of light.
 The output of LM35 is connected to PF3. For connecting its output to
ADC pin shift the jumper LIGHT towards pin 1 i.e. towards your left.

For technical enquiry please email us at [email protected]


And for sales enquiry please email us at [email protected] and [email protected]
PROVOTECH
Sense. Innovate. Educate
LM35 Temperature Sensor:
 The LM35 Temperature sensor has an output voltage linearly
proportional to the Centigrade temperature. The LM35 is rated to
operate over a −55°C to +150°C temperature range with the linear
output of +10 mV / °C.
 The output of LM35 is connected to PF4. For connecting its output to
ADC pin shift the jumper TEMP towards pin 1 i.e. towards your left.

For technical enquiry please email us at [email protected]


And for sales enquiry please email us at [email protected] and [email protected]
PROVOTECH
Sense. Innovate. Educate
Display Connections:
 The development board has four 7 segment displays and one 16x2
character LCD. The whole display section is connected to PORTC and a
breakout is provided called DISPLAY if any one requires.
 To switch between 7 segment and LCD use jumper called DISP_EN.

 Disconnect the power supply before connecting LCD.


 Also note that while using 7 segment please remove the 16x2 LCD.

For technical enquiry please email us at [email protected]


And for sales enquiry please email us at [email protected] and [email protected]
PROVOTECH
Sense. Innovate. Educate
16 x 2 LCD:
 The development board has a 16x2 LCD configured in 4 bit mode
connected to DB4 – DB7 of LCD to PC0 – PC3.
 To use 16x2 LCD shift the jumper to pin 3 i.e. towards your right.
 For contrast adjustment use the potentiometer named R11.

For technical enquiry please email us at [email protected]


And for sales enquiry please email us at [email protected] and [email protected]
PROVOTECH
Sense. Innovate. Educate
Four multiplexed 7 Segment LEDs:
 The board has four 7 segment LED connected to PORTC and is
multiplexed using BCD to 7 segment decoder.
 To use 7 segment LED shift the jumper to pin 1 i.e. towards your left.

For technical enquiry please email us at [email protected]


And for sales enquiry please email us at [email protected] and [email protected]
PROVOTECH
Sense. Innovate. Educate
Motor Connection:
The board has provision for 2 DC motors and a stepper motor. For motor
selection use MOTOR_SEL jumper.

DC Motor using L293D Motor Driver:


The motor connection are from PA4 – PA7 and controlled using L293D
motor driver. The motors can be controlled by shifting the MOTOR_SEL
jumper towards pin 1 i.e. towards your left. Connect the DC motor using X2
PTR connector.

For technical enquiry please email us at [email protected]


And for sales enquiry please email us at [email protected] and [email protected]
PROVOTECH
Sense. Innovate. Educate
Stepper Motor using ULN2003:
The motor connection are from PA4 – PA7 and controlled using ULN2003
motor driver. The motors can be controlled by shifting the MOTOR_SEL
jumper towards pin 3 i.e. towards your right. Connect the DC motor using X3
PTR connector.

For technical enquiry please email us at [email protected]


And for sales enquiry please email us at [email protected] and [email protected]
PROVOTECH
Sense. Innovate. Educate
Buzzer:
The buzzer is connected to PA0.

Relay:
The relay is connected to PA1 and its output is provided at X4 PTR
connector.

For technical enquiry please email us at [email protected]


And for sales enquiry please email us at [email protected] and [email protected]
PROVOTECH
Sense. Innovate. Educate
UART and XBEE:
 The ATmega128 has 2 UART namely UART0 and UART1.
 The DB9 connector and XBEE are connected to UART1.
 There are on-board indication LED for RX and TX and also for RSSI
connection for XBEE binding indication.

For technical enquiry please email us at [email protected]


And for sales enquiry please email us at [email protected] and [email protected]
PROVOTECH
Sense. Innovate. Educate

For technical enquiry please email us at [email protected]


And for sales enquiry please email us at [email protected] and [email protected]
PROVOTECH
Sense. Innovate. Educate
I2C and RTC:
The DS1307 RTC module comes fully assembled and pre-programmed with
the current time. The module includes a Lithium coin cell battery as battery
backup. The DS1307 RTC is accessed via the I 2C protocol. This is a great
battery-backed real time clock (RTC) that allows your microcontroller
project to keep track of time even if it is reprogrammed, or if the power is
lost. Perfect for data logging, clock-building, time stamping, timers and
alarms, etc.

For technical enquiry please email us at [email protected]


And for sales enquiry please email us at [email protected] and [email protected]

You might also like