i want to send data via bluetooth JY MCU from 2 Arduinos Nano, to an Arduino UNO connected to a PC
but i just can´t use the AT commands, i found a lot of step by step, but im doing something wrong ..
i uploaded to UNO the example of IDE 1.05, SoftwareSerialExample,
changed "mySerial"
baud rate to 9600(according to my firmware), but also tried 38400..
i connected RX from BT to UNO TX(11), TX from BT to UNO RX(10), VCC to 5V or 3.3V, GND to GND...
i opened serial monitor according to the "Serial" baud rate from the example code..
tried all options, “no line ending”,etc
but i only get
"Goodnight moon!"
No answers to “AT”
I´m noob regarding to bluetooth..
So, first i tried to do all this in a Notebook without BT..
then i tried in one with BT..
-->add device, HC-05, password 1234, it said everything was installed correctly, but JY MCU kept blinking the same way, only once it blinked slower. that time was the only time i got an answer other than "Goodnight moon!",,..”ERROR(0)” ¬¬, but no answer to AT commands..
Besides, can someone send me some code of sending data by BT and receiving data from 2 different BTs?
thanks for replying,
i found it, i didn´t know there was a AT mode, all tutorials i found before, started explaining the AT commands that i should send , like i could just connect the JYMCU and send it..
i had to input LOW level to the "KEY" pin of JYMCU, then supply the module,then input HIGH to "KEY", with a baud rate =9600..
then i succesfully sent data between 2 JYMCU, but i still got some problems...
after set AT+UART=115200,0,0
if i turn the JYMCU off, it does not answer to ATCommands, unless i set Myserial.begin(115200)..
but when i do that, the response appears as strange symbols, like when wrong baudrate is set..
other problem is that i want to receive data from 2 different BT, but when i LINK master to one slave, it stops to answer AT commands, so i cant LINK to another one..
is it impossible to make it receive data from 2 different JYMCU simultaneously? if it is possible , how can i do that? how would be the master´s code to know from wich BT the data is coming?
again, sorry by my bad english and thanks in advance