The Robot Maker

(www. robotmaker.co.uk)

 

 

 

USER MANUAL  V1.0

INFRARED CONTROL FREAK

The Robot Maker

γCOROBA Technologies

Langgasse 71 • 50189 Elsdorf

Germany

Phone +49 (0) 2274 706287 • Fax +44 (0) 8701 345931

www.robotmaker.co.uk
TABLE OF CONTENTS:

 

1      Introduction. 1

1.1     Tools you may need. 7

2      Overview Of FUNCTIONALITY.. 13

3      SERIAL INTERFACE CABLE connection. 71

3.1     Serial cable connection TO PC.. 90

3.2     Serial connection TO MAIN ROBOT CONTROLLER.. 112

3.3     Using a 5v regulated power supply from the Robot Controller. 119

4      Testing the connection to the PC using communication software. 128

5      POWER UP TESTS. 167

6      PrOGRAMMABLE Command Codes. 172

6.1     Sending commands to Infrared Control freak. 186

6.2     CoMMAND Code 030 – Sony IR – DECIMAL format 188

6.3     COMMAND Code 031 – Sony IR – ASCII format 237

6.4     COMMAND Code 032 – Infrared proximity dETECTION MODE (IRPD) (ASCII Format) 272

6.5     COMMAND Code 033 – TAG/ZAP MODE. 324

6.6     COMMAND Code 034 – FREEWHEELER MODE (DECIMAL FORMAT) 360

6.7     COMMAND Code 035 – AUTOPILOT.. 371

6.8     COMMAND Code 036 – BEACON MODE. 389

6.9     COMMAND Code 044 – FREEWHEELER (ASCII MOde) 442

APPENDIX A – SAFETY.. 458

APPENDIX B – CIRCUIT DIAGRAM... 482

APPENDIX C – PCB LAYOUT. 486

APPENDIX C – FAULT DIAGNOSTICS. 495

APPENDIX D - Connector Overview.. 520

APPENDIX E - ASCII TABLES. 535

 



1                   Introduction

You don’t stop playing because you get old; you get old because you stop playing!

t

hank you for purchasing the IR Control Freak (IR-CF) module for your robot or control project. If you bought the kit version, please follow the assembly instructions first.

 

The IR-CF has been specially designed for autonomous robotic control and for robotic gaming. However, it can also be used for any other infrared control application.  

 

IR-CF can be easily interfaced to the BASIC Stamp (from Parallax) or to any other Microcontroller using just two I/O pins and a common ground connection.

 

Please check our website www.robotmaker.co.uk for the latest versions of this user manual and for latest upgrades.  Please add your comments to the forum www.robotmaker.co.uk/phpbb/

 

1.1             Tools you may need

-         Voltammeter or simple circuit tester

-         Small Soldering Iron and Solder, wires and connectors (for making a cable)

-         Wire Cutters

 

 

2                   Overview Of FUNCTIONALITY

Non-contact distance measurements

The IR-CF offers non-contact distance measurements from about 2cm (1") to about 30cms (1ft), by sending short bursts of IR pulses on the left and right IR-LEDs. The number of reflected ‘hits’ detected on each of the IR sensors is decoded to determine the direction and distance of an obstacle

 

180 degree Infrared Proximity Sensing

Depending on how the sensors and Infrared LEDs have been calibrated, the three Infrared proximity sensors provide approximately 180 degrees of detection.

 

The combined directional and distance measurement sensing the IR-CF provides excellent autonomous control through narrow passages or mazes. Using command code 32 (see command code overview section below), obstacle directional and distance data is provided as an optional output; transmitted via the serial port.

 

Directional display

The circular ‘compass’ style LED-display points in the direction of the nearest obstacle.

 

The green centre LED will illuminates when an object is fairly close, e.g. 100mm (4"). 

 

 

 

Directional information of obstacles helps instant decision making during maze running and Gaming.

 

Mode of operations

The circular display is also used to provide visual feedback on the state of the command modes selected. Details of the display patterns are provide in the command mode overview section. This feature is excellent for debugging of your program by providing feedback on current routine being executed

 

Fuzzy Logic 

The pre-programmed Fuzzy Logic proximity detection algorithms, enable instant object avoidance decision, this frees-up a lot of processing your main robot controller would normally need to do. If you don't want to use the pre-programmed logic, you can design your own Fuzzy Logic algorithms from the six bytes of 'raw' proximity detection data. By measuring the successful hit on each of the IR sensors over time it is possible to determine whether an object moving towards / way from the sensor.

 

Infrared Remote Control