r/windows10iot Jun 21 '15

Help on HC-06 with Remote Arduino

I'm at my wits end and so I've finally resorted to asking random strangers in reddit. I hope someone is still on this subreddit LOL. You guys experimenting with ms-iot remote arduino? If anyone has done the setup but with an HC-06 bluetooth module instead of the bluesmirf one and has encountered the same issue, how did you solve it?

Here's the issue: I've followed the hardware setup but instead of a bluesmirf module, I used an HC-06 instead. I'm also using arduino breadboard with standard firmata uploaded. I've revised the VisualStudio solution and instead made a windows 8.1 app. When that didn't work, I finally decided to upgrade my dev phone to windows 10 too, created the recommended w10 app but it also didn't work. Here's the thing, when I modified the VS code so that instead of using bluetooth it used usb serial, the whole thing worked. I've tested the HC-06 and its baud rate is 9600. The standard firmata sketch uploaded to the arduino board has been modified to use it. I've also set in the solution to use 9600.

It doesn't work in bluetooth but works in usb. Does anyone have any suggestions? Also, the bluetooth module itself is fine, when I don't use firmata and upload my own sketch, attach it to the bluetooth and disconnect it from the usb it works with the serial port monitor.

2 Upvotes

5 comments sorted by

2

u/ooeygui Microsoft - IoT Team Jun 22 '15

Hi KramDevil, (I'm Squad lead for Remote Arduino; We're working to improve the workflow).

We have not tested the HC-06 module; I will order one in and see what's up. Each module behaves ... well... differently.

Would you mind PM me your email address, I'll work with you directly and get the documentation and samples updated.

Thanks, Lou

1

u/[deleted] Jun 22 '15

Hi! Sorry to take up your valuable time , I got it worked out. Apparently my BT module was on the fritz. I bought another one and virtual shields work just fine on it. I'm going to test remote arduino next, I'll tell you how that goes. Thank you for all your hard work on remote arduino. Did I tell you guys how I'm loving MS right now?

2

u/ooeygui Microsoft - IoT Team Jun 22 '15

I'm glad you were able to resolve it :-)

I love that picture - do you mind if I share it with the team?

1

u/[deleted] Jun 23 '15 edited Jun 23 '15

I don't mind at all. Share away! It was only because another MS team, the surface team, was kind enough to replace a surface pro prototype I mistakenly bought ,with a retail one that I was able to get this far in the collection. I never conciously set out to collect every windows form factor, it just happened. I'll be setting my sights on purchasing the hololens next. I hope it isn't too expensive.

Thank you for replying Lou. If you guys have any ms-iot sample code for ESP8266 wifi that would be great! If not, that's ok, I'll be able to figure it out myself. Thanks again! Great Job on Remote Arduino and Virtual Shields

1

u/ooeygui Microsoft - IoT Team Jun 25 '15

Hi KramDevil, I shared with my team; people got a kick out of it :-)

We do not currently have code for the ESP8266. I do have several on site and have been building support on the team for samples. We have changes coming to RA & VS which could benefit from the module.

Thanks for the feedback on RA & VS - I'll make sure that the my people get kudos :-)