-->
Page 3 of 3

Re: Problems powering Wemos D1 mini through 5v pin.

PostPosted: Tue Mar 13, 2018 3:55 am
by moose4621
lethe wrote:The way you connected D4 it will short to ground, you need to switch it around.

Doh! It was late. I was tired. I was drunk. (I wasn't drunk but I should have been). :lol:

Thanks for the recomendation on the buck but as Rudy has already pointed out, it needs to be 24v system tolerant. 28v is a bit too low.

Re: Problems powering Wemos D1 mini through 5v pin.

PostPosted: Tue Mar 13, 2018 6:21 am
by moose4621
rudy wrote: Schottky diodes are great but they have a lower reverse breakdown voltage. I use a general purpose silicon diode. A transorb/transil is great but you want to have some impedance between it and the electrical system. A "polyswitch" resettable fuse is worth looking at. You can't clamp the electrical system, you just need to prevent spikes and surges from getting into your electronics.


I have selected a 60v 1.5 amp (750mah cont) resettable fuse. I measured less than 200 mah so I am assuming this device is suitable.

rudy wrote:I also try and include a series inductor to keep high frequency transients out. Basically you want to pass nominal dc voltages and block what you can and then clamp what you couldn't block.

I have no idea how to select a suitable inductor. Do I select a current just above the maximum expected? How do I calculate the inductance?

rudy wrote:In one of my designs I included a higher voltage transistor in series with the circuit. Normally it is on and passes power to the voltage regulator. But if the voltage gets above 20 volts it turns off and keeps the regulator from seeing that surge.

Hmmm. That's a great idea.

rudy wrote:You need to protect the stepper driver as well.

The 5v side of the stepper is supplied via this same power supply circuit.
The stepper motor power side is supplied via a buck booster to 40vdc.
The stepper is a nema34 drawing 5A per phase. The driver drives to 48vdc at 5 amps but it is limited to 4.5 amp.

Heading off on a tangent here. I was browsing buck converter chips and came across a LT1766-5 5.5V to 60V 1.5A, 200kHz
Step-Down Switching Regulator with a 5v fixed output suitable for automotive use. What I found really interesting is the relatively simple circuit shown under the "typical application" heading in the linked data sheet. It seems almost simple enough for me to do. ;) Is this the type of thing you had in mind? And could this one be suitable?

Thanks so much for your input. A great help. 8-)

Re: Problems powering Wemos D1 mini through 5v pin.

PostPosted: Tue Mar 27, 2018 1:16 am
by moose4621
After a couple of prototypes and more than a few problems later, I have come up with a design which seems to work OK. It still uses a 7805CV regulator for power but my next step is to upgrade to a buck converter as Rudy and others have suggested.

It will use a TL2575-05 voltage converter for the power supply.
I have also added a level converter on the step line as I found without it the stepper driver was missing a lot of steps. ie, the steps were there but not being recognised by the driver. This turned out to be the cause of most of my problems when switching from usb to 5v pin power and I am still unsure why. :?

I stumbled upon this great cloud based electronic drawing package, easyeda.com. I have had a very high success rate with finding the components I want on file first time which is way better than my experience with Fritzing and Eagle. It is hosted by a board manufacturer and is super easy to use. I guess everyone has their favourites and this is now mine. :D
On that note, I have attached an image of the schematic for my latest circuit and the BOM is also attached. I am hoping that someone with nothing better to do, ;) can cast an eye over it and pick any faults before it goes to manufacture. A BIG ask I know but I have no-one local to call on.

Thanks to Rudy and everyone else for their help.

Schematic_seeder-controller_Sheet-1_20180327154252.png

Re: Problems powering Wemos D1 mini through 5v pin.

PostPosted: Mon Jan 04, 2021 4:26 pm
by Mane Mole
Did the 7805CV regulator can be exchange with zener diode voltage regulator ( https://911electronic.com/zener-diode/) classical ?