SRS Labs SRS Robot Level 1 Kit manual Resources, Http//sourceforge.net/projects/winavr

Page 13

AVR Robot Controller 1.1 Software Tools

to 8 MHz; (2) enable brown-out detection; (3) disable JTAG; and (4) disable erasing EEPROM when downloading a new program. Please refer to the chip data sheet (www.atmel.com) for a complete list of the fuse bits.

The following steps set the microcontroller to the suggested state.

If you are using BASCOM-AVR: Connect the programmer to your board as above, select “Send to Chip” from the Program menu to bring up the Sample programmer window. Click on the “Lock and Fuse Bits” tab.

In the Fusebits section:

Click on Fusebit B and change the option to “0:BODEN enabled”

Click on FusebitA987 and change the option to “0100:Internal RC oscillator 8MHz” Click on the WriteFS button.

In the Fusebits High section:

Click on Fusebit J and change the option to “1:Disable JTAG”

Click on Fusebit G and change the option to “0:Preserve EEPROM when chip erase” Click on the WriteFSH button.

Close the Sample programmer window.

If you are using avr-gcc and AVRDUDE, downloading the FlashLED (or FlashLEDAlias) program will set the fuse bits as part of the download process. (If you are setting the fuse bits manually, the changes above are accomplished with 0xA4 for the low byte and 0xD1 for the high byte.)

Resources

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.

http://www.atmel.com/atmel/products/prod23.htm

Assembler, Simulator, Application notes, software.

http://groups.yahoo.com/group/AVRRobotControl

Technical support, applications, code fragments, documentation, design files.

http://www.mcselec.com

The BASCOM compiler and various application notes can be found here.

http://www.avrfreaks.net

Discussion groups, sample code and projects, avr-gcc C compiler.

http://sourceforge.net/projects/winavr/

Download site for the WinAVR suite of development tools, including GNU avr-gcc C/C++ compiler and AVRDUDE downloader.

http://winavr.sourceforge.net/

Home page for the WinAVR suite of tools.

http://www.eecs.berkeley.edu/~mseeman/resources/macmicro.html

Information about the AVR tools on Mac OS X and a download for a binary installer that will give you all the software you need to program AVR chips on Mac OS X in C.

http://savannah.nongnu.org/projects/avr-libc/

Detailed info on the free AVR tools is located on the site for the AVR runtime library.

11-3-2005

13

Image 13
Contents SRS Robot Level 1 Kit Computer Requirements Getting StartedRecommended Equipment USB port with a USB-to-serial converterKit Contents Vendor Information ARC Board Connection KitQty Vendor Part Preparation AVR Robot Controller 1.1 Assembly InstructionsSoldering Overview Controller Prepare BoardsSolder Components ‰ Resistors and diode‰ Small capacitors and LEDs ‰ Switch and resonatorAttach Connector to Battery Holder Cleaning and Inspection‰ Sockets, headers, and jumper ‰ Large capacitorsSerial Cable Install ChipsProgramming Cable AVR Robot Controller 1.1 Software ToolsBascom on Windows Tool OptionsWinAVR avr-gcc on Windows Avr-gcc on Mac OS Customizing the MicrocontrollerHttp//sourceforge.net/projects/winavr ResourcesMotors Chassis AssemblyBottom Plate Light SensorsTop Plate Final Assembly Leftover Parts Wiring ConnectionsPart ATmega16 ProgrammingATmega16 Programming 11-3-2005 Part ATmega16 Programming 11-3-2005 Part ATmega16 Programming 11-3-2005 ATmega16 Programming 11-3-2005 Part Creating New Programs Sample ProgramsProgram Descriptions ProgrammingProgram RemoteControl BumpNGoProgram Turn Pins PowerAVR Robot Controller 1.1 Hardware Description Physical Functional Input Connection Pin Name Output HeaderExpansion Headers JP3 and JP10 Left and Right Motor ConnectorsLeft and Right Analog Inputs Left, Center, and Right Floor Sensor InputsIn-System Programming and Option Select Power SourceProgram LED output Servo outputAVR Robot Controller 1.1 Schematic