Power needed
-
Is there any way to get the 5V connecter to supply power to a motion sensor using the M5Stamp?
-
@leaguen You can solder a grove connector to the side of the Stamp and get Gnd, 5V, and two GPIO that can be used for I2C sensors.
-
@teastain Thanks can I solder directly to the 5v connector at the bottom of the stamp or do I need the groove connector for that?
-
@leaguen What stamp? Do you mean the USB?
-
@teastain No, the pico mini
-
@leaguen You can solder directly to the Stamp Pico or install a Grove connector, I think it came with one?
-
@teastain Got it, I soldered a lead to the 5V connector in the picture, but it wasn't supplying power, so I thought the bottom one would be no different. Also I bought mine in a pack of 5 so it does not come with one.
-
@leaguen OK! Curious thing about the Stamp pico is that 3.3V in from the programmer device is all that is available at the ""5V"" pins!
There is no Boost regulator on this one.
-
@teastain gotcha, so I need to find another way to power the sensor.
-
@leaguen How do you power the Stamp now? If you input 5V to either 5V pin, the Stamp will get 3.3V and the other pin will be 5V.
The Docs are here:
https://docs.m5stack.com/en/core/stamp_pico
What sensor needs 5V? (just curious as I am almost exclusively 3.3V now) -
@teastain I have it powered off of the 3v3 connector, and its an IR sensor to detect motion. operation voltage of 5V-20V.
-
@leaguen Great, so you are supplying it with 3.3V.
If you supply 5V through the 5V connector on the left side, 5V will also be at the bottom 'Grove' connector...and the 5V will be stepped down to 3.3 for the Stamp ESP32 ckt...and 3.3 will be available at the 3.3v pin on the other side.
Win-win.
Do you have a part number for the IR sensor?
I would like to check it out, maybe runs on 3.3V? (Despite the rating) -
@teastain Gotcha so If I give 5v to the 5V connecter the bottom 5v connecter will output 5V (I am rereading this and god I hope you understand that.) and the ir sensor is a HC-SR501
-
@leaguen said in Power needed:
The HC-SR501 is an old Arduino era sensor designed for 5V. Many people use it with an ESP32 3.3V with success.
But yeah, putting 5V to either 5V pin will power the ESP32 @ 3.3V and 3.3V will appear at the side 3.3V pin. And 5V will appear on the Grove 5V pin.
Very clever design. -
@teastain Today I will try connecting up the 5V piece to it . Thanks for the help