Aug 082013
RPi LCD Display

RPi LCD Display

This post is just a bunch of notes regarding my attempt to create a useful Raspberry Pi LCD display.  What is shown on the display is rather arbitrary – what I’m after is a small (inexpensive) display solution for bunches of different project ideas.  All the projects share the same problem – how can I have a cool little LCD display integrated right into my project.  Maybe the display will be a DRO (digital readout) for a CNC machine.  Maybe the display will be bolted on a little two wheel robot.  Maybe bolt the display in my vehicle for decoding real-time vehicle data.  Or, as shown here, maybe the display will sit and display real-time weather.

So, what follows is a step-by-step, mainly for myself, guide for setting up a Raspberry Pi as a real-time weather display.  To do all the GUI stuff I used Python + PyGame.  This made it really easy to make a pretty display – which is difficult on a really small composite video display.  All the fonts had to be really big to show up nice on the display.  Once per second, PyGame is used to completely redraw the display.  Then, once per minute, the code fetches the current weather conditions and forecast from Weather.Com.  The weather and forecast are based on my zip code that is part of the data request to Weather.Com.  On average, Weather.Com updates the weather / forecast four times per hour.  It all seems to work very well.  Read on for all the juicy details.

Continue reading »

Apr 132011


Well, I had big plan for this LCD thing.  After many many hours I’m calling Uncle!  I give.  The plan was to have this blue LCD floating on a wire stalk above the STM32 Discover board.  There is just one problem, the display is almost translucent so things behind the display make it hard to see what’s being display on the screen.  What’s needed is a white background – preferably a background that is also generating light.  You know, a LED back-light.

For more on the LCD hardware have a look at this link where I covered info about the display.

Continue reading »

Mar 062011

The Sparkfun LCD is OK – but, it seems really old (surplus).  So, I went looking for something new (but similar).  Ultimately, I found something interesting at Mouser from a company called Electronic Assembly.  Seems they have taken a COG (chip on glass) display and fused PCB legs onto it.  The price also helped – only $12 bucks.  The displays are monochrome and have a graphic format of 102×64 pixels.  The displays are designed to interface to a micro using a SPI bus.  Note, these version of displays that use a SPI interface are read only.  The display has no MISO pin to allow the display to be read.  The Sparkfun / Nokia 5110 display was the same – no MISO pin.

Continue reading »

Feb 272011

Copper LCD

Very exciting, very exciting!  Nothing better than getting an LCD display working for the first time.  Makes one feel like the captain of the universe.

The rest of this post describes interfacing a Nokia 5110 LCD display to the STM32 Discovery board.

Continue reading »

© 2013 Powerhouse Electronics Leave me comment!