by Humanoido » Sat Mar 01, 2008 8:49 am
by Humanoido
Sat Mar 01, 2008 8:49 am
Robonova has the ability to read voltages using the analog port. The best example of this is the battery circuit which is placed across one of the analog ports, such as AD (6).
There are many references to this circuit and software - in the Robonova manual, in RoboSavvy forum posts, and good web sites such as this one:
http://www.bipedrobots.co.uk/rnindex.aspx?id=300
The port handles between 0 and 5 volts, using the circuit as seen in the example above. To handle a negative voltage, a different circuit is required. The software is straightforward, such as:
A = AD(6)
IF A = 148 THEN .... ' specify a given voltage
The value of 148 can be calibrated to represent a specific voltage.
humanoido
Robonova has the ability to read voltages using the analog port. The best example of this is the battery circuit which is placed across one of the analog ports, such as AD (6).
There are many references to this circuit and software - in the Robonova manual, in RoboSavvy forum posts, and good web sites such as this one:
http://www.bipedrobots.co.uk/rnindex.aspx?id=300
The port handles between 0 and 5 volts, using the circuit as seen in the example above. To handle a negative voltage, a different circuit is required. The software is straightforward, such as:
A = AD(6)
IF A = 148 THEN .... ' specify a given voltage
The value of 148 can be calibrated to represent a specific voltage.
humanoido