You are on page 1of 12

Indias Premier Leader in Robotics

Robosapiens ATMEGA-16 Mini Board for Robotics & Embedded Application

http://www.robosapiensindia.com

mailto:info@robosapiensindia.com

Indias Premier Leader in Robotics

USER MANUAL

http://www.robosapiensindia.com

mailto:info@robosapiensindia.com

Indias Premier Leader in Robotics

Thanks for purchasing Robosapienss ATMEGA-16 Mini Board for Robotics & Embedded Application. This Development Board is specially designed to perform the Robotics application and embedded programming using ATMEGA-16 AVR Microcontrollers.

http://www.robosapiensindia.com

mailto:info@robosapiensindia.com

Indias Premier Leader in Robotics

1. Introduction 1.1 Overview


The Mini Board is a complete starter kit and development system for the AVR Atmega16 flash microcontrollers from ATMEL Corporation. It is designed to give designers a quick start to develop code on the AVR. This document covers features of this product with detail explanation of each sections and its use.

1.2 Features
Programming through Bootloading through USB or 6-Pin ISP (In System Programming) cable Driver Software not required ( Plug & Play device) USB Port for Bootloading Exposed Four ports available for user interface PORTA-8 Data Lines, PORTB-8 Data Lines, PORTC-8 Data Lines, PORTD-8 Data Lines Port for USART/UART communication Buzzer for sound output Light Dependent Resistor (LDR) interfaced on ADC port External Reset Switch 16x2 LCD interfacing port with on board contrast controlling preset. Two supply inputs: one through battery and second through adapter. On board 5 volt regulated power supply for the board and external peripherals. Two H-Bridge implemented in the board using L293D IC to drive two DC motor with 1A drive current at voltages 4.5 to 36 volt. Comes with Built in Black Line Follower Robot Program

1.3 Known Issues


There are at the moment no known issues with the Mini Board.

1.4 Precautions
USB Bootloader must be used always. If kit is once programmed using ISP, USB Bootloading firmfare will get erased and cannot be used for programming. Pin A0 is reserved for Bootloading application, it should not be used. NOTE: Novice users must not use ISP Programmer on this kit.

http://www.robosapiensindia.com

mailto:info@robosapiensindia.com

Indias Premier Leader in Robotics

2. Getting Started 2.1 Quick Start


The Mini Board can source power to the microcontroller through the USB cable. Remember that the power available through the USB cable is limited. If your application attaches several peripherals to the board, you should use an external power source connected to the DC input socket on Mini Board. The external power supply should be 9-12V DC with positive centre connector. The red POWER LED is lit when power is on.

2.2 Connecting the Hardware


The Mini Board must be connected to a host PC with a USB cable for programming. Connect the cable to a USB port on the PC or on a USB hub. The USB port must be capable of supplying 500mA. If using a USB hub, make sure it has an external power supply. Connect the other end of the USB cable to the USB connector on Mini Board.

3. Mini Board Block Diagram


DC JACK
POWER

USB BUZZER RESET BUTTON OSCILLATOR LDR ISP


http://www.robosapiensindia.com

PWM LED

MCU

UART PORT LCD PORT PORT A, B, C & D


5

mailto:info@robosapiensindia.com

Indias Premier Leader in Robotics

4. Block Description

LCD PORT

BUZZER

MCU

POWER LED

LDR

USB PORT

RESET

ISP

PWM LED

DC JACK

http://www.robosapiensindia.com

mailto:info@robosapiensindia.com

Indias Premier Leader in Robotics

4.1 Microcontroller
The Mini Board is designed for AVR Atmega16.

4.2 Power Supply


The supply voltage to the AVR microcontroller is provided either through DC Jack or USB. It is connected to the AVR's VCC pin.

4.2.1 DC Jack
Connect external power supply to this jack.

4.2.2 USB
Connect USB connector to this Port.

4.2.3 Power LED


LED will glow when Power in On.

http://www.robosapiensindia.com

mailto:info@robosapiensindia.com

Indias Premier Leader in Robotics

4.3 USB Port


For programming the Mini Board connect the USB port on Mini Board to a free USB port on the PC or on a USB hub through cable.

4.4 Reset Button


Press this button to reset the Mini Board. Reset Button is connected on Pin no. 9 (RESET)

4.5 LDR
LDR (Light Dependent Resistor) is connected to microcontroller for applications that are dependent on intensity of external light source. LDR is connected on Pin no. PA1

4.6 ISP
In-System Programming uses the AVR internal SPI (Serial Peripheral Interface) to download code into the flash and EEPROM memory of the AVR. ISP programming requires only VCC, GND, RESET and 3 signal lines for programming.

The AVR can be programmed at the normal operating voltage, normally 2.7V-6.0V. No high voltage signals are required. The ISP programmer can program both the internal flash and EEPROM. It also programs fuse bits for selecting clock options, startup time and internal Brown Out Detector (BOD) for the device. During ISP programming the 6-wire cable must always be connected to the header marked ISP (6PIN). ISP port also acts power source. ISP is connected on Pin nos.

MOSI PB5

MISO PB6

SCK PB7

RESET RESET (9)

VCC VCC

GND GND
8

http://www.robosapiensindia.com

mailto:info@robosapiensindia.com

Indias Premier Leader in Robotics

4.7 Buzzer
Buzzer is connected to microcontroller for applications that need sound as output. Buzzer is connected on Pin no PB3

4.8 PWM LED


PWM LED is connected to microcontroller for applications that require PWM application. LED is used to check proper functioning of PWM application. PWM LED is connected on Pin no PD5

4.9 LCD Port


LCD Port is connected to microcontroller for applications that need information display. These pins are connected on Pin no[.......]
GND GND VCC VCC VSS VSS RS PB0 RW PB1 EN PB2 D0 X D1 X D2 X D3 X D4 PB4 D5 PB5 D6 PB6 D7 PB7 VCC VCC GND GND

4.12 PORT A, B, C & D


These Ports are connected to microcontroller for interfacing I/O Pins of Microcontroller.

4.12.1 4.12.2

PORT A PORT B

1) Pin B0 (PB0) - Pin B3 (PB3) 2) Pin B0 (PB3) - Pin B3 (PB7)

4.12.3 4.12.4

PORT C PORT D

http://www.robosapiensindia.com

mailto:info@robosapiensindia.com

Indias Premier Leader in Robotics

5. Example Application 5.1 Connecting LCD


Interfacing LCD to Mini Board is easy and intuitive , just connect LCD Pins to the Board pins as shown in figure.

5.2 Connecting Sensors


When interfacing sensors, always make sure to connect sensor output pin to MCU pin, VCC to VCC Pin and GND to GND pin of the board.

http://www.robosapiensindia.com

10

mailto:info@robosapiensindia.com

Indias Premier Leader in Robotics

5.3 Connecting Motors


When interfacing motors , you have connect both the pins to the cable to the MCU pins as shown in the figure.

http://www.robosapiensindia.com

11

mailto:info@robosapiensindia.com

Indias Premier Leader in Robotics

5.4 Ground & VCC Pins

GND VCC

http://www.robosapiensindia.com

12

mailto:info@robosapiensindia.com

You might also like