I think the problem was around re-connecting without the previous connection being fully closed. I added code to the app around that area and now it seems robust. I wouldn't have expected the module to lock up without that code (maybe just a connection timeout worst case), but anyway it's working fine now. Thanks for your help!
If anyone's interested, the relevant code in the app is here: https://github.com/geoffday67/turntable ... ivity.java
HC-06 Bluetooth Serial Module (HCARDU0004 & HCARDU0064)
-
- Posts: 4
- Joined: Wed Mar 26, 2014 2:18 pm
Re: JY-MCU Bluetooth Serial Module (HCARDU0004 & HCARDU0064)
hey, im having trouble connecting my device. its pairing but it wont connect to my samsung tablet
Re: JY-MCU Bluetooth Serial Module (HCARDU0004 & HCARDU0064)
Could you confirm that it is pairing with this tablet? If so, although your tablet may have successfully paired with the slave module, it wont link to it until you actually open a serial terminal connection on your tablet. If you still have no luck can you also confirm the following things:its pairing but it wont connect to my samsung tablet
At any point does the LED go from a slow blink to being permanently on?
What software are you using to connect to the module?
You you see the module from within the app?
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.
Re: JY-MCU Bluetooth Serial Module (HCARDU0004 & HCARDU0064)
hi, i managed to get i working through blueterm, thanks for your help
-
- Posts: 12
- Joined: Thu Jan 14, 2016 3:36 pm
Re: JY-MCU Bluetooth Serial Module (HCARDU0004 & HCARDU0064)
Hi.
I'm thinking of getting a HCARDU0004. But only on the basis of being able to upload sketches via Bluetooth. (I'm planning to install my arduino underneath my model railway, so access will be 'not easy'.)
So can sketches be uploaded from a pc via Bluetooth (obviously my pc has Bluetooth)?
Please.
I'm thinking of getting a HCARDU0004. But only on the basis of being able to upload sketches via Bluetooth. (I'm planning to install my arduino underneath my model railway, so access will be 'not easy'.)
So can sketches be uploaded from a pc via Bluetooth (obviously my pc has Bluetooth)?
Please.
Re: JY-MCU Bluetooth Serial Module (HCARDU0004 & HCARDU0064)
I doubt this would be possible. The problem is that before the program is uploaded in to the Arduino it needs to be reset to start the bootloader which then in turn accepts the program. With a programming cable this is normally this is done by using the DTR pin. However these modules do not have this pin so there's no easy way to remotely reset the Arduino.
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.
-
- Posts: 12
- Joined: Thu Jan 14, 2016 3:36 pm
Re: JY-MCU Bluetooth Serial Module (HCARDU0004 & HCARDU0064)
Thanks Andrew.
I will have to manage crawling around under my baseboard.
Never mind, it was a nice idea.
I will have to manage crawling around under my baseboard.
Never mind, it was a nice idea.
-
- Posts: 1
- Joined: Mon Mar 07, 2016 2:06 pm
Re: JY-MCU Bluetooth Serial Module (HCARDU0004 & HCARDU0064)
Hello,
I've seen in some projects that they use a voltage divider on the Rx pin of the module (HC-06) because its not compatible with the 5v the arduino provides(they say it needs 3.3v). Is this true? I checked the datasheet, but there wasn't anything mentioned there.
Thanks,
Dimitris
I've seen in some projects that they use a voltage divider on the Rx pin of the module (HC-06) because its not compatible with the 5v the arduino provides(they say it needs 3.3v). Is this true? I checked the datasheet, but there wasn't anything mentioned there.
Thanks,
Dimitris