Jump to content

Photo

TIPI OLED and Power/Shutdown switch


19 replies to this topic

#1 Shift838 ONLINE  

Shift838

    River Patroller

  • 2,182 posts
  • SHIFT838
  • Location:Deer Park, Texas

Posted Mon Apr 16, 2018 10:19 PM

I have been messing around a bit with a 128x64 OLED like these:

 

HERE

 

These are cheap and work great.  I use these on my programmable guitar foot pedals.

 

I was able to get one of these working on the TIPI...

 

See for yourself.  I'm going to set it up to automatically run after the TIPI is booted.

 

I will be adding buttons to power the PI up if you need to as well as for it to perform a clean shutdown.

 

Just thought I would share.

 

I'll be typing up a procedure on how I did it.  It takes about 10 minutes.

 

I may make the font bigger and only list the IP address and TIPI Ready.  Hell I may tool a small PCB for it all to just plug in to the correct GPIO pins on the Pi2/3

 

 

 

 

 

Attached Files



#2 jedimatt42 OFFLINE  

jedimatt42

    Stargunner

  • 1,530 posts
  • Location:Beaverton, OR

Posted Mon Apr 16, 2018 11:28 PM

I've got some Oled display support baked into TIPI services on the PI for a different display. It uses a TI BASIC font. And Logs other data as TIPI activities occur. Showing device, opcode, filenames, etc...

That was a much smaller display. It would be nice to stay integrated, all the source for TIPI services is there, fork it, and integrate the device.

There is no reason not to auto-detect the device attached and integrate it into the TIPI service code.

This is all encapsulated in the python class in services/Oled.py

We could enhance it so the taller display includes the IP address all the time. And the shorter display I've used maybe only shows that when the service returns to 'ready' state.

-M@

#3 broettger OFFLINE  

broettger

    Space Invader

  • 22 posts
  • Location:Burnsville, MN

Posted Tue Apr 17, 2018 3:43 PM

Matt - I saw the oled display in your pictures and I was curious about it. Can you share the details? I am planning to design an print an enclosure that will hold my speech synthesizer, short 32k, tipi and Pi 3 all into into one nice case. I would also like to include a small oled screen on the front. I plan to share the design when it is ready.

#4 Shift838 ONLINE  

Shift838

    River Patroller

  • Topic Starter
  • 2,182 posts
  • SHIFT838
  • Location:Deer Park, Texas

Posted Tue Apr 17, 2018 5:40 PM

Matt - I saw the oled display in your pictures and I was curious about it. Can you share the details? I am planning to design an print an enclosure that will hold my speech synthesizer, short 32k, tipi and Pi 3 all into into one nice case. I would also like to include a small oled screen on the front. I plan to share the design when it is ready.

 

I asked Matt the same thing a yesterday.  this is it..  I bought one too...

 

HERE

 

I would be interested in a 3D case too or the files to print one.  I have the same, shorty, pi3, tipi, speech.



#5 arcadeshopper OFFLINE  

arcadeshopper

    River Patroller

  • 3,166 posts
  • Location:Portland, Oregon USA

Posted Tue Apr 17, 2018 11:26 PM

I have one also26a7682baf4909b028384e7a002cb853.jpg

Sent from my LG-H872 using Tapatalk

#6 --- Ω --- OFFLINE  

--- Ω ---

    --- Ω ---

  • 11,707 posts
  • Location:워싱턴 주

Posted Thu Apr 19, 2018 10:39 PM

It looks like a cute little gadget.  I may be interested myself when it's "Plug-N-Play ready".

If there is any Pi side 'sudo sh!t' involved, I'll need very detailed instructions for installation.



#7 broettger OFFLINE  

broettger

    Space Invader

  • 22 posts
  • Location:Burnsville, MN

Posted Fri Apr 20, 2018 9:56 AM

When researching the OLED screens, I found some that had a keypad as well as the screen. Any ideas on how the buttons might be useful?

https://www.adafruit.com/product/1110

Edited by broettger, Fri Apr 20, 2018 10:00 AM.


#8 arcadeshopper OFFLINE  

arcadeshopper

    River Patroller

  • 3,166 posts
  • Location:Portland, Oregon USA

Posted Fri Apr 20, 2018 11:41 AM

It looks like a cute little gadget.  I may be interested myself when it's "Plug-N-Play ready".

If there is any Pi side 'sudo sh!t' involved, I'll need very detailed instructions for installation.

 

the display matt and I have is already plug and play



#9 --- Ω --- OFFLINE  

--- Ω ---

    --- Ω ---

  • 11,707 posts
  • Location:워싱턴 주

Posted Fri Apr 20, 2018 7:45 PM

 

the display matt and I have is already plug and play

 

 

Okay, if you say so, I ordered << THIS ONE >> 5 minutes ago.

 

Do they sell jumper wires for this thing?  If I want to mount it some place else I'll need 'em.



#10 arcadeshopper OFFLINE  

arcadeshopper

    River Patroller

  • 3,166 posts
  • Location:Portland, Oregon USA

Posted Fri Apr 20, 2018 10:53 PM

 

 

Okay, if you say so, I ordered << THIS ONE >> 5 minutes ago.

 

Do they sell jumper wires for this thing?  If I want to mount it some place else I'll need 'em.

 

standard jumpers and headers or the male to female jumpers will work. I can bring you those to the fest if you REALLY want them



#11 --- Ω --- OFFLINE  

--- Ω ---

    --- Ω ---

  • 11,707 posts
  • Location:워싱턴 주

Posted Fri Apr 20, 2018 10:57 PM

 

standard jumpers and headers or the male to female jumpers will work. I can bring you those to the fest if you REALLY want them

 

ABSOSMURFLY There is a 'project' going on that I'll need them for.  It looks like I'll need six, correct?



#12 Shift838 ONLINE  

Shift838

    River Patroller

  • Topic Starter
  • 2,182 posts
  • SHIFT838
  • Location:Deer Park, Texas

Posted Sat Apr 21, 2018 12:28 AM

I have one also

Sent from my LG-H872 using Tapatalk

 

Anything special to get it to work.  I plugged mine in (the exact same one) and I get nothing on the screen.  I know it works, I hooked it up to another pi3 and ran a test program on the OLED and it displays.



#13 arcadeshopper OFFLINE  

arcadeshopper

    River Patroller

  • 3,166 posts
  • Location:Portland, Oregon USA

Posted Sat Apr 21, 2018 12:28 AM

Power off plug lt in and turn on the pi should be it

Sent from my LG-H872 using Tapatalk

#14 Shift838 ONLINE  

Shift838

    River Patroller

  • Topic Starter
  • 2,182 posts
  • SHIFT838
  • Location:Deer Park, Texas

Posted Sat Apr 21, 2018 12:33 AM

I have done that already.  anything I need to enable in the raspi-config?



#15 arcadeshopper OFFLINE  

arcadeshopper

    River Patroller

  • 3,166 posts
  • Location:Portland, Oregon USA

Posted Sat Apr 21, 2018 3:23 PM

I have done that already.  anything I need to enable in the raspi-config?

 

nope it should be supported out of the box in the tipi software.. are you using a case that makes it possibly too far away?  maybe not making good connection to the pins



#16 Shift838 ONLINE  

Shift838

    River Patroller

  • Topic Starter
  • 2,182 posts
  • SHIFT838
  • Location:Deer Park, Texas

Posted Sat Apr 21, 2018 3:36 PM

 

nope it should be supported out of the box in the tipi software.. are you using a case that makes it possibly too far away?  maybe not making good connection to the pins

 

I have a set of extension headers on it to bring the pins up.  It works with other test code, but nothing on the screen for the TIPI out of the box for it.  At least not for me.  sure it's something I have missed, maybe..  does I2C need to be enabled via raspi-config or anything?


Edited by Shift838, Sat Apr 21, 2018 4:21 PM.


#17 --- Ω --- OFFLINE  

--- Ω ---

    --- Ω ---

  • 11,707 posts
  • Location:워싱턴 주

Posted Mon Apr 23, 2018 10:36 PM

Well my I2C shipped today.  I hope I get it in time for Fest West



#18 jedimatt42 OFFLINE  

jedimatt42

    Stargunner

  • 1,530 posts
  • Location:Beaverton, OR

Posted Mon Apr 23, 2018 11:17 PM

I figured out the problem in the code on the PI. The virtualenv for the services directory is fetching an old version of the Oled library from a binary repo, and the source code based build isn't being installed.

I'll try to workup an Update and publish that tomorrow.

-M@

#19 --- Ω --- OFFLINE  

--- Ω ---

    --- Ω ---

  • 11,707 posts
  • Location:워싱턴 주

Posted Mon Apr 23, 2018 11:44 PM

I figured out the problem in the code on the PI. The virtualenv for the services directory is fetching an old version of the Oled library from a binary repo, and the source code based build isn't being installed.

I'll try to workup an Update and publish that tomorrow.

-M@

 

Thanks Matt.  Will you please include a text file on how to update the Rpi too.



#20 jedimatt42 OFFLINE  

jedimatt42

    Stargunner

  • 1,530 posts
  • Location:Beaverton, OR

Posted Yesterday, 12:02 AM

The update will show up in TIPICFG, if an update is available, it informs you, and pressing 'U' key applies the update.

The PI must have internet access for this update feature to function.

-M@




0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users