I2C Display Add-on – Functionality Overview

Featured_Image-1-35

Welcome to the Rheingold Heavy I2C Display Add-on. This circuit board is designed to work as an independent display capable of helping you to visualize data that you’re receiving from sensors. It works exceptionally well with the I2C and SPI Education Shield and the components of the Breakout Bundle.

Objectives

  1. Understand the various operating characteristics of the I2C Display Add-on.
  2. Understand what the connection requirements are for compatibility with various microcontrollers.
  3. Identify the different subsystems on the board.
  4. Understand how to connect the display to your microcontroller.
  5. Understand how to use the multiplexer.

Background
I2C Display Add-on Product Page
AS1115 Datasheet

Setup
There is no setup required for this module.

I2C Display Add-on Operating Characteristics

The I2C Display Add-on is designed to work with any 5V I2C compatible microcontroller, with the Arduino UNO specifically used during development. The main IC, the AMS AS1115 is able to run at 3V3, however the current setting resistors were selected with a 5V VCC in mind to power the 2VF / 30mA LEDs, and the reduced voltage would consequently result in a significantly lower maximum brightness. No harm would come to the device by doing so however.

 MinTypMaxUnits
Operating Voltage - Display Add-on5.0V
Operating Voltage - AS11155.0V
Operating Voltage - Piezo5.030V
Vf - Seven Segment Display2.02.6V
Vf - Red LEDs2.02.4V
Vf - Green LEDs2.02.4V
Current Draw - Seven Segment Display*2590mA
Current Draw - Red LEDs*30mA
Current Draw - Green LEDs*30mA
Current Draw - Single Segment0.61.62.3mA
Current Draw - Single Red LED0.61.62.3mA
Current Draw - Single Green LED0.61.62.3mA
Current Draw - All On860100mA
Current Draw - All Off / Shutdown 0x810.5mA
Current Draw - All Off / Shutdown 0x800.10.1µA
Clock Frequency I2C100400kHz
Clock Frequency - Multiplexor 0.4979kHz

*Values published in respective manufacturer’s datasheet.

Pin Out

I2C Display Add-on Pinout
I2C Display Add-on Pinout

The “NC” labeled pins are “not connected” on the PCB. Those positions are only there so that they can be used to provide mechanical stability, if necessary, when connecting the display to a breadboard or perfboard.

Visual Guide

I2C Display Add-on Visual Guide
I2C Display Add-on Visual Guide

Subsystem Description

Display Driver

The heart of the I2C Display is the AS1115 LED driver chip manufactured by Austrian Microsystems. It controls the output of all the segments of the display through the use of I2C communications through the connection header. The board is designed to allow the AS1115 to manage the forward voltage requirements and maximum current driven to any portion of the display.

The I2C bus on the Display does not have pull up resistors soldered to it, however the R6 and R7 pads are available for use with 0603 sized SMD resistors. It is highly recommended that you use correctly sized external pull up resistors rather than the internal pull up resistors associated with most microcontroller GPIO pins.

Seven Segment Display

The four digit, seven segment display is connected to the AS1115 on the PCB directly. The display is a common cathode configuration featuring four discrete digits, associated decimal place LEDs and three additional LEDs that arranged as the colon delimiter in a clock display, with the third LED existing for reasons that are beyond me, but it’s there if you want to use it. The three additional LEDs are designated as L1, L2, and L3 in the datasheet and are connected to the AS1115 via the multiplexing arrangement described below.

The digits of the display are connected to the AS115 as digits 0, 1, 2 and 3, from left to right and L1/L2/Le as digit 4 via the multiplexer.

LED Bar Graph
The LED Bar Graph consists of two rows of eight red/green LEDs. The LEDs can be turned on individually or in groups with both colors being used simultaneously if desired.

The top green row is connected to the AS115 as digit 7.
The top red row is connected to the AS115 as digit 6.
The bottom green row is connected to the AS115 as digit 5.
The bottom red row is connected to the AS115 as digit 4 via the multiplexer.

Multiplexer

The multiplexer consists of a solid state SPDT switch that allows either the common cathode of L1/L2/L3 or the common cathode of the bottom row red LEDs to sink current to ground. By driving the the CTL pin low, you enable L1/L2/L3, by driving the CTL pin high you enable the bottom row red LEDs. By sending a PWM signal you can allow the display of both simultaneously, however they would necessarily both wind up displaying the same output configuration.

Piezo Speaker

A Piezo speaker is available to use as a buzzer or simple tone player in the upper right hand corner of the display. It is controlled through the SPKR pin on the connection header.

Connection

The connection of the display is designed for use with either jumper wire or right angled pin headers to allow the board to be connected to a breadboard or perfboard for soldering. The Display is designed to mate directly with any Arduino UNO or UNO compatible shield, by using a right angle connector and matching the 5V and GND pins.

The AS1115 is very susceptible to signal reflections and ringing, so if you experience errors and glitches with the display, they can most often be cured by including 1/4W 100Ω resistors in series with the SCL and SDA connections (1/4 resistors fit more securely in the socket of the connection header than 1/8W). These resistors are NOT pull up resistors, rather they are series resistors designed to reduce interference at the slave end of an I2C bus connection.
I2C Display Add-on With Series Resistors
I2C Display Add-on With Series Resistors