Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Potentiometer with Microcontroller

Status
Not open for further replies.

vilfred

Member level 1
Joined
Mar 21, 2018
Messages
37
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
368
Hi,
If my microcontroller's operating voltage is +3.3V, Is it possible to connect +6V operating potentiometer's wiper pin to microcontroller's ADC input?
Or Is it possible to use external +6V operating ADC IC with +3.3V operating microcontroller?
 

Why not use a simple resistive divider along with the potentiometer ?
Thus you are able to limit the maximum value of the input voltage in the ADC.
 

No you cannot directly that is through pot feed 6V to a 3.3V MCUs analog input pin because it will damage the ADC module.

You can use a voltage divider and make necessary conversion in the code. A 2x 5k resistor will divide the voltage into 3V and 3V. So, you can use one 5k resistor at top and a 5k pot at bottom in the voltage divider and connect the POT wiper to ADC input pin.
 

.. well, actually you can wire it with 6V at the top of the wiper as long as the voltage from the wiper is never allowed to go higher than the MCU supply voltage. If it goes higher the ADC input will fry.

The easiest way to prevent it happening is to use a single resistor from the top of the potentiometer to the 6V supply but as you haven't told us what value the potentiometer is, we can't advise on the value to use. To halve the voltage you probably want one with the same resistance as the potentiometer track. For example if you potentiometer is 10K, add a fixed 10K between the track and the 6V line.

Yes, you can also use an external ADC device that can directly measure 6V but then you have to check you haven't moved the problem to one of logic levels differences between the MCU and ADC.

Brian.
 

Thanks for all the replies, I'm going to use MU-615A potentiometer which is 700 (+-200) ohms .
 

What is your application Vilfred?
That value is quite low and if you only want to vary a voltage for measurement it will waste quite a lot of power.

Brian.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top