If any of the info on this website was useful for your projects or made your head spin with creative ideas, and you would like to share a token of your appreciation- a donation would be massively appreciated!

Your donation will go to my Robotics Fund, straight towards more sensors, actuators, books, and journeys. It takes a lot to continue building these robots, and I’m really thankful of everyone who helps encourage me along the way.



“A wise robot once said to me through Serial.println- that robots teach us about ourselves.”

All posts tagged LEDs

Clyde : Halloween

Clyde is ready for Halloween and helps answer the classic question of ‘trick or treat’! Watch the video on YouTube.

For more info on how to mod your Clyde to do this too, head over to the article on Fabule! You can grab the code from there and read about all the details.


Don’t forget about the #ClydeHalloween contest that is happening. For more info, check out this post.

Stay tuned for the next hack that is coming up! Hint: It has something to do with nature!

Tentacle Mechanism (work in progress 3)


The tentacle mechanism has come a long way since the last update. More LEDs, a better behaviour, and a mount for the electronics and wall. Plus some fun long exposure photos ;)

Here is a video clip where you can see it in action:

Also, the tentacle mechanism appeared on the Adafruit Show and Tell-

Check it out here at the 2:55-7:06 mark!

The behaviour for the tentacle mechanism has been difficult to figure out.

Our fist attempt was to use the outputs to communicate how many times the button should be pressed. At first, it was fun, but then it just becomes confusing. Sort of similar to: ‘Why is this thing doing this thing, what can I do to change it?’. You can watch a video of this here.

The next attempt was to use the ultrasonic sensor, and have different actions for each distance threshold. There are also ‘mini-actions’ that occur from the changes between these distances. So when you are interacting with it, the ‘dances’ that the tentacle does will be similar, but the introduction to that dance, LEDs blinking, will be different.

But in the code, it’s more than controlling the robot. There are ‘debug’ statements where the robot is saying things. It gives some context as to what the robot thinks is happening.

Screen Shot 2013-08-02 at 4.05.02 PM

So as you can see, this robot has some sort of creepy obsession with distance.

And it gets even more interesting when the human goes away:

Screen Shot 2013-08-02 at 4.05.24 PM

As for actually displaying the text to the humans, it might be nice to have a tiny OLED display at some distance away from the robot, that only lights up after some amount of time of interaction. This way the humans will pay more attention to the tentacle moving at first, then notice the display and keep interacting.

What is all this ‘be’ functions about in the code? Those are the ‘mini-actions’, as mentioned above. They just blink the LEDs in certain patterns and such. In a future robot, this will be more involved with the social drives/mind/emotions.

Taking long exposures of the tentacle moving has been quite fun. Here are some of my favourites:




Working on documenting it, there were a lot of lessons learnt while building this! ;)

Weird Eye Robot, Arduino Starter Kit

Here is a new robot creature that I created! It doesn’t have a name yet, so it’s just called ‘weird eyebrow robot’.


It reacts differently when you ‘pet’ it and ‘poke’ it. Beware when it ruffles its brow! It enjoys singing short jingles. Rumour has it that the light up googely eye can peer into your soul.

Check out the video to see it in action:

Watch on YouTube

Pretty cool right? All of the electronics were from the Arduino Starter Kit. Here were all the electronics used from it:

  • Micro servo
  • Piezo speaker
  • Potentiometer
  • 3 Photocells/LDRs
  • TMP36
  • White LED
  • 2 Yellow LEDs
  • 3 Blue LEDs
  • 2 Green LEDs
  • Lots of resistors…

It actually takes up all of the pins on the Arduino, which is great. All of the LEDs can be controlled individually, and the RGB and white ones (which are behind the googely eye) can have PWM.

Here are the extra parts and tools that were needed. If you don’t have any of these you should get them, or find a substitute. Some of these are obvious, but this list will serve useful for any newbies looking at it!

  • Craft sticks, popsicle sticks, coffee stir sticks
  • String
  • Hot glue
  • Orange paint
  • Purple sharpie
  • Wire, shrink wrap, electrical tape
  • Soldering iron, solder
  • Scissors, wire cutters, wire strippers
  • Googely eye

I started creating the robot just from the popsicle sticks. I wanted to try out a mechanism that was in my brain for a while, a way to control two eyebrows with one motor.



There is a lot of electronics in the starter kit, which is just awesome. It’s way more than you need, which is super for experimenting! I’m probably going to be using the LM293D for hacking the Useless Machine in a later project ;)

Before opening…


So there are some interesting things in there… like a servo, funky coloured thing (aka pinwheel), lots of leds. I painted the eyebrow structure orange and this is how the idea is coming along:


There’s not that many wires for this robot, but I organized them with some tape so it would be quicker to plug in.


All of the pins are used! Yipee! Happiness!


With some testing of the pins and such, we can make the robot look differently!



With some more programming for its behaviour, it is done! (See the video for it in action if you haven’t already). There were some issues when programming it at first- I was writing and testing it when no LEDs were turned on. Since we’re using a breadboard, turning on the LEDs added some noise that I didn’t account for. So I had to scrap the entire program and just rewrite it. It works great now, though! I really like the way it has turned out.

From the side:

Eye from the side:

From the top:

Looking towards the board:


What’s left over (also notice how the eyebrows were cut out of the cardboard from the kit hehe)

It’s really great to have it running on your desk while you are typing away working on something. It goes to ‘sleep’ after 15 seconds or so, and its white LED does the Apple breathing pattern. When I was editing some of the photos, and got up from the chair, my shadow must have triggered the robot and it woke up, singing a little, so I interacted with it a bit! It’s almost like a real creature!


Back to the Arduino Starter Kit now… the book is cool. Makes me wonder if in 10 years, will they be rare like the Heathkit instruction books?


At the end of the video tutorials that go along with the kit, Massimo always says “Arduino is YOU”. So apparently I am a crazy robot builder with an unorganized desk then:


Thank you RS Components for the Arduino Starter Kit. It was really nice to use it to build another robot. They have videos of Massimo explaining the projects and such over here. Everyone should check it out and let their imagination run with it! Maybe even build a sibling to ‘Weird Eye Robot’, haha.

Arduino is YOU! Weird eyebrow robot is CREEPIN’! -)

Also, if you noticed all of the wire, I finally used up the last of my yellow wire, and heat shrink. So right now I don’t have any stranded wire, and I’m running low on the solid core wire. If any of you readers know anyone out there who can donate a spool of wire, and some heat shrink, please let me know! Any help is really appreciated! Thanks!