Esp Easy and Wemos Motor Shield

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
TungstenE2
Normal user
Posts: 123
Joined: 03 Apr 2018, 21:46

Re: Esp Easy and Wemos Motor Shield

#11 Post by TungstenE2 » 22 May 2018, 21:56

Hi all,

I have set up Wemos D1 mini and Motorshield using latest ESPeasy test version.

Setup up according to Plugin48 documentation using Hex 0x30.

https://www.letscontrolit.com/wiki/index.php/Plugin48

https://wiki.wemos.cc/products:d1_mini_ ... hield#pins

When I send HTTP request, I see the command in log, but motor does not turn.

http://192.168.178.66/control?cmd=Motor ... ckward,200

Any advice would be appreciated.

thx

TungstenE2
Normal user
Posts: 123
Joined: 03 Apr 2018, 21:46

Re: Esp Easy and Wemos Motor Shield

#12 Post by TungstenE2 » 24 May 2018, 09:22

There is a fix for the motorshield firmware.
Now the I2C scanner finds the 0x30 device.

https://hackaday.io/project/18439-motor ... rogramming

TungstenE2
Normal user
Posts: 123
Joined: 03 Apr 2018, 21:46

Re: Esp Easy and Wemos Motor Shield

#13 Post by TungstenE2 » 27 May 2018, 20:00

good news. wemos motorshield plugin is under development. stay tuned...

TungstenE2
Normal user
Posts: 123
Joined: 03 Apr 2018, 21:46

Re: Esp Easy and Wemos Motor Shield

#14 Post by TungstenE2 » 10 Jun 2018, 19:50

added new Plugin for Wemos Motorshield P_078 in Testing

https://github.com/letscontrolit/ESPEasy/pull/1492

TungstenE2
Normal user
Posts: 123
Joined: 03 Apr 2018, 21:46

Re: Esp Easy and Wemos Motor Shield

#15 Post by TungstenE2 » 29 Aug 2018, 15:13

Wemos Motor Shield Plugin is now in official mega release!

See wiki:
https://www.letscontrolit.com/wiki/inde ... otorshield

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Esp Easy and Wemos Motor Shield

#16 Post by grovkillen » 29 Aug 2018, 15:42

Please move the rules example to the rules tutorial page :)
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

aussieatlarge
New user
Posts: 7
Joined: 25 Aug 2017, 03:35

Re: Esp Easy and Wemos Motor Shield

#17 Post by aussieatlarge » 31 Oct 2018, 12:51

I can confirm that the "new" boards (or might be boards purchased from Wemos Aliexpress store) work without flash.
Well kinda. They work just fine with example Arduino sketches.
However, I cannot get them to work with ESPEASY.
WemosMotorShieldCMD, 0, Forward, 30 does nothing. Not even cause the command script to popup like it does whith gpio, 14, 1
Am I missing something?

TungstenE2
Normal user
Posts: 123
Joined: 03 Apr 2018, 21:46

Re: Esp Easy and Wemos Motor Shield

#18 Post by TungstenE2 » 31 Oct 2018, 13:39

did you flash ESPeasy testing version? Only in testing version the plugin is included.

just follow the wiki.

https://www.letscontrolit.com/wiki/inde ... otorshield

aussieatlarge
New user
Posts: 7
Joined: 25 Aug 2017, 03:35

Re: Esp Easy and Wemos Motor Shield

#19 Post by aussieatlarge » 31 Oct 2018, 14:12

Tungsten
I followed the wiki.
I even flashed an old driver board - the difference between the "new" board and the flashed board is that the new board shows in an I2C search.
When I send the command http://192.168.1.178/control?cmd=WemosM ... Forward,99
i see this in the log WemosMotor: Motor = 1 Direction = forward Speed = 99
motor is connected to B1 B2
power is connected to motorboard.
board works perfectly with example Arduino code.

the only strange thing is that when I create the device I get the error at the top of the screen
Invalid character in names. Do not use ',#[]' or space

Please help. I know I am close. version mega-20181031 dev

TungstenE2
Normal user
Posts: 123
Joined: 03 Apr 2018, 21:46

Re: Esp Easy and Wemos Motor Shield

#20 Post by TungstenE2 » 31 Oct 2018, 14:46

can you post error message?

I am using ESP_Easy_mega-20180927_test_ESP8266_4096.bin

And I use A1, A2:
WemosMotorShieldCMD 0 Forward 30

Device Name: WemosDCMotor

trs
New user
Posts: 3
Joined: 15 May 2017, 13:02

Re: Esp Easy and Wemos Motor Shield

#21 Post by trs » 31 Aug 2019, 18:53

Hi,

There is a 2.0.0 version of the Wemos Motor shield now being sold by Wemos which does not work with ESPEasy.

Image

I guess that’s the Problem aussieatlarge was facing too. It is not possible to flash the motor shield as described, maybe because there is no rts pin anymore that could be connected to 3V?

Has anybody successfully used a Wemos motor shield v2.0.0 with espeasy?

Stefan

trs
New user
Posts: 3
Joined: 15 May 2017, 13:02

Re: Esp Easy and Wemos Motor Shield

#22 Post by trs » 31 Aug 2019, 19:10

Additional info:

Wemos points to a different arduino library for the 2.0.0 shield. And it seems they changed names from Wemos to Lolin.

Wemos motor shield 1.0.0 >>>
https://github.com/wemos/WEMOS_Motor_Sh ... master/src

Wemos Motor shield 2.0.0 >>>
https://github.com/wemos/LOLIN_I2C_MOTO ... master/src

TungstenE2
Normal user
Posts: 123
Joined: 03 Apr 2018, 21:46

Re: Esp Easy and Wemos Motor Shield

#23 Post by TungstenE2 » 07 Nov 2019, 13:17

sorry, I can not support on V2 version, but V1 version is still available and should work.

https://de.aliexpress.com/item/32920107053.html

Post Reply

Who is online

Users browsing this forum: No registered users and 80 guests