Search the web
Sign In
New User? Sign Up
laser_design · Laser Tag/Electronic Game Design Forum
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Resistors   Message List  
Reply | Forward Message #286 of 358 |

Confusion over the use of resistors between MCU and LCD module.

The PicDem 2 PLUS board didn't have them.

I am going to bread board one w/ them and test out...but my thinking
says it shouldn't hurt to have (say) 1K resistor on the bi-directional
data lines. The direction changes many times (as those who've worked
with LCD parallel modules before).

My additional thinking is if both MCU and LCD module are in output
mode over the same bus line (or lines) *AND* one is high and the other
is low, a 1k resistor will protect by limiting current.

On the flip side, if both are in input, nothing big will happen. Under
normal (one side is driving, other side is receiving a logic signal)
operation, the 1k *SHOULD* be insignificant in comparison to the
internal resistance of the receiver circuits.

However the reverse is possible, the resistance might be too much and
cause mis-reads of the logic state.

I've designed a PCB and will be getting one back soon (from
ExpressPCB) with space in the design FOR them... I can always bypass
with a wire. Also having the wire in there allows for possible
re-wiring (it's difficult to get the SAME exact pin-outs between two
different 14-pin LCD parallel module manufactures)...

In any case, was open to suggestions... Perhaps always change the
direction of the dataport pins to input after a write cycle to the LCD
module?!

I dunno. I am not much of a hardware guy -- better at programming MCUs.

--Doug





Sun Sep 2, 2007 2:22 am

dx9s
Offline Offline
Send Email Send Email

Forward
Message #286 of 358 |
Expand Messages Author Sort by Date

Confusion over the use of resistors between MCU and LCD module. The PicDem 2 PLUS board didn't have them. I am going to bread board one w/ them and test...
Doug
dx9s
Offline Send Email
Sep 2, 2007
2:22 am

... Well I put 4x 1k ohm resistors inline with the datalines (as they change direction)... prolly can put 1k on the enable, RS (register select) and R/W...
Doug
dx9s
Offline Send Email
Sep 2, 2007
9:45 pm

... FWIW: 1k on enable means the rise/fall times (most likely the fall between two rises of a nibble in 4-bit mode) take too long. Suspect it's a "filter" (RC)...
Doug
dx9s
Offline Send Email
Sep 3, 2007
4:52 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help