11.50 USD
$11.50 ea.
$10.41 ea.

The PICAXE-40X2 IC is the biggest, baddest PICAXE made - even better than the 40X1!

Description [Hide]

The 18F45K22 version of the PICAXE-40X2 is the newest revision of the popular 40 series, this new chip replaces both of the discontinued PIC18F4520 (40X2-5V) and the PIC18F45K20 (40X2-3V). This new revision adds more great specs on top of additional ADC channels, and new support for touch sensors and RFIN & RFOUT commands. Now you're working with a even more powerful micro, and still not having to crack a book on "C" programming!


  • Up to 4 internal program slots and 32 external program slots
  • RAM, up to 256 bytes + 1024 bytes scratchpad
  • Increased operating speed, up to 64Mhz (16Mhz internal)
  • Individual pin input/output control
  • 26 ADC configurable pins now available

New 40X2 Specifications

  • Based on the PIC 18F45K22 IC
  • 2.1 to 5.5 volt operation
  • 1000 lines of code
  • 33 Configurable I/O
  • Hardware I2C support for easy peripheral connecting
  • Internal Timer
  • Increased variables and separate memory scratchpad
  • Enhanced mathematical functions
  • Line-by-line simulation
  • Supports
    • Interrupts
    • 12-Bit Digital temperature sensors
    • Servo control
    • Keyboard input
    • IR transmit/receive
    • Plays user-defined musical tones
    • PWM Motor control
    • New HPWM module with power steering
    • Input Pulse counting
    • Serial output & debugging via programming cable
    • Increased optional clock speed, 64MHz external, 16MHz internal
    • Many additional ADC Channels, with individual ADC pin masking
    • New support for touch sensors on all ADC channels
    • Added support for RFIN and RFOUT commands for Manchester encoded wireless radio communication
    • New SR latch, voltage reference and DAC output modules
    • Higher baud rate for serial work (default now 9600, n, 8, 1)

Almost all existing 40X2-5V and 40X2-3V programs can be used immediately on the new 40X2 chip. The only change that may be required is editing the format of any ‘let adcsetup = ‘ command, as the new part has the more versatile ‘individual masking’ method instead of the original ‘sequential masking’ method used on t he 40X2-5V. See the ‘adcsetup’ command in part 2 of the PICAXE manual for more details.

The ‘PICAXE’ system is a powerful, low cost microcontroller programming system designed to simplify educational and hobbyist use of microcontrollers. PICAXE chips can be programmed in a graphical flow-chart environment or in easy to understand BASIC.

Documentation [Hide]

You Might Also Like [Hide]



The PICAXE-28X2 builds on top of the X1, improving on the already impressive specs and adding more features.

$8.50 USD



PICAXE-14M2 replaces the 14M, and offers the impressive suite of features of the M2 series in a small SMT package.

$3.95 USD


PICAXE-08M2 Chip

PICAXE-08M2 microcontroller chip. Supports 6 input/outputs including 3 analog inputs.

$3.50 USD


Breadboard Jumper Wire Bundle

This 70-piece flexible wire jumper kit is sure to replace your old-style solid-wire jumpers. These are more flexible, robust, and easy to use!

$6.00 USD



Enhanced 20 pin microcontroller with individual pin control, 64MHz option and additional features including i2c/spi bus support.

$4.50 USD



The PICAXE-28X1 is powerful, but how about being powerful AND tiny? Here's the surface-mount version!

$8.95 USD



The PICAXE-40X1 IC is the biggest, baddest PICAXE made. LOTS of power, memory, and ability, all programmable in a graphical flowchart-like language or easy-to-learn BASIC.

$11.50 USD


PICAXE-08M2 IC (Surface Mount)

The surface mount version of our smallest, but prominent, PICAXE microcontroller. Very popular in education due to its low cost and small size, but also popular in a wide range of hobbyist projects. Small but perfectly formed!

$3.95 USD


Grove - Temperature and Humidity Sensor

Measure temperature and humidity with the pre-calibrated Grove TempHumi sensor.

$6.40 USD


Miller Engine PCB

Want to build a Miller Solarengine on a PCB? Here's a small, easy-to-use PCB, clearly marked for building your solarengine!

$2.50 USD





Remember Me

Forgot Your Password?

Don't Have an Account?
Sign Up!