Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

LCD Smartie controlling analog gauges

Discussion about LCD's and other related hardware

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo, Fast351, hydrolisk1792

Post Reply
ian
Posts: 8
Joined: January 25th, 2008, 4:30 pm

LCD Smartie controlling analog gauges

Post by ian »

Hi everybody,

This forum helped me get LCD Smartie working with my custom hardware. Thanks everybody!

If you want to see LCD Smartie driving old analog gauges (or build your own setup), check out my project here:

http://www.diylife.com/2008/02/02/show- ... og-gauges/

Thanks again for the great software and support!

Cheers,

ian

mattcro
Forum Supporter
Posts: 590
Joined: March 8th, 2006, 1:58 pm
Location: Scotland

Post by mattcro »

Looks pretty cool - a big analog gauge for CPU/mem usage is somehow much more interesting than numbers ticking on a display, although a CPU usage histogram/graph is cool too. You could use up about 4 drive bays with those gauges in a retro case mod...

From the video, it looks like you have the gauge update rate at around 250-300ms, and the gauges jump in noticeable steps (tho I just noticed the refresh rate is 150ms in the config screenshot). The gauges would probably look a lot smoother (ie analog!) with a refresh rate of 100ms or so, at the expense of a tiny bit more CPU usage. I guess the gauge controller can easily handle the extra data.

ian
Posts: 8
Joined: January 25th, 2008, 4:30 pm

Post by ian »

Thanks for the suggestion, I'll give it a try.

Another issue is that the gauge controller has 8 bit resolution (255 steps of resolution, ie 0-255), but CPU and memory usage are output as numbers from 0-100. More than half the possible resolution is lost in the scaling. I think this makes it 'tick' a bit. A big capacitor might help as well.


Cheers,

Ian

limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Post by limbo »

Very good project
The video is very descriptive

now its a sticky one

mattcro
Forum Supporter
Posts: 590
Joined: March 8th, 2006, 1:58 pm
Location: Scotland

Post by mattcro »

Well, this project intrigued me enough that I had to have a stab at something similar :) Thanks for the writeup and video Ian!

I've got an ATtiny2313 microcontroller hooked up to the PC serial port which takes in similar commands and produces PWM output to drive a meter in a similar fashion to Ian's setup. Mine's just lashed up on breadboard at the moment and hooked up to a huge old scrap meter (scale plate is about 12x6cm). It basically works! The tiny2313 has 4 hardware PWMs so there's scope for expansion.

The meter has a 500uA FSD 230ohm coil, and a 1000uF cap seems to provide a reasonable amount of smoothing - it's not bad without it (100ms update rate) but looks better with smooth movement.

I might build the circuit onto an FTDI type USB>RS232 dongle and power it from USB. The meter(s) could go in a suitably vintage box if I can find something.

Next retro-display idea: use a magic eye tube to show CPU load...

ian
Posts: 8
Joined: January 25th, 2008, 4:30 pm

Post by ian »

...or nixies, but I think thats been done....

mattcro
Forum Supporter
Posts: 590
Joined: March 8th, 2006, 1:58 pm
Location: Scotland

Post by mattcro »

I finally got around to doing a proper meter scale for my big old meter mentioned in my previous post... and here's what it looks like:
Image

Some quick measurements of the existing scale plate, a bit of CAD, and it printed out beautifully. Now I just need to find a space on the desk for it...

ian
Posts: 8
Joined: January 25th, 2008, 4:30 pm

Post by ian »

Very nice! Well done.

_X7JAY7X_
Hardware Genie - Plugin Author
Posts: 374
Joined: February 16th, 2005, 10:24 pm
Location: Michigan

Post by _X7JAY7X_ »

Looks good. I started hacking one of those spinning LED caller id's, but I never finished it. There are many different variations but something like this http://www.amazon.com/Sharper-Image-Scr ... 83-5371308

grantb3
Posts: 50
Joined: February 10th, 2008, 4:27 pm

Post by grantb3 »

mattcro wrote:I finally got around to doing a proper meter scale for my big old meter mentioned in my previous post... and here's what it looks like:
Looks fantastic. Are you going to put it in a case? Does it move quite a bit? We going to need some video!!

Post Reply