Datasheet

Table Of Contents
32
revolution
(c) Copyright Revolution Education Ltd. Web: www.picaxe.co.uk Version 1.1 04/10
BOT120.PMD
BOT120 PICAXE-20X2 MICROBOT
Using the TVR010A Infra-red TV Style Remote
Before use, the universal remote control must be programmed with the
special ‘Sony’ transmit code.
1. Insert 2 AAA size batteries, preferably alkaline.
2. Press ‘S’ and ‘B’ at the same time. ‘S’ is in the centre of the arrows.
The top left red LED should light.
3. Press ‘0’. The LED should flash.
4. Press ‘1’. The LED should flash.
5. Press ‘3’. The LED should go out.
6. Press the red power button (top right).
Note that buttons A, C, D, E, F and G are for setting the remote control
into different modes which are not required for using the Microbot - the
Microbot only ever uses mode B. We recommend always pressing ‘B’
before use.
Avoid pressing these other letter buttons as this will accidentally set your
remote into another mode. You can always return to the ‘B’ mode by
pressing the B button.
Note that it is quite easy to accidentally press the F and G keys
when using the arrow keys. If this happens you will need to press
B again before the arrow keys will work as expected.
When a key is pressed on the remote control the red LED in its top left
corner will light and flash and a number will be sent to the Microbot IR
receiver. These numbers will correspond to keys pressed as follows:
Symbol KEY_POWER = 21
Symbol KEY_UP = 16
Symbol KEY_DOWN = 17
Symbol KEY_RIGHT = 18
Symbol KEY_LEFT = 19
Symbol KEY_1 = 0
Symbol KEY_2 = 1
Symbol KEY_3 = 2
Symbol KEY_4 = 3
Symbol KEY_5 = 4
Symbol KEY_6 = 5
Symbol KEY_7 = 6
Symbol KEY_8 = 7
Symbol KEY_9 = 8
Symbol KEY_MINUS = 98
Symbol KEY_0 = 9
Symbol KEY_PLUS = 11
Symbol KEY_BAR = 96 NB: The six keys at
Symbol KEY_TENT = 54 the bottom of the
Symbol KEY_VERT_CROSS = 37 remote are not used.
Symbol KEY_DIAG_CROSS = 20