ESPHome and 433mhz superheterodyne RF receiver

Thanks Keith, I too ordered a pair similar to the HiLetgo module you linked, and I am also using a D1 mini clone. We’ll get this figured out. :+1:

1 Like

One thing I noticed is, the module I ordered appears to need 5VDC for Vin. If you wired your module to 3.3VDC Vcc signal, that might explain why it’s not returning any data? Is it connected to the USB/5VDC pin on the D1 mini?

Yes, it is on 5V.

1 Like

My 433 MHz receiver/transmitter pairs arrived late this afternoon. Now I just need to find my Wemos D1 mini clones. We’ve got construction going on in the house this week, and finding things is a bit of a challenge right now. :wink:

Fortunately, I had an unused authentic Lolin D32 ESP32 board handy. Set it up with the 433 MHz receiver board on pin 5, and VERY_VERBOSE logging. Holy heck did it ever start spewing a LOT of data received. :crazy_face: Shifting to only VERBOSE logging now that it’s clear it’s working. Nope, VERBOSE was way too much, too fast, as well.

Found the Wemos D1 Mini clone, still need to cable it up. I have to wonder, can the ESP8266 handle the enormous amount of data coming in? I mean, it should, but you never know. Got it cleaned up, connected, and configured. It’s definitely receiving raw 433 MHz RF data. :slight_smile: Here’s the setup photo, and the ESPHome YAML config:

esphome:
  name: d1mini_433mhz_rcvr
  platform: ESP8266
  board: d1_mini

wifi:
  ssid:     "My_2_4_Ghz"
  password: "12345678"

#
# 433 MHz receiver board
#
remote_receiver:
- pin:
    number: D5
    mode: INPUT
    inverted: True
  dump:
  - raw: {}
  - rc_switch: {}
  tolerance: 75
  filter: 500us
  idle: 100ms

# Enable logging
logger:
  level: DEBUG

# Enable Home Assistant API
api:
  password: "12345678"

ota:
  password: "12345678"
1 Like

It mostly handles it okay if logging is not set to verbose, although I do occasionally get some strange crashes and stack traces which I didn’t get to the bottom of yet.

This :point_up: is actually the one receiver nobody should should use because of it’s insane noise (which can not be fixed). It’s not superheterodyne (that’s the type you want) anyway.

I definitely noticed the constant noise. I’ve since moved on to directly tapping the 433 MHz signal from the weather station receiver, as another person did.

Sorry I’ve been MIA. I got a similar receiver to yours, however I am facing the same issue of wayyyy too much noise. I’m also not sure that my receiver screw is set correctly, it was not glued in place as it should have been when it arrived.

Hi folks.
I’m doing something very similar. I’m using “the one receiver that nobody should use” lol.
It does not filter out noise. If fact, if you connect it to a speaker, you will hear the hiss, and any data that comes in.

Mine is connected directly to a PIC microcontroller. This basically continually loops until it detects a ‘preamble’ of around 8ms. This is doing the work of filtering out the static noise.
After that, it waits for the first bit, then reads in the code.
This is specific timing to what I have created, it can’t read anything else.

Once the information has been read, it outputs it over 9600 8n1 serial data into an ESP8266, which in turn sends that out to HA via restful.

I was under the impression that an 8266 on its own wasn’t fast enough to capture RF data. I would like to be proved wrong on this as it would make life a lot easier.

Just an observation, that RF receiver is missing an aerial.
For 433Mhz, a 32cm wire should be soldered to the connection at the bottom right, that’s assuming your going to use it again.

Hi guys,

posting here as I spent some time on the topic as well.
I have a RXB6 receiver (Link) which i used with few different 433mhz buttons and door/window sensors with a D1 mini pro / Lolin D32 Pro / and ESP32 DEVKIT DOIT.

Strange thing I realized is behavior is quite different and settings needs to be adjusted accordingly to the board, with D1 mini pro definetly having the more consistent behavior.
I was really surprised by this and can’t explain why it is happening…any idea?

Gents,
Having noise issues with cheap RF receivers I decided to buy this superheterodyne module hoping to pair a Sonoff 433Mhz remote. Now I’m scratching my head because I do not know how the pins work.

Any idea?

Saw this thread pop up recently, and it’s using the RX470C-V01 receiver module. Best part is, @swedude provided ESPHome custom code to handle the data reception.

2 Likes

I realised it was because I had set the memory buffer size too large and it was bigger than it could handle. Once I reduced it to 1000, the crashes have stopped.

I’ve been testing 433 MHz in the workshop for a long time. I am using a receiver marked in the photo, see. with my code the noise is minimal… I STRONGLY RECOMMEND USING ESP32! esp8266 and others have to make noise.

remote_receiver:
  - id: rc_receiver
    pin:
      number: GPIO22
      inverted: True
    dump: rc_switch
    tolerance: 60%
    filter: 250us
    idle: 4ms
    buffer_size: 2kb


1 Like

I have not had a chance to try this yet as this particular project took the back burner, but this looks like a good solution!

Hey everyone I’m having issues using the transmitter. I got the following from Amazon. The receivers work just fine and I’m able to read my remote signal data but after lot of trial I can’t get the transmitter to work. Any advice will be truly appreciated.

HiLetgo 5 Sets 433M Transmitter +… Amazon.com

Here is a path to flash the Portisch chip to receive raw data.

How did you do your project? I am trying to do the same but I am totally lost. I am not getting any data from the receiver. Could you help me? Sorry for the inconvenience

Your post will probably only be inconvenient for you as nobody will be able to help you based on the vague and little information you provide. :man_shrugging:

As a hint take a little time and read this here from top to bottom :point_down:

Then open a new thread with a meaningful title and provide detail information on what you did, how you did it and don’t forget to provide your yaml, logs and schematics :page_facing_up:

Good luck :crossed_fingers: and welcome to the forum :wave:

Hi !
I want to get and decode some rf signals and send them later via Homeassistant just like described in post #1.
Unfortunately I also have the same problem like you described.
Also ordered superheterodyne receiver / transmitter and I‘m using D1 Mini.

Link

Like you I already tried different filter, idle, tolerance values and pins.
Currently I receive some signals with this code so at least the receiver could be okay.
On the other hand I receive a lot of data if for example „raw“ is commented in without doing anything so I‘m not sure if the receiver is working correct.
Unfortunately the receiver does not receive anything if I press any button on my remotes and I tried several ones.

remote_receiver:
  pin: 
    number: D2
    mode: INPUT
    inverted: True
  dump:
    - aeha #Decode and dump AEHA infrared codes.
    #- canalsat #Decode and dump CanalSat infrared codes.
    #- canalsatld #Decode and dump CanalSatLD infrared codes.
    - coolix #Decode and dump Coolix infrared codes.
    - dish #Decode and dump Dish infrared codes.
    - drayton #Decode and dump Drayton Digistat RF codes.
    - jvc #Decode and dump JVC infrared codes.
    - lg #Decode and dump LG infrared codes.
    - magiquest #Decode and dump MagiQuest wand infrared codes.
    - midea #Decode and dump Midea infrared codes.
    - nec #Decode and dump NEC infrared codes.
    - nexa #Decode and dump Nexa (RF) codes.
    - panasonic #Decode and dump Panasonic infrared codes.
    - pioneer #Decode and dump Pioneer infrared codes.
    #- pronto #Print remote code in Pronto form. Useful for using arbitrary protocols.
    #- raw #Print all remote codes in their raw form. Also useful for using arbitrary protocols.
    - rc5 #Decode and dump RC5 IR codes.
    - rc6 #Decode and dump RC6 IR codes.
    - rc_switch #Decode and dump RCSwitch RF codes.
    - samsung #Decode and dump Samsung infrared codes.
    - samsung36 #Decode and dump Samsung36 infrared codes.
    - sony #Decode and dump Sony infrared codes.
    - toshiba_ac #Decode and dump Toshiba AC infrared codes.
  tolerance: 50
  filter: 1us
  idle: 1ms
  buffer_size: 2kb

Did you get your rf receiver working ?
Or did you tried the referenced esp home code from @swedude ?