Normal practice is to connect Tx to Rx and Rx to Tx. Transmitters transmit to receivers, and receivers listen to transmitters.
None of the pictures you post appear to have anything to do with what you are actually doing, and they are all meaningless.
You are using the hardware serial pins 0,1 for software serial. This is not a good idea. You won't do any actual damage, but you won't get anywhere either. If you want to use software serial, use different pins like 5,6 - pretty well anything other than 0,1
Your intentions are unclear, but you might find the following background notes useful
Normal practice is to connect Tx to Rx and Rx to Tx. Transmitters transmit to receivers, and receivers listen to transmitters.
None of the pictures you post appear to have anything to do with what you are actually doing, and they are all meaningless.
You are using the hardware serial pins 0,1 for software serial. This is not a good idea. You won't do any actual damage, but you won't get anywhere either.
Your intentions are unclear, but you might find the following background notes useful
Please read the instructions to see how code is prpewrly posted in this forum - using </> tags
Thank you. I tried what you mentioned on no. 1 but unfortunately when I type AT commands, I get nothing as a result. Based on the documentations of the device(GizDuino), RX is for 0 and 1 is for TX.
On my intentions, I'm trying to connect a HC-05 Master to a HC-06 Slave. But I cant do that since I can't find another way to pair the two without using the instructions above. This is my first time handling a Bluetooth module.
Can you recommend another way? I'm trying to digest and apply based on doc(pdf link) you gave me.
Update: I tried to run the .ino file. The only time the serial monitor it giving results is when I setted the line endings to "No line ending" but only giving the last inputted character. I tried other line endings but outputs only "\n" or newlines per se
cyrussantiagoU5c:
Based on the documentations of the device(GizDuino), RX is for 0 and 1 is for TX.
This is the same as any other Arduino, and the connections are as I said in points 1 and 3.
On my intentions, I'm trying to connect a HC-05 Master to a HC-06 Slave. But I cant do that since I can't find another way to pair the two without using the instructions above. module.
Can you recommend another way? I'm trying to digest and apply based on doc(pdf link) you gave me.
OK, the pictures you posted look like they come from the Martyn Currey site. If you want to connect HC-05 to HC-06, that is a pretty good place to get the story but learning to walk before you run might be a good idea, hence the notes I provided, but they only have passing reference to configuration..
Update: I tried to run the .ino file. The only time the serial monitor it giving results is when I setted the line endings to "No line ending" but only giving the last inputted character.
If you are referring to the .ino I supplied, that is not for use with the serial monitor. It is for use with Arduino talking to a phone, or a PC or laptop with a proper terminal programme like RealTerm. If that PC is the one that has the serial monitor on it, disconnect the USB cable as clearly instructed.
I reckon life would be much easier if you use SoftwareSerial to create a separate serial connection for the HC05 and leave pins 0 and 1 free for communication with the PC.
Did you consider making your baud rates the same? You initialize your BTSerial on 38400 and serial monitor on 9600. If i were you I would change the serial monitor one to 38400 to match the BTSerial object.