5volt analogoutput from sensor MQ7 to analoginput A0 (pin14) teensy 3.2

Status
Not open for further replies.
Hi,
How can i read from the analog output 5volt sensor to get 0-3.3volt for read from pin14-> A0 analoginput on teeensy 3.2 ?
I use the MQ7 sensor αισθητήρας μονοξ&#949.jpg it works in 5volt Vcc and gives analogoutput 0-5volt!

i try to use the Vout=5volt(R2/(R1+R2)) ->5*(330Ω/160Ω+330Ω)=3.36volt
διαιρετης τασης.jpg
this arithmetic type does not work,gives wrong values !



thank you!
 
Status
Not open for further replies.
Back
Top