Go Down

Topic: 5V analog sensor to a 3v3 MKR1000 (Read 232 times) previous topic - next topic

swinch

Should I use a voltage divider circuit with two resistors to drop the analog 0 to 5V signal from a DFrobot SEN0159 CO2 sensor that I intend to connect to an analog pin on my brand spanking new MKR1000 board? I ordered a four channel bi-directional level shifter for the I2C bus connection to the LCD, but it's my understanding these are for digital signals, not analog. Or, am I mistaken?

(schematic of DFrobot's SEN0159:
http://www.dfrobot.com/image/data/SEN0159/CO2%20Sensor%20V1%20SCH.pdf

MorganS

Yes. Use the voltage divider idea.
"The problem is in the code you didn't post."

swinch


Go Up