Go to Post Evolution is innovation. - Chris is me [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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!)
 


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 20:48.

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