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
CONVERT SENSORS TO WIRELESS
-
- Posts: 124
- http://meble-kuchenne.info.pl
- Joined: Tue Dec 13, 2022 9:04 pm
- Has thanked: 32 times
- Been thanked: 2 times
-
- Valued Contributor
- Posts: 1065
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 201 times
- Been thanked: 225 times
Re: CONVERT SENSORS TO WIRELESS
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
If you want to use at commands for the HC12 you have to do something with pin 5. like Set to GND ...
regards
Stefan
- Attachments
-
- 2024-08-13_14-57-34.PNG (316.17 KiB) Viewed 2605 times
-
- 2024-08-13_15-02-22.PNG (279.62 KiB) Viewed 2605 times
-
- Posts: 124
- Joined: Tue Dec 13, 2022 9:04 pm
- Has thanked: 32 times
- Been thanked: 2 times
Re: CONVERT SENSORS TO WIRELESS
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
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