Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 11 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:
Regards,
Andrea, team mbed
posted by Andrea Corrado 19 Dec 2016hi. 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 2016Hi,
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