|
Re: Programming Bulletin 873M Ultrasonic Analog Sensor
Quote:
Originally Posted by efoote868
Need to give it 15-30VDC, and the output will be analog, from 0-10V DC. Since the roborio's analog in looks like it only supports 0-5V, you'll need to attenuate the voltage (figure out a way to safely scale the 0-10V to 0-5V) otherwise you'll risk frying the analog in ports.
|
You could create a voltage divider using a few resistors.
Here's an article: https://learn.sparkfun.com/tutorials/voltage-dividers
__________________
1257 Parallel Universe: 2014 - 2017 Seasons
2017: Vice President, Control Systems Captain, Drive Coach
2016: Control Systems Captain, Operator. MAR District Championship Winner, MAR Mt. Olive Event Winner, MAR Bridgewater-Raritan Event Finalist
2015: Control Systems, Operator. MAR North Brunswick Event Finalist
2014: Programming/Electronics Apprentice. MAR Clifton Event Winner
Last edited by arichman1257 : 21-01-2017 at 00:01.
|