Chat freely about anything...

User avatar
By MeMagic
#81009 Gents
I'm a completely noob in matter of using ESP-12 and Arduino as well. I had succeeded with some entry-level sketches for Arduino. That's all for the moment.
Nevertheless, I'm hardly trying to make a project start. What I'm going to build is an autonomous module for window blind control. I have a D1 Mini NodeMCU and a DRV8833 module. Right now I'm trying to send some signals to the DRV8833 with no much success.
Is there anybody that would give me an advice what is the better way to control the driver via ESP-12?
Thanks in advance
User avatar
By rudy
#81018
MeMagic wrote: I have a D1 Mini NodeMCU and a DRV8833 module. Right now I'm trying to send some signals to the DRV8833 with no much success.
Is there anybody that would give me an advice what is the better way to control the driver via ESP-12?

Better than what? :? You have not said anything about the electrical connections or the programming that you have tried.
User avatar
By MeMagic
#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.
User avatar
By Bonzo
#81020
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.


I have similar setup and my solar 5V panel can output 6V+ on a sunny day. When I built my setup I read the specs for my charging board and they said the maximum input was 5V. Looking at the TP4056 chip data sheet it said up to 8V; but I suppose there is something else on the board that could get damaged if the voltage is to high. To be safe I use a linear regulator to regulate the voltage to 5V.