On the original Ringo1 robot (the one with the ribbon cable to the programmer) you need to set Source_Select to HIGH, otherwise it is going to read the voltage of the motor capacitors (which after we actually made the robots we realized we didn't need because it is generally stable). This Source_Select is the same line that selects between the ambient light sensors and the bottom light sensors - so just set the robot to read the ambient sensors, then you can read the ADC on this channel (ADC0) to read the battery voltage.
On the Ringo2 robot, we got rid of the source select for the battery/motor. It now always reads the battery, so there's no need to care what the Source_Select is set to, since we don't need the Motor_Cap reading for anything.
Let me know if that helps.
Thanks,
-KevinStatistics: Posted by Kevin — Tue Oct 02, 2018 9:19 pm
]]>