0

ST7565 Menu

ST7565 Menu. Alex writes –

I recently completed an independent school project for which I designed and built a prototype of a hand-held sensor platform. It consisted of an ATmega328, a ST7565 LCD and a couple sensors. I ended up using the Arduino environment with Adufruit Industries’ ST7565 Arduino library. Being tired of writing new code every time I wanted some sort of LCD user interaface, I set out to create my own API on top of Adafruit’s library.

The basic structure I was after was a menu based UI, involving layers of menus and sub-menus, each consisting of different selectable items, whose functions were all user-defined. This ended up being an easier task than it sounds, and I ended up with a rather cool library which I’ve dubbed the exceedingly creative name of ST7565 Menu


Pt 101477

Graphic ST7565 Positive LCD (128×64) with RGB backlight + extras. This graphical display looks great, costs less! The dark gray pixels are visible in daylight, and there’s also a full RGB LED backlight, which you can control with PWM to make any color you can imagine.

Four mounting holes and a blank 11 pin 2mm-pitch labeled breakout on the side – we just soldered some wire to each hole as shown in the photos, its very easy. (The LCDs have no wires soldered in when we ship them)

Bonus! We’re including a free 4050 level shifter chip so that you can safely use it with your favorite 5V microcontroller

Advantages!

  • Lower cost than KS0108 LCDs
  • Serial interface uses only 4 or 5 digital pins
  • Low power, full-color RGB LED backlight
  • Visible in daylight without backlight
  • Works perfectly with 3V logic

Challenges!…

  • 3.3v power and logic means a level converter is needed for 5V Arduinos (we include this part when purchasing from us)
  • Microcontroller must buffer display – uses 1Kb of RAM. This means you must upgrade to a ATmega328 if you are using an Arduino with a ‘8 or ‘168

For a more detailed tutorial, including how to wire up the display with a 4050, see our writeup at http://www.ladyada.net/learn/lcd/st7565.html We have C code and an Arduino library ready to go (we suggest reading the above tutorial too!).

In stock and shippin’ now!


Make a robot friend with Adafruit’s CRICKIT – A Creative Robotics & Interactive Construction Kit. It’s an add-on to our popular Circuit Playground Express, FEATHER and other platforms to make and program robots with CircuitPython, MakeCode, and Arduino. Start controlling motors, servos, solenoids. You also get signal pins, capacitive touch sensors, a NeoPixel driver and amplified speaker output. It complements & extends your boards so you can still use all the goodies on the microcontroller, now you have a robotics playground as well.

Join 7,500+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython in 2018 – Python on Microcontrollers is here!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/


Maker Business — Despite multiple bankruptcies, RadioShack continues to find ways to keep the lights on

Wearables — Molding with glue

Electronics — A few words on inductor resistance

Biohacking — Running Blades

Python for Microcontrollers — Help bring CircuitPython to other languages!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



No Comments

No comments yet.

Sorry, the comment form is closed at this time.