Quantcast
Channel: SparkFun Tutorials
Viewing all articles
Browse latest Browse all 1123

Large Digit Driver Hookup Guide

$
0
0

Large Digit Driver Hookup Guide a learn.sparkfun.com tutorial

Available online at: http://sfe.io/t368

Introduction

Large numerical displays are a great addition to any project where you want to be able to see information at a distance. Scorekeepers and lap timers would be a great application for large 7-segment LED displays. The Really Big 7-Segment Display (6.5") fits that bill nicely. Driving several displays at the same time would be handy, which is where the Large Digit Driver board comes in.

HX711 Large Digit Driver board

The Large Digit Driver can be soldered directly to the bottom of the 7-Segment Display.

HX711 board attached to large 7 segment display

Several Large Digit Drivers can be chained together to create a display with multiple digits.

HX711 boards chained together

Covered in This Tutorial

In this tutorial, we will give you an overview of the Large Digit Driver and provide an example of hooking up the driver to an Arduino:

  • Board Overview– To begin, we’ll go over each of the pins on the breakout board and their function.
  • Hardware Hookup– In this section, we’ll show you how to hook the Large Digit Driver up to an Arduino.
  • Example: One Large Digit– Here, we give an example of an Arduino sketch to control one of the large 7-segment displays through the Large Digit Driver.
  • Example: Two Large Digits– We show how to daisy chain two large 7-segment displays together and control them with two Large Digit Drivers.
  • Resources and Going Further– This section gives some additional resources for getting more out of the Large Digit Driver.

Materials Used

You will need a few components and tools to follow along with this tutorial. Here is what you will need:

For each additional digit you want to add, you will need:

Recommended Reading

Before getting started with the Large Digit Driver, there are a few concepts that you should be familiar with. Consider reading some of these tutorials before continuing:

Board Overview

Pin Descriptions

The Large Digit Driver has 6 input pins and 6 output pins.

Overview of HX711 board

IN PinDescription
GNDConnect to ground
LATData transfer in from SER on the rising edge of the latch pin
CLKData transfer in from SER on the rising edge of the clock pin
SERSerial data in
5VConnect to power (5V)
12VConnect to power (12V)

OUT PinDescription
GNDConnect to ground (used to provide a ground pin to the next Large Digit Driver in the chain)
LATConnect to the LAT pin on the next Large Digit Driver in the chain
CLKConnect to the CLK pin on the next Large Digit Driver in the chain
SERSerial data out to the next Large Digit Driver
5V5V out to the next Large Digit Driver
12V12V out to the next Large Digit Driver

Hardware Hookup

Attach the Board

You will need to solder the Large Digit Driver to the back of the 7-segment display. Have the Driver’s 10 pins facing toward the bottom of the large 7-segment display and lined up with the traces on the back of the 7-segment display. Follow the Soldering Castellated Vias Guide to solder all 10 of the castellations as well as the 2 castellations at the top of the board (these should be attached to the 12V line and are just for mechanical support).

Soldering pins on HX711 Large Digit Driver

Connect the Board

We will be using the Arduino’s regulated 5V and unregulated 12V (from the wall adapter) to power the 7-segment display and Large Digit Driver.

Connect the Large Digit Driver to the the following pins on the Arduino.

Fritzing of Large Digit Driver connections

Large Digit DriverArduino
GND GND
LAT5
CLK6
SER7
5V5V
12VVIN

Example: One Large Digit

Load the Single Digit Example Code

Plug your Arduino into your computer via USB cable. Open up the Arduino program and copy in the following sketch.

Run

Upload the sketch to your Arduino, and plug the 12V adapter into the Arduino.

Provide 12V to the Arduino to power the large 7 segment display

Flip the 7-segment display over. You should see it count the digits 0-9 (the decimal point will appear on 9).

Single digit powered by HX711

Example: Two Large Digits

Attach a Second Digit

Use the 6-pin jumper wire to attach a second 7-segment display to the first display unit. Make sure that you connect GND of the OUT on the first display to the GND of the IN on the second display, LAT of the OUT on the first display to the LAT of the IN on the second display, and so on.

Chaining HX711 boards together

You will want to connect the Large Digit Driver on the right to the Arduino as per the Hardware Hookup section.

Load the Two Digit Example Code

Make sure the Arduino is plugged into your computer using a USB cable. Copy the following sketch into the Arduino program.

Run

Upload the sketch to your Arduino, and plug in the 12V supply. The 7-segment display (now two digits!) should count from 00 to 99.

Powering 2 digits from the HX711 Large Digti Driver

Resources and Going Further

Now that we have tested the large 7-segment displays, they are ready to be used in your project! Feel free to change the code to display other numbers or symbols on the displays.

Resources

Here are some additional resource to help you with the Large Digit Driver:

Other Tutorials

What will you make with the Large Digit Driver? If you need some inspiration, check out these related tutorials:

Dungeons and Dragons Dice Gauntlet

A playful, geeky tutorial for a leather bracer that uses a LilyPad Arduino, LilyPad accelerometer, and seven segment display to roll virtual 4, 6, 8, 10, 12, 20, and 100 side dice for gaming.

Galileo Unread Email Counter

How to create a simple unread-email checker with the Intel/Arduino Galileo.

Interactive Hanging LED Array

Learn how we converted 72 lightbulbs into an interactive LED array for our conference room.

Alphanumeric GPS Wall Clock

This is a GPS controlled clock - a clock you truly never have to set! Using GPS and some formulas, we figure out what day of the week and if we are in or out of daylight savings time.

learn.sparkfun.com |CC BY-SA 3.0 | SparkFun Electronics | Niwot, Colorado


Viewing all articles
Browse latest Browse all 1123

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>