Wich LCD???

Go To Last Post
13 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Using attiny2313 what would be the best(easiest to use, lots of tutorials and help, and cheap) serial LCD to start with, be?

Life Is Like A Bucket Of Chicken.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Most character LCDs use an HD44780 controller, also KS0066, connected to 7 port outputs in '4 bit' mode. Lots of example code for that configuration. To use it serial, some use the AVR SPI to an 8 bit shift register like an LS164... sort of a cheap parallel to spi converter... but that takes an extra chip and more sw.... and I guess you meant rs232 serial anyway, so if you look at the commercial ones, they are basically a microcontroller and a text LCD and the microcontroller is the serial interface.

Imagecraft compiler user

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Taco_Bell wrote:
Life Is Like A Bucket Of Chicken.

Does Taco Bell get along with Kentucky Fried Chicken like the USPS and USP get along?

I'd prefer a good box of chocolates, myself...

Check out:

https://www.avrfreaks.net/index.php?module=Freaks%20Academy&func=viewItem&item_type=project&item_id=879

for an example of using an HD44780 text based LCD with a Tiny2313 as the LCD driver with RS232 communications.

You can avoid reality, for a while.  But you can't avoid the consequences of reality! - C.W. Livingston

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
Does Taco Bell get along with Kentucky Fried Chicken like the USPS and USP get along?

Considering that Taco Bell and KFC (and if you prefer the French, PFK) have the same parent company, I would say no, they get along like siblings :)

Regards,
Steve A.

The Board helps those that help themselves.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I want to tell the LCD what to display using USIon the attiny2313. RS232 works at higher voltages, I wanted to wire the attiny2313 right to the LCD.

Life Is Like A Bucket Of Chicken.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Taco_Bell

If you have 6 pins available on the Tiny2313, tie those to the LCD in 4 bit parallel mode, and also use the Tiny as your project's main processor.

Otherwise: Use TWO Tiny2313s. One, as Carl pointed out above, IS connected directly to the LCD. It accepts incoming serial data, and then runs the LCD display. You use the other Tiny as your project's main processor, which sends data, serially, to the other Tiny, to put on the LCD.

The serial link can be +5/Gnd serial TTL, or it can be +/- ~ 12 V, (i.e. RS-232), with the appropriate level converters at each end, (eg Max232, or equivalent).

RS-232 is useful if there is a significant distance between the two processors. TTL is fine if they are on the same board, or reasonably close.

JC

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

DocJC wrote:
RS-232 is useful if there is a significant distance between the two processors. TTL is fine if they are on the same board, or reasonably close.

JC

And for that matter, SPI could be used for inter-processor communications, as well.

You can avoid reality, for a while.  But you can't avoid the consequences of reality! - C.W. Livingston

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Crystal Fontz is one supplier of LCD displays, including character, graphics, parallel, and serial interfaced ones: Here

SparkFun is another source: Here .

JC

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Taco_Bell, if you understand Spanish at all, http://www.olimex.cl/present.php... would likely help you...I, too, am using an attiny2313. The board I got (an AVR-MT) included a HD44780 display (similar to http://www.sparkfun.com/commerce... , which is pretty cheap), which works well but seems a genuine pain in the ass to use (then again, I may be fairly jaded...I dunno what other LCDs are like to use).

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Taco,
Check out Carl's LCD Serial backpack. I have several, and they are awesome. saves loads of codespace, AND you can convert just about any parallel LCD to a simple serial unit!!

Jim

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB, RSLogix user

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I bought an LCD from jameco how would I hook this up to the tiny, also does anyone have any information on parallel communication avr programming?

http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&storeId=10001&catalogId=10001&productId=644025

Life Is Like A Bucket Of Chicken.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Geez...one row only, eh? And no RoHS? :P

Sorry, just razzing you. And per the datasheet:

http://www.jameco.com/Jameco/Pro...

it uses a SED 1278, a controller I hadn't previously heard of but which is, per:

http://www.lcd-module.de/eng/pdf...

compatible with the HD44780. I'm sorry that I can't tell you which pins go where but, try as I might, I can't seem to find a schematic for the display, although I might be missing something obvious.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

In Bascom you hook the pins up to whatever digital I/O pins you want, tell the program which pins you used, and start writing data to the LCD.

If you are using Asm or C, and any pre-configured libraries of code, you will have to configure it to their definition.

Use the search on this forum, and Google HD447780 (The LCD Driver) for lots of info.

JC

Edit:
Check out this VERY EXTENSIVE HD44780 Info Page: Here .