Skip to main content

Getting known with Arduino

This year started with an interesting new course that is all about building a prototype. I have always found robots fascinating and now I have an opportunity to build something with my own hands.

The very first project - traffic light controller

Our first assignment was to build a small project from the following components:
  1. Arduino (UNO) and USB
  2. Jumper wires
  3. Led lights
  4. Breadboard

1. Hello world, can you hear me?

I downloaded the programming environment for Arduino from (My operation system is Windows 8.1). 

Once the software is installed it is necessary to test if the Arduino is responding to it by blinking a light, in other words this is Arduino's way to say "Hello World".
Connect Arduino to your computer with USB and open the programming environment. Choose File > Examples > 01.Basics and run it. If everything is fine Arduino will now blink it's led. Just to be sure I changed the running loop's delay times to see the resorts in action before going any further.

2. Testing the led light

I like to build everything in small steps. Instead of trying to attach all the led lights on the breadboard at once I start with one.

Led has two legs - the shorter one is "negative" and the longer one "positive". This must be remembered when connecting the jumper wires between Arduino and breadboard.

For example I connected one jumper wire on the gnd pin of Arduino and put the other end vertically to the same line where I had attached my negative leg of the led light (GND > J61). After that I connected the other jumper wire between LED light pin 13 and other end vertically to the same row on breadboard where the positive side of the led leg was attached. I ran the Arduine Blink code again and the little miracle happened - the green led light started blinking!

3. The final result

I attached the second led light with the same method as I did the first one but this time I had to connected the ground wire differently. I put it through the the same row where the first (green) led's negative leg was to the second's (yellow) negative leg row. The lights worked but in order to make them some short of traffic light I needed to change the code - When the green light is on the road is free to go for 2 minutes. When the light is off there is still two minutes time to use the road until the users of the "yellow" road are allowed to drive.

Based on the prototype course by Tero Karvinen (
and the book - Karvinen 2011: Make Arduino Bots and Gadgets 


Popular posts from this blog

Building Love-O-Meter by using a temperature sensor

This "Love-O-Meter" is based on the tutorial by Arduino and it comes with the starter kit. It uses a temperature sensor to measure the warmth of your skin and then starts to turn on (or off) the LEDs  indicated by the temperature.

The components Arduino UNOBreadboardJumper wiresLEDs220 ohm resistorsTMP36 temperature sensor

Building the Circuit
At first I ran the "Hello World" for Arduino to make sure the environment would work as expected. Now I could start to connect the jumper wires between Arduino UNO and the breadboard.

As usually I connected the breadboard to power (5V) and to the ground (GND). I inserted the TMP36 on the breadboard so the rounded part of the sensor would face away from Arduino.

I attached 3 LED lights and the resistors and connected them with Arduino. The lights should react to the heat of the finger and if the temperature would get hot enough all the lights would be on and would also tell you if you are a hot lover or not...

The result and the …

Creating a Bootable USB for Kali Linux

If you are interested to see my documentation about making a bootable USB for Xubuntu please click here!

This USB was made by using the latest version of Xubuntu (the 14.04 release).

Downloading Kali Linux 
23.13. After navigating to I chose the version that would suit me the best and started downloading the ISO image for 64-Bit system.

USB imaging
22.40. I followed the guide offered by and used the commandsudo fdisk -lwithout plugging the USB yet. I needed to pay attention to the path of Device Boot (/dev/sdb1). After this I inserted USB and ran the same command again. Now I could see how the name of Device Boot had changed to sdc1. This would be my USB to use.

22.50 It only took a while to format the dd code correctly as the base was already given on Kali's web page. After running the correct command for the first time I got an error message "'/dev/sdc1': Permission denied". In these kind of situations I tend to ask sudo for help an…

Concept Art: Cat food box

I enjoyed working with this project a lot!. My goal was to design a funny and distinguishable cat food box for an imaginary company. I got the inspiration from Japanese Maneki-neko. =^● ⋏ ●^=