EEVblog Electronics Community Forum
A Free & Open Forum For Electronics Enthusiasts & Professionals
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
This topic
This board
Entire forum
Google
Bing
Home
Help
Search
About us
Links
Login
Register
EEVblog Electronics Community Forum
»
Electronics
»
Beginners
»
ADC on an STM32 and high voltage inputs
« previous
next »
Print
Search
Pages: [
1
]
Go Down
Author
Topic: ADC on an STM32 and high voltage inputs (Read 934 times)
0 Members and 1 Guest are viewing this topic.
roogadget
Contributor
Posts: 27
Country:
ADC on an STM32 and high voltage inputs
«
on:
September 26, 2018, 04:32:17 am »
Hi,
I am designing a sensor device.
The sensor takes in a input voltage between 0 - 12 V. I need to do some magic in the middle to get it into the ADC pin (say >1V low, 2.5 High).
What is the typical way to do this?
Logged
ataradov
Super Contributor
Posts: 11248
Country:
Re: ADC on an STM32 and high voltage inputs
«
Reply #1 on:
September 26, 2018, 04:48:37 am »
Not clear why you don't want to have the lower level to be 0 on the MCU side as well. This way a simple resistor divider may work.
If the signal is fast changing and you want to reduce noise, then opamp to buffer the divided signal before the MCU. This will ensure consistent impedance matching.
Logged
Alex
The following users thanked this post:
roogadget
Print
Search
Pages: [
1
]
Go Up
« previous
next »
Share me
Smf
EEVblog Electronics Community Forum
»
Electronics
»
Beginners
»
ADC on an STM32 and high voltage inputs
There was an error while thanking
Thanking...
EEVblog Main Site
EEVblog on Youtube
EEVblog on Twitter
EEVblog on Facebook
EEVblog on Odysee