05-15-2015, 11:52 PM
(05-15-2015, 09:21 PM)Varanon link Wrote:Ahh, so the HC-05 will need to be resoldered once it's configured ? That is the information I was missing!
Thanks a lot!
I still got no luck with the headtracking software, neither opentrack nor facetracknoir. I found it peculiar to see that the transmit led will light up every time I connect a serial terminal (which is expected) but stays off when I start headttracking....
I was thinking that maybe the USB serial is somewhat botched, hence the idea of connecting the HC-05 so that I can go through bluetooth instead.
Definitely sounds like it would be worth trying. It doesn't seem like there's a hardware fault with your Pro Micros but maybe your motherboard USB ports are having issues with it, or the driver's conflicting with something, so if you use the BT instead that will eliminate that as a potential problem. Just make sure you've configured the HC05 with the same baud rate you set in the sketch and in OT/FT. 115200 is working for me, so probably try that first but I think it should still work at lower settings and I did use 57600 for a while when it was being developed and we were trying to iron out some issues.
I just tested and with mine I get a red light on the Pro Micro and green on the GY-85 when it's powered and they don't change when I start OT. The BT blue light flashes when OT isn't started and blinks twice every 2-3s when it is. I can't recall if the lights were any different when I was using the USB instead of the BT and my memory's clouded by testing with MPU's as well as GY-85's, so any recollection I might have is probably unhelpful.
This is what I read when I was building that clued me into the fact I had to change Serial to Serial1 to get it working with BT, which you might find helps you to understand the two different interfaces on the Pro Micro, if you don't already know all this that is.
[color=rgb(85, 85, 85)]"You appear to have a "pro micro" style board in which the USB communication is directly sourced from the main ATmega32u4 processor, rather than generated as serial data and then forwarded to a distinct USB-serial converter as on traditional Arduinos.
According to the documentation for the official Arduino Pro Micro:[/color]
[color=rgb(85, 85, 85)]Serial: 0 (RX) and 1 (TX). Used to receive (RX) and transmit (TX) TTL serial data using the ATmega32U4 hardware serial capability. Note that on the Micro, the Serial class refers to USB (CDC) communication; for TTL serial on pins 0 and 1, use the Serial1 class."[/color]