Page 1 of 1
power supply
Posted: Fri Mar 01, 2019 1:01 pm
by simone91
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
Re: power supply
Posted: Sun Mar 03, 2019 9:17 am
by ESP_Sprite
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
Posted: Mon Mar 04, 2019 12:20 pm
by simone91
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?
Re: power supply
Posted: Mon Mar 04, 2019 3:35 pm
by ESP_Sprite
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
Posted: Mon Mar 04, 2019 8:52 pm
by simone91
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
Re: power supply
Posted: Tue Mar 05, 2019 11:46 am
by ESP_Sprite
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
Posted: Wed Mar 06, 2019 12:39 pm
by simone91
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?
Re: power supply
Posted: Fri Mar 08, 2019 8:40 am
by ESP_Sprite
It's a hardware thing, so your sketch shouldn't need any change.