Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LOLIN (WEMOS) D1 mini I2C Dual Motor Driver TB6612FNG #9818

Closed
Brackbouille opened this issue Nov 12, 2020 · 5 comments
Closed

LOLIN (WEMOS) D1 mini I2C Dual Motor Driver TB6612FNG #9818

Brackbouille opened this issue Nov 12, 2020 · 5 comments
Labels
duplicated Result - Duplicated Issue

Comments

@Brackbouille
Copy link

Brackbouille commented Nov 12, 2020

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

Hello, I checked the docs, this is not available, but a request was opened
#7719

This was for an old version, A new and actual version is available

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
No
Describe the solution you'd like
A clear and concise description of what you want to happen.

I would love to have i2c support in tasmota for WeMos D1 Mini motor shield, this is a missed in the i2c list

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.

Product link

https://www.aliexpress.com/i/32700182142.html

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

@ascillato
Copy link
Contributor

ascillato commented Nov 12, 2020

Hi,

A motor shield for Wemos is already supported. Please, check if the driver added in #7764 works for you. Thanks.

@ascillato2 ascillato2 added the duplicated Result - Duplicated Issue label Nov 12, 2020
@dcast78
Copy link

dcast78 commented Jan 29, 2021

The code of the old version V1(https://github.com/wemos/WEMOS_Motor_Shield_Arduino_Library) and the new version (https://github.com/wemos/LOLIN_I2C_MOTOR_Library) are very different.

The driver added in #7764 is not working with new version.

Please add a support for new version.

Thanks

@ascillato
Copy link
Contributor

Please, use the libraries already included in Tasmota that are tuned to use less RAM and FLASH. Thanks.

@Brackbouille
Copy link
Author

Hi Ascillato

I bought the lollin V2 motor drivers but i can't make it work with tasmota.

I took the correct bin (sensors), configure SDA and SCL.
I can detect the motor drivers at 0x30 with I2Cscan but how could i use it ?

I really apreciate if you could help me to make it work.

regards

@ascillato
Copy link
Contributor

Hi,

Inside the driver you have a brief usage explanation:

/*********************************************************************************************\
* WEMOS_MOTOR_V1 - DC motor driver shield (6612FNG) v 1.0.0
* WEMOS_MOTOR_V2 - DC motor driver shield (6612FNG) v 2.0.0 (#define WEMOS_MOTOR_V2)
*
* I2C Address: 0x30
*
* Command format:
* driver44 <command>,<motor>,<direction>{,<duty>}
* command:
* RESET - reset a motor shield
* SETMOTOR - set motor state
* motor:
* 0 - motor A
* 1 - motor B
* 2 - both motors (V2 only)
* direction:
* 0 - short break
* 1 - CCW
* 2 - CW
* 3 - stop
* 4 - standby
* duty (optional):
* 0 - 100% (100% by default)
\*********************************************************************************************/

Also, there is a full explanation in the show and tell section of discussions at:

https://github.com/arendst/Tasmota/discussions/categories/show-and-tell?discussions_q=Motor+category%3A%22Show+and+tell%22

If you want to chat with the people that are already using it, please visit the Tasmota Support Chat. The chat is a very dynamic channel for helping you.

Thanks.


Support Information

See Docs for more information.
See Chat for more user experience.
See Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicated Result - Duplicated Issue
Projects
None yet
Development

No branches or pull requests

4 participants