Shop OBEX P1 Docs P2 Docs Learn Events
uOLED-128 Picture viewer — Parallax Forums

uOLED-128 Picture viewer

Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
edited 2009-02-08 17:38 in Propeller 1
I was inspired by Ray's work with the TFT screen, and having recently
acquired a uOLED-128-G1, I did a conversion of spudview for it allowing you to
display 128x128 Raw .PPM images (Can be created with Gimp)

Unlike TV, It is surprisingly easy to communicate with these displays.

Attached is source code, and photos. Requires SD, copy your files and adjust pin settings.

OBC

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?

Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS

Post Edited (Oldbitcollector) : 2/7/2009 9:51:11 PM GMT

Comments

  • jazzedjazzed Posts: 11,803
    edited 2009-02-08 00:01
    Nice work.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    --Steve
  • rjo_rjo_ Posts: 1,825
    edited 2009-02-08 01:06
    Oldbit...

    I can't thank you enough... and your esp seems to be working just fine. I wanted to integrate the 128 into my PropPhone... much smaller than a video projector[noparse]:)[/noparse] AND I hooked everything up and nothing worked. Now I don't have to think... I can just do as you've done[noparse]:)[/noparse]

    ThankUthankUthankYOU

    Rich
  • Bob Lawrence (VE1RLL)Bob Lawrence (VE1RLL) Posts: 1,720
    edited 2009-02-08 01:18
    Looks Great!!!!!!! cool.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Aka: CosmicBob
  • WhitWhit Posts: 4,191
    edited 2009-02-08 01:19
    Nice work OBC! I have a uOLED-128-GMD1. I have used it only with the Basic Stamp.

    May have to give this a try. I need to do a little reasearch on the difference between the G1 and the GMD1 though.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Whit+


    "We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney

    Post Edited (Whit) : 2/8/2009 1:25:26 AM GMT
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2009-02-08 01:24
    Thanks guys..

    @rjo, glad it's useful to you.

    Been doing some testing to see if I can get it doing video, but it just doesn't seem to
    be fast enough for plot drawing. [noparse]:([/noparse] I'm playing with the idea of doing some kind of
    gaming with it. I'm picturing a Protoboard with some directional pushbuttons, fire button
    and this screen. Would make a neat hand-held game device.

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    New to the Propeller?

    Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
    Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
    Got an SD card connected? - PropDOS
  • rjo_rjo_ Posts: 1,825
    edited 2009-02-08 01:26
    AND a great menu server... could even be on its own prop.
  • Erik FriesenErik Friesen Posts: 1,071
    edited 2009-02-08 02:06
    Why not do it in asm?

    I was playing around with those ppm files in my hex editor and came up with this bmp

    If this looks right, this tells me you could use bmps with a little different offset. (duck the shoes here from the Linux people)
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2009-02-08 02:11
    No issues with bmp here. (I'm an Ubuntu user, Gimp & KolourPaint will do them just fine)

    Couple things, your image seems inverted & upside-down. (See my first post)
    Some of the colors are a bit off. also I suspect that bmp's might be heavier than .PPM, but at this size probably not by much. [noparse]:)[/noparse]

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    New to the Propeller?

    Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
    Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
    Got an SD card connected? - PropDOS
  • rjo_rjo_ Posts: 1,825
    edited 2009-02-08 02:22
    You can debate all you want... you are both wrong[noparse]:)[/noparse]

    ImageJ offers the conversions... is cross platform and is the fastest Java image processor on the planet... and the support for automated processing is incredible.

    When we get to robot vision... "gimp" is going to look like "lame."
  • Erik FriesenErik Friesen Posts: 1,071
    edited 2009-02-08 02:24
    Yeah I noticed that. I cut and pasted too so I imagine that I didn't get the proper code in there somewhere. I imagine that ppms must invert their order or something.
  • RaymanRayman Posts: 14,826
    edited 2009-02-08 14:43
    OBC:· If you have time, could you try the picture showing and line drawing functions from my uOLED-96-Prop Windows interface?

    Here's a link to it:

    OledInterface_ComFix.zip

    I think these units share the same command structure (except for SD card access)...

    If the "Display Image" button works, I could modify it easily to make 128x128 images...
  • AribaAriba Posts: 2,690
    edited 2009-02-08 17:38
    How hard will it be to decode JPEGs directly with a Propeller? Is it even possible?
Sign In or Register to comment.