Category Archives: Arduino

PING ultrasound sensor

Ping sensor is a lot easier to test than PIR, believe me. I swapped parts with my classmate Lauri from Tero’s class Lauri’s code below: /* PING ultraäänisensorin testaus käyttäen lediä Lauri Soivi __________________________________________________________ PING ultrasound sensor test with a led by Lauri Soivi */ const int pingPin = 7; const int ledPin = 13;… Read More »

Passive Infra-Red Sensor

I familiarized myself (and made a test) with a PIR motion sensor as a part of a course at Haaga-Helia held by Tero Karvinen: http://terokarvinen.com/2012/aikataulu-prototyypin-rakentaminen-bus4tn007-1 I found a site with instructions of how to use the motionsensor to blink a led http://www.instructables.com/id/Arduino-Basics-PIR-Sensor/ I got the PIR and a led hooked to my arduino following the… Read More »

Arduino HelloWorld

I Started programming a hello World program to an Arduino UNO on a xubuntu 12.04 beta1 with a program called arduino 1.0 as a part of a course at Haaga-Helia held by Tero Karvinen: http://terokarvinen.com/2012/aikataulu-prototyypin-rakentaminen-bus4tn007-1 I decided to do a program which could translate all the letters to morse code: void setup() { // initialize… Read More »