Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Atmega8 LCD problem - random characters displayed

Status
Not open for further replies.

abacusdheda

Junior Member level 1
Joined
Dec 28, 2009
Messages
15
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
INDIA
Activity points
1,381
Atmega8 LCD problem

hi,
i m using atmega8,11.0592MHz and 16x2 LCD . whenever i write a simple prgm in codevision for displaying something(e.g.constant string like my name,using lcd_puts), it shows it properly.
But when i create code for my main objective(including timers,ext interrupts,adc and lcd), and i write code for showing some value of adc on lcd, or using lcd functions in ISR,it shows random charactes on lcd.
What could be the problem?
 

How is your simple program build. It just displays something and stop or it send in a loop the same message? If it stop after message is sent, then could be an EMC problem. Did you use 0.1 uF near LCD power supply pins?. Did you try shorten LCD cable ?
marie65
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top