Cerebot Programs (English)

From RoboCup

Jump to: navigation, search

Denne side på norsk

Here we collect all the programs we write for Cerebot. We use WinAVR with Programmers Notepad and Digilent AVR Programmer to download programs using JTAG3 cable. Vi use parts of Proycon AVRlib, but we try to keep all relevant files in the zip-files so that it is possible to compile and run with WinAVR only. Cerebot runs on 8 MHz internal clock, and the programs are usually interactive - communicate with the user on UART1, where we usually connect the BlueSmirf BlueTooth module (it can be replaced with an RS232 module and serial cable to PC). BlueSmirf is usually configured as 9600,8,N,1, but you can change that in the programs. All programs should contain a readme.txt, where it is describe how the devices should be connected. Be especially careful about connecting proper voltage, and that all "VCC/VU jumpers" are set properly. If you have any comments or suggestions, please drop us a mail at robogjengImage:zavinac.gifgooglegroups.com.




  • avr_calc.zip - easy interactive calculator that is using UART1 to communicate with the user; does not allow editing on the standard input, more...
  • cerebot_motors.zip - controls DC motors (up to 7 motors, i.e. LEGO 9V motors) using the CPU timers (0% CPU utilization), more...
  • nidarbot.zip - Nidarbot controller - easy program for remote control of a robot with two motors, more...
  • modem.zip - connects UART0 and UART1 - all is sent through (can be used e.g. to setup UART devices)
  • tcs230_setup.zip - measures color using PICAXE colour-sensor, uses "Input Capture Pin" of CPU timers with interrupts, more...
  • labyrint_setup.zip - raw product - only a testprogram for a robot with 2 motors and 3 LEGO light sensors connected using module for LEGO active sensors, more...
  • stepper.zip - controls bipolar stepper motor (from a 3 1/2" floppy) using HB2 module more...




See also: Nanocon

Personal tools