Home
AVR 40 Pin Rapid Robot controller board V2 User Manual Robokits
Contents
1. WWW ROBOKITS ORG CHEAPEST ROBOTICS KITS ON WEB AVR 40 Pin Rapid Robot controller board V2 s ELS es mc M iS abe IE ps User Manual Robokits India http www robokits or info robokits org WWW ROBOKITS ORG CHEAPEST ROBOTICS KITS ON WEB Thank you for purchasing the AVR 40 Pin Rapid Robot controller board V2 This unit has been carefully engineered and tested to provide superior performance This document covers the features and operation of the AVR 40 Pin Rapid Robot controller board V2 This is an easy to use board using the popular Atmel ATMega16 32 microcontroller The board includes everything you need to learn develop or using for a robotic application It is ideal for any kind of autonomous or manual controlled robot Features Small Size 97 x 79 mm Can be easily power from an AC DC source or Battery On Board Regulator with filters and Operating voltage from 6V 20 V 4 LED s selectable though individual jumpers 5 Switches including reset 3 Switches on interrupt pins Power on off toggle switch Motor on off toggle switch 16MHz crystal for maximum speed AREF setting potentiometer Onboard LCD connector compatible to HD44780 LCD Modules LCD brightness control Frosted Blue Power Indicator Onboard space for two L298 motor Drivers 2A per channel output capacity 4 DC 2 Stepper motor driving capability PWM pins connected to motor drivers for s
2. A 0 Oo 275 8 86 OE 9h E Oo IX Ce B3 BH ams e 9A E B1 oooh OAR 6273 a 6 BO EO a E SANEQST h t APA 11 f oC 95 8 BB OD AO E lt 0 8 00 Ms 2 er 91 OF 95 a 82 E a r or B0 EO BD 91 9C 917 OE 9h TE i j BB ED 8D oT 9C 91 OF Fh FA d 11 d ct BO EG Hb 71 9 C 9 1 OE Fh j 223222222282 3203248222222 ao Eg nO 6 Ao EG ho r LI 23 252025221 PETITIE SeeSeeneee Seo S283 58 oF i Em L e To quickly program you can use Robokits bat provided on the CD Copy your compiled hex file and the bat file in a folder and rename the hex file as Robokits hex Run Robokits bat to program the device through serial programmer e We suggest ponyprog to program the fuse bits It can also be done by AM Rdude See the AVRdude manual for more information e f you are programming fuse bits thought AVRdude you can use this link to calculate fuse bits http palmavr sourceforge net cgi bin fc cgi k WWW ROBOKITS ORG 1 CHEAPEST ROBOTICS KITS ON WEB Using sample codes Sample codes are provided in WinAVR WinAVR is free source GNU C compiler for AVR microcontroller series First install WinAVR from CD Open Programmers notepad which is IDE for WinAVR Open any Robokits c file provided in the CD in folder sample programs Change related Makefile if using any different programmer or MCU Need not to be changed for normal bard with serial programmer Use Programmer do
3. cumentation which you are using e To compile use Tools Make All e To program use Tools Program vw WWW ROBOKITS ORG Ow CHEAPEST ROBOTICS KITS ON WEB Service and Support Service and support for this product are available from Robokits India The Robokits Web site http www robokits org maintains current contact information for all Robokits products Limitations and Warrantees The AVR 40 Pin Rapid Robot Controller Board V2 is intended for personal experimental and amusement use and in no case should be used where the health or safety of persons may depend on its proper operation Robokits provides no warrantee of suitability or performance for any purpose for the product Use of the product software and or hardware is with the understanding that any outcome whatsoever is at the users own risk Robokits sole guarantee is that the software and hardware perform in compliance with this document at the time it was shipped to the best of our ability given reasonable care in manufacture and testing All products are tested for their best performance before shipping and no warranty or guarantee is provided on any of them Of course the support is available on all of them for no cost Disclaimer Copyright Robokits India 2007 Neither the whole nor any part of the information contained in or the product described in this manual may be adapted or reproduced in any material or electronic form without the prior written con
4. ide two pins for speed control through OC1A PD5 and OC1B PDA e If PWM is not used PDA and PD5 can be used as normal I O pins e Motor1 can be controlled by PCO and PC1 If speed control is activated by PWM1 jumper then speed can be controlled by OC1A pin e Motor2 can be controlled by PC2 and PC3 If speed control is activated by PWM2 jumper then speed can be controlled by OC1B pin e Motor3 can be controlled by PC4 and PC5 e Motor4 can be controlled by PC6 and PC7 ISP In System Programming Connector e 6pin male headers denoted by ISP on the board is used to program AVR e The pins are connected to MOSI PB5 MISO PB6 SCK PB7 RESET VCC and GND UART Connector e 4Pin male header denoted by UART on the board e Used for serial communication between MCU amp PC or MUC amp MCU of same or different made e The pins are connected to RXD PDO TXD PD1 VCC and GND PORTA PORTB PORTD Connectors e All 8 port pins are accessible through male header pins e PORTA connector has 8 pins connected to PAO 7 e PORTB connector has 10 pins connected to PBO 7 VCC and GND e PORTD connector has 10 pins connected to PDO 7 VCC and GND AREF Potentiometer e For setting reference voltage for ADC at AREF pin of microcontroller WWW ROBOKITS ORG 1 CHEAPEST ROBOTICS KITS ON WEB Connecting the Serial Link e Connect the PC MCU serial link to serial port e Insert the female header in the board as shown i
5. n figure Keep black wire to Regulator side e You can communicate with microcontroller with PC software like Hyper Terminal Set appropriate baud rate and com port to setup the communication e See sample code for more details Programming the Microcontroller To program the microcontroller use the provided serial programmer If any other programmer is selected please see help file of that programmer Inset the programmer port to serial port of your pc Inset the female header to the board as shown below Black wire at the Crystal side e You can use the programming software Pony Prog for programming Use following Settings KO port setup LO port setup tf Serial Parallel SI Prag AFI comi C C come Select Polarity of the Control lines Invert Reset O Invert D N Invert SCEL Invert D DLIT Cancel UK Probe e You can also directly program the microcontroller with WinAVR Use tools gt Program option If you find the error make correction in provided make file WWW ROBOKITS ORG CHEAPEST ROBOTICS KITS ON WEB Point cog PODD Soria Denvicu berate Du De iai eu uu amaa s ye af z eag umm cams v C atin aera hax 0000080 BC Fh 78 OO 18 95 00018 1H 75 00 GO 18 95 P pis iMi H me Powe hr I NA z NEN Mati BEECE S 6P2 5 5 BB Bilis s 5 8 8 ME 27 E H Ohm 2 LUR CE Bike z 3 t3 5 6 an E Bii 2 2 48 R6 n E Pe
6. p the board using any DC source use VDD terminal as VE terminal and GND as VE terminal Be careful while applying power otherwise the regulator IC will blow up To give supply other than power supply provided open the screws insert the supply wires and fasten them again Board Top Layout z BRIGHTNESS O ew Q Q n D AREF O E esee m a a C o Ie a lE uy 5 RESET 3 Q 1f ozo t5 lt sO Reel Sec sisse c INT2 BENE RE RN Z 1502 ma ME o 3lo OJ4 e M sw amp sj Hb Y PEE X 7805 l 9 amp 7 3 O O 4 t INTO 1 Woy 2 o A17 5mm 3lo o4 PWM1 PWM2 LOO OJU JU JU J z oeoo Ee 123 o O 1 ROBOKITS SERVO ADC sy o REY Ed ROBOKITS CO IN VWW ROBOKITS ORG CHEAPEST ROBOTICS KITS ON WEB Fr 4 Board Information Switches There are five small and two big switches on the board to facilitate user The toggle switch written with POWER on the top is to control power supply to the board The toggle switch written with MOTOR on the top is to control power supply to the motors The one written Reset at bottom is a Reset switch for microcontroller Switches INT2 SW1 INTO and INT1 are connected with microcontroller pins PB 2 INT2 PD 1 PD 2 INTO PD 3 INT1 respectively Three switches named INTO INT1 and INT2 are connected to external interrupt pins for general use These switches do not affect the operation of the pins they a
7. peed control of motors Full Speed PWM Speed control selection jumpers 4 ADC Standard servo compatible connectors All Pins accessible through male header with standard 1 header pins Serial Programmer and PC MCU serial link included All required connectors included Programmer Serial port and Power Supply are provided externally which helps keeping the board size small Optional items LCD Module HD44780 compatible AVR Microcontroller Selectable among None ATmega16 and ATMega32 PC MCU link Selectable among none serial and USB port AVR programmer Selectable between none serial parallel and USB port Motor Drier L293D Selectable between none one or two This Product Includes AVR 40 pin Rapid Robot Controller Board V2 CD containing all required software s and sample codes in WINAVR WWW ROBOKITS ORG silii CHEAPEST ROBOTICS KITS ON WEEB Setting up the Board Providing Power Supply You can provide the power supply to the board from any DC source from 6V to 20V The microcontroller is preprogrammed for Blinking LEDs printing ROBOKITS INDIA on the LCD and running all motors in one direction with motor1 and motor2 changing its speed Blinking LED s will change the duration of blinking by press of all four switches This is the default program provided on CD in folder named Default To provide the supply from AC adapter with red wire going to VDD terminal and white wire going to GND terminal To power u
8. re connected with So you can use this microcontroller I O pins for other use also LED s There are five LED s on the board Blue LED at the right bottom corner is power indicator Rest four led s named LED1 LED2 LED3 and LED4 are connected to PA 4 PA 5 PA 6 and PA 7 respectively All LED s are selectable through individual jumpers so that those pins can be used for other external purpose Remove jumpers to use the Pin as normal I O pin LCD Connector The 16 pin male header at left top is standard HD44780 LCD module compatible connector Just fix any standard HD44780 LCD module to control it through AVR The connections to the microcontroller and LCD are as below RS PB 0 RW PB 1 EN PB 3 DO PB 4 D1 PB 5 D2 PB 6 D3 PB 7 Brightness control potentiometer is also provided to adjust brightness of LCD module Remove LCD to use these pins as Normal I O pins WWW ROBOKITS ORG CHEAPEST ROBOTICS KITS ON WEB A ks j Ow Motor Drivers e Motor driver is using L298 Integrated IC e TwoL298 motor drivers can control up to 4 DC motors or 2 stepper motors with output 2A per channel e Motor output connectors are at the right side of the board e Two DC motors can also be controlled by PWM of AVR or at full speed by PWM1 and PWM2 selection jumpers e Put jumpers PWM1 and PWN2 in right side two pins to avoid speed control and achieve maximum speed e Put jumpers PWM1 and PWN2 in left s
9. sent of the copyright holder This product and its documentation are supplied on an as is basis and no warranty as to their suitability for any particular purpose is either made or implied This document provides preliminary information that may be subject to change without notice
Download Pdf Manuals
Related Search
Related Contents
LaCie 2big NAS 後方超小旋回 ミニバックホー 後方超小旋回 ミニ Samsung 삼성 마우스 1297 Manual - Communications Specialties, Inc. Arkon Channelmag User's Manual Philips Saeco HD8743 cxexcavatrices compactes série cx b Cortador de raíces 468 Copyright © All rights reserved.
Failed to retrieve file