Sunday, 28 June 2015

microcontroller - Converting 0 to 24V analog signal to 0 to 5V for ADC input?


I'm using ATMEGA16U4 microcontroller and want to Convert the 0 to 24V analog signal to 0 to 5V for ADC input.


I read this


How to read high voltages on microcontroller?



How to Convert 0 to 10V analog signal to 0 to 2.5V for ADC input?


ADC input impedance on MCUs


and I'm using R1 =4.7K ohm and R2=1.2 Kohm which makes my output impedance R1||R2= 0.95Kohm which satisfies my ADC output impedance of approximately 10 kΩ or less( as mentioned in the datasheet of ATMEGA16U4 datasheet).


Am I right or do I need to change them?




No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...