HC-06 Bluetooth Serial Module (HCARDU0004 & HCARDU0064)

Wireless and wired modules including Bluetooth, Ethernet, and IR kits.
geoffday67
Posts: 4
Joined: Wed Mar 26, 2014 2:18 pm

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

Post by geoffday67 » Tue Jun 02, 2015 3:37 pm

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

jack5101
Posts: 2
Joined: Fri Jan 08, 2016 5:53 pm

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

Post by jack5101 » Fri Jan 08, 2016 7:24 pm

hey, im having trouble connecting my device. its pairing but it wont connect to my samsung tablet

andrew
Site Admin
Posts: 1073
Joined: Sun Aug 05, 2012 4:15 pm

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

Post by andrew » Sat Jan 09, 2016 8:49 am

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?
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

jack5101
Posts: 2
Joined: Fri Jan 08, 2016 5:53 pm

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

Post by jack5101 » Sat Jan 09, 2016 5:29 pm

hi, i managed to get i working through blueterm, thanks for your help

colubridae
Posts: 12
Joined: Thu Jan 14, 2016 3:36 pm

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

Post by colubridae » Mon Jan 18, 2016 5:59 pm

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. :)

andrew
Site Admin
Posts: 1073
Joined: Sun Aug 05, 2012 4:15 pm

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

Post by andrew » Tue Jan 19, 2016 9:42 am

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.

colubridae
Posts: 12
Joined: Thu Jan 14, 2016 3:36 pm

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

Post by colubridae » Tue Jan 19, 2016 12:29 pm

Thanks Andrew. :)

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

Never mind, it was a nice idea.

ahoicaptain
Posts: 1
Joined: Mon Mar 07, 2016 2:06 pm

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

Post by ahoicaptain » Mon Mar 07, 2016 2:17 pm

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

Post Reply