Posted by Nate Smith.
Other on team #66, GM Powertrain/Willow Run HS, from Eastern Michigan University and GM Powertrain.
Posted on 2/2/2000 10:13 AM MST
In Reply to: Re: dashboard data stream..consider this!! posted by Rick Berube on 2/1/2000 11:32 PM MST:
: : I don't know for sure, but since the direct sensor outputs are not output by the control program, I'm assuming that the analog inputs on the robot are sent directly to the OI without going through the user program. So, in order to do this, you'd have to figure out a way to wire one of the PWM outputs to one of the analog inputs on the RC. It does not appear to be able to be done through the control program.
: : Nate
: While I agree with Nate that it would be difficult to use the digital inputs for this purpose, perhaps there is a better way to control up to 9 bits which get transmitted back to the OI. All of these bits are also available at the Dashboard port.
: The Innovation First Dashboard Spec. calls out a BASIC byte (byte 20 in the stream). It appears as though this byte (which controls the feed back LEDs on the OI panel) is completely under the control of your PBasic program. Stamp pins 7-15 I believe are collected by the Master CPU on the RC and forwarded onto the OI. The ninth bit, Bit6 of AUX_byte (Basic Run), is available in byte 26 of the stream. I haven't tried this myself yet, as I am only now realizing this. But if I'm correct, you have 9 bits at you program's disposal to use anyway you like (provided you don't mind the strobe effect of teh LEDs on your OI panel).
: Nate, do you know of anyone with such a program available?
:
: Regards,
: Rick
Rick (and everybody else),
I don't know of anyone who has actually accomplished this, but I do know of someone who was going to attempt it. Based on this, I was thinking of modifying the OCX to make it possible to retrieve these bits as an Integer value...
Is there enough demand for that? If so, I'll code the update and release it...
Nate