How to get started with PICAXE 08M microcontroller

Summary of How to get started with PICAXE 08M microcontroller


This instructable shows how to blink an LED using a PICAXE 08M microcontroller by wiring the LED to pin 4, connecting power and an AXE027 USB programming cable, writing a simple program in PICAXE Programming Editor, and uploading it to run a repeating on/off sequence.

Parts used in the PICAXE 08M microcontroller project:

  • 08M Protoboard or equivalent protoboard (can be homemade)
  • LED
  • AXE027 USB Cable
  • 3V Power supply

This is instructable for how to get started with PICAXE 08M microcontroller.
To get started, you need:
– 08M Protoboard or same kind of board (Can be homemade)
– A LED
– AXE027 USB Cable
– 3V Power supply

How to get started with PICAXE 08M microcontrollerStep 1: Connect the led to pin 4

Just  connect cathode lead to Ground, and anode lead to pin 4 of the microcontroller like this

Step 2: Connect the power and the cable

Connect the power, and plug the cable to the socket.
Then open PICAXE Programming Editor.
If you don’t have it, download it from http://picaxe.com/

Step 3: Write the code and press “Program”

Write this code to the editor:
main:
high 4 ‘LED on
pause 1000 ‘Pause 1 second
low 4 ‘LED off
pause 1000 ‘Pause 1 second
goto main ‘Repeat
Then press the “Program” button on the top.

How to get started with PICAXE 08M microcontroller Schematic

Step 4: Watch your LED blinking!

It is ready now, good luck for future!
Links:
PICAXE Downloads – http://www.picaxe.com/Software
PICAXE Manuals – http://www.picaxe.com/Manuals
PICAXE Shop – http://www.techsupplies.co.uk/PICAXE
All the links you need to order, download, and study PICAXE!
Hope you enjoyed! 🙂

 

For more detail: How to get started with PICAXE 08M microcontroller

Quick Solutions to Questions related to PICAXE 08M microcontroller:

  • What board do I need to start with the PICAXE 08M microcontroller?
    The instructable uses an 08M Protoboard or the same kind of board and notes it can be homemade.
  • Where should the LED be connected on the PICAXE 08M?
    Connect the LED anode to pin 4 and the cathode to Ground.
  • What cable is required to program the PICAXE 08M?
    The AXE027 USB Cable is used to connect the microcontroller to the computer for programming.
  • What power supply is needed for this project?
    A 3V power supply is specified for the PICAXE 08M in this instructable.
  • What software is used to write and upload code to the PICAXE 08M?
    Use the PICAXE Programming Editor, available from the PICAXE website.
  • What code makes the LED blink on the PICAXE 08M?
    The instructable provides code that sets pin 4 high, pauses 1000 ms, sets pin 4 low, pauses 1000 ms, and loops: main: high 4 'LED on pause 1000 'Pause 1 second low 4 'LED off pause 1000 'Pause 1 second goto main 'Repeat
  • How do I upload the code to the PICAXE 08M?
    After writing the code in PICAXE Programming Editor, press the Program button at the top to upload it via the AXE027 USB Cable.
  • How can I verify the program is running on the PICAXE 08M?
    Once programmed and powered, the LED connected to pin 4 should blink on and off every second as described.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter