© 2002 RobotstoreUK all rights reserved
 

RP6 Robot System Page 2
<<<Page 1 Page 3 >>>

Software and Documentation
 

INTRODUCTION

ABOUT US
GETTING STARTED
DEFINITIONS + MEANINGS


SHOP HERE

ROBOTS
ROBOTIC COMPONENTS
REMOTE CONTROL+ TELEROBOTICS
CIRCUIT PROTOTYPING
ELECTRONIC COMPONENTS
MICRO-CONTROLLERS
SENSORS + VISION
ACTUATORS
MOTORS
MOTOR CONTROLLERS
POWER + BATTERIES
TEST EQUIPMENT
BOOKS
TOOLS


CONTACT US

CONTACT+ SUPPORT
ORDER + SALES INFO
TERMS+ CONDITIONS
PRIVACY STATEMENT


RESOURCES

LINKS
CURRENCY CONVERTER


 
Introduction  

The RP6 System Manual

The manual will describe the RP6, programming the RP6 and the dedicated system software

We need to assume that you have a basic working knowledge of computers, using the operating systems, Windows or Linux and standard software packages such as a file manager, web browser, unpacker (WinZip, WinRAR, unzip, etc.) and if relevant e.g. the Linux-Shell.
If you are not familiar with using computers, you should prepare yourself to acquire basic knowledge in this field before starting to operate the RP6! It is not possible to provide an introduction course in computer usage in the manual, as this topic is out of its scope.
( RP6 System MANUAL - English )

 

WinAVR - for Windows (http://winavr.sourceforge.net/)

WinAVR (pronounced “whenever”) is a package of useful and required tools for software development with AVR microcontrollers in the C-language. Apart from GCC for AVR target (which is called "AVR-GCC", more infos on this follow later on), WinAVR also provides a comfortable source code editor called "Programmers Notepad 2", which will also be used for software development for RP6. WinAVR is a privately organized project and the package is freely available on Internet for everyone. New releases and further information may be found on the official project website

The WinAVR installer can be found on the CD

The I²C Bus
The extremely popular I²C Bus, designed by Philips Semiconductors during the eighties and nineties, is used in a great number of electronic equipment, e.g. video recorders, televisions, but also in industrial systems. Most of the modern PCs and notebooks use a variant of this bus called SMBus to control air flow and temperature of the internal devices. A great number of robots also uses the I²C Bus system and for this reason a number of sensor modules like ultrasonic sensors, electronic compasses,temperature sensors and similar devices are available on the market.

The data sheets and manuals for these I²C components are mostly available on the respective manufacturers web sites, however where a component is available from RobotstoreUK.com we will provide all the available literature for that component.

  AVR-GCC, avr-libc and avr-binutils - for Linux
Installing avr-gcc in Linux environments may become a little bit more complicated. A few distributions already provide the required packages, but often the packages contain obsolete releases without some of the required patches. Most likely you will have to compile and install new versions.

We cannot refer to details for each of the countless Linux distributions, such as SuSE, Ubuntu, RedHat/Fedora, Debian, Gentoo, Slackware, Mandriva etc. varying in versions and all their quirks. We will provide a general installation approach only.

This also applies to all Linux topics in the RP6 System Manual
Bootloader
There is a so called Bootloader program located in a special memory area of the microcontroller. This tiny program is responsible for loading new user programs into the microcontroller’s memory via the serial interface.
The Bootloader communicates with the the RP6Loader software on the host PC. Like this, no additional programming hardware is required. The USB Interface can be used for communication with the controller through text messages and additionally to program the controller. However there is one drawback in using a Bootloader: it needs 2KB of the flash memory, which will leave 30KB free memory for your own programs. This does not bother us too much as there is plenty of room even for very complex programs (compared to the 7KB free memory of the tiny ASURO robot)!
  Java 6
The RP6Loader (see below for more information about it) has been designed for the Java environment and may be used in Windows and Linux (in theory, other operating systems such as OS X should work as well, but unfortunately AREXX Engineering does not support this so far). In order to run RP6Loader, you have to install a recent Java Runtime Environment (JRE). Maybe you already have it installed on your computer, but it should be at least Version 1.6 (= Java 6)! If you have not installed a recent JRE or JDK yet, please install SUN Microsystems' JRE 1.6 from the supplied CD or alternatively obtain a more recent version from the websites (http://www.java.com) or
(http://java.sun.com)

RP6Loader
We created the RP6Loader to simplify the uploading process for new programs to the RP6 and all expansion modules (as long as these modules provide a microcontroller with a compatible bootloader). Additionally we implemented a few useful functions, e.g. a simple serial terminal program.

You do not have to install the RP6Loader – instead you may simply copy the program somewhere to a new directory on your hard disk.

The RP6Loader is located in a ZIParchive on the RP6 CD-ROM

 

RP6 Library, RP6 CONTROL Library
and Example programs

RP6Library and the corresponding example programs are located in a ZIP-archive on the supplied CD:
Extract this archive to a directory of your choice on your harddisk.
We suggest to use a directory on a data partition. Alternatively you might use the “My Documents”-directory and create a subdirectory “RP6\Examples\” or use the Home directory in Linux.

The archive also provides examples for the RP6 CONTROL M32 expansion module including the corresponding library files!


 
     
RP6 - System Documentation  
  The Main Manual for the RP6 Robot system as delivered - READ THIS FIRST
This contains the Software instalation Proceedure together with full details of the RP6 Robot System
 

The Manual for the additional M32 microprossor expansion board

 
   
     
RP6 - Software
 
Windows / LINUX COMMON SOFTWARE
 
  The Main Manual for the RP6 Robot system as delivered - READ THIS FIRST
  The RP6 Loader files in Zip archive folder
 
   

Version 20080510
Version 20071016
Version 20070928
Version 20070811

  RP6Library, RP6ControlLibrary and Example Programs

WINDOWS SOFTWARE

 

 

WinAVR Version 20070525

WinAVR is a suite of executable, open source software development tools for the Atmel AVR Microcontrollers. It allows to run AVR-GCC (C-Compiler) and other open source tools on Windows. It is easy to install - just follow the instructions on your screen after launching the installer.

USB Interface Driver

This is the FTDI USB Driver for Windows (you don't need a Driver for Linux as it is already included in modern Linux Kernels). The newest CDM 2.02.04 Version is available for Win2k/XP/Vista and Win x64. You can use the CDM_Setup to install the Driver BEFORE you attach the USB Interface for the first time! If you want to install it manually, you find the extracted drivers in the apropriate folders on the CD. The Installation is described in the RP6 Manual and there are also Installation Guides in the driver folders.

If you still use old Win98SE/Me, then you can only install the older D2XX Drivers manually, because the CDM Drivers are not available for Win98!

Newer Versions of the Drivers can be downloaded from our website or directly from FTDI: http://www.ftdichip.com/

LINUX SOFTWARE
 

 

avr-gcc, binutils, avr-libc and patches

This folder contains everything required to compile and install the avr-gcc, binutils and avr-libc for Linux. There are several patches that need to be applied to these packages. There is an automatic script that can do this. Of course you can also compile and install everything manually. This is described very detailled in the RP6 Manual! You should read it, this is not as easy as it is with WinAVR for Windows and you need to do several things on the commandline...

To install avr-gcc for Linux as described in the Manual (p. 29 ff), you have to download the archive and extract it to your home directory in a new directory "RP6".

Then you need to download the following packages:

- Binutils 2.1.7:
binutils-2.17.tar.bz2 (13 MB)

- GCC 4.1.1:
gcc-4.1.1.tar.bz2 (38 MB, if the link is broken try another mirror:
http://gcc.gnu.org/mirrors.html )

Please do not extract any of the two archives - just store it along with the other files from the RP6_avrgcc_patches_and_libc.zip archive in the "RP6" directory.

Then you may continue as described in the Manual (p. 29 ff)!

     
DATASHEETS
   
  These documents are intended for advanced users, who want to understand how the RP6 hardware works in detail.

You can download all the datasheets of the RP6 Components here.

The archive contains the following Files:

RP6-BASE:

* ATMEGA32.pdf - Atmel ATMEGA32 8-Bit RISC Microcontroller
* FT232R.pdf - FTDI FT232RL USB UART
* L4940.pdf - Low Drop 1.5A Voltage Regulator
* TLC27M2.pdf - Precision Dual Operational Amplifier
* 74HC03D.pdf - Quad NAND gate with unclamped open drain outputs
* IRF7309PBF.pdf - Dual N and P Channel Power MOSFET
* IRLML2502pbf.pdf - Power MOSFET
* LD271.pdf - IR LED
* TSOP34836.pdf - 36kHz IR Receiver Module
* SFH9202.pdf - Reflective Interrupter
* BYM10-50.pdf - Rectifier Diode
* BAS70_07.pdf - Dual Schottky Diode
* A906013.pdf - Photocell (Light Dependant Resistor)

RP6-M32 Expansion Module (additional datasheets only):

* 74HC4094D.pdf - 8-stage shift-and-store bus register
* AT25256A.pdf - 256K (32768 x 8) SPI EEPROM
* MCP6001.pdf - Operational Amplifier

Other info:

* Display MC1602E-TGR.pdf - 16x2 char LCD
* LCD_CHARACTERSET.gif - LCD Characterset overview
* pcf8574.pdf - 8-bit I/O expander for I2C-bus
* pcf8591.pdf - 8-bit A/D and D/A converter for I2C-bus
* I2C_Bus_specification.pdf - the Philips specification of the I2C-bus

  The Schematics are intended for advanced users, who want to understand how the RP6 hardware works in detail and what can be modified.

You can download all the Schematics here.

I²C Bus - Components Documentation
  Under Construction
 
 
 
     
     
 
 
© 2002 RobotstoreUK all rights reserved
HOME