Hi,
I want to connect my Esp 32 to an external power supply like button battery, I also need to connect an encoder to the Esp32.
The problem is the encoder need 5volt of power supply.
Can you recommend the best soluction for me? The important is to use a tiny power supply.
Thanks,
Simone
power supply
-
- Posts: 9724
- Joined: Thu Nov 26, 2015 4:08 am
Re: power supply
What encoder specifically are you using? I mean, in general you could use a boost converter to get the LiIon voltage up to 5V, but it may be easier to look into the exact specs of the rotary encoder and see if something can be done with that, or to use a different one.
Re: power supply
I want to use an encoder like this: https://www.amazon.it/gp/product/B01G78 ... UTF8&psc=1.
Can you recommend an encoder of a form similar to this but that maybe need 3 volt?
Can you recommend an encoder of a form similar to this but that maybe need 3 volt?
-
- Posts: 9724
- Joined: Thu Nov 26, 2015 4:08 am
Re: power supply
That encoder is entirely mechanical; the 5V (/1mA) is the maximum rating they advise you to use. It will have no issues running at 3.3V. (Or any other voltage, as long as it's 5V or less.)
Re: power supply
Ahh ok thank you very much!
Can you help me also for the connect? I see the datasheet but I don't understend where i must connect the power supply and where are the pin for seignal A and signal B
Can you help me also for the connect? I see the datasheet but I don't understend where i must connect the power supply and where are the pin for seignal A and signal B
-
- Posts: 9724
- Joined: Thu Nov 26, 2015 4:08 am
Re: power supply
Look up the datasheet for the part: under 'Dimensions' and 'Sliding noise' it has the pinout and a schematic you can use. Just replace 5VDC with 3.3VDC in your case.
Re: power supply
Thanks!
I have another question: for use te pin Vin for powered the esp32 it' necessary specified in the sketch or i just need power supply on that pin?
I have another question: for use te pin Vin for powered the esp32 it' necessary specified in the sketch or i just need power supply on that pin?
-
- Posts: 9724
- Joined: Thu Nov 26, 2015 4:08 am
Re: power supply
It's a hardware thing, so your sketch shouldn't need any change.
Who is online
Users browsing this forum: mistertransistor and 72 guests