Thanks: 0
Likes: 0
Needs Pictures: 0
Picture(s) thanks: 0
Results 1 to 10 of 10
Thread: Esp8266 thingy power supply
-
11th September 2020, 09:01 AM #1SENIOR MEMBER
- Join Date
- Oct 2015
- Location
- Ringwood, VIC
- Posts
- 575
Esp8266 thingy power supply
Anyone play with esp8266/nodemcu board?
I've encountered something odd.
If I power using a plug pack into the usb port, it starts fine when I turn the GPO on.
If I connect the same plug pack to the Vin pin, on power up it hangs. Reset sorts everything out, but this is is is supposed to be a permanently on device.
Ive decided to power through usb for now, but I don't really like micro usb for permanent connection.
USB and Vin are I thought the same point apart from a diode to isolate.
Anyone encountered anything Iike this?
-
11th September 2020 09:01 AM # ADSGoogle Adsense Advertisement
- Join Date
- Always
- Location
- Advertising world
- Posts
- Many
-
11th September 2020, 09:42 AM #2GOLD MEMBER
- Join Date
- Mar 2018
- Location
- Sydney
- Posts
- 1,166
are you talking about a plug pack that is meant to be a USB device charger, and of what age? When you described your symptom I first suspected that the battery detection in the charger is getting in the road here. I haven't looked in detail at the power output from a "smarter" charger versus an old tech 5v power pack but suspect that you're probably affected by noise. Any way you can smooth it with a cap?
-
11th September 2020, 09:56 AM #3Senior Member
- Join Date
- Nov 2016
- Location
- USA, Indiana, West Lafayette
- Posts
- 188
I've been using the nodemcu for quite while now but have never tried to power it from the 5V pin (pin 1). The schematic shows USB 5V connected to pin 1 so it seems like it should work. I've recently switched to the D1 Mini for the smaller form factor but I can dig out a nodemcu tomorrow and give it a try.
Dave
-
11th September 2020, 02:02 PM #4SENIOR MEMBER
- Join Date
- Oct 2015
- Location
- Ringwood, VIC
- Posts
- 575
in both cases, i used the same plug pack. connecting via the usb port (just power pins) works, and the device boots fine on powerup.
connecting via the Vin pin, it just sits there until i push the reset button.
if i connect an already-powered plug pack, it also boots up fine. I suspect therefore that the issue is the rise time on the power supply, but i dont understand why connecting via usb works and via Vin doesnt. my reading of the circuit is the only difference is a schottky diode to prevent back feeding usb port if vin is being used.
they both feed the onboard 3.3v regulator. so the MCU itself should only see a clean supply.
i didnt actually try a smoothing cap, i guess i could. i also used another plug pack, 9v, as the regulator is specified to 15 volts, but same outcome. hangs until reset button is pressed.
would appreciate if you could try please dmorse.
-
11th September 2020, 08:33 PM #5Senior Member
- Join Date
- Nov 2016
- Location
- USA, Indiana, West Lafayette
- Posts
- 188
I just tried it. It boots up with no problem. I added a 10uf capacitor across the pins to slow the rise time a bit (breadboard with several jumpers so enough resistance) and it still works.
It's still setup so let me know if there's anything else you want me to try.Dave
-
11th September 2020, 08:50 PM #6Senior Member
- Join Date
- Nov 2016
- Location
- USA, Indiana, West Lafayette
- Posts
- 188
-
12th September 2020, 08:55 PM #7SENIOR MEMBER
- Join Date
- Oct 2015
- Location
- Ringwood, VIC
- Posts
- 575
According to
Schematics for ESP-12E DevKit | User Manual for ESP-12E DevKit
There is a schottky diode between Vusb and Vin.
But either way, what ever works on one ought to be fine on the other.
I guess I could try a series diode on the Vin pin.
Actually that would prevent very low voltage being applied to the regulator.
Worth a try I guess.
-
13th September 2020, 08:14 AM #8Senior Member
- Join Date
- Nov 2016
- Location
- USA, Indiana, West Lafayette
- Posts
- 188
Ok, sorry, I didn't realize you were using the development kit and not a nodemcu. That schematic is different.
Dave
-
13th September 2020, 09:07 PM #9SENIOR MEMBER
- Join Date
- Oct 2015
- Location
- Ringwood, VIC
- Posts
- 575
Well, to be honest it's all a bit confusing.
I have read the software is nodemcu and it runs on a Devkit, of which there are apparently 3 versions. The first doesnt fit on a breadboard, and the 3rd is too big for a breadboard. Although I saw some on AliExpress for 5c each (yes, 20 for $1).
I believe I have v2. 0. And I think the circuit is for v2.
20200913_201242.jpg
Keeps me thinking I guess!
-
13th September 2020, 10:33 PM #10GOLD MEMBER
- Join Date
- Mar 2018
- Location
- Sydney
- Posts
- 1,166
just remember that these things are mass produced by the thousands of manufacturers.... there's no actual standard here, no guarantee that you'll get one particular "configuration" from the same manufacturer when you buy in two batches as they'll often make multiple PCBs for different components they have "excess" or were cheap. For example, I have never seen (in the flesh) a nodemcu with that particular IC near the USB, all mine have had tiny QFPs doing that role (I think it's the USB-serial chip)
Similar Threads
-
Power supply help
By Lappy in forum CNC MachinesReplies: 8Last Post: 2nd August 2012, 11:21 AM -
CTJ 680 on 10amp power supply
By SpiritLevel in forum JOINTERS, MOULDERS, THICKNESSERS, ETCReplies: 5Last Post: 10th November 2008, 12:49 PM -
power supply
By tleah in forum CNC MachinesReplies: 11Last Post: 1st November 2008, 02:38 PM -
Power Supply Wanted......
By Landseka in forum NOTHING AT ALL TO DO WITH WOODWORKReplies: 3Last Post: 1st June 2006, 01:16 PM