Tawhiz20 wrote:gerardwr wrote:In earlier releases this did not work for me either. Today I installed the latest Stable ESP8266-Arduino and now the example ReceiveDemo_simple works.
I am working with 1.6.6 but I can't get it to work... an attached led (to the receiver) lights up (about the same as the led from the remote control) but the program does not signal anything (but a lot of warnings during compilation).
I attached my receiver(5v) with a voltage divider to IO2 and changed the code to "attachinterrupt(2.."
Can you post your code?
THNX
The ONLY change I made to the example was the change re. the use of GPIO2 -> mySwitch.enableReceive(2);
Yes, when compiling many warnings are reported, but the sketch runs OK.
I tested another 433 Mhz library that works for me too, see here: http://www.esp8266.com/viewtopic.php?f=13&t=2507&p=24246&hilit=433#p24246
I am using:
- Arduino 1.6.4 on Mac OSX
- Stable release dated July 23 2015 (see pic below)
- ESP-01 powered by 5V (not allowed, but works for me)
- 433Mhz receiver powered by 5V, dataline connected to ESP-GPIO2