• 0
Sami Malik

Sending data from HC-05 to RN-42

Question

Hi,

I am trying to send data from HC-05 with RN-42 using Arduino. So far i'm able to connect both devices in auto connection mode(RN-42 as Master) with remote address stored in memory of RN-42. But when I send data from either side, I receive nothing on other side. I have gone through user manual of RN-42 but found nothing helpful regarding my problem. 

Click here for Arduino code for both sides.

 

Thanks,

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi @Sami Malik,

I have not used trigger mode with the Pmod BT2. The commands are as follows:

Trigger Master Mode (SM command, 2): whenever a character is received on the local UART, it automatically connects to a slave who had been previously paired. The connection remains active for a programmable interval between 1 and 255 seconds

 Here is an arduino example for using command mode. Here and here are tutorials that might be helpful as well.

thank you,

Jon

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now