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.05k stars 4.78k forks source link

Wemos D1 mini With Tasmota #2817

Closed Ronniec10 closed 6 years ago

Ronniec10 commented 6 years ago

Make sure these boxes are checked [x] before submitting your issue - Thank you!

(Please, remember to close the issue when the problem has been addressed)

Ronniec10 commented 6 years ago

Hello ,

I flashato a Wemos d1 mini with the software tasmota for sonoff (and 'right?). I managed to flash it correctly and see it properly connected to my network. Now I want to control a relay (powered at 5V) and to do this I set a relay1 on pin D1. If I press the on / off from the tasmota interface the relay does not switch. Can you help me understand why? thank you

RaymondMouthaan commented 6 years ago

Could be handy to provide some more info ...

MatzeJoerling commented 6 years ago

hardly believe that wemos d1 mino can power a relay. it outputs 3,3v with 12mA max . do you have a shield?

why dont you even provide any of the requested information? do you thing we are some sort of clairvoyant ...?

Ronniec10 commented 6 years ago

I have 5v on my d1.

Il gio 24 mag 2018, 20:07 MatzeJoerling notifications@github.com ha scritto:

hardly believe that wemos d1 mino can power a relay. it outputs 3,3v with 12mA max . do you have a shield?

why dont you even provide any of the requested information? do you thing we are some sort of clairvoyant ...?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arendst/Sonoff-Tasmota/issues/2817#issuecomment-391807974, or mute the thread https://github.com/notifications/unsubscribe-auth/AVgNmad-Bxd2UXh78rsSz0R7p1IQUXYHks5t1vbcgaJpZM4UMkPy .

Jason2866 commented 6 years ago

Do you have a driver transistor or ic for the relay? I have 5 volt does say nothing. Describe your setup as exactly as you can. Only with informations someone can help

Ronniec10 commented 6 years ago

ok. i have flashato tasmota sonoff (latest version) on wemos d1 mini using the Arduino ide: sheet: Wemos D1 mini lite flash: 1m no spiffs ipwvariant: 1.4 prebuilt cpu frequency: 80 Mhz upload spreed: 115200 I connected my relay shield between vcc and Gnd 5v of the D1 and I connected the pin in to d5 on which I have programmed from the tasmota relay1 interface. When I press on | off it does not switch the relay. I tried to manually close the pin on the Gnd and rele 'switch What should I say in more?

RaymondMouthaan commented 6 years ago

Do you have a multi-meter to measure the voltage on the d5 pin and see it toggle between 3.3v and 0v, with and without the relay connected? That way you atleast know if the d5 pin reacts to your toggle action.

If you don't have a multi-meter, just try a led to see if you can turn it on or off.

Ronniec10 commented 6 years ago

ok I measured between d1 (I have configured this pin) and gnd, When I press on | Off I get: on: 3.2 and off 0 If I connect my relay it does not switch.

RaymondMouthaan commented 6 years ago

As @MatzeJoerling said, the Wemos doesn't supply enough current to power your relay, you need a driver between it like @Jason2866 said...

MYLE-01 commented 6 years ago

Had the same problem with my wemos then I put the relay on the 3v side and everything work

Ronniec10 commented 6 years ago

Can you explain better? I have already tried to power my 3 v relay but it does not work the same

Il ven 25 mag 2018, 19:37 StePhan McKillen notifications@github.com ha scritto:

Had the same problem with my wemos then I put the relay on the 3v side and everything work

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arendst/Sonoff-Tasmota/issues/2817#issuecomment-392129400, or mute the thread https://github.com/notifications/unsubscribe-auth/AVgNmXBkpqOdvrWPUr6kzkaAvxE7D-nOks5t2EFVgaJpZM4UMkPy .

MYLE-01 commented 6 years ago

D6 relay1 D1 switch1

Ronniec10 commented 6 years ago

???

Il ven 25 mag 2018, 21:30 StePhan McKillen notifications@github.com ha scritto:

D6 relay1 D1 switch1

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arendst/Sonoff-Tasmota/issues/2817#issuecomment-392157954, or mute the thread https://github.com/notifications/unsubscribe-auth/AVgNmR6MtuDdnHXceEvsQUi6ss3SHqDaks5t2FvKgaJpZM4UMkPy .

reloxx13 commented 6 years ago

yeah, what about the button? you need to setup it too on the configuration page

switch1 = relais1 switch2 = relais2 and so on....

so choose the pin where the button is connected (default D1 i guess) and set it on the configuration page

D1/GPIO1 = 09 switch1

ascillato2 commented 6 years ago

Hi,

Seems that your question has been addressed. Closing this issue. Please, reopen if needed. Thanks.