HC-05 Master / Slave Bluetooth Module (HCMODU0061)

Wireless and wired modules including Bluetooth, Ethernet, and IR kits.
plawren1
Posts: 1
Joined: Thu Nov 05, 2015 10:44 am

Re: HC-05 Master / Slave Bluetooth Module (HCMODU0061)

Post by plawren1 » Thu Nov 05, 2015 11:15 am

I have finally achieved getting two HC-05's master/slave talking to one another via two Arduinos (i.e one hc-05 connected to one arduino wirelessly tx/rxing chars to the other arduino). I have discovered that not all the info on the web has been accurate but definitely helped.

Main differences with my setup:
The "en" pin on the hc-05 has absolutely no affect on obtaining AT Command mode. Apply power, press the button, remove power then reapply power gets the thing into AT Command mode. The baud rate is always 38400 in AT mode.
That said - "AT+INIT" does not return "ok" it bombs out of AT mode.
You have to +Link<slave addr>, +bind<slave addr>, and something else on the master. I found it was the link cmd that returned "ok". The others returned error(16) but I persevered..... The master/slave pswrd have to be the same. Then after an init.... the led status changed to intermittent double blink. Hurrah!
No swapping tx/rx was required....... that was a red herring.......
Also the default baud rate obtained by the +uart cmd has to be checked. Make sure that is set up correctly. That is the baud rate of the wireless connection - not the AT mode connection. I set mine up to 38400,1,0 and it worked!

clara123
Posts: 1
Joined: Fri Jul 08, 2016 8:06 pm

Re: HC-05 Master / Slave Bluetooth Module (HCMODU0061)

Post by clara123 » Mon Nov 14, 2016 10:23 pm

On other forums I've seen it suggested that the HC-05 RX pin (data in) cannot be connected directly to an Arduino because the voltage must be reduced to 3.3v. Is this true of the module sold by Hobby Components?

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

Re: HC-05 Master / Slave Bluetooth Module (HCMODU0061)

Post by andrew » Tue Nov 15, 2016 9:54 am

Yes that is correct. It's not 5V tolerant so it shouldn't be directly connected to the digital output of a 5V Arduino board. You'll need to level shift the signal. The easiest way to do this would be to simply use a couple of resistors as a potential divider.
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

rwbuswell
Posts: 1
Joined: Mon Aug 21, 2017 4:48 pm

Re: HC-05 Master / Slave Bluetooth Module (HCMODU0061)

Post by rwbuswell » Mon Aug 21, 2017 4:59 pm

I have just got an HC-05 module and it pairs fine with my PC, but does not appear on iphone or ipad. Unfortunately I want to use it with an ipad2. A quick net search seems to say it doesn't work with ios devices. Is this true? Anyone know how to do it?

Post Reply

Return to “Wireless / Wired”