You are currently browsing the tag archive for the ‘windowsondevices’ tag.

I received my free Intel Galileo running Windows from the Windows Developer Program for IoT. Initial setup and the first sample was easy enough, although it is a bit weird running a telnet session to a Windows machine that runs on a device that feels a lot like an Arduino!

I have an Arduino servo board that I wanted to try, but it seems that the servo.h libraries haven’t been ported yet. If anyone has existing servo code for Windows on Galileo, I’d like to see it. I abandoned the Windows on Robots idea for now and picked up a different shield.

Recently, I have been playing with a Cooking Hacks e-Health Sensor Platform V2.0. It is an Arduino shield that allows a bunch of health sensors to be plugged in.


I have the shield as well as the pulsixometer and ECG sensor, which I am able to work with on the Arduino, and thought that I’d give it a try on the Windows Galileo board. To start, I downloaded the library for the e-Health Sensor Platform for Galileo – this is a library for a standard Galileo, not a Windows one, but would be a good place to start. I had a look at the source for the library and found that the pulsixometer doesn’t exist (which is not surprising as the implementation of the pulsixometer is poor – it reads led’s rather than getting integer values). The ECG API was simply a small calculation made on an analogue read. Even as a .net developer who has managed to avoid C++, I was able to implement it quite easily. All that the e-Sensor does is convert the ECG reading into a voltage from 0 to 5 volts to build the waveform.

The simple code looks like this:

void loop()
	float analog0;
	analog0 = analogRead(0);
	float ecg;
	ecg = (float)analog0 * 5 / 1023.0;
	Log(L"ECG: %lf\n", ecg);

with debugger output…

Debugger Output

Here’s what the bits look like…



Next step is to send that data up to Service Bus, but it will take a bit longer.

Simon Munro


More posts from me

I do most of my short format blogging on So head over there for more current blog posts on cloud computing

RSS Posts on

  • An error has occurred; the feed is probably down. Try again later.