SRS Labs SRS Robot Level 1 Kit Manual

Srs robot level 1 kit

Advertisement

Quick Links

SRS Robot Level 1 Kit

Table of Contents

Getting Started ................................................................................................................... 2
Computer Requirements..................................................................................................... 2
Recommended Equipment ................................................................................................. 2
Kit Contents ....................................................................................................................... 3
AVR Robot Controller 1.1 Assembly Instructions............................................................. 5
AVR Robot Controller 1.1 Software Tools...................................................................... 10
Chassis Assembly............................................................................................................. 14
Wiring Connections ......................................................................................................... 18
ATmega16 Programming................................................................................................. 19
Sample Programs ............................................................................................................. 27
AVR Robot Controller 1.1 Hardware Description ........................................................... 31
AVR Robot Controller 1.1 Schematic.............................................................................. 34
AVR Robot Controller © 2002-2005 Larry Barello, www.barello.net.
Chassis design © 2004-2005 Cathy Saxton, www.idleloop.com.
The content of this document is © 2004-2005 Cathy Saxton and Larry Barello.
11-3-2005
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SRS Robot Level 1 Kit and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for SRS Labs SRS Robot Level 1 Kit

  • Page 1: Table Of Contents

    SRS Robot Level 1 Kit Table of Contents Getting Started ... 2 Computer Requirements... 2 Recommended Equipment ... 2 Kit Contents ... 3 AVR Robot Controller 1.1 Assembly Instructions... 5 AVR Robot Controller 1.1 Software Tools... 10 Chassis Assembly... 14 Wiring Connections ...
  • Page 2: Getting Started

    Getting Started Congratulations on your purchase of a Seattle Robotics Society Level 1 Robot Kit! Here are suggested steps for getting your robot assembled and running. Read through the “Computer Requirements” and “Recommended Equipment” sections to be sure you have the materials you need.
  • Page 3: Kit Contents

    Kit Contents Level 1 Kit Anti-Static Bag Item Fairchild QRB1134 light sensor ARC 1.1 PCB ATMEGA16-16PC microcontroller TI 754410 H-bridge RS232 driver LM2940CT-5.0 voltage regulator ZTT-16.0MX ceramic resonator red LED green LED 47 uf 16v electrolytic capacitor .1 uf ceramic Z7T .1" capacitor diode, 1A 180 ohm 1/8 W resistor (brown-gray-brown) 330 ohm 1/8 W resistor (orange-orange-brown)
  • Page 4: Vendor Information

    2-56 x 1" machine screw small wood screw (in motor if not here) 4-40 nut 2-56 nut #4 flat washer #4 lock washer #2 lock washer Loose Item chassis Solarbotics GM8 motor wheel rubber band (for wheel) Tamiya ball caster (pair) battery holder velcro, 1/2"...
  • Page 5: Avr Robot Controller 1.1 Assembly Instructions

    AVR Robot Controller 1.1 Assembly Instructions Preparation Identify the parts used in the AVR Robot Controller (ARC). Refer to the Kit Contents section for a list of parts in each bag. • Anti-Static Bag: everything except the QRB1134 light sensors. •...
  • Page 6: Solder Components

    Prepare Boards The PCB comes with a serial adapter and a programming adapter that need to be detached. First break the long line of holes. You might find it easier to break if you run a razor knife along the top and bottom of the line of holes. Then snap the two smaller boards apart.
  • Page 7 Small capacitors and LEDs The picture on the right shows the locations for: 8 - 0.1uF capacitors 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 microcontroller.
  • Page 8 Sockets, headers, and jumper The picture on the right shows the locations for: 2 - 1x3 boardmount sockets 3 - 1x4 boardmount sockets 3 - 1x3 male headers 2 - 2x3 male headers 1 - 2x5 male header 1 - shorting jumper Install the sockets along on the front of the board (as shown at the top of the picture).
  • Page 9: Serial Cable

    Install Chips Be sure to inspect the board before applying power. Connect 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. Now you can install the various chips.
  • Page 10: Programming Cable

    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 for C/C++ programming). BASCOM and AVRDUDE work with any third party programmer that has an Atmel 10-pin programming socket, so you only need to build the cable if you don’t already own a programmer.
  • Page 11: Tool Options

    Tool Options Free, high-quality tools are available for the Atmel AVR series of microcontrollers. On Windows systems, two popular options are the BASCOM (BASIC) compiler and the WinAVR suite of tools for C/C++ programming. Mac OS X supports the avr-gcc C/C++ compiler (which should work equally well on Linux and FreeBSD). The following sections each provide instructions for installing a compiler and downloading a simple program to your ARC board.
  • Page 12 AVR Robot Controller 1.1 Software Tools Double-click on “LaunchPN.bat” in the “C Samples” folder. This will launch Programmers Notepad with the path changes needed by the compiler and downloader. (If you installed WinAVR in a non-default location, you’ll need to edit this batch file.) While power to the ARC board is off, plug the programming cable into the ISP header on the board and the parallel (printer) port of a PC.
  • Page 13 You can find tools, support, and samples for Atmel’s AVR microcontrollers at the following sites: http://www.seattlerobotics.org/WorkshopRobot/Level1/ Home page for the SRS Robot Level 1 Kit with links for sample code, data sheets, etc. http://www.barello.net/ARC AVR Robot Controller resource page, user guide and sample code.
  • Page 14: 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-Mechanical Bag: velcro, mounting squares, shrink tubing, and rubber bands. •...
  • Page 15: Light Sensors

    Light Sensors Find the two copies of the “light sensor plate” pictured on the right. Hardware: 1 4-40 x 1” screw 1 4-40 nut 2 4-40 lock washers 4 4-40 flat washers Stack items onto the screw as follows: lock washer, plate, 2 flat washers, both light sensors (orient them the same way), 2 flat washers, the other plate (oriented the same direction as the first plate), lock washer, nut.
  • Page 16: Top Plate

    Strip about 2” from one end of each 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 washers 2 4-40 nuts Mount the standoff in hole C, on the same side of the plate as the caster, using the 1/4”...
  • Page 17: Final Assembly

    Flip the top plate over. The screws will be visible, and the standoffs will be underneath (and you should have a hole in the lower right corner). Find this piece (the battery spacer), and hold it like this: You will mount this to what is the underside of the top plate (which is now face up since you flipped it over!)
  • Page 18: Wiring Connections

    Leftover Parts At this point, your robot is together and you’re probably wondering about those extra parts. They are used for Levels 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. They are explained below. There will be five plastic chassis pieces remaining: These two pieces are used to hold Sharp GP2D12 infrared distance sensors (part of the Level 2 kit).
  • Page 19: Atmega16 Programming

    ATmega16 Programming ATmega16 Programming Part 1 11-3-2005...
  • Page 20 ATmega16 Programming 11-3-2005...
  • Page 21 ATmega16 Programming Part 2 11-3-2005...
  • Page 22 ATmega16 Programming 11-3-2005...
  • Page 23 ATmega16 Programming Part 3 11-3-2005...
  • Page 24 ATmega16 Programming 11-3-2005...
  • Page 25 ATmega16 Programming 11-3-2005...
  • Page 26 ATmega16 Programming Part 4 11-3-2005...
  • Page 27: Sample Programs

    Sample Programs Sample Programs There are sample programs available from http://www.seattlerobotics.org/WorkshopRobot/Level1/ (or the Workshop CD’s “Samples” folder). There are versions for BASCOM (BASIC) and C. The program files contain descriptive comments to explain what the code is doing. The programming concepts are explained in the slides in the “ATmega16 Programming” section. The “Program Descriptions”...
  • Page 28: Program Descriptions

    A good way to get started with a new program is to make a copy of a folder for an existing program, then rename 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 .c file.
  • Page 29: Remote Control

    Challenges: o Make a bumper touch cause the robot to back up, turn away from the obstacle, and then resume exploring. (The BumpNGo program shows one possible solution, including waiting for a bump at the beginning of the program before starting.) o Teach the robot how to navigate a (specific) obstacle course.
  • Page 30 Program 8 Purpose: Learn to use the Timer/Counter for timing. This program flashes a LED at a specific rate while reading sensors. Program: Timer Extensions: o Change the flash rate. o Add more code to the loop, e.g. showing sensor values. Notice that the flashing still maintains its rate, with no changes necessary.
  • Page 31: Avr Robot Controller 1.1 Hardware Description

    AVR 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 case, for example, you could substitute an ATmega8535 or ATmega32.
  • Page 32 Expansion Headers JP3 and JP10 Refer to the schematic for the connections to these headers. All CPU I/O, +5v, ground, +/- 10v and battery voltages are supplied. JP3 supplies +5v and ground from the analog section. JP10 supplies +5v, ground, +10v and –10v from the digital section.
  • Page 33 R/C servo output When driving an R/C servo, use the pins nearest to the edge 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. When driving servos, the board has the option of selecting regulated +5v or raw battery voltage to drive the servos.
  • Page 34: Avr Robot Controller 1.1 Schematic

    AVR Robot Controller 1.1 Schematic AVR Robot Controller 1.1 Schematic 11-3-2005...

This manual is also suitable for:

1

Table of Contents