Quote:
Originally Posted by wilsonmw04
Let's say someone wanted to test these new controllers. I have access to something that will read the temp. My question is how do I get the current readings off the PDB through the CAN bus? is it as simple as accessing the web based monitor?
|
Can you read the heatsink temperature(s) with the RoboRIO with whatever you have (does it have an analog, I2C, SPI output)? If you can you should be able to get the current and the temperature together and log or display it with some coding.
If I had the RoboRIO laying around on a robot with the necessary accessory this would be a fine way to do it.
In Java:
http://wpilib.screenstepslive.com/s/...ribution-panel
In C++:
http://wpilib.screenstepslive.com/s/...ribution-panel
In LabView (see GetPDPCurrents):
http://www.fightingpi.org/Resources/.../LabVIEW.shtml
For the cRIO in general there's some information on National's site about using the DS18B20.
For I2C temperature measurement one might use this:
https://www.sparkfun.com/products/11931
Never tested any of this temperature reading stuff on the RoboRIO.
This will help with writing the data you collect out:
http://www.chiefdelphi.com/forums/sh....php?p=1437880
If you do manage to test this please do post the results because the scope of work for me to do: it seems to be growing

.