|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: OI control box, LED questions
I know theres already an LED screen on the OI, but we would like to keep that open, along with the user byte, if possible.
As for the light mappings in the code, I'm not talking about where it ells the light whether to turn on or off, I'm talking about where it says that pinX = relay1_green. I found where it sets the p1_x, y, switch, trig, and the other inputs, but I couldn't find the outputs. Is there a guide out there for using the dashboard port for inputs/outputs? |
|
#2
|
|||||
|
|||||
|
Re: OI control box, LED questions
Quote:
Quote:
|
|
#4
|
||||
|
||||
|
Re: OI control box, LED questions
I'm looking for the dashboard port pinouts, that manual only has the port 1, port 2, port 3, and port 4 pinouts.
You originally told me to check the dashboard program's files, but those files only have bit/byte lists/references, no pin mappings. |
|
#5
|
|||||
|
|||||
|
Re: OI control box, LED questions
I apologize for not understanding your question fully. I think what you want to know now is in the OI reference manual section "7. Dashboard Port" on page 12:
Quote:
|
|
#6
|
||||
|
||||
|
Re: OI control box, LED questions
I'm still a bit lost here.
You said that I would likely be able to run an LED display through the dashboard port, so how would I do it? Which pins would I hook it up to? How do I reference these pins in the code? |
|
#7
|
|||||
|
|||||
|
Re: OI control box, LED questions
Displaying a number is more involved than simply connecting LEDs to pins. Since you said you wanted a four-digit display, I was suggesting that you use the dashboard output to do it. Unless you want to design and program your own circuit to decode the data stream, it's going to involve a computer with a serial port.
|
|
#8
|
||||
|
||||
|
Re: OI control box, LED questions
We already (sorta) haver a plan for that.
We are going to be hooking the OI up to something similar to this (figure 6, near the bottom of the page). All we need right now is a way to interface it with the OI. Currently, our plan only needs two analog outputs from the OI. |
|
#9
|
|||||
|
|||||
|
Re: OI control box, LED questions
The OI has no analog outputs. It has eight pins that are designed to drive LEDs with no additional circuitry, and it has the dashboard serial data connection. That's all.
|
|
#10
|
||||
|
||||
|
Re: OI control box, LED questions
Okay, well sounds like were just going to scrap this idea then.
Final question- what you recommend making the control box out of? The entire platform, including the area we plan to put the OI and joysticks on. Currently we have a bit of lexane sitting around, but we're open to other suggestions. Also, what do you recommend doing to color/paint designs on the control area? |
|
#11
|
|||||
|
|||||
|
Re: OI control box, LED questions
You can't have your cake and eat it too. The LED will only display whatever is set to the user byte, and while it is displaying that, none of the LED outputs will light up.
|
|
#12
|
||||
|
||||
|
Re: OI control box, LED questions
I downloaded the available dashboard files from IFI, but saw no pin mapping, only a bit/byte list. Is there a pin-out list somewhere?
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| pic: a control box | CD47-Bot | Extra Discussion | 30 | 16-03-2004 00:08 |
| Control Box Bling | phrontist | General Forum | 4 | 08-02-2004 21:07 |
| Custom Control Box | D.Viddy | Programming | 3 | 15-02-2003 11:35 |
| Box Control | Tton | General Forum | 2 | 12-02-2003 23:38 |
| control box | archiver | 2000 | 8 | 24-06-2002 00:20 |