-->
Page 1 of 1

Re: ESP8266 + 433mhz and RadioHead library

PostPosted: Fri Mar 11, 2022 10:14 am
by Inq720
Without me digging into the library details of the 433 to see what it uses for communicating, i2C, SPI, AT...

Also, not seeing your output... or a schematic or... picture of your wiring and you said NONE of the output is readable. I'll take a flying leap... and start with the most trivial answers...

  • Do you have the same baud rate in the Serial Monitor (9600)?
  • ESPs run so much faster than Arduino, the program can be running full tilt before the Arduino Serial Monitor gets hooked up. Sometimes you won't see what's prints in the setup. Add a long delay(2000); after the Serial.begin(9600); And put in a Serial.println("init Success"); statement Hopefully you'll see it.
  • Have you tried other pins? I see on https://randomnerdtutorials.com/esp8266-pinout-reference-gpios/ and I don't know what your driver pin requirements are. For instance if driver's first parameter pin (16) expects interrupts or PWM, it won't work. NodeMCU 16 doesn't support them. And the chart referenced, doesn't list capability for 10.
  • If you change wiring and code, you also may need to see how your 433 pins are at startup. Say... if the 433 holds a pin high and you put it on pin 15, the ESP8266 will fail to boot. All that is in that reference about half way down.
If none of those WAGs help, please supply some more of those details.

Re: ESP8266 + 433mhz and RadioHead library

PostPosted: Fri Mar 11, 2022 12:17 pm
by AcmeUK
the serial shows all scrambled text

Try 74880. Why? See HERE

Re: ESP8266 + 433mhz and RadioHead library

PostPosted: Fri Mar 11, 2022 12:50 pm
by Inq720
AcmeUK wrote:
the serial shows all scrambled text

Try 74880. Why? See HERE


Thanks AcmeUK,

I remember when I started with these back in 2017 and used 115200, set the Serial Monitor to 115200 and just became oblivious to the first line of garbage. I always thought it was just the price of it not having an Arduino label on it. Just tried this 74880 and got rid of that line. Is there any other advantage with this 74880 or some other detriment to using 115200?