Page 1 of 4

Esp32 433mhz communication

Posted: Mon Dec 03, 2018 6:59 am
by meneldor
I am searching for any solution but can't find anything usable. I have an attiny chip which will measure surface temperature of a device in my backyard. I have some FS1000A 433mhz pairs which operates on 5v.
I want to send temp measurements from the attiny to a esp32 node located 20 meters away. The problem is i can't find any lib/project using such low cost receivers. I only found one for arduino-esp32 bit im stick to ESP-IDF. Also, FS1000A operates on 5V.
Could you please give me an advice? I'm not familiar with all the wireless communication variants so it could be any other low cost and low power consuming transmitter because the attiny node will be battery powered.

Thanks!

Re: Esp32 433mhz communication

Posted: Mon Dec 03, 2018 10:18 am
by PeterR
https://dronebotworkshop.com/433mhz-rf-modules-arduino/

433 Mhz is simple enough and there seem to be quite a lot of arduino projects to learn from.
You will need to add voltage level shifters to convert between 3.3V and 5V.

Re: Esp32 433mhz communication

Posted: Mon Dec 03, 2018 10:42 am
by meneldor
Thank you, but im not interested in arduino. I know there are tons of examples/tutorials for it. I am looking for ESP-IDF lib or example.

Re: Esp32 433mhz communication

Posted: Mon Dec 03, 2018 12:25 pm
by PeterR
Maybe https://github.com/DominikPalo/esp32-rf-receiver ??
Not tried it.
Or I guess that the ESP-IDF RMT module would do it, you would need to know something about the bit lengths and its not fully packaged for you but not much code.

Re: Esp32 433mhz communication

Posted: Mon Dec 03, 2018 12:53 pm
by meneldor
Thanks, Peter, I will check them.

Re: Esp32 433mhz communication

Posted: Mon Dec 03, 2018 2:41 pm
by Deouss
I am working on 315mhz/433mhz project which involves replacing broken remote control of roof and gate openers.
What I would use is cheap 433mhz receiver controlled by esp RMT with no carrier enabled like FS1000A.
Also FS1000A only needs 5V vcc and not necessarily data signal.
I just managed to hack the signals using very cheap sdr dongle and universal radio hacker soft)
good luck

Re: Esp32 433mhz communication

Posted: Mon Dec 03, 2018 2:51 pm
by meneldor
Sorry, i wasn't clear. Im mostly interested in the receiver XD RF 5V, but i could use any other.

Re: Esp32 433mhz communication

Posted: Mon Dec 03, 2018 3:08 pm
by Deouss
meneldor wrote:
Mon Dec 03, 2018 2:51 pm
Sorry, i wasn't clear. Im mostly interested in the receiver XD RF 5V, but i could use any other.
Like this ? :
https://www.amazon.com/XD-RF-5V-Wireles ... B00PC9KVGC

Re: Esp32 433mhz communication

Posted: Mon Dec 03, 2018 3:22 pm
by meneldor

Re: Esp32 433mhz communication

Posted: Tue Dec 04, 2018 11:46 am
by PeterR
Your part needs 5.0V for RX. The ESP32 will RX your temperature sensor.
You may get away with 5.0V directly into the ESP. I have been running 5V SPI logic direct to ESP32 on a system I have been bread boarding (was lazy & did not want to wire a level shifter).
Works fine but probably will die one day.

Your RX signal would be low frequency so you could just use a divider https://randomnerdtutorials.com/how-to- ... v-to-3-3v/

Deouss is right - the IDF RMT module with no carrier should work for you. You would have to decide on the bit lengths and set filtering as appropriate but I think that may even be easier than the IDF library I pointed you at.