Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 19
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
One birthday today, congrats!
a.gutzeit (63)


Next birthdays
05/07 a.gutzeit (63)
05/08 wpk5008 (34)
05/09 Alfons (36)
Contact
If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.


Special Thanks To:
  • Aaron Holmes
  • Aaron Wheeler
  • Adam Horden
  • Alan Scrimgeour
  • Andre
  • Andrew Haynes
  • Anonymous000
  • asabase
  • Austin Weil
  • barney
  • Barry
  • Bert Hickman
  • Bill Kukowski
  • Blitzorn
  • Brandon Paradelas
  • Bruce Bowling
  • BubeeMike
  • Byong Park
  • Cesiumsponge
  • Chris F.
  • Chris Hooper
  • Corey Worthington
  • Derek Woodroffe
  • Dalus
  • Dan Strother
  • Daniel Davis
  • Daniel Uhrenholt
  • datasheetarchive
  • Dave Billington
  • Dave Marshall
  • David F.
  • Dennis Rogers
  • drelectrix
  • Dr. John Gudenas
  • Dr. Spark
  • E.TexasTesla
  • eastvoltresearch
  • Eirik Taylor
  • Erik Dyakov
  • Erlend^SE
  • Finn Hammer
  • Firebug24k
  • GalliumMan
  • Gary Peterson
  • George Slade
  • GhostNull
  • Gordon Mcknight
  • Graham Armitage
  • Grant
  • GreySoul
  • Henry H
  • IamSmooth
  • In memory of Leo Powning
  • Jacob Cash
  • James Howells
  • James Pawson
  • Jeff Greenfield
  • Jeff Thomas
  • Jesse Frost
  • Jim Mitchell
  • jlr134
  • Joe Mastroianni
  • John Forcina
  • John Oberg
  • John Willcutt
  • Jon Newcomb
  • klugesmith
  • Leslie Wright
  • Lutz Hoffman
  • Mads Barnkob
  • Martin King
  • Mats Karlsson
  • Matt Gibson
  • Matthew Guidry
  • mbd
  • Michael D'Angelo
  • Mikkel
  • mileswaldron
  • mister_rf
  • Neil Foster
  • Nick de Smith
  • Nick Soroka
  • nicklenorp
  • Nik
  • Norman Stanley
  • Patrick Coleman
  • Paul Brodie
  • Paul Jordan
  • Paul Montgomery
  • Ped
  • Peter Krogen
  • Peter Terren
  • PhilGood
  • Richard Feldman
  • Robert Bush
  • Royce Bailey
  • Scott Fusare
  • Scott Newman
  • smiffy
  • Stella
  • Steven Busic
  • Steve Conner
  • Steve Jones
  • Steve Ward
  • Sulaiman
  • Thomas Coyle
  • Thomas A. Wallace
  • Thomas W
  • Timo
  • Torch
  • Ulf Jonsson
  • vasil
  • Vaxian
  • vladi mazzilli
  • wastehl
  • Weston
  • William Kim
  • William N.
  • William Stehl
  • Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Forums
4hv.org :: Forums :: Computer Science
« Previous topic | Next topic »   

Finding display solution for microcontroller sensory.

Move Thread LAN_403
nitromarsjipan
Sun Apr 02 2006, 09:48PM Print
nitromarsjipan Registered Member #319 Joined: Tue Mar 14 2006, 09:53PM
Location: Akershus, Norway
Posts: 3
I am working on a project where I need to display information from several sensors and output data computed in a microcontroller. A HD44780-compitable display is not adequate, I need to display 400 characters at a rough figure, in addition to a few graphic data representations (graphs, bars and an aircraft attitude sketch). I have all the information to be displayed avaiable on a AVR microcontroller.

I do not think i can use a computer for the task, interfacing a computer would require computer programming skills. I do not feel confident with learning this in paralell with the project design and learning assembly for AVR microcontrollers. I did therefore think of interfacing directly to a computer LCD from a microcontroller, but i soon realized that this would require a clock speed way over what the AVR circuits i have avaiable can manage; 20MHz maximum for the AVR, a common LCD display would require 1280*1024*60Hz*3colour channels = 235M write cycles per second. Car TV screens would require similarely huge write speeds, which excludes theese as well for direct interface.

Does one of you have any ideas for how to get the information on a suitably large display, either by using some display controller between the AVR and the LCD, by using some other display, or by any other means? I am also interested in info about easy ways to get data from a microcontroller sent through a computers serial port displayed properly.

nitromarsjipan
Back to top
Bjørn
Mon Apr 03 2006, 12:05AM
Bjørn Registered Member #27 Joined: Fri Feb 03 2006, 02:20AM
Location: Hyperborea
Posts: 2058
What size?
How fast must it be refreshed?
What cost?

Use a LCD with built in controller and RAM or use an old PC that runs DOS and QBASIC/VBDOS.
Back to top
Wolfram
Mon Apr 03 2006, 04:43AM
Wolfram Registered Member #33 Joined: Sat Feb 04 2006, 01:31PM
Location: Norway
Posts: 971
I think the best solution for you would be a controllerless LCD and a SED1335. So called controllerless LCDs are quite easy to get, and should not be too expensive. For the LCD to work with the SED1335, it has to have a 4-bit data input and 3 clock inputs. The SED1335 should not be hard to get, futurlec.com has it and complete boards with SED1335 and RAM can be bought here: Link2 .

Controllerless LCDs can be acquired in many different sizes. You can't go above 640*256 if you want to use the SED1335, but I think that's plenty big.

The SED1335 is perfect for what you want to do, because it has a built-in character generator. Also, like with all other LCD controllers, the information that you write to the LCD stays on the screen until you overwrite it, so you don't need huge bandwidth.
Back to top
nitromarsjipan
Mon Apr 03 2006, 06:55AM
nitromarsjipan Registered Member #319 Joined: Tue Mar 14 2006, 09:53PM
Location: Akershus, Norway
Posts: 3
The upper size limit of the display is 40cm * 37cm, i need it to fit inside a box together with some other equipment (the lid is 40*37*3, bottom is 40*37*17, see attached image). The lower size limit is somewhere around the size of a A5 paper sheet. I wish for a refresh rate of 4Hz or better for the numerical / text data, and a little bit higher for grapic data (say 8Hz or so). The total price for the display solution should not exeed 100$.

The SED1335 based solution seems good, the only downside compared to some other screens is the lack of colour, this is not a major problem though. I think I will go with a SED1335 / controllerless LCD setup if I can't get a colour display without much more hassle.

The old laptop computer shown beside the box in the attached picture has a suitably large display, and I am free to do whatever I like with it, it has an unused serial port. If I can get this laptop, or its display working this would be perfect.
1144047282 319 FT6500 Display Box
Back to top
Superkuh
Mon Apr 03 2006, 07:56AM
Superkuh Registered Member #59 Joined: Thu Feb 09 2006, 05:45AM
Location: Wisconsin, USA
Posts: 12
It is not all too hard to get an AVR to do NTSC non-interlaced video (for television) as is described and documented here (check out the final projects page too, Link2 , for example implementations and code):

Link2 Cornell University Electrical Engineering 476 Video Generation with Atmel AVR microcontrollers

That is, if you are not dead set on LCDs.
Back to top
Steve Conner
Mon Apr 03 2006, 10:18AM
Steve Conner Registered Member #30 Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
i've used graphic LCDs with the Toshiba T6963 controller before. They come in 128x128 pixel square and 240x64 letterbox shaped varieties. The 240x64 can display 8 lines of 40 characters combined with bitmapped graphics.

The T6963 is similar to the SED1335 but not so powerful.

About using the laptop: Your AVR should have a UART module that can send data in a format that a RS-232 port can accept. You just need to set the UART up to 9600 N-8-1 or whatever, wire up a RS-232 level shifter chip, dump the raw data out, and write software on the laptop to display it, like Bjorn suggested.
That could turn out easier than using a LCD directly from the AVR, since you can use some DOS-based programming language with ready-made graphics and maths libraries.

The only tricky thing is defining a packet format for the data. It's just a stream of hex numbers and the computer needs to know what they mean and whether it has lost any or had any errors.
Back to top
Bjørn
Mon Apr 03 2006, 01:12PM
Bjørn Registered Member #27 Joined: Fri Feb 03 2006, 02:20AM
Location: Hyperborea
Posts: 2058
Since you have the laptop I would suggest using that unless power consumption is a problem. RS-232 has a tendency to work without a level shifter but not always. If it requires negative voltages you can use the "Avi fibulator" circuit if the two devices does not share a common ground. The parallel port will work nicely too and might be simpler in some cases since you would see everything that is going on.

If you use the laptop you have many options to add useful things in a simple way like data logging and Space Invaders.
Back to top
nitromarsjipan
Mon Apr 03 2006, 07:04PM
nitromarsjipan Registered Member #319 Joined: Tue Mar 14 2006, 09:53PM
Location: Akershus, Norway
Posts: 3
Thank you for your replies. I have decided to try to get the laptop functioning as a display. I have however added another function to my project, for this I need to have a GPS map program running on the computer. This program will occupy much of the display area, so I doubt I will manage to fit all the other information together with it. Therefore I will also add one of the passive PLCD / SED1335 displays (gah, this is getting expensive).

The laptop will recieve GPS positioning data and all other data processed in the unit. It will display the position on a map, and log all data. The other LCD screen will most probably be this one, combined with a SED1335 board. This display will portray all data i can't fit on the computer screen.
Back to top

Moderator(s): Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Dave Billington, Bjørn, Steve Conner, Wolfram, Kizmo, Mads Barnkob

Go to:

Powered by e107 Forum System
 
Legal Information
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.