No transmission on 433Mhz with radiohead

The 443Mhz remote for my blinds is falling apart, so i am starting a new project: i want to capture the 433Mhz signal, have it replayed by an esp32 that i eventually want to control through home assistant.

Step 1, capturing the signal went quite ok: i bought an rtl-sdr v4, installed universal radio hacker and not much later i had the binary data being sent for down, up and stop signals. The modulation is ask, and the data rate seems to be 2000 bits per second.

I also expected step 2, retransmitting the signal through one of those transmitters to be easy, but whatever i try, i can not get these transmitters to transmit anything: when i load the spectrum analyser of universal radio hacker, i clearly see something being transmitted when i press the remote, but when i trigger my arduino code through one of these transmitters, nothing seems to be transmitted at all.

The transmitters i bought to play around with:

  • HopeRF RFM85W 433MHz RF
  • T1 433MHz RF Transmitter - 2-12V
  • and then one of those receiver/transmitter kits used in the dronework shop video about 433Mhz transmission

My code:

#include <RH_ASK.h>
#include <SPI.h>

RH_ASK driver(2000, 12, 11, 10);

void setup() {
    Serial.begin(9600); // Initialize serial communication for debugging

    // Initialize ASK driver
    if (!driver.init())
         Serial.println("Initialization failed");
    else
         Serial.println("Initialization successful");
}

void loop() {
    uint8_t data[] = {0x48, 0x65, 0x6C, 0x6C, 0x6F};

    // Transmit data
    driver.send(data, sizeof(data));
    driver.waitPacketSent();

    Serial.println("sent");
}

This is basic example code ... i dont think i have done anything wrong here (but would love to be proven wrong :slight_smile: )

A photo of how this is connected:
Google Photos

And as requested, a handwritten schema :slight_smile:
Google Photos

I already tried switching the cables. So arduino is connected to pc, the transmitter is connected to 5V and ground of arduino, data pin of transmitter is connected to pin 12.

In the top right of the photo you can see the tripod to which the rtl-sdr antenna is connected. When i press the remote, i clearly see something being transmitted on 433Mhz. But i dont see anything being transmitted by the arduino, with any of those 3 transmitters.

Any ideas?

Please post a hand drawn wiring diagram, with all pins and parts clearly labeled. The photo is not helpful.

done :wink:

transmitter pin is 11?

1 Like

Based on the code and the wiring diagram, the transmitter should be emitting an RF signal.

Possibly, the wiring or transmitter is defective. Use your multimeter to check continuity, and that voltages are as expected on the various pins.

Edit: @kmin points out that you connected the wrong Arduino pin to TX, or initialized the driver incorrectly.

transmitter pin is 11?

:man_facepalming:

Ok, it is transmitting now ...
Blinds are not reacting to the signal (it is different of the 5 bytes i sent in the code sample), but i clearly see that the signal is different from the original one i captured. So i can start figuring out why now ...

If you have receiver module, you could try with original remote and radiohead library

Most remote receivers are fairly picky about the pulse lengths and timing. This tutorial shows a simple way to accurately analyze both, using a receiver and a laptop running Audacity.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.