Uncategorized

Other C# code repos for the I2C devices BMP180, MPL3115A2, and ADXL345

Over the last few weeks, I’ve written up code for quite a few I2C sensor breakout boards that I have in my toolbox.

I’ve seen a few community members asking if there’s a list of I2C devices which have been tested with the Raspberry Pi and Windows 10 IoT – I’ve added a new top-level page to my site here which I hope starts to fulfils this need. I’ll update the page as I find out about new I2C devices – just tweet me at @jeremylindsayni if you’d like me to add a new one.

There are a few other breakout boards that I own, and I haven’t written code for them yet – but I still wanted to share the location of other sources that I’ve found for them.

BMP180 – Digital Barometric Pressure Sensor

WP_20160624_23_36_23_Pro

There’s a great Hackster.io project on this sensor here, with source code at GitHub here, and a datasheet here.

MPL3115A2 Precision Altimeter

WP_20160624_23_35_53_Pro

There’s a sample project at the MS-IOT GitHub site here and a datasheet here

ADXL345 – Triple Axis Accelerometer

WP_20160624_23_34_43_Pro

This is advertised on the Microsoft site’s list of supported interfaces – there are instructions here, a datasheet here, and there’s C# for the breakout board here.

Conclusions

I’ll be posting less frequently on I2C devices because I’ve got C# code to run pretty much all the I2C breakout boards that I have in my toolbox (though I’ll still do it now and again as I acquire new hardware devices and breakout boards). I hope that the Raspberry Pi and Windows IoT community finds the code and posts about these sensors helpful.

Uncategorized

Windows 10 can’t see Windows Phone?

This will be a very quick post.

I’ve been using Windows Phone 10 (Mobile Insider Preview) on my Nokia 820, and tried to connect to my Windows 10 machine. It didn’t show up in the list of available devices on My PC in the Explorer window. It did show up in the Device Manager, but had the dreaded yellow triangle with an exclamation mark.

I did the usual things:

  1. I checked the USB cable – made sure it could transfer data and wasn’t just for charging…nope;
  2. Made sure the phone was unlocked…still nothing;
  3. I followed the troubleshooting options and allowed Windows to search for a driver…that didn’t work;
  4. I rebooted the phone while connected to my Windows PC…nothing new.

So I abandoned it for a while, since I’m on the Windows Mobile Fast Ring, I don’t expect everything to work first time.

But yesterday I connected my Nokia 1520, which is Windows 8.1 – and this didn’t work either. This is when it became a bit of a problem.

Anyway, it’s not a common problem – most people are finding that everything works perfectly first time.

Eventually, after a lot of searching I found a suggestion that the version of Windows 10 could hold the key to the solution. Users who have “Windows 10 Pro N” also need to install an additional media pack from the link below:

http://www.microsoft.com/en-us/download/details.aspx?id=48231

(Original KB article here)

This requires a reboot, but after that both my Nokia 820 and 1520 (Windows 10 Mobile Preview and Windows 8.1) both connect perfectly first time.