Category Archives: C#

PIR module for .NET Gadgeteer (Motion Sensor)

(Module: http://gadgeteering.net/module/ghi-pir-sensor)

We met up last night to have a look at a .NET Gadgeteer module, picking a nice easy module to look at to begin with for: http://www.meetup.com/GadgeteerSouthCoast/. Despite being called the GHI PIR Sensor it is found in the toolbox as a “Motion Sensor”

image

Here is the view from the top of the module:

Colour sensor + LED strip video

[UPDATE] RGB Slider – LED Strip with RGB slider 

As requested here is an example of my colour sensor in continuous mode setting the colours of the LED strip. The code below uses the tweaks shown in these two posts:

1) http://stevenjohnston.co.uk/2013/04/15/colour-sensor-on-net-gadgeteer-tcs3414/

2) http://stevenjohnston.co.uk/2013/04/11/individually-addressable-multicolour-leds-on-net-gadgeteer/

Individually addressable multicolour LED’s on .NET Gadgeteer

[UPDATE]: Sarah and Jan emailed me to mention that the 10A@5v power supply is a bit of an overkill. I agree but this is the recommendation from GHI. When I tested my strip on full power it was under 3A@5v . Jan claims his is around 2.6A@5v . This does not account for peak current draw, so you may hit issues, but perhaps the full 10A is a bit much.

.NET Gadgeteer temperature logger example

An example can go a long way, so rather than a 2 hour presentation with nothing but slides, I decided that the NxtGenUG Christmas special should include an end-to-end .NET Gadgeteer example. The example below includes the steps to build your own data logger to log both temperature and humidity. The coding examples were purposely kept short and do not include all the error checking that should be included, the aim was to show a wide variety of .NET Gadgeteer capabilities resulting in a final working prototype – within the 2 hour limit (including all coding and hardware building)!