Page 1 of 1
433 Mhz transmit / receive lib
Posted: Wed Sep 01, 2021 7:33 pm
by aoday68
Hi i am building home automation by using 433MHz transmitters and receivers with ASK is there and library for that?
Re: 433 Mhz transmit / receive lib
Posted: Thu Sep 02, 2021 1:50 am
by ESP_Sprite
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.
Re: 433 Mhz transmit / receive lib
Posted: Thu Sep 02, 2021 2:07 am
by WiFive
Re: 433 Mhz transmit / receive lib
Posted: Tue Sep 07, 2021 1:38 pm
by aoday68
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?
Re: 433 Mhz transmit / receive lib
Posted: Tue Sep 07, 2021 1:53 pm
by aoday68
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 (14.53 KiB) Viewed 3428 times