Show Posts
Pages: 1 2 3 [4] 5 6 ... 284
46  Using Arduino / Displays / Re: LCD current draw on: July 16, 2014, 06:42:23 pm
Quote
Does that include the current draw when back-light is connected ?

No.

Don
47  Using Arduino / Displays / Re: Setting date on LCD with DS1307 using button inputs on: July 15, 2014, 02:39:23 pm
Quote
If anyone could assist that'll be great. Thanks!

here's my code:
Start by editing your post to put your code between
Code:
code
brackets instead of
Quote
quote
brackets.

Don


48  Using Arduino / Displays / Re: Arduino rounding up numbers to print on display on: July 15, 2014, 11:04:27 am
Why not leave out the 'if' and always clear out the old number?
  Set cursor
  Print spaces
  Re-set cursor
  Print data


Don
49  Using Arduino / Displays / Re: 20x4 LCD problem on: July 15, 2014, 09:43:57 am
Quote
that is what was displayed
A (huge) static picture does not help in a case like this.  In order to determine if there is a problem we need the answers to the questions in reply #11.  

We also need to see the code that is being used after incorporating the suggestions in reply #2..


Don

50  Using Arduino / Displays / Re: problme with contrast / serial display not returning to next line [:SOLVED:] on: July 13, 2014, 05:27:43 pm
Quote
how do i acquire a good knowledge about electronics , i mean like you do.
You could try teaching Engineering for thirty plus years.

Don
51  Using Arduino / Displays / Re: problem with liquid crystal example (please help!!) on: July 13, 2014, 06:32:26 am
Quote
Only still got a fancy chinese char at \n for end of reading serial data. Still unsolved.
It's most likely trying to display the \n code which it interprets as a 'custom character'.

Don
52  Using Arduino / Displays / Re: problem with liquid crystal example (please help!!) on: July 13, 2014, 06:28:59 am
Quote
not just this but when i upload a different sketch i notice an important change in the contrast  so i have to adjust it in order to see the display. and this change in the contrast is more impoartant in first line than in second line.
Without an lcd.begin() statement the library will revert to it's default and configure the controller for a 16x1 display. 

This will mess up the contrast on your 16x2, change the addressing scheme , and make the second line inoperative.


Don
53  Using Arduino / Displays / Re: problem with liquid crystal example on: July 12, 2014, 07:47:23 pm
Quote
... when its more than 16 characters the display stops and doesn't continue displaying in the next (2nd) line. is this normal? im using a 16x2 lcd
Yes it is normal.  The text is being sent to the LCD and is being stored in the part of it's memory that does not correspond to any location on your display.  If you keep on sending characters they will eventually start to show up on the second line.

Follow the LCD Addressing link at http://web.alfredstate.edu/weimandn for the complete explanation.


Don
54  Using Arduino / Displays / Re: 16x2 HD44780 lcd screen displays garbage characters after some minutes of use on: July 12, 2014, 02:03:48 pm
It's a long shot, but your LCD might be borderline as far as it's specs go, especially in how long it takes to clear.

I would start by restructuring things a bit. 

Print the things that don't change only once, in setup.  This would be the words "Temp: " and "Hum:  ".

When you go to display the temperature and humidity use this outline for each value:
  Position the cursor
  Print several spaces to cover up the old value
  Reposition the cursor
  Display your new value.

(Bill will be along soon to recommend that you use printf.)


Don
55  Using Arduino / Displays / Re: 20x4 LCD problem on: July 11, 2014, 04:11:26 pm
Quote
it display the text in two lines (1 and 3) and scrolling it.

That's really not very descriptive. 
  Where does the first character appear?
  What happens when the second character is sent?
  What happens after the 20th character is sent?

It is probably working properly, it's just not what you expect or want.

You need to know how the addressing works  in order to understand what is happening.  Try following the LCD Addressing link at http://web.alfredstate.edu/weimandn.  Make sure you read the information about the 40x2 before looking at the 20x4 information.


Don
56  Using Arduino / Displays / Re: 20x4 LCD problem on: July 11, 2014, 04:06:08 pm
I cannot remember where I saw it or if it's fixed now but I recall reading that the LiquidCrystal library does not work properly with 20x4 displays.

that is a bad news
No problem, it's not true and has never been true.  Did you read reply #7.

Don
57  Using Arduino / Displays / Re: 20x4 LCD problem on: July 11, 2014, 12:28:12 pm
Quote
I cannot remember where I saw it or if it's fixed now but I recall reading that the LiquidCrystal library does not work properly with 20x4 displays.
That's news to me.

The cursor positioning does not work properly when used with the 16x4 displays. 


Don
58  Using Arduino / Displays / Re: 20x4 LCD problem on: July 11, 2014, 12:25:57 pm
Quote
i tested it.
Stil not working.
What does it display?

Don
59  Using Arduino / Displays / Re: 20x4 LCD problem on: July 11, 2014, 09:01:33 am
Try this (untested):
(1)  Move the autoscroll command into setup, there's no need to execute it each time around the loop.
(2) Set your cursor to the end of the line, not the beginning.


Don
60  Using Arduino / Displays / Re: LCD WH1602B2-TMI-ET# Winstar Display Co. on: July 09, 2014, 02:39:21 pm
Your display has serious problems most likely due to poor connections between the LCD 'glass' and the pc board. 

These connections are made by 'zebra strips' and there have been numerous threads with information about them.

The search capabilities of this forum software is abysmal, even if you find the camouflaged* search box.  Try the following Google search: "LCD zebra site:arduino.cc".


Don

* camouflaged in Firefox and Internet Explorer, visible in Chrome
Pages: 1 2 3 [4] 5 6 ... 284