7Seg-DB (#28312 & #28313):
4-Digit, 7-Segment
LED Display Module Hardware Manual
General Description
The 7Seg-DB modules each provide 4 digits of LED display, with some alphabetic and punctuation
capability. The master module, 7Seg-DB(M) (#28312), plugs directly into a Parallax motherboard. With
the master module installed, up to seven additional slave modules, 7Seg-DB(S) can be added, daisy-
chain-style, for a total of 32 contiguously-displayed digits.
Features
•
•
•
•
•
•
•
Plug-compatible with Parallax motherboards.
Displays four digits (alphanumeric characters) apiece.
Includes shift registers for refresh with 25% duty cycle.
Includes a dimming input for PWM control of overall intensity.
Compatible with future daisy-chainable I/O devices.
Downloadable AVR firmware handles refresh, character display, and special effects automatically.
Compatible with both 3.3V and 5V Vdd installations.
Application Ideas
•
•
•
•
•
Annunciators.
Visual Sensor Feedback.
Desktop weather stations.
Scrolling marquees.
Debugging output.
What’s Included
7Seg-DB module,
with amber LED
LED extractor and jumper (supplied with
master module only).
What You Need to Provide
•
Parallax motherboard.
Available Accessories
•
Red, green, and blue replacement displays.
Page 1 of 5
© Parallax, Inc. • 7Seg-DB (2007.09.05)
Master Module Installation
One master module is required for every installation. The master module can be plugged into any
daughterboard socket on a Parallax motherboard. Most of the time, you’ll want to use the “B” socket, and
the examples in this document use the “B” socket exclusively. Below is a photo of a master module
plugged into the MoBoStamp-pe’s “B” socket:
Theoretically, you could plug master modules into
both
sockets. However, even though they will line up
with one another, one will be inverted with respect to the other. At some point, if there’s sufficient
demand, there will be a firmware driver available for use with an upside-down module. But using one
master with a daisy-chained slave is preferred over the two-master approach.
MoBoStamp-pe
Before plugging the 7Seg-DB into your MoBoStamp-pe, load the AVR firmware for this device (available
for download on the 7Seg-DB product page,
http://www.parallax.com/detail.asp?product_id=28312.
This
firmware can be installed for either the “A” or “B” daughterbord sockets, socket “B” being the usual
destination. The firmware is uploaded with the program, LoadAVR.exe, available on the MoBoStamp-pe
product page:
http://www.parallax.com/detail.asp?product_id=28300.
Before uploading, however, you
may wish to redesign the default character set to your own specs. This can be done with the PC program,
7Seg_Font.exe, available from the 7Seg-DB product page.
After successfully installing the AVR firmware, the 7Seg-DB functions can be programmed in PBASIC, as
outlined in the 7Seg-DB AVR firmware manual, which is also available on the 7Seg-DB product page.
MoBoProp
To use the 7Seg-DB with your MoBoProp motherboard, just plug it into either daughterboard socket,
socket “B” being its usual home. To use the 7Seg-DB as an output device for the Propeller, you will need
to specify the 7Seg object (available from the Propeller Object Exchange) with your programs under the
“OBJ” header and call the public routines contained therein.
© Parallax, Inc. • 7Seg-DB (2007.09.05)
Page 2 of 5
Slave Module Installation
Once the master module has been installed, up to seven additional slave modules can be plugged into it,
one after the other, in a daisy chain. On the back of every purchased master module, there is a jumper
installed on the two-pin, right-angle header. (See photo below.)
Before plugging in the master module, remove this jumper from the master device. Then, after daisy
chaining all the slave devices, install the jumper on the last device in the chain, as shown below:
Once this is done, the master module with its daisy-chained slaves can be plugged into the motherboard.
To support the slave units physically, Parallax will soon be offering extrusions designed for that purpose.
You can also employ the screw holes (#4 or 3mm), along with standoffs for mounting behind a panel.
IMPORTANT NOTE:
When powering your system from the USB port, eight 7Seg-DBs running at
maximum intensity will draw more current than the USB port can provide. This will cause the
motherboard to reset when the USB supply voltage is drawn down too far. To avoid this, use a lower
intensity setting to keep current draw to a minimum. See the AVR firmware docs for how to adjust the
LED intensity.
© Parallax, Inc. • 7Seg-DB (2007.09.05)
Page 3 of 5
Changing LED Displays
The four-digit LEDs are socketed, so they can be exchanged with similar units of a different color. The
sockets hold the LEDs very tightly, and they can be difficult to remove. For this reason, an extraction tool
is provided for safe LED removal.
IMPORTANT NOTE:
Do
not
use any metallic implements (e.g. screwdrivers, knife blades, etc.) to
extract the LED. Doing so will mar the plastic LED housing and could damage the LED and/or the 7Seg-
DB printed circuit board.
Using the removal tool provided, slip the thin end under the top or bottom of the LED and pry gently until
it lifts slightly from the socket. Repeat on the other side. Keep switching sides and prying by little bits at a
time until the LED is free.
To install the replacement LED, make sure that it’s oriented correctly. Use the image printed (very faintly)
on the circuit board as a guide. The decimal points indicate the correct orientation. (See photo below.)
© Parallax, Inc. • 7Seg-DB (2007.09.05)
Page 4 of 5
Schematic
+5V
Q4a
R3
100K
+5V
Q3b
RP1 & RP2: 180R x 4
Q5a
C2
0.1 F
+5V
Q3a
Vdd
16
Q4b
A1
12
CA
CF
A2
A3
CB
7
Q5b
Vdd
14
C1
0.1 F
13
/OE
12
RCK
10
/SCLR
11
SCK
8
Vss
D
QA
15
QB
1
QC
2
QD
3
QE
4
QF
5
QG
6
QH
7
QH'
9
CD
CP
CC
CG
6
A4
1
CE
1234
Q2b
Q2a
Q6a
3
4
5
6
10
11
12
13
QA
QB
QC
QD
QE
QF
QG
QH
/CLR
9
CLK
8
A
1
B
2
J1*
Link Out
Q1b
Q1a
+5V
+5V SCK DO
RCK /PWM Gnd
Loopback
Q6b
U1
74HCT164
U2
74HCT595
R1
330R
J2*
DO
DI
SCK
RCK
/PWM
Last
R2*
4.7K
SCK (/Digit)
RCK (CLK Digit)
+5V
* NOTES:
Connector pinouts are shown
from top (LED side) of board.
R2 is present only on Master.
J4 is present only on Master.
J3 is present only on Slave.
Jumper for J2 is included with
Master, but not Slaves.
J4*
DB Header
SCK
C3
10 F
RCK
J3*
Link In
RCK /PWM Gnd
+5V SCK DI Loopback
7Seg-DB Schematic
(Master & Slave)
Version 1.3 (22 Jan 2007)
© 2007 Bueno systems, Inc.
© Parallax, Inc. • 7Seg-DB (2007.09.05)
7
Vss
Page 5 of 5