Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 11:22 12 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : E-Ink magic, faster update and no flashes

Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10572
Posted: 04:12pm 11 Nov 2018
Copy link to clipboard 
Print this post



Watch the demo

MMbasic running on the NUCLEO-L432KC

dim s$
CLS
option autorefresh off
do
if time$<>s$ then
s$=time$
text mm.hres\2,mm.vres\2,s$,CMU,8,1
box mm.hres\2-8, 98,4,4,,1,1
box mm.hres\2+4, 98,4,4,,1,1
box mm.hres\2-8, 196,4,4,,1,1
box mm.hres\2+4, 196,4,4,,1,1
refresh
endif
loop
Edited by matherp 2018-11-13
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2959
Posted: 04:27pm 11 Nov 2018
Copy link to clipboard 
Print this post

Hi Peter,

Very impressive!

What is the purpose of the four BOX commands (at first I thought something to flash the second's colon).


 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10572
Posted: 04:44pm 11 Nov 2018
Copy link to clipboard 
Print this post

  Quote  What is the purpose of the four BOX commands (at first I thought something to flash the second's colon).


The seven segment font doesn't have a colon symbol so these just mimic one
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2959
Posted: 05:52pm 11 Nov 2018
Copy link to clipboard 
Print this post

Thanks for explaining that.

If I zoom in on your posted image above, I can see the 7-segment 'shadow on the right most digit. Is this a property of the e-ink technology, or is it because of the technique your using?
 
twofingers

Guru

Joined: 02/06/2014
Location: Germany
Posts: 1671
Posted: 07:29pm 11 Nov 2018
Copy link to clipboard 
Print this post

Hi Peter,

I really appreciate that!
I was very convinced that you could do it.

Do you already have figures about the power consumption?

Kind regards
Michael
causality ≠ correlation ≠ coincidence
 
panky

Guru

Joined: 02/10/2012
Location: Australia
Posts: 1116
Posted: 07:07am 12 Nov 2018
Copy link to clipboard 
Print this post

Peter,

Could you please provide details and source of the e-ink display you are using above.

Thanks, Doug.
... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it!
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 2006
Posted: 09:03pm 12 Nov 2018
Copy link to clipboard 
Print this post

@Panky
Should find what you want in this thread
E-Ink
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 1013
Posted: 09:48pm 23 Nov 2018
Copy link to clipboard 
Print this post

When I use the OPTION AUTOREFRESH OFF/REFRESH in 5.04.37 on ST-L4 and 2.9" e-Paper the screen goes to black before the update. Is there any way I can fix that?

OA47
 
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 1013
Posted: 08:58pm 10 Jan 2019
Copy link to clipboard 
Print this post

I am still a little confused as to how I can clear the e-ink display whilst connected to the L4 armmite. The display has random pixels still dark at the top of the display and all attempts to get the display back to white have not been successful. I have not been able to get CLS to function with this display and the L4.

OA47
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 2006
Posted: 12:04am 11 Jan 2019
Copy link to clipboard 
Print this post

I have disconnected mine but am sure CLS worked and since I didn't want to leave anything on the screen while not in use I cleared the screen and it is now sitting here blank. I will wire it back up later and do some testing.

"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 2006
Posted: 02:25am 11 Jan 2019
Copy link to clipboard 
Print this post

OK I reconnected the E_Ink display and loaded the driver but keep getting an error
  Quote  [81] Pin(RST)=1
Error: RST is not declared

This L4 is driving me crazy.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 2006
Posted: 03:25am 11 Jan 2019
Copy link to clipboard 
Print this post

OK I was a bit rusty, doesn't take long to get rusty at my age.
Got it working again and CLS works OK.
I entered a snippet of code to put some text on the screen and by just typing "CLS" at the prompt in TeraTerm it clears the screen.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 1013
Posted: 09:11am 11 Jan 2019
Copy link to clipboard 
Print this post

Somthin' screwy going on at my end.







when I type CLS from prompt only the written area gets cleared.




Any suggestions anybody? I have tried option lcdpanel disable power down then up then option lcdpanel gdeh029a1 etc even tried to enable and disable each pixel on the screen.

OA47





 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 2006
Posted: 08:57pm 11 Jan 2019
Copy link to clipboard 
Print this post

At a guess I would say the display is faulty.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 2006
Posted: 10:21pm 11 Jan 2019
Copy link to clipboard 
Print this post

Just noticed looks like still have the peel off protective coating on the display? It is not causing some sort of static interference is it.
Have you tried the display on a Micromite.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 09:16am 16 Jan 2019
Copy link to clipboard 
Print this post

Peter any idea if THIS ONE would work ok?
It's a standard SPI - E-INK display but it has 3 colours
I'm guessing the only thing I'd need to do to change colour is the normal way?


Edited by lew247 2019-01-17
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10572
Posted: 09:31am 16 Jan 2019
Copy link to clipboard 
Print this post

  Quote  I'm guessing the only thing I'd need to do to change colour is the normal way?

No: it would need a completely different driver. The current one uses 1 bit per pixel.
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 10:32am 17 Jan 2019
Copy link to clipboard 
Print this post

Is this using the same code as listed here ?

and only running faster because it's not an MM?

or is there new code to make it faster?
 
davematt
Regular Member

Joined: 27/09/2011
Location: Australia
Posts: 55
Posted: 01:56am 28 Jan 2019
Copy link to clipboard 
Print this post

@ Matherp, Peter, even using version 5.0435 my 2.9in display insists on flashing black every update.
Quite puzzling when you've shown us it doesn't need to!
Using option lcdpanel GDEH029A1, L, 15, 21, 14, 22, 1 and your clock program.
Do these displays vary between batches or something?

@ Lew247. The more recent versions of Armmite L4 let you use the option as above.
In the battery miser page is version 5.04.04 or therabouts...
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025