Problem on Transmit from (Nodemcu esp8266 lolin) Receive from(arduino uno) using FS1000A Wireless RF433 Transmit and Receive Module Pair

I have these boards and connect them like this:

And I put this code on Nodemcu esp8266 Lolin as transmitter:

#include <RH_ASK.h>
#include <SPI.h> 
 
// Arduino                     Transmitter
//  GND--------------------------GND
//  D12--------------------------Data
//  5V---------------------------VCC
 
RH_ASK driver(2000, 11, 3);
 
void setup() {
  Serial.begin(9600);   
  if (!driver.init()) Serial.println("init failed");
}
 
void loop() {
  const char *msg = "hello";
  driver.send((uint8_t *)msg, strlen(msg));
  driver.waitPacketSent();
  delay(200);
}

And I put this code on Arduino Uno as a receiver:

#include <RH_ASK.h>
#include <SPI.h>
 
// Arduino                     Receiver
//  GND--------------------------GND
//  D11--------------------------Data
//  5V---------------------------VCC
 
RH_ASK driver(2000, 11, 12);
 
void setup() {
  Serial.begin(9600);
  if (!driver.init()) Serial.println("init failed");
}
 
void loop() {
  uint8_t buf[RH_ASK_MAX_MESSAGE_LEN];
  uint8_t buflen = sizeof(buf);
 
  if (driver.recv(buf, &buflen)) {
    driver.printBuffer("Received:", buf, buflen);
  }
}

But I don't get anything on Serial Monitor from Arduino UNO and don't receive anything
I test all pins on modules, and they have the correct voltage. also LED on Nodemcu esp8266 Lolin blink each a few seconds

I don't know if this is the problem, but these radio receivers are sensitive enough to operate at tens of meters away from the transmitter, it may be interesting to use the antenna with the correct length for the frequency used and keep a distance to have a little of signal attenuation.

Ref.: fs1000a receiver arduino - Google Search

I could not get my transmitter-receiver pairs to work at all without antennas. The antennas are just lengths of wire 17.3 cm or 6.8 inches long soldered to the hole labeled ant. The wire that I used is a straight piece of solid 24 AWG wire.

Compare the photos of transmitters in posts #3 & #4. One has one coil and the other has two. Is there a coil missing on some transmitters?

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