Page 1 of 1

CONVERT SENSORS TO WIRELESS

Posted: Tue Aug 13, 2024 1:23 pm
by SILVESTROS
Hello to all!
I would like to convert some sensors to wireless , to extent the length of connections with no use of wires.
Normal sensors (one with Analog output and one with I2C output) are connected to a PIC and works well. I've 2 solutions to convert and transfer sensors data.
1. NRF24L01 RF transceiver
2. HC-12 RF transceiver
The first above is supported by FC , so I can use 2 PIC in a pair sender/receiver as sensor data converters to match I/O data of transceiver.
The second above is not supported I think by FC , but is more easy to use , because it has simple interface (RX, TX) and programming.
I would like to use the second , but some samples that I get , are not programmed . I use a serial Terminal , a FT232 that works well in other devices,
but when I send AT command according to data sheet , I get " ERROR". Data format ok (9600,8N1). Any idea about that?
Is possible to make above conversions ?
Thanks

Basil

Re: CONVERT SENSORS TO WIRELESS

Posted: Tue Aug 13, 2024 2:06 pm
by stefan.erni
Hi Basil

If you want to use at commands for the HC12 you have to do something with pin 5. like Set to GND ...

regards

Stefan

Re: CONVERT SENSORS TO WIRELESS

Posted: Tue Aug 13, 2024 3:58 pm
by SILVESTROS
Hi Stefan,
I know that pin 5 of HC-12 module must be set to GND...I used another Serial Terminal, and setup works OK..
Now I'll try to use a pair of the module to make sensors wireless..
Thanks

Basil