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!'
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










