Page 5 of 5

Re: JY-MCU Bluetooth Serial Module (HCARDU0004 & HCARDU0064)

Posted: Tue Jun 02, 2015 3:37 pm
by geoffday67
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

Re: JY-MCU Bluetooth Serial Module (HCARDU0004 & HCARDU0064)

Posted: Fri Jan 08, 2016 7:24 pm
by jack5101
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)

Posted: Sat Jan 09, 2016 8:49 am
by andrew
its pairing but it wont connect to my samsung tablet
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:

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?

Re: JY-MCU Bluetooth Serial Module (HCARDU0004 & HCARDU0064)

Posted: Sat Jan 09, 2016 5:29 pm
by jack5101
hi, i managed to get i working through blueterm, thanks for your help

Re: JY-MCU Bluetooth Serial Module (HCARDU0004 & HCARDU0064)

Posted: Mon Jan 18, 2016 5:59 pm
by colubridae
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. :)

Re: JY-MCU Bluetooth Serial Module (HCARDU0004 & HCARDU0064)

Posted: Tue Jan 19, 2016 9:42 am
by andrew
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.

Re: JY-MCU Bluetooth Serial Module (HCARDU0004 & HCARDU0064)

Posted: Tue Jan 19, 2016 12:29 pm
by colubridae
Thanks Andrew. :)

I will have to manage crawling around under my baseboard. :(

Never mind, it was a nice idea.

Re: JY-MCU Bluetooth Serial Module (HCARDU0004 & HCARDU0064)

Posted: Mon Mar 07, 2016 2:17 pm
by ahoicaptain
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