I wanted to ask
you how you can convert an analog signal to digital with arduino in a voltage range different to 0 -5 V , for example, from 46 V to 54 Volt
result:
if Vin <46 V result 0
if Vin >54 V result 1024
TK
I wanted to ask
you how you can convert an analog signal to digital with arduino in a voltage range different to 0 -5 V , for example, from 46 V to 54 Volt
result:
if Vin <46 V result 0
if Vin >54 V result 1024
TK
mikelin:
you how you can convert an analog signal to digital with arduino in a voltage range different to 0 -5 V , for example, from 46 V to 54 Voltresult:
if Vin <46 V result 0
if Vin >54 V result 1024
Can be done the complicated way with a voltage shifter circuit with opamps.
Or the easy way, with a higher resolution external A/D.
A 16-bit ADS1115 with a simple 2-resistor voltage divider could return more than 1024 values in that voltage range.
Leo..