|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Interfacing robot with LCD
I really hate to post this twice, but I'm not getting any responses in the Electrical forum. I'm pretty sure it should be in the Programming section anyway. I'm really sorry about double posting.
Quote:
Quote:
OK, I'm still very interested in this. I would like to know: 1. HOW to interface an LCD to the robot. (TTL port?) I really need to know how to wire it to the robot. 2. how to talk to the LCD in programming. *note that I'm not a programmer, but I can relay the information to our team programmer. So, an idea or some sample code would be helpful. |
|
#2
|
||||
|
||||
|
Re: Interfacing robot with LCD
http://www.sparkfun.com/commerce/cat...s.php?cPath=76
Towards the bottom of the page there are several "serial enabled" LCDs. Any of those, or any oher one that wil connect to their serial backpack will connect to the TTL serial port, then there are few commands, mostly you just write whatever you want to showup, and it does. If you want to know I have two of the 16x2 black on green w/backlight |
|
#3
|
||||
|
||||
|
Re: Interfacing robot with LCD
Thanks. That helps a little. cool.
(Maybe I should have left the other one going for awhile. Oh, well. Again, sorry about double posting.) Last edited by keen101 : 07-01-2008 at 12:34. |
|
#4
|
||||
|
||||
|
Re: Interfacing robot with LCD
Attached is some of the code I used to drive it. It needs Kevin's serial port code already installed.
Its not totally complete, since I finished it as I needed it. You should read the datasheet for the serial adapter. Last edited by EHaskins : 07-01-2008 at 12:36. |
|
#5
|
|||||
|
|||||
|
Re: Interfacing robot with LCD
The question is too general to permit a simple answer. "How" depends entirely on what LCD panel you use. Its documentation will explain what signals it needs.
Filtering programming information through a non-programmer is usually a bad idea. It's very easy for useful suggestions to get misinterpreted and miscommunicated. Once your programmer has specific questions, it would be best for him or her to ask them himself/herself. |
|
#6
|
||||
|
||||
|
Re: Interfacing robot with LCD
Quote:
as for wiring. I see your point about different LCD's having different inputs. But, I had not seen any "wiring diagrams for TTL" connections. I know it's a type of serial communication, but I am a little confused. there has to be a general guideline to wiring doesn't there? |
|
#7
|
|||
|
|||
|
Re: Interfacing robot with LCD
A problem with serial LCD that I have had, is they require to many programming delays and may interfer with interrupts. On the other hand a Parallel LCD is very fast, but requires too many I/O pins.
If you are using it just temporarily, perhaps a self contained data acquisition - LCD would do the trick. A cheap Parallax SX chip (aprox $3.50 + $14.00 for a 4 line LCD (ebay) ) and use the SX/Basic example in the SX-IDE. That way you don't have to add any unnecessary code that may interfere with your actual program. |
|
#8
|
||||
|
||||
|
Re: Interfacing robot with LCD
Ok, I think I am going to either get this one
http://www.allelectronics.com/cgi-bi...W-GREEN)_.html or this one http://www.allelectronics.com/cgi-bi...ACKLIGHT_.html Does anyone know how to wire it up? I have no idea which pins go where. This is my first time working with LCD's. Now that I have chosen a specific model I'm hoping someone can help me out. |
|
#9
|
||||
|
||||
|
Re: Interfacing robot with LCD
Quote:
-Kevin |
|
#10
|
||||
|
||||
|
Re: Interfacing robot with LCD
Quote:
-Kevin |
|
#11
|
|||
|
|||
|
Re: Interfacing robot with LCD
Quote:
With the SX/B LCD project, you can make your own serial LCD for cheap. But I left out the price of the Programmer and that will set you back another $30 to $50.00. The SX/B Serial LCD is similar to older Seetron units without any bells and whistles. For the price you would be better off purchasing a Serial LCD from Seetron or somebody else. |
|
#12
|
||||
|
||||
|
Re: Interfacing robot with LCD
Kevin,
just to clarify, on your serial code, what ports are serial 1 and 2? is it the programming port and TTL that we used with the CMUCam? |
|
#13
|
||||
|
||||
|
Re: Interfacing robot with LCD
Quote:
-Kevin |
|
#14
|
|||
|
|||
|
Re: Interfacing robot with LCD
www.basicx.com by Netmedia, they have great serial LCD's, only takes 1 I/O line with no additional circuitry, i have one, and they work great! barely any code
|
|
#15
|
|||||
|
|||||
|
Re: Interfacing robot with LCD
Wonder why you'd want to use and LCD, a touch screen for controling the robot?? :S
![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Interfacing with LCD to debug | keen101 | Electrical | 15 | 18-01-2008 13:13 |
| Interfacing a digital compass with the RC | Kelly | Electrical | 14 | 27-09-2007 19:01 |
| On robot LCD display | David55 | Programming | 4 | 24-06-2006 16:12 |
| Interfacing with Allen-Bradley Sensors | doubleslash | Electrical | 9 | 31-01-2006 14:11 |
| Interfacing a PC with last year's Robot Controller | punarhero | Technical Discussion | 2 | 21-04-2004 00:05 |