Datasheet
Table Of Contents
- Contents
- Microbot Overview
- PICAXE Programming System
- Microbot Power Supply
- BOT120 Microbot Contents List
- The Microbric Connector
- Assembly 1 - Motherboard Panel
- Assembly 2 - Battery Box
- Assembly 3 - Motor Housing
- Assembly 4 - Motors
- Assembly 5 - Wheels, Tyres and Rear Skid
- Assembly 6 - Line Tracker
- Assembly 7 - Bumper Switches
- Assembly 8 - Pen Holder, Servo and SRF005 Modules
- Fully Assembled Microbot
- Motor Trouble Shooting
- Programming Software
- Programming Cable
- Download Hard Reset
- PICAXE-20X2 Pin Connections
- PICAXE-20X2 Microbot Pinout Table (Logicator)
- PICAXE-20X2 Microbot Pinout Table (Programming Editor / AXEpad)
- Programming Example 1 - LED Eyes
- Programming Example 2 - Push Button Switch
- Programming Example 3 - Bumper
- Programming Example 4 - Piezo Sounder
- Programming Example 5 - Motors
- Programming Example 6 - Line Tracker Testing
- Programming Example 7 - Line Tracker Program
- BOT121 Microbot Sensors Pack
- Assembly 9 - Infra-red Receiver (IR RX) Module
- Assembly 10 - Infra-red Transmitter (IR TX) Module
- Using the TVR010A Infra-red TV Style Remote
- Programming Example 8 - Infra-red Receiver
- Programming Example 9 - Infra-red Transmitter
- Assembly 11 - LDR Light Sensor Modules
- Programming Example 10 - Testing LDR Light Sensors
- Programming Example 11 - Light Follower
- SRF005 Ultrasonic Range Finder
- Assembly 12 - SRF005 Ultrasonic Range Finder
- Programming Example 12 - Testing SRF005
- Programming Example 13 - Using the SRF005
- BOT123 Servo Upgrade Pack
- Assembly 13 - BOT123 Servo / SRF005 Servo Adapter
- Programming Example 14 - Using Servos
- BOT127 Line Tracker / LED Upgrade Pack
- Appendix 1 - Home Made Sensors
- Appendix 2 - BOT120 Microbot Motherboard Schematic
- Appendix 3 - BOT120 Sensors Schematic
- Appendix 4 - BOT121 Sensors Pack Schematic
- Appendix 5 - BOT123 Servo Pack Schematic
- Appendix 6 - Advanced PIC (Non-PICAXE) Programming
- Appendix 7 - Copyright and Trademarks
- BOT110 Versabot - Microbot's 'big brother!'
34
revolution
(c) Copyright Revolution Education Ltd. Web: www.picaxe.co.uk Version 1.1 04/10
BOT120.PMD
BOT120 PICAXE-20X2 MICROBOT
Programming Example 9 – Infra-red Transmitter
By using the IR Transmitters it is possible for one Microbot to act like a
Remote Control for another. By using the appropriate command it is
possible to send what looks like a particular key press to every Microbot
waiting to receive a Remote Control key press.
Note that each IR Transmitter is controlled independently (if two
transmitters are used). To send a key press from both IR Transmitters it is
necessary to send the appropriate command twice, once to one
transmitter, a second time to the other.
To check the IR Transmitters are working fully you will need two
Microbots, one sending and one receiving and reporting what it has
received. The operation of the IR transmitters is invisible to the human
eye but can usually be observed by using a PC webcam, mobile phone
camera or camcorder.
Take care not to place any webcam, digital camera or camcorder
too close to the IR LEDs to view their operation as this may
permanently damage the image sensors. Observing the IR LEDs
in this manner is undertaken entirely at your own risk.
The following flowchart will use an IR transmitter connected to the
centre rear connector of the motherboard (B.0) to act as an automated
remote control which can control one (or more) other Microbot which
has been programmed to respond to remote control key presses as in the
previous infra-red receiving program.
The program repeatedly sends out a simulated up arrow press followed
by a down arrow press every five seconds. The receiving Microbot will
therefore move forwards for 5 seconds and then backwards for 5 seconds.
Sample Logicator Flowchart File:
BOT120 INFRA TRANSMIT.PLF
Sample BASIC File:
BOT120 INFRA TRANSMIT.BAS
symbol KEY_UP = 16
symbol KEY_DOWN = 17
main:
irout B.0, 1, KEY_UP
pause 5000
irout B.0, 1, KEY_DOWN
pause 5000
goto main










