7 years, 4 months ago.

5V Analog Input Over SPI

Hi. I'm working a project that read a sensor value from adc. But sensor supply voltage 8-12VDC and output is 0.5-4.5VDC. I know that LPC1768 ADC input can read to 3.3VDC. For that reason i want to connect sensor output to MCP3201 ADC IC and communicate with SPI. Or simple voltage divider circuit. What is your offers?

Hi Bora,

Thanks for your question, can you clarify a couple of things:

  • 1) What is the sensor you are trying to use?
  • 2) I understand its supply voltage is 8-12VDC, what are the logic level voltages?

Regards,

Andrea, team mbed

posted by Andrea Corrado 19 Dec 2016

hi. thanks for your response. 1) I m using inclinometer sensor. 2) -90 degree 0.5V output and +90 degree 4.5V output.

posted by Bora SAYINER 19 Dec 2016

Hi,

Probably the best way to do this if the scale is linear is to use a voltage divider :)

posted by Andrea Corrado 20 Dec 2016
Be the first to answer this question.