Model Boat Mayhem - Forum

Please login or register.

Login with username, password and session length.
Pages: [1]   Go Down

Author Topic: OLED display 128x64  (Read 948 times)

C-3PO

  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 679
  • I thought that hairy beast would be the end of me
  • Location: Outer Rim world of Tatooine
OLED display 128x64
« on: July 02, 2018, 10:47:19 AM »

Hello,

This is a 128x64 pixel OLED screen. It's cheap - Approx 5 and in the examples driven by an Arduino

I am playing around to see what effects you could add to a model boat some real others just "smoke and mirrors" animation

Some ideas are radar, sonar, map plotter, Lipo cell monitor... any other suggestions...

https://youtu.be/dNBtVWvabbc










C-3PO
Logged
I think it's the way I have learnt most of my stuff - getting very stuck first...

tsenecal

  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 282
  • Location: Arvada, Colorado, USA
Re: OLED display 128x64
« Reply #1 on: July 02, 2018, 02:22:27 PM »

i am curious how bright they are, can you see them in direct daylight?
Logged

C-3PO

  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 679
  • I thought that hairy beast would be the end of me
  • Location: Outer Rim world of Tatooine
Re: OLED display 128x64
« Reply #2 on: July 02, 2018, 02:53:11 PM »

Hi - yes you can see the image in full/direct sunlight - not as easy though as partial shade

This image is in full 28 degree British heat wave sun.

It appears that the camera on my phone is running faster than the screen refresh rate - to the human eye it's a full image where the all lines can be seen but the image should give you an idea




C-3PO
Logged
I think it's the way I have learnt most of my stuff - getting very stuck first...

tigertiger

  • Global Moderator
  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 6,685
  • Location: Kunming, city of eternal springtime, SW China.
Re: OLED display 128x64
« Reply #3 on: July 02, 2018, 03:06:08 PM »

Cool. Nice potential for shows.
Logged
The only stupid question is the one I didn't ask

tsenecal

  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 282
  • Location: Arvada, Colorado, USA
Re: OLED display 128x64
« Reply #4 on: July 02, 2018, 03:13:16 PM »

Hi - yes you can see the image in full/direct sunlight - not as easy though as partial shade

This image is in full 28 degree British heat wave sun.

It appears that the camera on my phone is running faster than the screen refresh rate - to the human eye it's a full image where the all lines can be seen but the image should give you an idea




C-3PO


28 degree british heatwave you say  :-)   thursday june 28th, high temp here was 105f (40.55 c), with temps days before at 101f and 97f...  but yep, looks like the display should be viewable on a model boat...
Logged

C-3PO

  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 679
  • I thought that hairy beast would be the end of me
  • Location: Outer Rim world of Tatooine
Re: OLED display 128x64
« Reply #5 on: July 02, 2018, 03:19:19 PM »

There is a full colour oled - a lot of fun - BUT - it's no good for animation due to the way the screen refresh works

( to clear the screen you have to fill it with black and then replot your image - just takes to0 long and you can see the flicker compared to this screen "white on blue" where it just flushes the memory in one hit)

This guy has hooked it up to ultrasonic sensors so the display is showing objects in view/range

https://www.youtube.com/watch?v=o3NNufAAjzE


C-3PO

Logged
I think it's the way I have learnt most of my stuff - getting very stuck first...

tsenecal

  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 282
  • Location: Arvada, Colorado, USA
Re: OLED display 128x64
« Reply #6 on: July 02, 2018, 04:50:53 PM »

There is a full colour oled - a lot of fun - BUT - it's no good for animation due to the way the screen refresh works


<snip>

C-3PO



that explains the bizarre refresh visible in this video:


https://www.youtube.com/watch?v=CYkGRtVv3Ls
Logged

C-3PO

  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 679
  • I thought that hairy beast would be the end of me
  • Location: Outer Rim world of Tatooine
Re: OLED display 128x64
« Reply #7 on: July 02, 2018, 05:05:28 PM »


that explains the bizarre refresh visible in this video:
https://www.youtube.com/watch?v=CYkGRtVv3Ls
Spot on! - you can see the black fill (wipe left to right) - it's a real shame.
That said there is another way of using the full colour screen for animation - as you probably realise to make the screen animate you are drawing a screen / clearing a  screen / drawing a screen etc etc all the time to give the illusion of movement. If you can "undraw" what you just drew then you don't have to clear the screen - but that would be complex where say your radar scanner line has moved - you "undraw" in black but this would knock out pixels that formed part of the semi circle grid - but maybe just plotting the grid again may be quick enough - I will give it a try...

C-3PO
Logged
I think it's the way I have learnt most of my stuff - getting very stuck first...

timgarrod

  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 264
  • Location: derby
    • Alvaston Pirates Model Boat Club
Re: OLED display 128x64
« Reply #8 on: July 02, 2018, 05:56:09 PM »

Just order one of these screen for a project i'm working on.

Can't wait to play with it .
Logged

C-3PO

  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 679
  • I thought that hairy beast would be the end of me
  • Location: Outer Rim world of Tatooine
Re: OLED display 128x64
« Reply #9 on: July 02, 2018, 07:38:08 PM »

Maybe there is some mileage in the colour oled....

https://youtu.be/EXGeyZEYg5M

C-3PO
Logged
I think it's the way I have learnt most of my stuff - getting very stuck first...

tsenecal

  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 282
  • Location: Arvada, Colorado, USA
Re: OLED display 128x64
« Reply #10 on: July 02, 2018, 09:38:22 PM »

so this is you doing what you theorized in reply #7?  if so it appears that redrawing the entire screen with somethings drawn twice (once in black and once in "color") to move items seems to be fast enough.
Logged

C-3PO

  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 679
  • I thought that hairy beast would be the end of me
  • Location: Outer Rim world of Tatooine
Re: OLED display 128x64
« Reply #11 on: July 02, 2018, 09:51:24 PM »

Hi Tim,

Yes draw colour and then draw in black / draw colour new position - the grid is redrawn each frame.

The moving text is drawn in red / then black / then red in new position.

Of course I realised the white on blue screen could be used in reverse - so effectively turning it to blue on white - that would make it easier to see in daylight

Forgot to comment - the temps you have had are on a different level to what we have but for us it's unusual - heard somewhere it's  the hottest spell in the last 42 years - but you know how it is here in the UK - a few flakes of snow and everything grinds to a halt!

The other thing to mention is that to the human eye the image is much more pleasing that the pixelated image on the video

C-3PO
Logged
I think it's the way I have learnt most of my stuff - getting very stuck first...

Arrow5

  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 3,856
  • Location: Scottish Highlands
Re: OLED display 128x64
« Reply #12 on: July 03, 2018, 11:33:02 AM »

Not strictly correct my southern friend. In some parts of the UK we open up the ski slopes. I believe that a few degrees of frost in Kent and you call-out the army %)   OLED great stuff BTW
Logged
..well can you land on this?

tigertiger

  • Global Moderator
  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 6,685
  • Location: Kunming, city of eternal springtime, SW China.
Re: OLED display 128x64
« Reply #13 on: July 03, 2018, 12:54:50 PM »

Out of the box thought.


For a floating restaurant or bar, a neon sign for 'OPEN', 'Fish n Chips', 'Booze Cruise', etc.
Or ferry, on board LED screen notices.
Logged
The only stupid question is the one I didn't ask

tigertiger

  • Global Moderator
  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 6,685
  • Location: Kunming, city of eternal springtime, SW China.
Re: OLED display 128x64
« Reply #14 on: July 04, 2018, 01:54:33 AM »

A thought triggered by this thread, http://www.modelboatmayhem.co.uk/forum/index.php/topic,61128.msg644832/topicseen.html#msg644832.


OLED display Lipo voltage indicator.
Logged
The only stupid question is the one I didn't ask

C-3PO

  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 679
  • I thought that hairy beast would be the end of me
  • Location: Outer Rim world of Tatooine
Re: OLED display 128x64
« Reply #15 on: July 04, 2018, 08:17:02 AM »

A thought triggered by this thread, http://www.modelboatmayhem.co.uk/forum/index.php/topic,61128.msg644832/topicseen.html#msg644832.
OLED display Lipo voltage indicator.

Hi TigerTiger - lipo monitor was mentioned in the first post - somethings like this - colour gives quick visual feedback - indicator of cell voltage level ( High = Green / OK = Yellow / Cutoff = Red)

C-3PO

Logged
I think it's the way I have learnt most of my stuff - getting very stuck first...

tigertiger

  • Global Moderator
  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 6,685
  • Location: Kunming, city of eternal springtime, SW China.
Re: OLED display 128x64
« Reply #16 on: July 04, 2018, 10:51:25 AM »

Ah! Right, I missed that. You dazzled me with the radar.
Logged
The only stupid question is the one I didn't ask

Martin [Admin]

  • Administrator
  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 18,101
  • Location: Peterborough, UK
    • Model Boat Mayhem
Re: OLED display 128x64
« Reply #17 on: July 04, 2018, 12:15:47 PM »


Ah!  Aliens fan!



Logged
"This is my firm opinion, but what do I know?!"    -   Mayhem FaceBook Group!

C-3PO

  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 679
  • I thought that hairy beast would be the end of me
  • Location: Outer Rim world of Tatooine
Re: OLED display 128x64
« Reply #18 on: July 04, 2018, 12:32:02 PM »


Hi TigerTiger - lipo monitor was mentioned in the first post

Sorry TigerTiger - that was a bit harsh of me - it didin't come across quite as intended!

It would be easy to simply add a piezo sounder and you would have a lipo monitor with alarm. However you probably can buy all that for 20% of the price already made from flea bay....

C-3PO
Logged
I think it's the way I have learnt most of my stuff - getting very stuck first...

tigertiger

  • Global Moderator
  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 6,685
  • Location: Kunming, city of eternal springtime, SW China.
Re: OLED display 128x64
« Reply #19 on: July 04, 2018, 12:48:16 PM »


Don't worry, I didn't take it as hostile at all. :-) I guess you could do a sonar display that also pings. Not strictly to scale but might be fun for things like model shows to attract the kids. Might be something that could be added to scratch built cutaway sub models of the right era.
Logged
The only stupid question is the one I didn't ask

C-3PO

  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 679
  • I thought that hairy beast would be the end of me
  • Location: Outer Rim world of Tatooine
Re: OLED display - Jet Drive Tachometer
« Reply #20 on: July 08, 2018, 12:05:59 PM »

Using this concept to monitor the KMB jet driver rpm as installed in a Shannon Lifeboat

The rpm data is recorded along with other performance/ rc channel values data to an SD card for later analysis.

https://youtu.be/p_y-xm3J-5Q

Note - the demo video is monitoring a Dremel drill



C-3PO
Logged
I think it's the way I have learnt most of my stuff - getting very stuck first...

tigertiger

  • Global Moderator
  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 6,685
  • Location: Kunming, city of eternal springtime, SW China.
Re: OLED display 128x64
« Reply #21 on: July 08, 2018, 01:46:18 PM »

Now, if you have a sound unit (diesel), could you match the display to approximate the revs of the engine sound?


I hope I am being clear.
Logged
The only stupid question is the one I didn't ask
Pages: [1]   Go Up