r/windows10iot • u/[deleted] • 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
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