1

I have a system that is outputting data via its serial, and I need to relay that data to my PC wireless-ly. If I were to setup an Arduino and HC-05 at the system's side to relay the data, that would mean I need to use two serial ports. I know this could be done with SoftwareSerial library. However, I would like to know if I could set up the pairing between master and slave with arduino, then unplug the HC-05 from the Arduino, and connect it directly to the system's serial output. Would this work?

Edit for clarification:

  • I do not want to use SoftwareSerial
  • I do not want to use an MCU during normal operations
  • I want the HC-05 to take in serial data from a system's serial, and transmit it via bluetooth to my PC
  • Only during pairing configuration, will I want use an MCU (Arduino) to set it up. I want to know if the comms will still work when I take out the Arduino and connect the system's serial data output to HC-05's Rx instead.

Is this possible?

migrated from electronics.stackexchange.com Feb 17 at 3:30

This question came from our site for electronics and electrical engineering professionals, students, and enthusiasts.

  • configure the HC-05 and pair it, then power it down .... power up again and run a sketch like the one in this question and test connectivity with serial monitor ....... arduino.stackexchange.com/questions/61469/… – jsotola Feb 17 at 3:34
  • I haven't built anything yet, I am just going through design planning before building it. Preferrably, I do not want to use SoftwareSerial. My idea is to pair it up with Arduino, and get the HC-05 to trasmit whatever serial data that comes into its Rx from the system - without an Arduino in place. – ropelearner Feb 17 at 4:26
  • i understand your requirements .... the comment describes a process for confirming that the HC-05 retains its settings when powered off – jsotola Feb 17 at 6:27
  • IIRC, you can pull up (or leave unconnected) the KEY pin of the HC-05. Then it will act as the transparent serial connection you want. – JimmyB Feb 17 at 18:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.