arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
22.12k stars 4.79k forks source link

Only 1 gpio works with my IR receiver on wemos d1 mini #2918

Closed gymolnargabor closed 6 years ago

gymolnargabor commented 6 years ago

Hi all,

I have problems with connecting more than 1 sensors to my Wemos D1 mini. I have tried with several sensors, first with an IR reciever. I have configured all the GPIOs to IRrecv, but the device only works with the GPIO2, the others did not receive any signals (same receiver, I have just moved the out pin). Then I took my BH1750 sensor, I did the same thing, I have set all the GPIOs to SCL and SDA (always next to eash other), and it was working only on the GPIO2-GPIO0 combo. I have flashed the wemos with the newest devlopment firmware over arduino IDE, and I have only changed the wifi settings and enabled the analog input. And I changed to 18 Generic module type. What did I do wrong? How can I use this 2 sensors together?

arendst commented 6 years ago

If you know that only one of each type is supported AND that the software scans the gpios from 0 up you then understand why only the first detected gpios are found and used.

Solution: make your mind up and select only 1 gpio fir irreceive and select 2 other gpios for scl/sda.

gymolnargabor commented 6 years ago

ok, i did not know that. thank you!