|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Not enought Serial ports
My team has decided to use a high-powered IR system but the receiver (which is suppose to be on the robot) use a serial port to connect to the RC
and the RC has only 3 Serial port (including Tether). So is there any way to “create” a new serial port for the IR to connect to? |
|
#2
|
|||||
|
|||||
|
Re: Not enought Serial ports
You can turn any of the digital I/O pins into serial connections by writing your own code.
|
|
#3
|
||||
|
||||
|
Re: Not enought Serial ports
What are you using the existing serial ports for?
HTH |
|
#4
|
||||
|
||||
|
Re: Not enought Serial ports
Quote:
We will need the tether for practice in competitions, radio for the radio, program for downloading code into RC. |
|
#5
|
|||||
|
|||||
|
Re: Not enought Serial ports
The FRC has two serial ports--the program port and the TTL port (small pins on the side).
The tether is not a standard serial port that you can use and neither is the radio port. For your purpose look at using the TTL port. It'll do what you need. |
|
#6
|
||||
|
||||
|
Re: Not enought Serial ports
Quote:
thx great help at the moment we are looking at TTL to RS 232 converters. great help see you in UTC i see you are going to be there. Last edited by FIRSTMa2104 : 04-02-2008 at 14:13. |
|
#7
|
||||||
|
||||||
|
Re: Not enought Serial ports
Quote:
|
|
#8
|
||||
|
||||
|
Re: Not enought Serial ports
You can use the program port for this, just unplug your IR board when you need to load your program .. this was a common practice for those who used the feedback on the old IFI breaker panels.
|
|
#9
|
||||
|
||||
|
Re: Not enought Serial ports
Quote:
![]() |
|
#10
|
||||
|
||||
|
Re: Not enought Serial ports
A TTL - RS232 converter was standard in the KOP for years 2005, 2006, and 2007. It's the postage-stamp sized PC board connecting the CMU camera to the RC's "TTL Serial Port", the four pins between the Relay Outputs and the Reset button. You can get an idea how to read the serial port from the camera code of years past.
|
|
#11
|
||||
|
||||
|
Re: Not enought Serial ports
You could always program your own UART code and use a MAX232 chip...however that requires considerable programming experience.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Serial ports | teh_pwnerer795 | Programming | 2 | 27-12-2006 00:47 |
| Serial ports | Cuog | Programming | 3 | 02-05-2006 12:32 |
| Serial Driver and 2K6 Encoder Driver Not compatible | Tom Bottiglieri | Programming | 6 | 12-02-2006 01:11 |
| Accessing serial ports | koenig3456 | Programming | 1 | 02-02-2006 07:57 |
| Where can we get PS2 type game controllers with serial ports? | waialua359 | Control System | 12 | 25-01-2006 22:33 |