I am using a HC12 wireless module for a drone project. The Receiver on the Drone is connected to a Arduino Micro. To receive Data, it uses the boards Serial1 function.
The sender on my self made Controller is connected to an Arduino Uno.
The Rx pin of the module is connected to the rx pin of the uno.
The Tx pin of the module is connected to the tx pin of the uno.
Now here comes the weird part.
When I open the Serial Monitor and input anything, the Receiver on the Micro gets the inputted message without ANY CODE on the unos side.
The sender on my self made Controller is connected to an Arduino Uno.
The Rx pin of the module is connected to the rx pin of the uno.
The Tx pin of the module is connected to the tx pin of the uno.
These are the pins to which the serial monitor is connected.
As an aside, it is unlikely that the MCU has "no code", unless you have loaded a completely empty sketch.
What don't you understand about the above comment?
Please post the requested wiring diagram, and explain exactly what you are trying to do. The following makes no sense at all. Post the code, using code tags.
When Serial is connected, why can't I use Serial.write()? I mean I can compile it, but the receiver doesn't get anything.
Edit: If you want the Uno to talk to the radio transmitting module, use one of the software serial libraries, and avoid using pins 0 and 1 (RX and TX).