Arduino + distance sensor + 7-segment

Arduino is a nice open-source platform for mostly Atmegas, which I’m familiar with. They are programmed with  a C-dialect, have a nice IDE written in Processing, which is a cool language 🙂 Arduino has a really awesome community, a number of shields (like on Sparkfun or DFRobot or, in my own country, I also adore the Fritzing project, which gives you this truly nice way of designing and printing your boards..) Those guys also use Processing.

This is a Diecimila with Mega168.

I aquired a Sharp GP2D150A (which is a distance sensor (overview) working with optical triangulation) from 3 to 30cm; a seven-segment-display (which is, despite the name, just 8 leds. You can have some with shared anode or cathode, and need resistors – for example 330Ohm).I got a new one (A Uno R2 in SMD), and so far I’ve copy-pasted the Arduino IDE to my RAMDisk (because I CAN), updated the USB/Serial driver (it’s included for this one), and started to program.


Getting that seven-segment running was like visiting a my teen years: Did the same thing at age 15 or so.. However, I remember saving up like half of a year for one SDK500… 🙂
I wanted to use a quick and dirty RS232 terminal program in processing that controls the seven-segment and maybe the sensor.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: