@ David Holland,
Thanks for the info. I took a look at your links and video - the
performance from your Arduino is better than I expected.
I've got some 480 x 320 display with // data input to play with.
My initial goal was to keep it cheap and simple - the Oled
displays are great for that.
A high res full colour display will be much nicer, and much more
work.
I've got some which are powered by FTDI's graphics controller to
try as well ........
First I mean to get the Oled into a state where it can be used,
with a little board on the back with the micro on it. Not planning
isolation at this stage.
Michael Kellett,
MK Electronics Ltd.,
Unit 4,
Greenlaw,
Castle Douglas,
DG7 2LH,
01556 506999
07968 111148
On 13/09/2022 13:40, David Holland
wrote:
toggle quoted message
Show quoted text
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...)? ??
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
Keep going Michael,
?
I like the approach.
?
Kind regards
?
Matthias
?
?
?
?
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