Help, I'm desperate!
I can not talk to The Arduini!
The Bluetooth modules flash at 9600 baud.
Even if the load of the BT probe programs (TX and RX of Micro Leonardo) modules do not communicate with the serial!
I tried to use Serial1 in both Arduino modules
Here are my test programs:
// ****************TX su Micro
const int Tastatore = 6;
const int ledPin = 13;
I was wrong, to post the program.
in fact I have already tried changing the data transmitted on, but does not work.
That is, the LED 13 of the transmitter is switched on and off by pressing the button, but the receiver does not receive anything.
I used both for micro and for Leonardo pins TX and RX with resistance from 2.2 KOhm and 1KOhm towards BT modules.
Start by connecting the two Arduinos with wires between the Serial1 pins on both boards. When that works try it with Bluetooth. When using wires you also need a GND connection between the boards.
I suggest using the 3rd example in Serial Input Basics and make the transmitting Arduino comply with it. There is also a parse example.
I used a voltage divider at RX side of HC-05 and I didnt had any issues with it. Most probably the voltage divider connection might be wrong. A hand drawn schema might help to identify the issue.