Replies: 2 comments 4 replies
-
That would be a question for the hardware designer. There are many versions of the D1 Mini, from the originals by wemos down to a near infinite number of much lower quality clones. I'm surprised that you're able to get GPS data via the onboard micro-USB port. It's not a USB host, and the USB-to-UART chip on the D1 mini can't pretend to be a USB host. The D1 Mini Lite schematic shows a diode between the USB power line and the +5V terminal to explicitly prevent the kind of backfeed you want. |
Beta Was this translation helpful? Give feedback.
-
The D1 Mini board has a built-in 5V to 3.3V voltage regulator that supplies power to the ESP8266 module and other components on the board. The VIN pin is the input to this voltage regulator, and it can accept an input voltage range of about 4.5V to 9V. The 5V pin on the board is the regulated output from the voltage regulator, providing a stable 5V output. If you want to power external devices, like your USB GPS 'mouse', you should not try to draw power directly from the USB connector. Instead, you should connect the 5V output from the D1 Mini (the 5V pin on the board) to the power input of your GPS device. Make sure to check the power requirements of your GPS device to ensure it is within the acceptable range of the D1 Mini's voltage regulator. Here's how you can connect the GPS device to the D1 Mini: Connect the 5V pin (output) on the D1 Mini board to the 5V power input of your USB GPS 'mouse'. Here is a D1 mini based PCB. It uses SN74LVC2T45DCUR level shifter. The board supports 5-12V input. It has jumper wires to match the input voltage. https://www.pcbway.com/project/shareproject/WeMos_D1_mini_WLED_Controller_5_12V_2d4e882a.html |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using a D1 Mini [ ESP-8266-12F micro-USB port ] with a USB GPS ‘mouse’ plugged into the on-board USB port. I have software loaded to send the GPS serial data via Wi-Fi to an MQTT Broker for use with Node-Red.
5 volt power is applied to the D1 via the 5v and GND pins and I was hoping that the 5 volts would feed back to the USB connector to power the GPS unit which takes 85mA at 5 volts. However, it didn’t like it!
Is the 5 volt pin on the main board connected directly to the 5v pin on the USB connector ?
Any guidance will be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions