Windows IoT Core and the Raspberry Pi 2

Had a load of fun getting my Raspberry PI 2 set up with Windows IoT core and the whole development environment that’s needed for it.

Windows 10 and Visual Studio

Can’t develop for Windows IoT core without Windows 10.  So had to set up Windows 10 on Mid 2011 Mac. The problem was my Mac already had Debian Linux running on a separate partition. I used the wonderful rEFInd boot manager from Rod Smith earlier to do the partitioning and it came in handy to add the third partition for windows 10. Had some quirky troubles with the Apple Wireless mouse and keyboard but i have a wired keyboard/mouse connected to the Mac just in case. So now my mac has two keyboards and two mouse.. 🙂  One day i need to get around to fixing the problem permanently. After getting Windows 10 on the Mac, installing VS 2015  was a breeze.

Windows IoT Core on Raspberry Pi

Followed the official instructions to create a SD card with Windows IoT core, transferred the SD card to Raspberry PI 2 and booted it up. Everything good so far. Then disaster struck when i tried to set up the WiFi connection.

My Logitech wired keyboard was not recognized properly by Windows IoT Core. Well, it recognized the keyboard but for some reason was skipping keys, treating single key press as long key press and all sorts of weird things. Tried using a powered USB hub but Iot Core doesn’t recognize devices connected to the powered USB hub.

Loaded Raspbian in another SD Card and verified that there is no problem with the USB port or my Keyboard. Raspbian worked like charm with my keyboard and mouse.

I didn’t want to get another keyboard. My WiFi router is far away from my workspace and there is no wired connection. I need a wired connection near my workspace. So what to do?

Time for another long postponed project. Update my old Linksys router with DD-WRT and turn it in to a repeater. The folks at DD-WRT are wizards. Just had to follow the New Wiki installation instructions at DD-WRT for my model of Linksys router (WRT54G2) and the Repeater Bridge set up instructions.

After this i was able to connect my Pi to my “new” repeater with a LAN cable and my IoT Dashboard running on Windows 10 was able to see the Pi. Now i can manage the PI over the network and don’t need the keyboard connected to the PI. (Well.. I would need it if i have to run something that need keyboard input on the PI..Well.. that’s for another day. Just have to design applications that don’t need keyboard input for now..)

Testing

So wrote up a quick Windows UWA application, loaded it on the PI and i was good to go.

So far its mixed feelings. Realize that the Windows IoT core device support is not mature. But i like the idea about being able to hack the Pi with code written in C# and Visual Studio.

​Will explore more..

Leave a Reply

Your email address will not be published. Required fields are marked *