power supply

simone91
Posts: 6
Joined: Fri Mar 01, 2019 12:47 pm

power supply

Postby simone91 » Fri Mar 01, 2019 1:01 pm

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

ESP_Sprite
Posts: 9014
Joined: Thu Nov 26, 2015 4:08 am

Re: power supply

Postby ESP_Sprite » Sun Mar 03, 2019 9:17 am

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.

simone91
Posts: 6
Joined: Fri Mar 01, 2019 12:47 pm

Re: power supply

Postby simone91 » Mon Mar 04, 2019 12:20 pm

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?

ESP_Sprite
Posts: 9014
Joined: Thu Nov 26, 2015 4:08 am

Re: power supply

Postby ESP_Sprite » Mon Mar 04, 2019 3:35 pm

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.)

simone91
Posts: 6
Joined: Fri Mar 01, 2019 12:47 pm

Re: power supply

Postby simone91 » Mon Mar 04, 2019 8:52 pm

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

ESP_Sprite
Posts: 9014
Joined: Thu Nov 26, 2015 4:08 am

Re: power supply

Postby ESP_Sprite » Tue Mar 05, 2019 11:46 am

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.

simone91
Posts: 6
Joined: Fri Mar 01, 2019 12:47 pm

Re: power supply

Postby simone91 » Wed Mar 06, 2019 12:39 pm

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?

ESP_Sprite
Posts: 9014
Joined: Thu Nov 26, 2015 4:08 am

Re: power supply

Postby ESP_Sprite » Fri Mar 08, 2019 8:40 am

It's a hardware thing, so your sketch shouldn't need any change.

Who is online

Users browsing this forum: No registered users and 39 guests