Getting Started with Igloo: 'Hello World'
This is a tutorial for Igloo, the Sewable PICAXE wearable module from Kitronik.

igloo_logo_870

Tutorial 1: 'Hello World' Learning Outcomes:
  • Learn how to flash an LED on the Electro-Fashion: Igloo PICAXE Wearable Module.
Level of Difficulty:
  • Beginner - Learn how to get started with the Igloo PICAXE Wearable Module.
For this tutorial, you will need:

igloo_tutorial_contents_560

You will also need the following equipment:

  • A laptop or computer with the Blockly program installed on it.
 

Step-by-step guide to making an LED flash:

Step 1:

igloo_step_1_560

igloo_step_2_560

Connect the Igloo Board to the power supply and insert the programming cable.

Step 2:

igloo_step_3_560

Start by opening up a new project in Blockly. Then from 'Loops' select a 'Forever Do' block. Connect that to your start block.

igloo_step_4_560

Step 3:

 

igloo_step_7_560

From 'Outputs', choose an 'Output on' block. Connect that to your 'Forever do' loop. Then, from 'Delays', choose pause for 500 milliseconds and connect that to the bottom of the turn 'Output On' block.

Step 4:

igloo_step_6_560

We're going to be using 'B2'; the on-board LED, so change 'B0' to 'B2'. Because we want to make this flash, lets duplicate the 'Turn Output On' block.

Step 5:

igloo_step_9_560

Duplicate the 'Pause for' block. Connect those together and we'll change 'on' on the 'turn output B2' block to 'off'. We'll then connect that into the loop.

igloo_step_finish_560

We now have a program that turns 'B2' on and waits for 500 milliseconds, and turns 'B2' off for 500 milliseconds, and loops back to the beginning. This will make the LED flash.

Step 6:

igloo_program_download_560

When you have completed your program, click on PICAXE and click on 'Program'. This will upload the program to the Igloo microcontroller.

igloo_flashing_led_560

Now our program has been uploaded to Igloo. We can see the on-board LED B2 flashing on and off. A simple program like this is called 'Hello World'. For more Igloo tutorials, installation instructions, compatible sewable components and the latest software and support; Visit kitronik.co.uk/igloo.

Leave a comment

All comments are moderated before being published