HC-12 Transceiver TX and RX

Thread Starter

camerart

Joined Feb 25, 2013
3,829
Hi,
I've been using the HC-12 transceivers successfully for quite a while now, but I have a question.
I can see on a computer terminal, that the HC-12 is TXing, but it doesn't appear to be RXing.
Can the HC-12 TX and RX at the same time?
Camerart.
 

Ya’akov

Joined Jan 27, 2019
10,226
Hi,
I've been using the HC-12 transceivers successfully for quite a while now, but I have a question.
I can see on a computer terminal, that the HC-12 is TXing, but it doesn't appear to be RXing.
Can the HC-12 TX and RX at the same time?
Camerart.
Unfortunately, no. The HC-12 is a half duplex device. It lacks the circuitry (including a duplexer for the antenna, and dual frequency operation) to create a full duplex connection. This is an inherent limitation of the device.
 

Thread Starter

camerart

Joined Feb 25, 2013
3,829
Unfortunately, no. The HC-12 is a half duplex device. It lacks the circuitry (including a duplexer for the antenna, and dual frequency operation) to create a full duplex connection. This is an inherent limitation of the device.
Hi Y,
Aha! that answers my question.
I'll have to toggle between TX and RX.
Thanks, C.
 

Thread Starter

camerart

Joined Feb 25, 2013
3,829
Hi C,
Which section or function on your project has the HC12 to TX and RX during the same period of time?
E
Hi E, HNY
The BASE MASTER RX now only 'sees' messages from the REMOTE, and sends messages to the REMOTE.
Earlier, today they were asynchronous (I think that's the correct term?) I've just changed the CODE so the MASTER to REMOTE messages are sent, once the MASTER has received a message, and just before re-initialising the RX INTERRUPT.

I just tried it, and it works, but stops.
I think it's a matter of stepping through and watching each stage notification BIT.
C
 

ericgibbs

Joined Jan 29, 2010
21,395
Hi C,
As Ya'akov explains the HC12 device which means you can only send or receive sequentially, which in your project should be suitable.

Do you have a short Code section of the RX , TX operation required?
E
 

Thread Starter

camerart

Joined Feb 25, 2013
3,829
Hi C,
As Ya'akov explains the HC12 device which means you can only send or receive sequentially, which in your project should be suitable.

Do you have a short Code section of the RX , TX operation required?
E
Hi E,
I understood, Y's explanation, and this is what I tried to explain in the last post. It now toggles one after the other.
The CODE is too interwoven to post anything that wouldn't be confusing.
Hopefully, I'll have done it soon, so I can post the whole program.
C.
 
Top