The 20X2 Motherboard is the controlling heart of a 20-pin PICAXE system to which other input and output interfaces connect.
The Microbot motherboard is a special create system motherboard (part of kit BOT120). It is designed to mount motors to allow a movable Create motherboard.
20X2 Microbot Motherboard
Schematic
PCB
Microbot motherboard test program
This simple test program will demonstrate that the 20X2 Microbot microcontroller is functioning. Shortly after download the Terminal display will appear and show a message indicating the 20X2 is working.
- Code Example:
-
#picaxe 20X2 #terminal 9600 pause 2000 main: sertxd( "I'm your 20X2 Microbot microcontroller", cr, lf ) pause 1000 goto main
Copy Code Submit an Example
Determine type of PICAXE and firmware version
The following program will report the type of PICAXE and firmware version for X2 PICAXE microcontrollers. Please note that the readfirmware and readsilicon commands are not supported for the M2 microcontrollers.
- Code Example:
-
#terminal 9600 main: pause 2000 readsilicon b0 b1 = b0 >> 5 select case b1 case %001 : sertxd( "PICAXE-20X2 (PIC18F14K22)", cr, lf ) case %010 : sertxd( "PICAXE-28X2-5V (PIC18F2520)", cr, lf ) case %011 : sertxd( "PICAXE-40X2-5V (PIC18F4520)", cr, lf ) case %100 : sertxd( "PICAXE-28X2 (PIC18F25K22)", cr, lf ) case %101 : sertxd( "PICAXE-40X2 (PIC18F45K22)", cr, lf ) case %110 : sertxd( "PICAXE-28X2-3V (PIC18F25K20)", cr, lf ) case %111 : sertxd( "PICAXE-40X2-3V (PIC18F45K20)", cr, lf ) end select readfirmware b0 b1 = b0 / 16 + "0" : if b1 > "9" then : b1 = b1+7 : end if b0 = b0 & 15 + "0" : if b0 > "9" then : b0 = b0+7 : end if sertxd( "Firmware Version ", b1, ".", b0, cr, lf, cr, lf ) goto main
Copy Code Submit an Example
Create Module
The BOT120 motherboard kit provides a moving 'robot' style motherboard for the create system.
For non-mobile circuits using the create system the 18M2 Motherboard will be of interest.
Bill of Materials
Description | Code | Qty | |
---|---|---|---|
PICAXE-20X2 Microcontroller | AXE012X2 | 1 | Buy Now |
20-pin 0.3" DIL IC socket | ICH020 | 1 | Buy Now |
3.5mm stereo jack socket | CON039 | 1 | Buy Now |
10k resistor (pack 100) | RES10K | 1 | Buy Now |
22k resistor (pack 100) | RES22K | 1 | Buy Now |
100nF miniature polyester capacitor | CAP001 | 1 | Buy Now |
Simulation
Submit Your Own Code!
You must be logged in to submit code examples. Login now.
Share