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
21.98k stars 4.77k forks source link

Add support for WeMos D1 Mini motor shield I2C #7719

Closed janlinders closed 4 years ago

janlinders commented 4 years ago

Have you looked for this feature in other issues and in the docs? Yes

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.

Describe the solution you'd like
Would love to see that Tasmota can drive a DC motor via de Wemos D1 Mini Lite/Pro connected with Wemos D1 Mini motor shield on top. The footprint can be kept small and less wiring needed. I2C is now on D1 and D2 of the Wemos D1 Mini.

I2C address can set to : 0x2D, 0x2E, 0x2F or 0x30 (default) on the motor shield D1 = SCL D2 = SDA RST=RST

I would love to help in testing/debugging and extend the Tasmota functionality.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

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

mike2nl commented 4 years ago

@janlinders it would be better you had added the link to the exsisting library ;-) https://github.com/wemos/LOLIN_I2C_MOTOR_Library

And the wiki for more information old wiki: https://wiki.wemos.cc/products:d1_mini_shields:motor_shield new wiki: https://docs.wemos.cc/en/latest/d1_mini_shiled/motor.html

But be aware to ask for a driver wher nobody can get the hardware in the LOLIN/WEMOS shop anymore. Looks like they are gone. https://lolin.nl.aliexpress.com/store/1331105

The motor driver chip is a: TB6612FNG Link to the datasheet: https://toshiba.semicon-storage.com/ap-en/semiconductor/product/motor-driver-ics/brushed-dc-motor-driver-ics/detail.TB6612FNG.html

ascillato2 commented 4 years ago

Closing as this hardware module is deprecated.

If there is a new module, let's reopen this or provide a PR. Thanks.

mike2nl commented 4 years ago

@janlinders @ascillato2 There is the newer version 2.0.0 updated to more stability and layout chaingings.

https://wiki.wemos.cc/products:d1_mini_shields:motor_shield