![]() |
Using the edu--erm, Robovation for more info?
Alright, someone correct me if this has been proven to be incorrect or bunk or what have you.
The LED outputs on the OI are +5 volts. The digital inputs on the Robovation (I'm forcing myself to say that) accept 0 to 5 volts. So, all you people who know more than I do, would it be feasible to use the LED outputs as Robovation inputs, letting it do some more interesting things and display them? Worth the effort? |
Re: Using the edu--erm, Robovation for more info?
Quote:
|
Re: Using the edu--erm, Robovation for more info?
Maybe, but why? it will only give you 8 bits of data.
The dashboard would be much better. You take a DCE-DCE Null-modem cable (M-M) and connect them. Set the jumper to RC and read the user bytes/user command. I can give you a better idea of how to do this in code, if you want. |
Re: Using the edu--erm, Robovation for more info?
DCE to DCE? Eh???
And I see the problem with the LED outs...and reading the IFI documentation on the TTL port left me with even more questions than answers. Can anyone give some more information on this? |
Re: Using the edu--erm, Robovation for more info?
DCE is short for Data Communication Equipment (a throw-back to the days when RS-232 was used for modems). Basically, anything with a female port is DCE. (Conversely, DTE is Data Terminal Equipment. It's anything with a male port). so a M-M null-modem cable would connect 2 DCEs. (it has a male port on each end).
(ps- I am not making this up. I am repeating terminology) And skip the TTL port. You'd just have to make hardware for it. |
Re: Using the edu--erm, Robovation for more info?
Tis true--but is there a way to listen on the programming port for stuff like this? I thought it was pretty well stuck with programming stuff, hence the TTL port. But feel free to prove me wrong.
|
Re: Using the edu--erm, Robovation for more info?
Its actually pretty easy to read data from the programming port. When new data is received the flag PIR1bits.RC1IF will go high. The byte that was received will be in RCREG1.
Code:
if (PIR1bits.RC1IF == 1) |
Re: Using the edu--erm, Robovation for more info?
Quote:
They're fairly easy to make, too. Try BeyondLogic.org for plans/details. |
Re: Using the edu--erm, Robovation for more info?
Quote:
|
| All times are GMT -5. The time now is 03:58. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi