I have a HC-05 connected to my Uno, I want to make it do things with my PC and eventually other devices, so far I am trying to do a sanity check using TeraTerm.
Has you PC's Bluetooth device paired with the Arduino Bluetooth device?
The settings in TerraTerm should match those required by the Bluetooth device on your PC. And the serial settings on the Arduino should match the requirements of the Bluetooth device connected to the Arduino.
For the future, if you want to send data to the Arduino have a look at the examples in Serial Input Basics - simple reliable ways to receive data.
Robin2:
I don't have any use for those pictures on my hard disk.
The OP can easily copy the header text if it is important
...R
Normally, I'd agree. But, how often do we berate users for deciding, for us, what is important? How often does it occur that what they thought was important wasn't really what was important?
I'm not yet convinced that OP recognizes the significance of the window titles.
Apologies for not uploading the image in the preferred way, it is noted.
The upper left window is the Serial Monitor from the IDE which is monitoring COM4 connected via USB.
The lower left is monitoring COM6, which is Serial over Bluetooth Link, it is not an unknown device, it's just the HC-05 module which is paired to the PC Bluetooth. I am expected communication through here, is my expectation wrong?
Apologies if I have asked in the wrong place, I have a software background and trying to develop skills in some hardware applications.
The code in the picture doesn't match the code in your first post.
The code in the picture is not using SoftwareSerial to talk to the bluetooth device, unless you connected it to the hardware serial pins. The code in the first post does not indicate that you have done that.
So, what HAVE you connected the bluetooth device to?
Yes, that is because the guide on this website does not use SoftwareSerial, and when I failed to make that work I found some other tutorials, which make use of this library.
Regardless, the terminal is connected to the HC-05 module via the PC's Bluetooth adaptor in both cases, I'm not sure what the confusion is with that.
To reiterate, the aim is to have two-way communication between the terminal and Arduino.
Regardless, the terminal is connected to the HC-05 module via the PC's Bluetooth adaptor in both cases, I'm not sure what the confusion is with that.
Draw a picture. Every time you try to describe what is connected to what, you cause more confusion than you clear up.
You keep referring to THE HC-05 module. One radio is useless. You need two of them to communicate.
You have some code that you are actually running. It does something. It does not do other things. Post the code. Describe what it actually does. Describe what it does not do.
I thought it was pretty clear but here is a data flow diagram:
I have since changed the baud rate to 38400 and it works flawlessly, I'm not sure what this means at a hardware level but all the guides and documentation involving the HC-05 seem to use 9600.
I am now able to communicate strings to the terminal in the laptop and to an Android device.