Go to Post This 6 weeks of work, sweat, thinking, designing, building, talking, discussing, turning wrenches, wiring, programming, drawing on chalk boards, eating pizza, drinking mountain dew, with the students - is what the FIRST experience is really about. - meaubry [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 07-08-2005, 21:33
John Gutmann John Gutmann is offline
I'm right here
AKA: sparksandtabs
FRC #0340 (GRR)
Team Role: Mechanical
 
Join Date: Feb 2005
Rookie Year: 2004
Location: rochester
Posts: 804
John Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant future
Send a message via AIM to John Gutmann Send a message via MSN to John Gutmann Send a message via Yahoo to John Gutmann
Parallel to serial converter

is there something you can use to make a 8 bit parallel to a serial signal for a parallel LCD screen,
to be more clear i need something with a serial input but with a 8 bit parallel output

I COULD use a shift register but i dont know how good that would work since the parallel output updates as the input update, would i be able to use a shift register or should i use something else.

i dont know how good i described it but i am trying to convert a parallel lcd module to a serial, tell me if i need to redescribe the problem
  #2   Spotlight this post!  
Unread 07-08-2005, 22:43
sciguy125 sciguy125 is offline
Electrical Engineer
AKA: Phil Baltar
FRC #1351
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Sunnyvale, CA
Posts: 519
sciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond repute
Send a message via AIM to sciguy125 Send a message via MSN to sciguy125 Send a message via Yahoo to sciguy125
Re: Parallel to serial converter

Personally, I would just get another display. I think the easiest way to make a converter though would be to use a PIC. It should a simple enough program. And would only take the one chip. Actually, if the serial data is coming from a computer, you'd also need another chip to take care of the voltages. But I think that you could use the shift register if you really wanted to. You could disable the outputs while it's updating if you use some kind of buffer. I wouldn't be surprised if there is some shift register that already does this.
__________________

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GE/S/P a-- e y-- r-- s:++ d+ h! X+++
t++ C+ P+ L++ E W++ w M-- V? PS+ PE+
5- R-- tv+ b+ DI+++ D- G
------END GEEK CODE BLOCK------
  #3   Spotlight this post!  
Unread 07-08-2005, 23:45
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,371
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: Parallel to serial converter

Most character based LCD that use a Hitachi equivalent controller have a 4 bit mode which reduces the number of pins used. For about 50$ you can buy a serial LCD. There are also some pre-programed pic chips to make your own serial LCD. Stay away from graphic LCDs. They can be very complex.
  #4   Spotlight this post!  
Unread 08-08-2005, 00:17
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: Parallel to serial converter

I'm working with one now, parallel, Hitachi based, I think a shift register will work but I'm not entirely sure, however the LCD only reads the data pins when you pull it's "Enable" pin high. Serial LCDs are too expensive if you're making a lot of something, parallels really cheap, it's worth knowing how to use the parallel LCDs.
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
  #5   Spotlight this post!  
Unread 11-08-2005, 18:17
John Gutmann John Gutmann is offline
I'm right here
AKA: sparksandtabs
FRC #0340 (GRR)
Team Role: Mechanical
 
Join Date: Feb 2005
Rookie Year: 2004
Location: rochester
Posts: 804
John Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant future
Send a message via AIM to John Gutmann Send a message via MSN to John Gutmann Send a message via Yahoo to John Gutmann
Re: Parallel to serial converter

yea me too, but it is hard to use a 8-bit parallel lcd display with a BS1
  #6   Spotlight this post!  
Unread 11-08-2005, 22:51
ChuckDickerson's Avatar
ChuckDickerson ChuckDickerson is offline
Mentor / Bayou & CMP Division LRI
FRC #0456 (Siege Robotics)
Team Role: Mentor
 
Join Date: May 2004
Rookie Year: 2004
Location: Vicksburg, MS
Posts: 877
ChuckDickerson has a reputation beyond reputeChuckDickerson has a reputation beyond reputeChuckDickerson has a reputation beyond reputeChuckDickerson has a reputation beyond reputeChuckDickerson has a reputation beyond reputeChuckDickerson has a reputation beyond reputeChuckDickerson has a reputation beyond reputeChuckDickerson has a reputation beyond reputeChuckDickerson has a reputation beyond reputeChuckDickerson has a reputation beyond reputeChuckDickerson has a reputation beyond repute
Re: Parallel to serial converter

It has been a few years since I have done any Basic Stamp stuff with LCDs but I remember a company called Scott Edwards Electronics (http://www.seetron.com) that sells serial LCDs made to work with Basic Stamps. They sell a "LCD Serial Backpack® Interface for Alphanumeric LCDs" (http://www.seetron.com/bpk000_1.htm) that I think may be just what you are looking for.
  #7   Spotlight this post!  
Unread 11-08-2005, 23:46
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: Parallel to serial converter

Thats a nice solution, but a little software elbow grease and a shift register is a much simpler/cheaper solution, being that each of these is $29. That and the cost of the parallel LCD brings it up to the costs of Serial ones, somewhat defeating the purpose.

I've been reading up on shift registers, if you connect the clock and input pins to 2 outputs on the BS1 and use a third output for the Enable pin on the LCD, I believe it will work.

First, set the first output pin of the LSB (least significant bit) of the binary command for the LCD, then pull the clock pin on the register high, then low. That shifts the first bit in, do that 7 more times, filling in the remaining bits with zero's if necessary, you have to do this in 8-bit chunks. Then pull enable high for 2 microseconds or so and then pull it low. Start over.

Also, you can go with 4-bit mode and use a 4-bit shifter register, but since the intent of 4-bit mode is to trade pin usage for complexity, and you won't save anymore pins on the BS1 with it, it's rather pointless.

sparksandtabs, I received your PM and we can discuss this in more detail at your leisure if you need help.
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
  #8   Spotlight this post!  
Unread 12-08-2005, 08:12
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,371
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: Parallel to serial converter

I know you have invested in the stamp but there are easier development systems to use for microcontroler learning. I posted the link to Kronos robotics. You might look here.
http://kronosrobotics.com/Projects/A...rial%20LCD.pdf
If you notice there is a LCD function that makes using a LCD easy. They also have a dedicated chip for implementing a serial LCD.
http://kronosrobotics.com/xcart/cust...me.php?cat=287
This summer I have mentored some high school students and have found this line to be very conductive to learning. It's up to you but, I think you would be able to pick up the needed skills faster with a Kronos Dios chip and its matching work board.
http://kronosrobotics.com/xcart/cust...cat=300&page=1
The 40 pin chip.
http://kronosrobotics.com/xcart/cust...cat=248&page=1
These links are for a pic18F class chip. The added capabilities I believe justify the higher cost. They also have PIC 16 series chips that are much cheaper but more limited.
Walk before you run. Learn the basics and take small steps.
  #9   Spotlight this post!  
Unread 12-08-2005, 12:32
John Gutmann John Gutmann is offline
I'm right here
AKA: sparksandtabs
FRC #0340 (GRR)
Team Role: Mechanical
 
Join Date: Feb 2005
Rookie Year: 2004
Location: rochester
Posts: 804
John Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant future
Send a message via AIM to John Gutmann Send a message via MSN to John Gutmann Send a message via Yahoo to John Gutmann
Re: Parallel to serial converter

a basic stamp also has an lcd command, i would to use the athena too if that is the one you are talking about, i would learn both, because in real life you have to know a wide range of products

A BASIC stamp is really easy to use, i was just wondering something

but back to the athena microcontroller, what language does it program in

and views on the AVR from atmel?
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Scripting Setup and the Camera + Serial Port Drivers CJO Programming 22 11-01-2006 17:42
Updated: Serial Port Driver Code Kevin Watson Programming 4 05-02-2005 18:39
USB to Serial converter for controller Ryan Collings Programming 10 22-01-2005 13:14
New Serial Port Driver Kevin Watson Programming 16 09-01-2005 01:56
QBASIC, Parallel Ports, and Windows XP Venkatesh Electrical 1 21-03-2004 19:07


All times are GMT -5. The time now is 00:21.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi