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

How to Use PICAXE-08: Examples, Pinouts, and Specs

Image of PICAXE-08
Cirkit Designer LogoDesign with PICAXE-08 in Cirkit Designer

Introduction

The PICAXE-08, manufactured by Revolution Education Ltd, is a low-cost microcontroller designed for educational and hobbyist projects. It features a simple programming interface and supports a BASIC-like programming language, making it highly accessible for beginners. Despite its simplicity, the PICAXE-08 is versatile and capable of controlling various electronic devices, making it suitable for a wide range of applications, from simple automation tasks to more complex robotics projects.

Explore Projects Built with PICAXE-08

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Battery-Powered Health Monitoring System with Nucleo WB55RG and OLED Display
Image of Pulsefex: A project utilizing PICAXE-08 in a practical application
This circuit is a multi-sensor data acquisition system that uses a Nucleo WB55RG microcontroller to interface with a digital temperature sensor (TMP102), a pulse oximeter and heart-rate sensor (MAX30102), and a 0.96" OLED display via I2C. Additionally, it includes a Sim800l module for GSM communication, powered by a 3.7V LiPo battery.
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-08 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
Arduino UNO Controlled Interactive Display with Joystick and Buzzer Feedback
Image of joystick: A project utilizing PICAXE-08 in a practical application
This circuit features an Arduino UNO microcontroller connected to an 8x8 LED matrix, an LCD display with I2C interface, a KY-023 Dual Axis Joystick Module, and a Piezo Buzzer. The Arduino controls the LED matrix via digital pins and provides an interface for the joystick's analog inputs and button press. The LCD display is used for output, and the buzzer is driven by a digital pin for audio feedback.
Cirkit Designer LogoOpen Project in Cirkit Designer
Bluetooth-Controlled Multi-Function Arduino Nano Gadget
Image of Copy of Smarttt: A project utilizing PICAXE-08 in a practical application
This is a portable, microcontroller-driven interactive device featuring Bluetooth connectivity, visual (RGB LED), auditory (loudspeaker), and haptic (vibration motor) feedback, user input (pushbutton), and a rechargeable power system (TP4056 with Li-ion battery).
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with PICAXE-08

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 Pulsefex: A project utilizing PICAXE-08 in a practical application
Battery-Powered Health Monitoring System with Nucleo WB55RG and OLED Display
This circuit is a multi-sensor data acquisition system that uses a Nucleo WB55RG microcontroller to interface with a digital temperature sensor (TMP102), a pulse oximeter and heart-rate sensor (MAX30102), and a 0.96" OLED display via I2C. Additionally, it includes a Sim800l module for GSM communication, powered by a 3.7V LiPo battery.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Gas Detector: A project utilizing PICAXE-08 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 joystick: A project utilizing PICAXE-08 in a practical application
Arduino UNO Controlled Interactive Display with Joystick and Buzzer Feedback
This circuit features an Arduino UNO microcontroller connected to an 8x8 LED matrix, an LCD display with I2C interface, a KY-023 Dual Axis Joystick Module, and a Piezo Buzzer. The Arduino controls the LED matrix via digital pins and provides an interface for the joystick's analog inputs and button press. The LCD display is used for output, and the buzzer is driven by a digital pin for audio feedback.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Copy of Smarttt: A project utilizing PICAXE-08 in a practical application
Bluetooth-Controlled Multi-Function Arduino Nano Gadget
This is a portable, microcontroller-driven interactive device featuring Bluetooth connectivity, visual (RGB LED), auditory (loudspeaker), and haptic (vibration motor) feedback, user input (pushbutton), and a rechargeable power system (TP4056 with Li-ion battery).
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Educational projects for learning microcontroller programming
  • Simple automation systems (e.g., light control, motor control)
  • Robotics and mechatronics
  • Sensor-based projects (e.g., temperature, light, or motion sensing)
  • Hobbyist electronics and DIY projects

Technical Specifications

Key Technical Details

Parameter Specification
Manufacturer Revolution Education Ltd
Part Number PICAXE-08
Operating Voltage 3V to 5V
Clock Speed 4 MHz (internal oscillator)
Programming Language BASIC-like (PICAXE Programming Editor)
I/O Pins 5 (configurable as input or output)
Memory 256 bytes (program memory)
Power Consumption Low power (suitable for battery use)
Package Type 8-pin DIP

Pin Configuration and Descriptions

The PICAXE-08 comes in an 8-pin Dual Inline Package (DIP). Below is the pinout and description:

Pin Number Pin Name Description
1 VCC Power supply input (3V to 5V). Connect to the positive terminal of the power source.
2 Input 3 General-purpose input pin. Can be used for digital or analog input.
3 Input 4 General-purpose input pin. Can be used for digital or analog input.
4 GND Ground. Connect to the negative terminal of the power source.
5 Output 2 General-purpose output pin. Can drive LEDs, relays, etc.
6 Output 1 General-purpose output pin. Can drive LEDs, relays, etc.
7 Serial In Serial programming input. Used for downloading programs to the microcontroller.
8 Serial Out Serial programming output. Used for communication with a PC or other devices.

Usage Instructions

How to Use the PICAXE-08 in a Circuit

  1. Power Supply: Connect the VCC pin (Pin 1) to a 3V-5V power source and the GND pin (Pin 4) to ground.
  2. Programming: Use the PICAXE Programming Editor software to write your program in the BASIC-like language. Connect the Serial In (Pin 7) and Serial Out (Pin 8) pins to a compatible programming cable for downloading the program.
  3. Input/Output Configuration: Configure the I/O pins (Pins 2, 3, 5, and 6) in your program as either inputs or outputs, depending on your application.
  4. Peripheral Connections: Connect sensors, LEDs, motors, or other peripherals to the I/O pins as needed.

Important Considerations and Best Practices

  • Power Supply: Ensure the power supply voltage is within the specified range (3V to 5V). Exceeding this range may damage the microcontroller.
  • Programming Cable: Use the official PICAXE programming cable for reliable communication with the microcontroller.
  • Pull-Down Resistors: For input pins, consider using pull-down resistors to prevent floating inputs.
  • Current Limitations: Avoid exceeding the maximum current rating of the I/O pins. Use external transistors or relays for high-current loads.
  • Decoupling Capacitor: Place a 0.1 µF decoupling capacitor between VCC and GND to reduce noise and improve stability.

Example Code for Arduino UNO Integration

Although the PICAXE-08 is a standalone microcontroller, it can communicate with an Arduino UNO via serial communication. Below is an example of how to send data from an Arduino UNO to the PICAXE-08:

Arduino UNO Code:

void setup() {
  Serial.begin(4800); // Set baud rate to 4800 for PICAXE communication
}

void loop() {
  Serial.println("Hello, PICAXE!"); // Send a message to the PICAXE-08
  delay(1000); // Wait for 1 second
}

PICAXE-08 Code:

main:
  serin 7, N4800, b0  ' Receive data on Serial In (Pin 7) at 4800 baud
  sertxd ("Received: ", b0, 13, 10) ' Send received data to Serial Out (Pin 8)
  pause 1000           ' Wait for 1 second
  goto main            ' Repeat the loop

Troubleshooting and FAQs

Common Issues and Solutions

  1. The PICAXE-08 is not responding to programming commands.

    • Solution: Ensure the programming cable is properly connected to the Serial In (Pin 7) and Serial Out (Pin 8) pins. Verify that the correct COM port is selected in the PICAXE Programming Editor.
  2. The microcontroller is not powering on.

    • Solution: Check the power supply voltage and connections. Ensure the VCC (Pin 1) and GND (Pin 4) pins are correctly connected.
  3. Input pins are behaving erratically.

    • Solution: Use pull-down resistors on input pins to prevent floating inputs.
  4. Output pins are not driving connected devices.

    • Solution: Verify that the connected device does not exceed the current rating of the output pins. Use external transistors or relays for high-current loads.

FAQs

  • Can the PICAXE-08 be powered by batteries? Yes, the PICAXE-08 is designed for low-power operation and can be powered by batteries (e.g., 3V coin cell or 4.5V AA battery pack).

  • What programming software is required? The PICAXE Programming Editor, available for free from Revolution Education Ltd, is used to program the PICAXE-08.

  • Can the PICAXE-08 handle analog inputs? Yes, the PICAXE-08 supports analog inputs on specific pins (e.g., Input 3 and Input 4).

  • What is the maximum program size? The PICAXE-08 has 256 bytes of program memory, which is sufficient for small to medium-sized projects.


This concludes the documentation for the PICAXE-08 microcontroller.