Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use PICAXE-14M: Examples, Pinouts, and Specs

Image of PICAXE-14M
Cirkit Designer LogoDesign with PICAXE-14M in Cirkit Designer

Introduction

The PICAXE-14M is a versatile microcontroller designed for educational and hobbyist projects. It features 14 pins, including input/output capabilities, and is programmable using a simple BASIC-like language. This makes it an excellent choice for beginners and those looking to quickly prototype electronic projects. The PICAXE-14M is ideal for controlling sensors, actuators, and other peripherals, offering a user-friendly platform for learning and experimentation.

Explore Projects Built with PICAXE-14M

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Arduino Mega 2560-Based Smart Home Control System with LCD Display and Flame Sensor
Image of Copy of schoolproject (1): A project utilizing PICAXE-14M in a practical application
This circuit is a multi-functional embedded system featuring an Arduino Mega 2560 microcontroller that interfaces with a 4x4 membrane keypad, a 20x4 I2C LCD, an 8x8 LED matrix, a DS3231 RTC module, a passive buzzer, and a KY-026 flame sensor. The system is powered by a 5V PSU and is designed to provide real-time clock functionality, user input via the keypad, visual output on the LCD and LED matrix, and flame detection with an audible alert.
Cirkit Designer LogoOpen Project in Cirkit Designer
I2C-Controlled OLED Display with External EEPROM and Interactive Pushbuttons
Image of godmode: A project utilizing PICAXE-14M in a practical application
This is a microcontroller-based interactive device featuring a Wemos D1 Mini, an OLED display, external EEPROM, and an I/O expander. It includes user input buttons and status LEDs, with potential MIDI interface capabilities.
Cirkit Designer LogoOpen Project in Cirkit Designer
Raspberry Pi Pico-Based Gas Detection System with LCD Display and Buzzer Alert
Image of Gas Detector: A project utilizing PICAXE-14M in a practical application
This circuit features a Raspberry Pi Pico microcontroller interfaced with various components including a 16x2 I2C LCD, an MQ-9 gas sensor, a potentiometer, a buzzer, and a pushbutton. The circuit is designed to read sensor data, display information on the LCD, and control the buzzer and other peripherals through the microcontroller.
Cirkit Designer LogoOpen Project in Cirkit Designer
ATMEGA328 Battery-Powered LED Blinker with FTDI Programming
Image of Homemade Arduino using ATmega328: A project utilizing PICAXE-14M in a practical application
This circuit is a basic microcontroller setup using an ATMEGA328, powered by a 5V battery, and includes an FTDI programmer for serial communication. It features a pushbutton for reset functionality and two LEDs controlled by the microcontroller, with one LED blinking at a 1-second interval as programmed.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with PICAXE-14M

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Copy of schoolproject (1): A project utilizing PICAXE-14M in a practical application
Arduino Mega 2560-Based Smart Home Control System with LCD Display and Flame Sensor
This circuit is a multi-functional embedded system featuring an Arduino Mega 2560 microcontroller that interfaces with a 4x4 membrane keypad, a 20x4 I2C LCD, an 8x8 LED matrix, a DS3231 RTC module, a passive buzzer, and a KY-026 flame sensor. The system is powered by a 5V PSU and is designed to provide real-time clock functionality, user input via the keypad, visual output on the LCD and LED matrix, and flame detection with an audible alert.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of godmode: A project utilizing PICAXE-14M in a practical application
I2C-Controlled OLED Display with External EEPROM and Interactive Pushbuttons
This is a microcontroller-based interactive device featuring a Wemos D1 Mini, an OLED display, external EEPROM, and an I/O expander. It includes user input buttons and status LEDs, with potential MIDI interface capabilities.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Gas Detector: A project utilizing PICAXE-14M in a practical application
Raspberry Pi Pico-Based Gas Detection System with LCD Display and Buzzer Alert
This circuit features a Raspberry Pi Pico microcontroller interfaced with various components including a 16x2 I2C LCD, an MQ-9 gas sensor, a potentiometer, a buzzer, and a pushbutton. The circuit is designed to read sensor data, display information on the LCD, and control the buzzer and other peripherals through the microcontroller.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Homemade Arduino using ATmega328: A project utilizing PICAXE-14M in a practical application
ATMEGA328 Battery-Powered LED Blinker with FTDI Programming
This circuit is a basic microcontroller setup using an ATMEGA328, powered by a 5V battery, and includes an FTDI programmer for serial communication. It features a pushbutton for reset functionality and two LEDs controlled by the microcontroller, with one LED blinking at a 1-second interval as programmed.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Educational projects for learning microcontroller programming
  • Prototyping simple automation systems
  • Controlling LEDs, motors, and servos
  • Interfacing with sensors (e.g., temperature, light, or motion sensors)
  • Building interactive devices and games

Technical Specifications

  • Microcontroller Type: PICAXE-14M
  • Number of Pins: 14
  • Operating Voltage: 3V to 5V
  • Programming Language: BASIC-like syntax
  • Clock Speed: 4 MHz (internal resonator)
  • Memory: 256 bytes (program memory)
  • Input/Output Pins: 5 configurable I/O pins
  • ADC Channels: 4 (10-bit resolution)
  • PWM Outputs: 2
  • Serial Communication: Supported (via programming pins)

Pin Configuration and Descriptions

The PICAXE-14M has 14 pins, each with specific functions. Below is the pinout and description:

Pin Number Pin Name Function
1 V+ Positive power supply (3V to 5V)
2 C.5 Digital I/O or ADC input
3 C.4 Digital I/O or ADC input
4 C.3 Digital I/O or ADC input
5 C.2 Digital I/O or ADC input
6 C.1 Digital I/O or ADC input
7 C.0 Digital I/O or ADC input
8 0V (GND) Ground connection
9 B.3 Digital I/O or PWM output
10 B.2 Digital I/O or PWM output
11 B.1 Digital I/O
12 B.0 Digital I/O
13 Serial In Serial programming input
14 Serial Out Serial programming output

Usage Instructions

How to Use the PICAXE-14M in a Circuit

  1. Power Supply: Connect the V+ pin (Pin 1) to a 3V-5V power source and the 0V (GND) pin (Pin 8) to ground.
  2. Programming: Use the PICAXE programming cable to connect the Serial In (Pin 13) and Serial Out (Pin 14) to your computer. Install the PICAXE Editor software to write and upload programs.
  3. Connecting Peripherals: Attach sensors, LEDs, or other components to the I/O pins (C.0 to C.5, B.0 to B.3) as needed. Use resistors where appropriate to limit current.
  4. Running the Program: Once programmed, the PICAXE-14M will execute the uploaded code automatically when powered on.

Important Considerations and Best Practices

  • Voltage Levels: Ensure the operating voltage does not exceed 5V to avoid damaging the microcontroller.
  • Pull-Down Resistors: Use pull-down resistors on input pins to prevent floating states.
  • Decoupling Capacitor: Place a 0.1 µF capacitor between V+ and GND to stabilize the power supply.
  • Programming Cable: Use the official PICAXE USB programming cable for reliable communication.
  • Pin Limitations: Avoid exceeding the current limits of the I/O pins (20 mA per pin, 90 mA total).

Example Code for Blinking an LED

Below is an example program to blink an LED connected to Pin B.0:

' Blink an LED connected to Pin B.0
' Ensure a current-limiting resistor (e.g., 330 ohms) is used with the LED.

main:               ' Start of the program
  high B.0          ' Turn on the LED
  pause 1000        ' Wait for 1 second (1000 ms)
  low B.0           ' Turn off the LED
  pause 1000        ' Wait for 1 second
  goto main         ' Repeat the loop

Example Code for Reading an Analog Sensor

This example reads a value from an analog sensor connected to Pin C.1 and outputs it via serial communication:

' Read an analog sensor connected to Pin C.1
' and send the value to the serial monitor.

main:               ' Start of the program
  readadc C.1, b1   ' Read the analog value into variable b1 (0-255)
  sertxd ("Value: ", #b1, 13, 10) ' Send the value via serial (newline included)
  pause 500         ' Wait for 500 ms before the next reading
  goto main         ' Repeat the loop

Troubleshooting and FAQs

Common Issues and Solutions

  1. The PICAXE-14M is not responding to programming commands.

    • Ensure the programming cable is securely connected to the Serial In and Serial Out pins.
    • Verify that the correct COM port is selected in the PICAXE Editor software.
    • Check the power supply to ensure the microcontroller is powered.
  2. The program is not running after uploading.

    • Confirm that the microcontroller is properly reset after programming.
    • Check for syntax errors in the code and re-upload the program.
  3. The sensor readings are inconsistent.

    • Use a decoupling capacitor near the sensor to reduce noise.
    • Ensure proper grounding and stable power supply connections.
  4. The LED is not blinking as expected.

    • Verify the LED polarity (longer leg is positive).
    • Check the resistor value to ensure it is appropriate for the LED.

Additional Tips

  • Use the PICAXE simulator in the Editor software to test your code before uploading.
  • Label your connections clearly to avoid wiring errors.
  • Refer to the official PICAXE manuals for advanced programming techniques and examples.