Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: I want to build a standalone alphanumeric LCD

  1. #1
    Newbie
    Join Date
    Sep 2008
    Posts
    11

    I want to build a standalone alphanumeric LCD

    Hey guys!

    I'm new on this forum.

    I want to build a little something for my car.

    A small, maybee 4 lines, alphanumeric LCD

    that reads the following things:

    • Outside temperature
    • Inside temperature
    • Battery voltage

    But where do I start?

    I found this LCD on internet:
    http://www.quasarelectronics.com/cec014.htm

    but it only can show programmed messages, so it can not make calculations. Like if I send 1 temperature value in by using 4 bits, it will not be able to calculate it...

    what do I need?
    I really want it to be standalone, don't need a PC in my car.

    thnx!!

  2. #2
    Raw Wave shotgunefx's Avatar
    Join Date
    Apr 2005
    Location
    Boston, MA
    Posts
    1,800
    There are a ton of serial and USB LCDs and VFD Displays out there, you just need to get one and a program to drive them.

    http://lcdsmartie.sourceforge.net/ is one, there dozens of others.

    Matrix Orbital has a ton of displays.
    http://www.matrixorbital.com/

  3. #3
    Newbie
    Join Date
    Sep 2008
    Posts
    11
    thnx shotgun!

    But as far as I can see these lcd's need a pc that constantly is connected??

    Sorry if I'm wrong.

    I want it to be standalone to build in my car dinslot.

    thnx!

  4. #4
    Raw Wave shotgunefx's Avatar
    Join Date
    Apr 2005
    Location
    Boston, MA
    Posts
    1,800
    Quote Originally Posted by JVDE View Post
    thnx shotgun!

    But as far as I can see these lcd's need a pc that constantly is connected??

    Sorry if I'm wrong.

    I want it to be standalone to build in my car dinslot.

    thnx!
    Ah, well if that's the case, you're going to need "something" to drive the display like a microcontroller (aka MCU). You could use a PIC (or PICAXE, AVR, etc, whatever you find easier), if you're not inclined, those can take a bit of work, though they are cheap.

    Maybe you want to take a look at Basic Stamps, which are basically PIC microcontrollers running a version of basic, so they are easy to program, but relatively expensive.

    For the temperature, you can look at some Dallas 1-wire temperature sensors, pretty cheap ($3?) for the inside and out, tons of code on the net for all kinds of MCUs to, as far as measuring the voltage, not sure.

    I'm no electrical whiz, but most PICs (and many other mcus) have an ADC (or a few) for measuring voltage, but ADCs measure voltage relative to what's called a "reference" voltage, which is usually whatever the microchip takes or less (~5v), so the car voltage is always going to be higher than that reference, so you can't measure it directly with the built in ADCs.

    You could probably "scale" the voltage down with a voltage divider before feeding it to the ADC so you can measure the battery accurately relative to the regulated 5v in. I'm sure there's a better way to do it, but....

    Basically, with MCUs, the lower level you get, the cheaper it is. A PIC (depending on what kind) can run as cheap as a dollar or two, and for what your trying to do, it's not a lot. A programmer can be had for $15 and up, then you just need a power supply for the 5v and a board.

    You might want to check out Sparkfun which has a ton of development boards and parts.

    If you are going to go the "PIC" route, you might want to buy (or checkout at your library) Programming Robotic Controllers by Myke Predko, gives a good overview of working with the PIC 16 series, also has sample code for driving an LCD, and interfacing to 1-wire sensors IIRC, so you'd only need to figure out the voltage.

    Do you program at all?

  5. #5
    Newbie
    Join Date
    Sep 2008
    Posts
    11
    thank you very much!

    Today I allready learned it will take a microcontroller to make the calculations. lol

    I have a few visual basic skills, maybee the Basic code is a bit similar to VB??

  6. #6
    Raw Wave shotgunefx's Avatar
    Join Date
    Apr 2005
    Location
    Boston, MA
    Posts
    1,800
    Quote Originally Posted by JVDE View Post
    thank you very much!

    Today I allready learned it will take a microcontroller to make the calculations. lol

    I have a few visual basic skills, maybee the Basic code is a bit similar to VB??
    If you can figure out VB, you can figure out regular basic.

    Well, if you go the "PIC" route, there are a couple ways you can go. Assembly language, which probably isn't what you want, but the PIC Assembler is fairly straight forward, you could use the free version of Hi-TECH C (my choice, but the free version only supports certain part numbers so you want to make sure you buy one that is compatible)

    There are a couple versions of basic for PICs with varying degrees of functionality, ranging in price from free to several hundreds of dollars.

    If you use a BasicStamp, a project like this should be pretty easy, (RadioShack used to sell a kit in some stores on a dev board with book for (~$65 USD), but the problem (for me) was the relative expense and lack of interrupts multi-tasking. Don't think you'll have this this problem, you basically need to

    Read temp1
    Read temp2
    Sample voltage
    update display
    repeat

    I had a bunch of projects I wanted to do and by going down to the PIC, saved $50 on each one, and some of them couldn't be done at all due to the lack of interrupts,etc, but if it fits your bill and it's the only thing you have planned, it might not be a bad choice for a first project. Fast and easy.

    If you go with a PIC (or a different mcu), I'd get one of those Olimex development boards from sparkfun, they are cheap (~1$4), they have the power supply and a (4mhz or 20mhz) external oscillator all set up and even a serial port and the necessary hardware . Having all those bits laid out the first time, removes a bunch of guesswork the first few go-rounds as to "what" exactly is wrong if you have a problem.

    If you have a serial port, you could get the PG2C programmer, it's cheap.

    PIC 16x series Olimex dev board (~$14)
    PIC 16xxxx MCU ($2-$7)
    PG2C PIC programmer ($14)
    1-wire temp sensors (2 x $2-$3)
    a couple resistors ($1)
    LCD or VFD Display ($30 - $100)

    It's kind of a broad, nuanced topic (and I'm by no means an expert), but it's all kind of going to depend on a mixture of how much you want to spend, how many projects do you have planned, how familiar you are with electronics and programming, and how much you want to learn to make it happen.

    You could probably do it all with a stamp in a day or two, so if you just want it done, hard to argue with the overhead of $30 or $40.

    Good luck

  7. #7
    Newbie
    Join Date
    Sep 2008
    Posts
    11
    Oké, thank you very much for this very long post
    thank you for making time!

    I'll start trying it with the things you say:

    PIC 16 series + programmer + all the other hardware
    and the high tec-c software

    but why do you choose a pic 16 series? I want to follow your thought a bit.

    thx once again!

  8. #8
    Raw Wave shotgunefx's Avatar
    Join Date
    Apr 2005
    Location
    Boston, MA
    Posts
    1,800
    Quote Originally Posted by JVDE View Post
    Oké, thank you very much for this very long post
    thank you for making time!

    I'll start trying it with the things you say:

    PIC 16 series + programmer + all the other hardware
    and the high tec-c software

    but why do you choose a pic 16 series? I want to follow your thought a bit.

    thx once again!
    No problem, it's kind of overwhelming to figure out where to start.

    Actually, the reason for the choice was pretty simple, there's a ton of code for the 16F series as they've been around for ages, and that book I mentioned was based on the 16F628 IIRC. I think that's who a lot of people fall in with a particular brand (AVR, etc), I think it's whatever you get familiar with first.

    For driving an LCD or reading temp sensors, there is bound to be a ton of code for any MCU you choose, so really the choice is yours.

  9. #9
    Newbie
    Join Date
    Sep 2008
    Posts
    1

    lcd micro controller

    Hey
    I do Alot of small electronics projects with LCD's. If you are use to basic
    and or c code the easiest microcontroller is the fbasic . it's made by proteanlogic. It has a prebuilt library to handle the buss function to talk to the lcd. and schematic of how to hook it up. If you get stuck I can send you some
    code examples.

  10. #10
    Newbie
    Join Date
    Apr 2009
    Posts
    3

    VFD Display for car

    Hi, for the content you want to display in your car, perhaps LCD and VFD BOTH CAN BE OK. But the better one is VFD Display for car. Because VFD has a quick response abd wide ranging angle, high liability and long service life. Besides, fine Dot-Matrix VFD Display also can supply the best effect for car.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •