Datasheet

Table Of Contents
17
revolution
(c) Copyright Revolution Education Ltd. Web: www.picaxe.co.uk Version 1.1 04/10
BOT120.PMD
BOT120 PICAXE-20X2 MICROBOT
Download Hard Reset
If your Microbot is busy doing something such as waiting for an IR
Remote Control key press it may not notice you are attempting to
perform a new download and the download may subsequently fail.
If this happens it is necessary to perform what is known as a ‘Hard Reset’.
A Hard Reset is performed by turning your Microbot’s power off using
the slide switch on the motherboard, starting the download, and then
turning the power back on. As the Microbot wakes-up it will always check
for a download request and allow the new program to be downloaded,
regardless of the program in memory.
Note that the push button on the motherboard, next to the download
socket, is not a ‘reset’ button. To reset the Microbot it is necessary to turn
the power off and then back on.
PICAXE-20X2 Pin Connections
All circuit board modules are connected via the connector bric; bolting
the bric into place completes the electrical connection from one board to
the other.
There are six positions on the motherboard to which the bric can be
connected. Each position is connected to a particular PICAXE 20X2 pin.
In addition, other PICAXE pins are used on the motherboard to interface
to the motors, LEDs, Piezo Sounder and Push Button.
In order to control your Microbot you need to interact with its hardware
via programming the appropriate PICAXE 20X2 pins.
For example, the left LED of your Microbot is connected to the B.1 pin
and is therefore controlled by sending a ‘high’ command to B.1 to turn
the LED on and sending a ‘low’ command to B.1 to turn it off.
If you were interacting with the Line Tracker module connected to the
front middle position, that connection is C.2 / ADC 8, so you would use
a ‘readadc’ command on analogue channel 8 to read the light intensity
level from that sensor
Note that the ‘Logicator for PICAXE’ flowcharting software uses a slightly
different pin naming system than the BASIC language used by
Programming Editor / AXEpad. Both systems are shown in the tables
overleaf.
As the interaction with the PICAXE 20X2 pins
is so important to programming and
controlling your Microbot you may wish to
print the next page and keep it as a handy
reference.
0V
A.0 / Serial Out
B.0 / ADC1 / hint1
B.1 / ADC2 / hint2 / SRQ
B.2 / ADC4 / C2+
B.3 / ADC5 / C2-
B.4 / ADC6 / hpwm D / C1-
B.5 / ADC10 / hi2c sda / hspi sdi
B.6 / ADC11 / hserin
B.7 / hi2c scl / hspi sck
+V
Serial In
ADC3 / C.7
C.6
hpwm A / pwm C.5 / C.5
hpwm B / SRNQ / C.4
hpwm C / ADC7 / C.3
kb clk / ADC8 / C.2
hspi sdo / kb data / ADC9 / C.1
hserout / C.0
1
2
3
4
5
6
7
8
9
10
20
19
18
17
16
15
14
13
12
11
PICAXE-20X2