433 Mhz transmit / receive lib

aoday68
Posts: 4
Joined: Wed Sep 01, 2021 7:28 pm

433 Mhz transmit / receive lib

Postby aoday68 » Wed Sep 01, 2021 7:33 pm

Hi i am building home automation by using 433MHz transmitters and receivers with ASK is there and library for that?

ESP_Sprite
Posts: 9739
Joined: Thu Nov 26, 2015 4:08 am

Re: 433 Mhz transmit / receive lib

Postby ESP_Sprite » Thu Sep 02, 2021 1:50 am

No lib, but generally the RMT peripheral can be used for that. Suggest you look at the docs for the RMT driver in ESP-IDF.

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: 433 Mhz transmit / receive lib

Postby WiFive » Thu Sep 02, 2021 2:07 am


aoday68
Posts: 4
Joined: Wed Sep 01, 2021 7:28 pm

Re: 433 Mhz transmit / receive lib

Postby aoday68 » Tue Sep 07, 2021 1:38 pm

Hi
Thanks for the answer i am using now the RMT (ir-protocol) example
in the logic analyser i can see the sending signal and received signal in 433 MHz transmitter and receiver are exact the same.
but if i send:
I (322190600) example: Send command 0x2b to address 0x7 Repeat ms: 114
i received different things as bellow
E (321815400) example: Scan Code (repeat) --- addr: 0x0007 cmd: 0x0075
E (321817520) example: Scan Code --- addr: 0x0017 cmd: 0x0037
E (321817630) example: Scan Code (repeat) --- addr: 0x0017 cmd: 0x0037
E (321819910) example: Scan Code --- addr: 0x001f cmd: 0x003f
E (321822060) example: Scan Code --- addr: 0x0016 cmd: 0x0020
E (321886570) example: Scan Code --- addr: 0x001f cmd: 0x003f
E (321922440) example: Scan Code (repeat) --- addr: 0x001f cmd: 0x003f
E (321928780) example: Scan Code (repeat) --- addr: 0x001f cmd: 0x003f
E (321993130) example: Scan Code (repeat) --- addr: 0x001f cmd: 0x003f
E (322008670) example: Scan Code (repeat) --- addr: 0x001f cmd: 0x003f


is there any configuration i can use?

aoday68
Posts: 4
Joined: Wed Sep 01, 2021 7:28 pm

Re: 433 Mhz transmit / receive lib

Postby aoday68 » Tue Sep 07, 2021 1:53 pm

Hi
I am using RMT (ir-protocol) example. and I am send as the message bellow:

Code: Select all

I (322190600) example: Send command 0x2b to address 0x7 Repeat ms: 114
and I am receiving as bellow

Code: Select all

E (321815400) example: Scan Code (repeat) --- addr: 0x0007 cmd: 0x0075
E (321817520) example: Scan Code  --- addr: 0x0017 cmd: 0x0037
E (321817630) example: Scan Code (repeat) --- addr: 0x0017 cmd: 0x0037
E (321819910) example: Scan Code  --- addr: 0x001f cmd: 0x003f
E (321822060) example: Scan Code  --- addr: 0x0016 cmd: 0x0020
E (321886570) example: Scan Code  --- addr: 0x001f cmd: 0x003f
E (321922440) example: Scan Code (repeat) --- addr: 0x001f cmd: 0x003f
E (321928780) example: Scan Code (repeat) --- addr: 0x001f cmd: 0x003f
E (321993130) example: Scan Code (repeat) --- addr: 0x001f cmd: 0x003f
E (322008670) example: Scan Code (repeat) --- addr: 0x001f cmd: 0x003f
i checked in the logic analyzer both signals from 433 MHz transmitter an Receiver are exact the same
signal.png
signal.png (14.53 KiB) Viewed 3425 times

Who is online

Users browsing this forum: Majestic-12 [Bot] and 78 guests