
09-02-2004, 22:28
|
![Dale(294engr]'s Avatar](image.php?u=6226&dateline=1080869218) |
Mentor/Sponsor since '98
 FRC #0294 (Beach Cities Robotics)
Team Role: Engineer
|
|
Join Date: Jan 2004
Rookie Year: 1998
Location: Redondo Beach, CA
Posts: 92
|
|
|
Re: Current Sensor
Quote:
|
Originally Posted by WillyC
Look here at the current sensor document from the usfirst.org website.
Wire the sensor up to a PWM cable and plug it into one of the analog inputs on the FRC.
The current sensor gives an analog output voltage between 0 and 5 volts. The output voltage corresponds linearly to the current measured, with 0 volts = -75 amps, 2.5 volts = 0 amps, and 5 volts = 75 amps. Look at the graphs in the documentation I've attached for more info on the voltage vs. current characteristics. Use your program to read the analog voltage, then calculate the corresponding current using these characteristics (we just use a linear y = mx+b calculation).
If you need help getting your software to read the analog value, look at the 2004 Programming Reference Guide available here.
Hope this helps! Good luck, and let me know if you need any more help.
|
ACS NOTE RANGE:
1Vout = -75A
2.5Vout = 0A
4Vout = 75A
(0V ~-100A, 5V ~+100A, not guaranteed linear)
see my replies posted elsewhere
|