OldManNoob:
Hi,
Is it possible to COMPLETELY disable the HC12 Tx function, so the module becomes a serial receiver only?I have set the Px to 1 in the command AT + Px, but that gives me a lingering .8mW which still causes me issues as I'm using several HC12 units as receivers to one as a transmitter, and they have high-gain antennae to further compound the issues. btw, 0 is not accepted.
Is there a trace I can cut to completely nuke the Tx component failing a software solution?
excerpt from the manual
• AT+Px
Set the transmitting power of the module, with x selectable from 1 to 8. The
corresponding transmitting power of the module is as shown below:
x value 1 2 3 4 5 6 7 8Transmitting power of module:
1 2 3 4 5 6 7 8
-1 dBm 2 dBm 5 dBm 8 dBm 11 dBm 14 dBm 17 dBm 20 dBm
(0.8mW) (1.6mW) (3.2mW) (6.3mW) (12mW) (25mW) (50mW) (100mW)The default value is 8, and the higher the transmitting power, the farther the
possible wireless communication distance. When the transmitting power level is
set to 1, the transmitting power is at the minimum. Generally speaking, every
time the transmitting power is reduced by 6dB, the communication distance will
be reduced by half.
e.g: Send command “AT+P5” to the module, and the module returns “OK+P5”. After
exiting from command mode, the transmitting power of the module will be set to
11dBm.
Hi,
- You need shielding. Connect things to GND correctly to remove noise
- If need add small capacitor to filter out peaks in Vcc, give it 100nF or 10nF
- Ensure that you have sufficient power to power HC12. I suggest adding between Vcc and GND of the HC12 470uF capacitor to ensure that if it will need power for TX ad RX
- Introduce some sort of hash or CRC for your data. This is what i did and now i don't have to worry about mess in the data. That may always come
- Try to get different antena as there is small connector for other antena. Or try simply adding like 20cm wire to spiral antena that is builtin
BR
L