- Sun Mar 10, 2019 2:51 pm
#81019
rudy wrote:You have not said anything about the electrical connections or the programming that you have tried.
That’s right! I apologize for this, I was very confused, not knowing what to start from. More of this, the pins on my MCU are really meshed. D0 on MCU corresponds to programmable D2, D1 – D3, D2 – D4, D5 – D5, D6 – D6, D7 – D7, D8 – D10. These pins was experimentally detected.
Right now I have a 18650 battery, a NodeMCU D1 mini, a DRV8833 and a motor connected all together to a breadboard. No resistors, capacitors, just the modules and the wires. Is that ok? Or is the 3.7V from the 18650 cell too great for the ESP? And if I put an ESP-12 without MCU, won't it get burned?
I uploaded a sketch that is endlessly sending signals to DRV8833 so the last rotates the motor in both directions. This is a great step for me today in programming an ESP!
So, I have a scheme that theoretically could be used to open and close the window’s blind, being powered by a 18650 cell, I have also a scheme that can charge the 18650 cell from sun light by using a TP4056 module and a solar cell that generates up to 5V 0.5W.
Thanks for your interest, I’ll keep you informed.