Reply to topic  [ 48 posts ]  Go to page Previous  1, 2, 3, 4, 5
JY-MCU Bluetooth Serial Module (HCARDU0004 & HCARDU0064) 
Author Message

Joined: Wed Mar 26, 2014 2:18 pm
Posts: 4
Post Re: JY-MCU Bluetooth Serial Module (HCARDU0004 & HCARDU0064)
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/blob/master/app/src/main/java/com/sullenart/turntable/MainActivity.java


Tue Jun 02, 2015 3:37 pm
Profile

Joined: Fri Jan 08, 2016 5:53 pm
Posts: 2
Post 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


Fri Jan 08, 2016 7:24 pm
Profile
Site Admin

Joined: Sun Aug 05, 2012 4:15 pm
Posts: 617
Post Re: JY-MCU Bluetooth Serial Module (HCARDU0004 & HCARDU0064)
Quote:
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?


Sat Jan 09, 2016 8:49 am
Profile

Joined: Fri Jan 08, 2016 5:53 pm
Posts: 2
Post Re: JY-MCU Bluetooth Serial Module (HCARDU0004 & HCARDU0064)
hi, i managed to get i working through blueterm, thanks for your help


Sat Jan 09, 2016 5:29 pm
Profile

Joined: Thu Jan 14, 2016 3:36 pm
Posts: 12
Post 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. :)


Mon Jan 18, 2016 5:59 pm
Profile
Site Admin

Joined: Sun Aug 05, 2012 4:15 pm
Posts: 617
Post 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.


Tue Jan 19, 2016 9:42 am
Profile

Joined: Thu Jan 14, 2016 3:36 pm
Posts: 12
Post 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.


Tue Jan 19, 2016 12:29 pm
Profile

Joined: Mon Mar 07, 2016 2:06 pm
Posts: 1
Post 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


Mon Mar 07, 2016 2:17 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 48 posts ]  Go to page Previous  1, 2, 3, 4, 5

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Thank you to phpBB.com & phpBB.ro.
Design created by Florea Cosmin Ionut.
© 2011 All contents of this site are © Hobby Components LTD