hello i have two arduino and each arduino connect to bluetooth so i define one of them as master(mega) and slave (uno) , but in meg connect RX-TX to TX and TX-RX , and in uno when i connect the RX-TX and TX-RX there is no data transfer , but when i connect RX-RX and TX-TX the data is transfer but i can't use it as character ......so any one no the problem ?
Why not? Is the baud rate the same?
Can you post the code for each Arduino, and a schematic showing how they are wired together please.
In MEGA, the designations are:
TX0, RX0 for Hardwire Serial Port-0 (UART0/Serial0); it is engaged with PC/IDE/SM
TX1, RX1 for Hardwire Serial Port-1 (UART1/Serial1)
TX2 RX2 for Hardwire Serial Port-2(UART2/Serial2)
TX3, RX3 for Hardwire Serial Port-3 (UART3/Serial3)
In UNO, the designation is:
RX, TX for only one Hardware UART Port
So, textual description is expected to be in point and correct so that things could be easily located.
At the UNO-side, connect the BT using Software UART Port as the Hardware UART Port remains engaged with PC/IDE/SM.
Try setup similar to the following:
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.