A Card For All Occasions


CodeBug can scroll messages so you can create a fun personalised card, that can be adapted for different occasions.

To tell CodeBug what to do, you need to give it a list of simple instructions. This list of instructions is known as a program.

You can use this website to create programs and you will be able to see them in action before downloading them and programming CodeBug.

You will need
CodeBug CodeBug
Micro USB cable
CR2032 battery

  • Ask a new question:

Scrolling text

CodeBug’s LED grid can display letters. If we move these letters from one side of the grid to the other, we can have another letter moving in after it.

It is easy to drag and drop a few blocks on the website to build a scrolling name badge program. Follow the tutorial below to get coding!

  • Ask a new question:

Plugging in CodeBug

Plug the Micro-USB cable into a USB-port on your computer. While holding down button A on your CodeBug, plug the other end of the Micro-USB into the socket on CodeBug. The LED in the top right of CodeBug’s LED display will flash when CodeBug is ready.

  • Ask a new question:

Loading your program

Now CodeBug is connected to your computer, much like a USB memory stick, you can drag your program onto CodeBug. Find your downloaded program file, and drag or copy it into where CodeBug appears on your computer’s folders.

  • Ask a new question:

Reset CodeBug

Once your program has finished loading, reset CodeBug by pressing button B. Your program will now be running.

1 Question
  • how can I load a program to codebug without messing with the fragile usb connectors? William Dodd @ Oct. 24, 2015, 6:38 p.m.

    You can hold both buttons for 10 seconds or more (to turn CodeBug off and on) and then let go of button B. You can also unplug the USB cable from the other end if the MICRO USB end is more fiddly. Another way of using CodeBug is connecting it to the GPIO pins on Raspberry Pi and controlling it using Python or Scratch in tethered mode. Thomas Macpherson-Pope @ Oct. 26, 2015, 10:17 a.m.

    Answer this question:

  • Ask a new question:

Button interaction

Let’s make CodeBug interactive, so that it responds to you pressing a button.

This can be done by adding a block to your program to wait until a button has been pressed. Follow the tutorial below to add this block and then download your new program to CodeBug again.

  • Ask a new question:

Powering by battery

CodeBug can be powered by battery so you can take it wherever you want! To power CodeBug by battery, first unplug the Micro-USB cable, do not worry as CodeBug will remember your program without being plugged in. Now slide in a coin battery (CR2032) with the positive (plus symbol) side up. Your program will begin running again!

  • Ask a new question:

Making your card

To make your card, download this template and print it out. Lightly tack the template to some coloured card with some sellotape and draw along the lines of the template, to indent the shapes into the card below. Remove the template and cut out the shapes on the card.

Now insert CodeBug’s buttons into the two little squares in the card, from the inside of the card. Put some sellotape on the back of CodeBug to fix it to the card.

Your card is finished! Grab some pens and decorate your new interactive card. You could even try cutting out the Great Day message and stick different coloured card behind each letter.

  • Ask a new question:

What next?

See what else you can add to your program for different occasions, you could even make your program switch occasions when a button is pressed!

1 Question
  • how many things can we make? — tb9c @ Sept. 29, 2018, 3:27 a.m.

    infinite — tb9c @ Sept. 29, 2018, 3:27 a.m.

    Answer this question:

  • Ask a new question:

Back to top