small logo

melfneerg.com

 - 'cos life is like that


[Blog]  [Pictures]  [Links]  [About
About the Author
Tudor Davies

author Tudor is a techie turned manager who fights like mad to keep his tech skills honed and relevant. Everything from web hosting, networking, *nix and the like. Constantly developing and co-ordinating with others to make the web a better (and easier to use) place.

More Arduino

Wednesday, 22nd Jun 2011  Posted @ 08:25

So my Arduino finally turned up from China yesterday, so I wasted no time in getting started.

First up was to connect my
Sensor Shield V4.
This has header pins which plug into the Arduino and give each pin a +5V and GND (usable with 3pin header cables)

The layout of each connector on the board is +5V, GND and SENSOR but the layout of the cable connector was GND, +5V, SENSOR. This meant lifting the flap on the cable connector and swapping the 2 of the spades connectors over on all the sensor shields I have.

I then connected up an LM35 sensor to A0 and a sound sensor to A1

I then wrote a sketch to retrieve the values (the temperature sensor needs to be averaged as it can sometimes report a figure well out of range) and send comments to the serial port.

[ no comments : Add ]

Tweet




layout and initial css based on the Qtractor page