¿ªÔÆÌåÓý

Re: "Analogue" indication on Oled display


 

I've been attacking it this-a-ways....? ?(Screenshot is from my linux/SDL "port")?

There's some other (older) examples?here:?

(Yes, I've been piddling?with it for a long while....)

I've got too many old meters that have multiple differing scales upon them, depending on what functions are selected, for a single scale replacement to be entirely satisfactory.
(I'm looking at you, assorted tube testers & VTVMs...)? ??


image.png

While most of my meters still work, I thought it'd be nice to have a relatively functional drop in replacement.

I'm intending to use an AMC3302 for single supply/isolation purposes, as well as 480x320 TFT for display purposes....

I've got code that works on an Arduino (Mega2560), however, the pointer resolution, and update speed were too coarse/slow for my liking.?
(Either PROGMEM and/or the?TFT display is too slow, or my code is the suck.? (Probably the latter.))? ? ? -- See the animated IMGUR links off the ARF thread.

I'm working on throwing hardware at it, via a Raspberry Pico.? ?The increased flash will permit me to try some code?
optimizations I've thought of that trade off compute cycles for memory.

?So if someone has highly performant code they'd like to share, I'm all ears.? I might learn something from it.?

David


On Tue, Sep 13, 2022 at 6:17 AM Matthias Bopp <matthias.bopp@...> wrote:

Keep going Michael,

?

I like the approach.

?

Kind regards

?

Matthias

?

?

?

Von: [email protected] <[email protected]> Im Auftrag von Michael Kellett via
Gesendet: Dienstag, 13. September 2022 10:47
An: [email protected]
Betreff: Re: [Test Equipment Design & Construction] "Analogue" indication on Oled display

?

I had thought about moving the pointer so that its position on the display represents the absolute level and its position on the scale represents the precise level.

Zooming in and out is certainly possible as well.

One of the problems with a low resolution display is that the character fonts don't scale well so you need to fine tune the numbers shown on the scale quite carefully.
On the other hand the processing of data is a great deal simpler - the 128 x 64 pixel monochrome display can be fully represented by 1kbyte of ram, a 320 x 240 colour display needs 150kbytes.
So you really do need 150x the processing power and 150x the data transfer rate - or to be a lot smarter in how it works.
I have some other displays to play with so I'll experiment with them as well.

MK

Join [email protected] to automatically receive all group messages.