Hello, i have been days debugging my problem in receiving data in my arduino mega 2560 pro mini, but the TX is working. transferring data from my mega to android is working.
what i have done :
-Check the connection if the connections are connected using multitester
-Check the other Serial pins ( 18, 19) and so on.
-Changing Some baud rates, ( but my default is 9600)
-Change the Arduino Mega 2560 Pro Mini ( i have 2 pcs )
-Changing the wires, ( seems connected since i tested it with multitester )
-Test the current code, current connection with my arduino nano
i have my arduino nano, same code, same blueooth module, same connection with the rx , tx pins. it works.
when i try to change my main board with arduino mega 2560 pro. rx,tx pins seems not working. im using the hardware RX,TX pins.
anyone have the same scenario here?
Arduino IDE : 2.2.1
Board: Arduino Mega 2560 Pro Mini
Please take a look at the "How to get the best out of this forum" post, and follow the directions to post your code, using code tags, and a wiring diagram.
On the Mega, you should be using hardware Serial1, 2 or 3 for the HC-05, not the serial port used for program upload, and don't forget to use logic level shifters, required any time you connect a 5V MCU to a 3.3V device.
i see, but i tried the serial1, serial2, serial3 of the pins and also not working, hmm.
the same hc-05, same wire connectors and same code works for the arduino nano, is there any need to update for the pinout to work? i think pinouts are the one not working here,