Gebruiksaanwijzing /service van het product SRS Robot Level 1 Kit van de fabrikant SRS Labs
Ga naar pagina of 34
SRS Robot Level 1 Kit Table of Contents Getting St arted ................................................................................................................ ... 2 Computer Requ irements.....................................................
Getting Started Getting S t arted Congratulations on your purchase of a Seattle Robotics Society Level 1 Robo t Kit! Here are suggested steps for getting you r robot assembled and runn ing. Read through t he “Computer Requireme nts” and “Recommende d Equipm ent” sections t o be sure y ou have the materials you need.
Kit Contents Kit Content s Level 1 Kit Anti-Static Bag Item Qty Vendor Part Fairchild QRB 1134 lig ht sensor 2 Digi-Key QRB1134 ARC 1.1 PCB 1 Barello.net ARC-01 ATMEGA16-16PC microcontroller 1 Digi-Key ATMEGA16-16PC-ND TI 754410 H-bridge 1 Digi-K ey 296-9911-5-ND RS232 driver 1 Future Electronics SP232ACP LM2940CT-5.
Kit Contents 2-56 x 1" machine screw 4 McMaster-Carr 917 72A086 small wood scr ew (in motor i f not here) 2 4-40 nut 5 McMast er-Carr 90480A00 5 2-56 nut 4 McMast er-Carr 90480A00 3 #4 flat washe.
AVR Robot C ontroll er 1.1 Assem bly Instru ctions A VR Robot Controller 1.1 Assembly Instructions Preparation Identify the parts used in the AVR R obot Cont roller ( ARC). Refer to the Kit Contents section for a list of parts in each bag. • Anti-Static Bag: everything ex cept the QRB1134 light sensors.
AVR Robot C ontroll er 1.1 Assem bly Instru ctions Prepare Boards The PCB comes with a serial adapte r an d a programming adapter that need to be detached . First break the long lin e of holes. You might find it easier to break if you run a ra zor knife along the top and botto m of the line of holes.
AVR Robot C ontroll er 1.1 Assem bly Instru ctions Small capacitors and LEDs The picture on the right s hows the locat ions for: 8 - 0.1uF capa citors 1 - red LED 1 - green LED Orientation of the small capacitors is not important. Note that one of the capacitors (second from the top) will be under the m icrocontroll er.
AVR Robot C ontroll er 1.1 Assem bly Instru ctions Sockets, headers, and jumper The picture on the right s hows the locat ions for: 2 - 1x3 boardmou nt sockets 3 - 1x4 boardmou nt sockets .
AVR Robot C ontroll er 1.1 Assem bly Instru ctions Install Chips Be sure to inspect the boar d before applying pow er. Connec t the battery pack to the 3-pin header next to the switch (JP13). With the switch in the on position (toward the near edge of the board) the red power LED should light.
AVR Robot Cont roller 1.1 S oftware Tools Programming Cable The kit is supplied with material to make a programming cable that works with the BASCOM Basic Compiler or the AVRDUDE program (included in the WinAVR suite f or C/C++ programming).
AVR Robot Cont roller 1.1 S oftware Tools Tool Options Free, high-qual ity tool s are availabl e for the Atmel AVR se ries of microc ontrollers. On Windows systems, two popular options are the BASCOM ( BASIC) compiler and the WinAVR suite of too ls for C/C++ programming.
AVR Robot Cont roller 1.1 S oftware Tools Double-click on “ LaunchPN.bat ” in the “C Samples” folder. This will launch Programmers Notepad with the path changes needed by the com piler and down loader. (If you installed WinAVR in a non-default location , you’ll need to edit this batch file.
AVR Robot Cont roller 1.1 S oftware Tools to 8 MHz; (2) enable brow n-out detectio n; (3) disa ble JTAG; and (4) disable erasi ng EEPROM when downloa ding a new program. Please refer to the chip data sheet ( www.atmel.com ) for a complete list of the fuse bits.
Chassis Assembly Chassis Assembly Preparation Identify the parts used in the chassis. Refer to the Kit Contents section for a list of parts in each bag. • Anti-Static Bag: QRB1134 light sensors. • Electro-Mecha nical Bag: velcro, mounti ng squares, shrink tubi ng, and r ubber bands.
Chassis Assembly Light Sensors Find the two c opies of the “light senso r plate” pictured o n the right. Hardware: 1 4-40 x 1” screw 1 4-40 nu t 2 4-40 lock washers 4 4-40 flat washers Stack ite.
Chassis Assembly Strip about 2” from one end of eac h 7” length of 18 AWG insulated wire. Hardware (for one side): 1 4-40 x 1/4” round standoff 1 4-40 x 1/4” screw 2 4-40 x 1/2” screws 2 4-40 w ashers 2 4-40 nu ts Mount the standoff in hole C, on the same side of the plate as the caster, using the 1/4” screw.
Chassis Assembly Flip the top plate over. The screws will b e visible, and the standoffs will be underneath (and you shou ld have a hole in the lower right corner).
Wiring Connections Leftover Parts At this point, your robot is togeth er and you’re probab ly wonde ring about t hose extra parts. They are used for Level s 2 and 3 of the SRS Robot. Here’s a summary. The hardware bag should still contain four 1” standoffs and eight 1/4” machine screws.
ATmega16 Programm ing A Tmega16 Programming Part 1 11-3-2005 19.
ATmega16 Programm ing 20 11-3-20 05.
ATmega16 Programm ing Part 2 11-3-2005 21.
ATmega16 Programm ing 22 11-3-20 05.
ATmega16 Programm ing Part 3 11-3-2005 23.
ATmega16 Programm ing 24 11-3-20 05.
ATmega16 Programm ing 11-3-2005 25.
ATmega16 Programm ing Part 4 26 11-3-20 05.
Sample Programs Sample Programs There are sample programs available from http://www.seattlerobotics.or g/ WorkshopRobot/Level1/ (or the Workshop CD’s “Samples” folder). There are versions for BASCOM (B ASIC) and C. The program files contain descriptive co mments to ex plain what the code is doing.
Sample Programs A good way t o get started with a new program is to make a copy of a folde r for an exi sting program , then renam e the new folder and its .bas or .c file. (For C programs, you will also need to edit the makefile to reflect the name change for the .
Sample Programs Challenges : o Make a bum per touch cause t he robot to bac k up, turn away from the obstacle , and t hen resume exploring. (The BumpNGo program shows one possible solution, including waiting for a bump at the beginning of the program bef ore starting.
Sample Programs Program 8 Purpose : Lear n to use the Ti mer/Counte r for timi ng. This pro gram flashes a LE D at a specific rate while readi ng sensors. Program : Timer Extensions : o Change the flash rate. o Add more code to the loop, e.g. showing sens or values.
AVR Robot C ontroll er 1.1 Ha rdware Descri ption A VR Robot Controller 1.1 Hardware Description The Level 1 Robot Kit ships with an ATmega16 microcontroller. The Atmel AVR microcontrollers are designed to be pin- and code-compatible where possible. In this cas e, for example, you could substitute an ATmega8 535 or ATmega32.
AVR Robot C ontroll er 1.1 Ha rdware Descri ption Expansion Headers JP3 and JP10 Refer to the schem atic for the connections to these hea der s. All CPU I/O, +5v, ground, +/- 10v and battery v oltages are supplied. JP3 supplie s +5v and g round from the analog section.
AVR Robot C ontroll er 1.1 Ha rdware Descri ption R/C servo output When driving an R/C servo, use the pins nearest to the e dge of the board. They are marked with letters indicating polarity: “W R B” for White, Red, and Black. Some servo brands substitute yellow for white.
AVR Robot Controll er 1.1 S chemat ic A VR Robot Controller 1.1 Schematic 34 11-3-20 05.
Een belangrijk punt na aankoop van elk apparaat SRS Labs SRS Robot Level 1 Kit (of zelfs voordat je het koopt) is om de handleiding te lezen. Dit moeten wij doen vanwege een paar simpele redenen:
Als u nog geen SRS Labs SRS Robot Level 1 Kit heb gekocht dan nu is een goed moment om kennis te maken met de basisgegevens van het product. Eerst kijk dan naar de eerste pagina\'s van de handleiding, die je hierboven vindt. Je moet daar de belangrijkste technische gegevens SRS Labs SRS Robot Level 1 Kit vinden. Op dit manier kan je controleren of het apparaat aan jouw behoeften voldoet. Op de volgende pagina's van de handleiding SRS Labs SRS Robot Level 1 Kit leer je over alle kenmerken van het product en krijg je informatie over de werking. De informatie die je over SRS Labs SRS Robot Level 1 Kit krijgt, zal je zeker helpen om een besluit over de aankoop te nemen.
In een situatie waarin je al een beziter van SRS Labs SRS Robot Level 1 Kit bent, maar toch heb je de instructies niet gelezen, moet je het doen voor de hierboven beschreven redenen. Je zult dan weten of je goed de alle beschikbare functies heb gebruikt, en of je fouten heb gemaakt die het leven van de SRS Labs SRS Robot Level 1 Kit kunnen verkorten.
Maar de belangrijkste taak van de handleiding is om de gebruiker bij het oplossen van problemen te helpen met SRS Labs SRS Robot Level 1 Kit . Bijna altijd, zal je daar het vinden Troubleshooting met de meest voorkomende storingen en defecten #MANUAl# samen met de instructies over hun opplosinge. Zelfs als je zelf niet kan om het probleem op te lossen, zal de instructie je de weg wijzen naar verdere andere procedure, bijv. door contact met de klantenservice of het dichtstbijzijnde servicecentrum.