|
A less kludgie kludge?
You can do the same thing with a servo
#1 mount a servo such that 127 PWM value puts the arm just above the reset button on the RC with XXX PWM value pushing the reset button
#2 spring load the arm so that it returns to to the position of 127 when power is cut
#3 when you wish to reset the RC, command XXX to the corresponding PWM output
This has the benefit of not needed a valve, spike and a pneumantic cylinder. It also does not require the associated pumps, etc. The final benefit is that you don't have to worry about an air cylinder punching your RC to death. The servos are load limited by design.
As to why you want to do this, I can think of one possible idea.
Suppose you need to have a completely different set of variables given to your Pbasic program during to different operating modes (for example, autonomous and drive controlled?). If you needed more than 26 different variables (total) you are in trouble.
But... with this robot reset via program control you could set a bit in EEPROM prior to requesting a reset. Upon reset, before executing the command that tells the Master CPU which variables you want, you could read the EEPROM value and then request the right set of data from the Master CPU.
I have never actually run into this problem, but if I did, this method would be a way around the limitation of the current system.
Joe J.
|