Coder Social home page Coder Social logo

Comments (7)

ramboza avatar ramboza commented on June 20, 2024

How to solve it ?!

from motor_shield_firmware.

eddie4 avatar eddie4 commented on June 20, 2024

I didn't I switched to another shield

from motor_shield_firmware.

fabianoriccardi avatar fabianoriccardi commented on June 20, 2024

I think there are problem about the fixed packet length. This code seems to wait 4 bytes to continue...
I tried a simple i2c scanner for arduino, and after the first (successfull) scan, the module starts to mess up the entire I2C bus... and of course it can't be reached until reset!

from motor_shield_firmware.

TungstenE2 avatar TungstenE2 commented on June 20, 2024

There is a new motor_shield.bin available which fixed I2C issue.

See espeasy plugin wiki.

https://www.letscontrolit.com/wiki/index.php?title=WemosMotorshield

Download the motor_shield.bin:

https://cdn.hackaday.io/files/18439788894176/motor_shield.bin

or

https://github.com/pbugalski/wemos_motor_shield

Download STM32Flash from here https://sourceforge.net/projects/stm32flash/files/

Extract and put the above files into a directory

Plug in your USB serial device and make a note of the COM port it uses

Those of you who want to do this using Window's 8/10:

Window Command Prompt cd to the directory

  1. 'stm32flash.exe COM9' replace COM9 with your COM port number

  2. 'stm32flash.exe -k COM9' This will unlock your shield

  3. 'stm32flash.exe -f -v -w motor_shield.bin COM9' This will flash the bin and re-lock the shield.

WemosMotorshield03.PNG

Then disconnect all the wires (including the RTS pin), connect the shield to your ESP device (eg. WeMos D1 Mini), and it should work.

see also: https://hackaday.io/project/18439-motor-shield-reprogramming

from motor_shield_firmware.

mortlind avatar mortlind commented on June 20, 2024

@TungstenE2 When I have flashed the new firmware, do I then need to desolder any of the I2C and the RST pads?

from motor_shield_firmware.

TungstenE2 avatar TungstenE2 commented on June 20, 2024

@TungstenE2 When I have flashed the new firmware, do I then need to desolder any of the I2C and the RST pads?

the was no need for soldering in may case, as far as I remember

from motor_shield_firmware.

mortlind avatar mortlind commented on June 20, 2024

@TungstenE2 So you never soldered any of the pads underneath?

from motor_shield_firmware.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.