SparkFun 20x4 SerLCD - Black on RGB 3.3V

The SparkFun SerLCD is an AVR-based, serial enabled LCD that provides a simple and cost effective solution for adding a 20x4 Black on RGB Liquid Crystal Display into your project. We’ve seriously overhauled the PCB design on the back of the screen by including an ATMega328P that handles all of the screen control, meaning a backpack is no longer needed! This display can now accept three different types of commands: serial, I2C, and SPI. This simplifies the number of wires needed and allows your project to display all kinds of text and numbers.

The on-board ATMega328P AVR microcontroller utilizes 11.0592 MHz crystal for greater communication accuracy with adjustable baud rates of 1200 through 1000000 but is default set at 9600. The firmware for this SerLCD is fully opensource and allows for any customizations you may need.

Note: Since the SerLCD is a 3.3V device, please make sure you convert to 3.3V logic depending on your chosen microcontroller or single board computer. Otherwise, you may risk damaging your board.

Get Started with the SparkFun SerLCD Guide

  • 20x4, Black on RGB Display
  • The AVR ATMega328p (with Arduino-compatible bootloader) is populated on the back of each LCD screen and handles all of the LCD control
  • Three communication options: Serial, I2C and SPI
  • Adjustable I2C address controlled via software special commands (0x72 default)
  • Emergency reset to factory settings (Jumper RX to GND on bootup)
  • Operational backspace character
  • Incoming buffer stores up to 80 characters
  • Pulse width modulation of backlight allows direct control of backlight brightness and current consumption
  • Pulse width modulation of contrast allows for software defined contrast amount.
  • User definable splash screen
  • Open-sourced firmware and Arduino-compatible bootloader enables updates via the Arduino IDE

SparkFun 20x4 SerLCD - Black on RGB 3.3V Product Help and Resources

New!

AVR-Based Serial Enabled LCDs Hookup Guide

August 2, 2018

The AVR-based Serial Enabled LCDs are a simple and cost effective solution for including a Liquid Crystal Displays (LCDs) into your project. These screens are based on the HD44780 controller, and include an AVR ATMega328p with an Arduino compatible bootloader. They accept control commands via Serial, I2C and SPI. In this tutorial, we will show examples of a simple setup and go through each communication option.

Additional libraries needed to compile the SerLCD firmware

You can find the additional libraries needed to compile the SerLCD firmware at the link below. LiquidCrystalFast and SoftPWM libraries


Core Skill: Soldering

This skill defines how difficult the soldering is on a particular product. It might be a couple simple solder joints, or require special reflow tools.

1 Soldering

Skill Level: Noob - Some basic soldering is required, but it is limited to a just a few pins, basic through-hole soldering, and couple (if any) polarized components. A basic soldering iron is all you should need.
See all skill levels


Core Skill: Programming

If a board needs code or communicates somehow, you're going to need to know how to program or interface with it. The programming skill is all about communication and code.

2 Programming

Skill Level: Rookie - You will need a better fundamental understand of what code is, and how it works. You will be using beginner-level software and development tools like Arduino. You will be dealing directly with code, but numerous examples and libraries are available. Sensors or shields will communicate with serial or TTL.
See all skill levels


Core Skill: Electrical Prototyping

If it requires power, you need to know how much, what all the pins do, and how to hook it up. You may need to reference datasheets, schematics, and know the ins and outs of electronics.

2 Electrical Prototyping

Skill Level: Rookie - You may be required to know a bit more about the component, such as orientation, or how to hook it up, in addition to power requirements. You will need to understand polarized components.
See all skill levels


Customer Comments

  • Is there an electric schematic document for this board? I’m wondering if there’s any spare pins that can be used to read button that would added next to the screen to make an interactive menu system… Thanks!

    • Also, while it doesn’t break out extra pins it does break out the UART, SPI, and I2C pins. Once you pick your protocol the other 2 are free pins to use for the most part. Since the code is open source you should be able to modify it to use those pins for whatever you want.

    • Hey Jeffery, Thanks for reaching out. Unfortunately, we do not have a schematic for this design. But I can tell you that the pins broken out on the long header along the side are the same I/O pins that you would find on a standard Arduino. For example, RX/TX = D0/D1, SDA/SCL = A4/A5, and the SPI pins are standard (D10, D11, D12, D13). If you’re looking for a good control interface, maybe the qwiic joystick and an adapter might be a good way to go - and you could use the I2C interface to communicate. Hope this helps!

      • Oh, so if there isn’t any plans, doesn’t that mean this product (plus #14072 and #14073) are not OSHW compliant? That’s too bad… The joystick might work as an alternative… I’ll have to take a closer look.

  • 3.3V (clearly marked!) means that it won’t be a great add-on for the majority of Arduino projects; the user would have to inconveniently add level shifters. But it’s a great fit for a Raspberry Pi, or for the newer ARM-based Arduino boards that run at 3.3V.

    • Indeed, 5V tolerant screens would be sweet. That did come up a little late in prototyping (after the 2nd or 3rd round). Unfortunately, there just wasn’t enough space on the back of these screens to add logic level conversion. Maybe we could pursue smaller package sizes for everything, but that would be a beast of a revision. Good point about the raspi, and we are lucky that there are a fair amount of 3.3V controllers these days. Thanks for your comment!

  • Love the “3.3V Logic Only” Label - it will help keep the magic smoke inside! Nice, clear looking display too!

    • Haha. Thanks for RTFM. Ya know, you can only make a warning so large, bold or highlighted, but ultimately, your reader has to want to read it :) I’m sure it will be overlooked by some, but I hope that they don’t break too much. It will survive for a little bit before the I/O are unhappy. I, confess… I actually damaged a prototype by talking to it from a 5V test jig (I was so excited about the protos, I didn’t double-check my settings, durp). So it happens to the best of us. In fact, that’s how SparkFun was started. Nate burned up his olimex programmer back in 2004 - having fun with sparks.

Customer Reviews

No reviews yet.