Quantcast
Channel: Visual Studio – Marcel Meijer Blog
Viewing all articles
Browse latest Browse all 27

IoT (3) Intel Galileo

$
0
0

In my last blog I already told about Microsoft Windows on a Intel Galileo board.  I showed how to show some texts on a LCD display with C++ code. Not long after that the second generation of the Galileo board came. It was a little more powerful.

In my last blog I had to connect my LCD display via a breadboard to my Galileo. Not uncommon in the Arduino world, but it doesn’t look nice and is very error-prone for not very technical people. So I bought a Seeed Grove Starter Kit. Another advantage of this kit it contains different sensors etc. Very nice to start something.

So why this new post then? This time I did not want to just lid a LED or show some text on a display. But I wanted to combine some stuff. A led on port 13, a LED socket on port 7, a button on port 3 and a LCD display.

The single led blinked permanently, but the other should lid up when you push the button and the display shows that too.

First I did it again in the Arduino environment. On the Galileo there is noting special needed.

iot

He, that is no fun. Windows can be run on this thing, so I had to use that. So move the code from Arduino to a Visual Studio solution. Include the rgb_lcd.h header file and compile. “Rebuild All succeeded”.

vs

Then start the Remote Debugger.

image

And we break in the first breakpoint.

WP_20150211_22_04_36_Pro

WP_20150211_22_01_18_Pro

Before debugging the application is deployed and copied to the Galileo. On the C-disk (the SD card) is a directory Test with the executable. By using telnet you can start the executable. Like you see below, and it stays running till you stop it. Of course there a possibilities to let it start after starting the Galileo.

WP_20150211_001

Next challenge is waiting for the next version of Windows for Galileo, Windows 10. I hope with support for .NET / C#. I am very curious how the many Arduino modules will be available via C#. Microsoft also announced Windows 10 support for Raspberry PI. I bought one, so I will play with it.

At Xpirit and Xebia started a IoT Makers lab. Together with colleagues we are making and designing nice IoT solutions. I will get back on that later!


Viewing all articles
Browse latest Browse all 27

Trending Articles