Skooks Pong - EEWeb
Skooks Pong - EEWeb
Skooks Pong - EEWeb
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>Skooks</strong> <strong>Pong</strong><br />
Senior VP of Technology<br />
Synapse<br />
Electrical Engineering Community<br />
EEweb.com
<strong>EEWeb</strong> PULSE TABLE OF CONTENTS<br />
<strong>Skooks</strong> <strong>Pong</strong><br />
SENIOR VP OF TECHNOLOGY AT SYNAPSE<br />
A conversation about the company behind Nike’s FuelBand, SportWatch GPS, and many more.<br />
Featured Products<br />
Rail by Viableware: A Fraud-Free Tableside<br />
Payment System<br />
How Viableware, a WA-based startup, turned to Synapse to help develop a tableside payment<br />
system at restaurants to prevent customers from giving their credit cards to complete strangers.<br />
Pericom: Dealing with the Stress of<br />
High-Speed Signal Layout<br />
How this rising semiconductor company’s unique devices and support help customers overcome<br />
key signal integrity issues.<br />
Designing a Binary Clock<br />
BY ROB RIEMEN WITH EEWEB<br />
How to design a binary clock using the Basic Stamp Homework Board microntroller with an attached<br />
breadboard.<br />
RTZ - Return to Zero Comic<br />
Visit www.eeweb.com<br />
4<br />
11<br />
14<br />
16<br />
22<br />
26<br />
3
<strong>EEWeb</strong> PULSE INTERVIEW<br />
Synapse is a multidisciplinary<br />
engineering firm based in Seattle,<br />
Washington. They combine mechanical, electrical, and<br />
software engineering with unique design teams to help the world’s<br />
leading companies fully realize—from idea to reality—new technology devices. We<br />
spoke with <strong>Skooks</strong> <strong>Pong</strong>, the Senior Vice President of Technology, about the company’s<br />
innovative approach to product development, its broad range of clients, and the<br />
company’s truly unique work environment.<br />
4 <strong>EEWeb</strong> | Electrical Engineering Community<br />
Visit www.eeweb.com<br />
5
<strong>EEWeb</strong> PULSE INTERVIEW<br />
How did you get<br />
into engineering?<br />
I have a pretty unconventional background.<br />
My dad was always trying<br />
to do his own thing and was very<br />
entrepreneurial. I worked with him<br />
quite a bit on his various projects,<br />
so I remember learning how to use<br />
a micrometer and a lathe when I was<br />
around 8 years old.<br />
While in high school in the early 80s,<br />
my dad started a company that developed<br />
a small lightweight aircraft<br />
engine, so I started working with him<br />
pretty much full-time. I had a number<br />
of different interests, especially mechanical<br />
projects, so I got into motorcycle<br />
racing and started raising<br />
money to build some of my own stuff.<br />
Eventually, I wound up in the bicycle<br />
business, running my own shop for<br />
a few years, as well as working with<br />
Cannondale.<br />
During that time, I met one of the<br />
founders of Synapse. As time went<br />
on, I was less interested in running<br />
my own shop and managing all the<br />
other things that go into owning a<br />
“We’re okay with<br />
not being the designers—we’reengineers<br />
and we’re<br />
proud to be engineers,<br />
so we like<br />
solving hard engineering<br />
problems.<br />
business. A couple engineers that<br />
I met through Cannondale moved<br />
out west and started working for a<br />
design firm here in Seattle. With their<br />
encouragement I jumped into the consulting<br />
arena and I’ve been doing it<br />
ever since.<br />
How would you describe the<br />
team at Synapse?<br />
Synapse is a multidisciplinary engineering<br />
firm. We combine mechanical,<br />
electrical, software engineering,<br />
project management, and manufacturing<br />
support to build collaborative<br />
teams helping some of the world’s<br />
leading companies fully realize—<br />
from idea to reality—new technology,<br />
devices, and experiences. There are<br />
a little over 250 employees here. We<br />
are based in Seattle, Washington, and<br />
also have offices in San Fransisco,<br />
California, and Hong KongWith small<br />
design firms, a lot of time is spent innovating<br />
on the front end of product<br />
development and dabbling a bit with<br />
industrial design, as well as supporting<br />
products after they launch. We’re<br />
okay with not being the designers—<br />
we’re engineers and we’re proud to<br />
be engineers, so we like solving hard<br />
engineering problems. The more the<br />
project involves the full range of our<br />
capabilities, the more<br />
we like it. With engineering<br />
at the core<br />
of those capabilities,<br />
I think it really helps<br />
create a strong focus<br />
for our business.<br />
Synapse has been<br />
around for 10 years.<br />
When the company<br />
was originally founded,<br />
we just wanted to<br />
work with our friends<br />
on really interesting<br />
and challenging<br />
projects. Over the<br />
last decade, we’ve<br />
evolved to better address our clients’<br />
strategic needs. Companies are wanting<br />
to introduce ambitious devices as<br />
consumers demand more and more<br />
innovative products. As our clients<br />
respond to these transformations, we<br />
expanded our services to include full<br />
end-to-end consultation capabilities<br />
in order to guide them through a successful<br />
development process.<br />
What type of clients<br />
does Synapse have?<br />
We work on a variety of things.<br />
When we first started, we did a lot<br />
of lab automation for companies like<br />
CombiMatrix, Ekos, and others in<br />
Synapster (sin•âp•ster)<br />
n. A person or animal which works for<br />
Synapse Product Development.<br />
Ex. I’m so jealous of those synapsters; they have<br />
the best jobs ever.<br />
Source: The Urban Dictionary<br />
6 <strong>EEWeb</strong> | Electrical Engineering Community<br />
Visit www.eeweb.com<br />
7
<strong>EEWeb</strong> PULSE INTERVIEW<br />
Synapse<br />
boasts a unique<br />
work environment<br />
geared towards<br />
employee satisfaction.<br />
the area. We helped CombiMatrix go<br />
from optically detecting and reading<br />
micro-rays to doing it electrically—in<br />
order to create a smaller and cheaper<br />
device. From an electrical engineering<br />
perspective, we worked closely<br />
with them to develop ways of measuring<br />
and detecting very small currents.<br />
Those were interesting projects. Now<br />
we have a client base that spans a<br />
wide range of industries and we’ve<br />
built a large team capable of managing<br />
and helping in the creation of<br />
entire lines of products for companies<br />
such as Nike.<br />
With Nike, our engagement has been<br />
in the development of wearable fitness<br />
devices. We started working with<br />
them around 2006, shortly after they<br />
launched their Digital Sport division.<br />
Some of the earliest projects were the<br />
AMP+ watch and then the SportBand.<br />
Over the past 7 years we have gone<br />
on to work on the SportWatch GPS,<br />
countless other prototypes and ideation<br />
studies, and most recently the<br />
Nike + FuelBand.<br />
What is the scale of the<br />
projects you typically<br />
work on?<br />
We do everything from small-scale<br />
proof-of-concept projects to full<br />
concept to market development for<br />
new products and experiences. We<br />
want to make sure that our business<br />
is successful and the way do that is<br />
by making sure our people are successful<br />
at what they do. That’s the<br />
company’s top priority.<br />
How do your teams<br />
work together?<br />
There’s a very open and collaborative<br />
feel in this office. For each project—depending<br />
on the client and<br />
project—we build specific teams to<br />
help meet the set of requirements<br />
given to us from the client. From this<br />
“The few of us who got<br />
the company started<br />
all came from different<br />
design firms. Our goal<br />
was to create the best<br />
place we ever worked.”<br />
list, we can see which MEs and EEs<br />
will be good for the project (depending<br />
on their expertise) and see what<br />
they can leverage from their own experience.<br />
From there, we bring them<br />
together move into the brainstorming<br />
part of it, which is really a crucial<br />
part of the process. It’s not as rigid<br />
as it sounds—it’s actually a lot of fun,<br />
especially collaborating with people<br />
from different disciplines. There’s<br />
a lot of emphasis on brainstorming<br />
and there are essentially no bad<br />
ideas—even the craziest ideas that<br />
might seem impossible can end up<br />
leading us to other solutions. We have<br />
a lot of interns here as well, and if an<br />
intern has a great idea, we’ll use it. We<br />
try to be egoless and collaborative. If<br />
we have a few failures, we can only<br />
learn from them.<br />
What do employees like about<br />
working at Synapse?<br />
The few of us who got the company<br />
started all came from different design<br />
firms. Our goal was to create the best<br />
place we ever worked. That is essentially<br />
the DNA of the company—to<br />
really drive to make it the best place to<br />
work for our employees. We do want<br />
to make sure that we turn a profit,<br />
but it’s not necessarily the number<br />
one priority. The goal is to create an<br />
environment that makes it exciting<br />
for people to come to work and collaborate<br />
to solve hard engineering<br />
problems and support our clients’<br />
product goals.<br />
We provide an all-hands catered<br />
lunch every Wednesday, and we have<br />
a snack kitchen, and people can bring<br />
their dogs to work, so it’s a pretty fun<br />
place. Plus we encourage people to<br />
organize company events, which is a<br />
really great to build community and<br />
let employees dictate the culture.<br />
In talking about Synapse as a company,<br />
we always look for ways to support<br />
the various community outreach<br />
projects people are involved in. For<br />
example, we support people who are<br />
doing job shadowing for high school<br />
students and college students. Also,<br />
we had our 10-year anniversary last<br />
year and to celebrate we decided that<br />
it would be good to give something<br />
back to the community. So we gave<br />
a $20,000 grant to IGNITE, which<br />
is a Seattle-based group a couple<br />
of our engineers are involved with.<br />
IGNITE is dedicated to encouraging<br />
girls to pursue education and careers<br />
in engineering, science, and technology<br />
or STEM education. That sort of<br />
outreach is one of the things that we<br />
continue to build upon. ■<br />
8 <strong>EEWeb</strong> | Electrical Engineering Community<br />
Visit www.eeweb.com<br />
9
FEATURED PRODUCTS<br />
Technology You Can Trust<br />
Avago Technologies Optocouplers<br />
A Superior Technology<br />
for High Voltage Protection!<br />
IEC 60747-5-5 Certifi ed<br />
Optocouplers are the only isolation devices that meet or exceed the IEC 60747-5-5<br />
International Safety Standard for insulation and isolation. Stringent evaluation tests show Avago’s<br />
optocouplers deliver outstanding performance on essential safety and deliver exceptional High Voltage protection<br />
for your equipment. Alternative isolation technologies such as ADI’s magnetic or TI’s capacitive isolators do not deliver<br />
anywhere near the high voltage insulation protection or noise isolation capabilities that optocouplers deliver.<br />
For more details on this subject, read our white paper at: www.avagoresponsecenter.com/672<br />
10 <strong>EEWeb</strong> | Electrical Engineering Community<br />
FEATURED PRODUCTS<br />
Burst-Mode Laser Transceiver<br />
The MAX24003 is a complete burst-mode laser driver transmitter and limiting<br />
amplifier receiver for use within fiber optic modules for FTTx applications.<br />
A fully compliant GEPON module with digital diagnostics can be realized<br />
when used with a 2KB EEPROM and suitable optics. Alternatively, a<br />
microcontroller can be used in conjunction with the MAX24003; however,<br />
this is not a necessity to achieve SFF-8472 compliance. The 2.5Gbps<br />
limiting receive path features programmable output swing control, rate<br />
selection, and OMA-based loss of signal detection. The burst-mode laser<br />
driver has temperature compensated modulation control using a look-up<br />
table. For more information, please click here.<br />
Handheld +5V Digital Pulse Generator<br />
IXYS Corporation announced the introduction of the PDG-2500 Handheld<br />
+5V Digital Pulse Generator by its IXYS Colorado division. The PDG-2500<br />
portable handheld pulse generator produces single-shot pulses from 80ns<br />
to 1s in width and pulse frequencies from 5 Hz to 1 MHz. It features an<br />
intuitive touch screen interface to control both the high resolution digital<br />
pulse generator as well as an additional user-adjustable voltage, variable<br />
from 0 to +5V DC. This DC voltage can be used as a control voltage to<br />
set high voltage power supply levels or other equipment parameters that<br />
are controlled with a DC voltage. The PDG-2500 can operate on internal<br />
battery power for up to six hours, or on 100-240VAC power with the included<br />
power supply. For more information, please click here.<br />
“Jade:” Fujitsu’s First SoC Graphics Controller<br />
MB86R01 ‘Jade’ is a highly-integrated device for embedded automotive<br />
graphics applications. Incorporating an ARM926EJ-S CPU core,<br />
together with an enhanced version of the successful Coral PA graphic<br />
processor and a number of external interfaces, this 90nm technology<br />
device is highly optimized for various types of applications which require<br />
outstanding CPU performance in combination with sophisticated 2D/3D<br />
graphics features in a compact SoC. Target applications include onboard<br />
and mobile navigation systems, graphical dashboard systems,<br />
HUD (head-up display) units, rear seat entertainment systems, Point<br />
of Sales terminals and industrial control panels. For more information,<br />
please click here.<br />
Flexible Digital Power Management Solution<br />
Intersil introduced its newest digital power supply management<br />
solution, featuring automatic compensation and adaptive performance<br />
optimization algorithms that significantly improve power conversion<br />
efficiency. The ZL8101 is an adaptive digital DC/DC PWM controller<br />
with auto compensation that provides a single phase solution with output<br />
currents up to 50A. Designed to work with an external driver and with<br />
DrMOS solutions, it can be used in parallel for current sharing between<br />
multiple ZL8101 devices. The ZL8101 uses a dedicated, optimized state<br />
machine for generating precise PWM pulses and a proprietary MCU for<br />
set-up and optimization. For more information, please click here.<br />
Visit www.eeweb.com<br />
11
FEATURED PRODUCTS<br />
12 <strong>EEWeb</strong> | Electrical Engineering Community<br />
Automotive SoCs for CPU and Graphics<br />
Renesas Electronics Corporation and Renesas Mobile Corporation<br />
announced the availability of a new member of the R-Car Series of<br />
automotive Systems-on-Chip (SoCs). Capable of delivering more than<br />
25,000 DMIPS, the R-Car H2 provides high performance and state-ofthe-art<br />
3D graphics capabilities for high-end multimedia and navigation<br />
automotive systems. The R-Car H2 is powered by the ARM® CortexA-15<br />
quad-core configuration running an additional ARM® CortexA-7 quadcore—the<br />
industry’s first implementation of a Quad ARM® Cortex A15<br />
and the big.LITTLE processing technique in an automotive SoC. For more<br />
information, please click here.<br />
3 Input HDMI 1.4a Compliant Receiver<br />
The TDA19977A; TDA19977B is a three input HDMI 1.4a compliant receiver<br />
with embedded EDID memory. The built-in auto-adaptive equalizer,<br />
improves signal quality and allows the use of cable lengths of up to 25<br />
m which are laboratory tested with a 0.5 mm (24 AWG) cable at 2.05<br />
gigasamples per second. The HDCP (TDA19977A only) key set is stored<br />
in non-volatile OTP (One Time Programmable) memory for maximum<br />
security. For more information, please click here.<br />
SSR for High Current Apps<br />
The ASSR-1611 Solid State Relay (SSR) from Avago is specifically<br />
designed for high current applications, commonly found in industrial<br />
equipment. The relay is a solid-state replacement for single-pole,<br />
normally-open, (1 Form A) electromechanical relays. The ASSR-1611<br />
consists of an AlGaAs infrared light-emitting diode (LED) input stage<br />
optically coupled to a high-voltage output detector circuit. The detector<br />
consists of a high-speed photovoltaic diode array and driver circuitry to<br />
switch on/off two discrete high voltage MOSFETs. The relay turns on<br />
(contact closes) with a minimum input current of 5mA through the input<br />
LED. The relay turns off (contact opens) with an input voltage of 0.8V or<br />
less. For more information, please click here.<br />
Integrated AFE for Pulse Oximeters<br />
The AFE4490 is a fully-integrated analog front-end (AFE) that is ideally<br />
suited for pulse-oximeter applications. The device consists of a low-noise<br />
receiver channel with a 22-bit analog-to-digital converter (ADC), an LED<br />
transmit section, and diagnostics for sensor and LED fault detection. The<br />
AFE4490 is a very configurable timing controller. This flexibility enables<br />
the user to have complete control of the device timing characteristics.<br />
To ease clocking requirements and provide a low-jitter clock to the<br />
AFE4490, an oscillator is also integrated that functions from an external<br />
crystal. The device communicates to an external microcontroller or host<br />
processor using an SPI interface.This AFE4490 is a complete AFE<br />
solution packaged in a single, compact QFN-40 package (6 mm × 6<br />
mm) and is specified over the operating temperature range of –40°C to<br />
+85°C. For more information, please click here.<br />
World’s lowest power capacitive<br />
sensors with auto-calibration<br />
NXP is a leader in low power capacitance touch sensors, which work based<br />
on the fact that the human body can serve as one of the capacitive plates in<br />
parallel to the second plate, connected to the input of the NXP capacitive<br />
sensor device.<br />
Thanks to a patented auto-calibration technology, the capacitive sensors<br />
can detect changes in capacitance and continually adjust to the environment.<br />
Things such as dirt, humidity, freezing temperatures, or damage to the<br />
electrode do not affect the device function.<br />
The rise of touch sensors in modern electronics has become a worldwide<br />
phenomenon, and with NXP’s low power capacitive sensors it’s never been<br />
easier to create the future.<br />
Learn more at: touch.interfacechips.com<br />
FEATURED PRODUCTS<br />
Visit www.eeweb.com<br />
13
<strong>EEWeb</strong> PULSE PROJECT<br />
Restaurants are subject to an incredible<br />
amount of credit card fraud—over 60-percent<br />
of data breaches happen in the hospitality<br />
industry, costing consumers billions each<br />
year. However, restaurant “skimming”—<br />
when servers illegally copy your credit card information—is<br />
a very easy scam to pull off. We willingly hand<br />
over our credit cards to complete strangers who walk<br />
away—oftentimes completely out of sight—before returning<br />
the card several minutes later.<br />
In 2010, Viableware, a Kirkland, WA-based startup, conceptualized<br />
a solution to this costly problem, a tableside<br />
ordering and payment system called Rail. To develop<br />
the system—an integration of hardware and software—it<br />
turned to Synapse, a Seattle-based engineering firm<br />
specializing in product realization.<br />
According to Ziv Magoz, electrical engineer for Synapse,<br />
Viableware had several requirements for the device.<br />
It had to communicate wirelessly with restaurant POS<br />
systems, have RFID and NFC capabilities, and a touchscreen<br />
durable enough to accept signatures without<br />
scratching the surface.<br />
Another important requirement was that the device had<br />
to be waterproof, meaning it could have no plug-ins for<br />
charging. To address this, Synapse developed an induc-<br />
Percent of Americans who have been<br />
victims of credit card fraud<br />
Percent of Americans who have been<br />
victims of debit or ATM card fraud<br />
Median amount reported on credit<br />
card fraud<br />
Percent of all financial fraud related to<br />
credit cards<br />
Total amount of credit card<br />
fraud worldwide<br />
tive charging station. Functioning like a transformer, the<br />
primary coil is in the transformer and the secondary coil<br />
in the Rail. When the Rail is placed into a slot on the<br />
charger, the distance is short enough to have roughly<br />
70-percent efficiency between the two inductors, driving<br />
5 watts of power into the Rail. Fully charged, the<br />
4.2 amp/hour battery in the Rail has enough power to<br />
last 16 hours.<br />
With security being the paramount concern, Synapse<br />
incorporated a card reader with a magnetic stripe that<br />
encrypts the credit card number before sending it wirelessly<br />
to the server. The decryption then occurs on the<br />
credit card company’s side of the transaction, making<br />
the information secure throughout the entire transaction<br />
process.<br />
Viableware is currently piloting the device in PF Chang’s<br />
and has plans to also expand into New Orleans-based<br />
Dickie Bennan restaurants. More recently, the company<br />
announced that it had integrated its technology with leading<br />
restaurant POS systems, MICROS, NCR Aloha and<br />
Dinerware, which serve over 60-percent of the 400,000<br />
full-service restaurants in the US.<br />
For more projects from Synapse, please visit:<br />
www.synapse.com<br />
14 <strong>EEWeb</strong> | Electrical Engineering Community<br />
Visit www.eeweb.com<br />
10%<br />
7%<br />
$399<br />
40%<br />
$5.55<br />
Billion<br />
Source: Consumer Sentinel Network, U.S. Department of Justice<br />
Date Verified: 7.23.2012<br />
15
<strong>EEWeb</strong> PULSE SPECIAL FEATURE<br />
16 <strong>EEWeb</strong> | Electrical Engineering Community<br />
Visit www.eeweb.com<br />
17
<strong>EEWeb</strong> PULSE SPECIAL FEATURE<br />
Customer Service<br />
One of the biggest differentiations in Pericom’s<br />
business model is its emphasis on customer service.<br />
In talking about his role at the company, Joseph<br />
Juan stated, “I frequently visit customers with<br />
our regional sales team to reiterate how Pericom offers<br />
a lot of diverse product lines to help them solve<br />
various integrity issues.” The hands-on approach<br />
that Pericom takes with its customers provides insight<br />
into why their customers come back for more.<br />
Paired with their comprehensive design resources<br />
and online support, Pericom’s solutions make it<br />
easy for designers to meet their<br />
design requirements. Among the<br />
various design resources are application<br />
notes, design guidelines,<br />
and simulation models that<br />
you can run before you start the<br />
PCB layout. “The customer can<br />
provide us with all of their design<br />
requirements,” Juan told us,<br />
“From there, we can take connectors,<br />
PCB layers, board materials<br />
and parametric and plug<br />
them into the simulation models.”<br />
After developing the simulation<br />
The hands-on approach<br />
that Pericom<br />
takes with<br />
its customers<br />
provides insight<br />
into why their<br />
customers come<br />
back for more.<br />
models, the team can run a SPICE simulation that<br />
can show the customer where to place the repeater<br />
products to get the optimal effect. The combination<br />
of these services enables customers to design more<br />
effectively and efficiently, which cuts the time from<br />
design to market.<br />
Signal Conditioning and the<br />
Pericom Solution<br />
Pericom has a variety of products to deal with the<br />
signal conditioning of products covering high-speed<br />
serial interfaces. As these interfaces migrate from<br />
parallel to serial high-speed interfaces and the speed<br />
goes above 5GB per second, the<br />
problems with signal attenuation<br />
and insertion loss arise, which<br />
causes the system to have integrity<br />
issues. That’s where Pericom<br />
comes in. In order to overcome<br />
some of the more difficult layout<br />
issues, the application team at<br />
Pericom uses a variety of tools.<br />
“The tools we use in our lab consist<br />
of pattern generators or highspeed<br />
signal analyzers,” Juan<br />
told us. “This is done in order to<br />
re-produce a data pattern across<br />
Actual Size of Pericom’s USB3.0 PIEQX501 ReDriver<br />
the high-speed signal.” Juan also mentioned how the<br />
team uses a high-speed scope that runs “upwards<br />
of 20GB in order to measure all of these slopes and<br />
rise/fall times.”<br />
These requirements are reflected in Pericom’s<br />
products. For signal conditioning products, Pericom<br />
has a very-well defined USB3 ReDriver (repeater)<br />
product that<br />
has allowed them to<br />
Pericom’s team<br />
attends the complianceworkshop<br />
regularly<br />
to ensure that<br />
their products<br />
are fully compatibile<br />
with<br />
other devices.<br />
successfully break<br />
into the notebook<br />
and server markets.<br />
Apart from the USB3<br />
ReDrivers is a line<br />
of PCIe ReDrivers,<br />
which is something<br />
the company has<br />
been seeing a lot of<br />
demand to ensure<br />
the desired SI level.<br />
“Pericom makes the<br />
effort to make sure<br />
that all of the IC con-<br />
troller products meet the compliancy testing,” Juan<br />
told us. “We attend the compliance workshop on a<br />
regular basis, which allows us to offer fully tested<br />
and compatible devices that can be attached to other<br />
host controllers.”<br />
In hearing about the many ways that the Pericom<br />
team shows commitment to creating a unique and<br />
easy experience for the customer, it’s evident that the<br />
Pericom solution is a pairing of quality devices and<br />
superlative customer service. While this approach<br />
should be a prerequisite business model for any<br />
semiconductor company, based on Pericom’s fastgrowing<br />
sales and stature, it seems to be the key to<br />
their success. ■<br />
18 <strong>EEWeb</strong> | Electrical Engineering Community<br />
Visit www.eeweb.com<br />
19
Making Wireless<br />
Truly Wireless:<br />
Need For Universal<br />
Wireless Power<br />
Solution<br />
Dave Baarman<br />
Director Of<br />
Advanced Technologies<br />
"Sed ut perspiciatis unde omnis<br />
iste natus error sit voluptatem<br />
accusantium doloremque<br />
laudantium, totam rem aperiam,<br />
eaque ipsa quae ab illo inventore<br />
veritatis et quasi architecto beatae vitae<br />
dicta sunt explicabo. Nemo enim ipsam<br />
voluptatem quia voluptas sit aspernatur aut odit<br />
aut fugit, sed quia consequuntur magni dolores eos<br />
qui ratione voluptatem sequi nesciunt. Neque porro<br />
quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur,<br />
adipisci velit, sed quia non numquam eius modi tempora incidunt ut<br />
labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad<br />
minima veniam, quis nostrum exercitationem ullam corporis suscipit<br />
laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem<br />
vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil<br />
ARTICLES<br />
JOBS<br />
COMMUNITY<br />
DEVELOPMENT TOOLS<br />
<strong>EEWeb</strong><br />
Electrical Engineering Community<br />
www.eeweb.com<br />
JOIN<br />
TODAY<br />
<br />
<br />
<br />
<br />
<br />
Copyright 2013, Silicon Frameworks, LLC<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
PCBWeb.com
<strong>EEWeb</strong> PULSE TECH ARTICLE<br />
Binary Clock<br />
Design<br />
Rob Riemen<br />
Rieman<br />
Computer Engineering Student<br />
The University Of Cincinnati<br />
The Basic Stamp Homework Board (BSHWB) microcontroller,<br />
the PIC16C57, is a surprisingly useful<br />
and somewhat powerful microcontroller. I decided<br />
to use this to design a binary clock, along with an<br />
attached breadboard and available I/O pins, which<br />
make development of a project such as a binary<br />
clock much easier.<br />
22 <strong>EEWeb</strong> | Electrical Engineering Community<br />
Visit www.eeweb.com<br />
23
<strong>EEWeb</strong> PULSE TECH ARTICLE<br />
DESIGN<br />
I designed the binary clock based on the graphic below:<br />
The above graphic shows how a binary clock should<br />
be positioned to function correctly. I used six LEDs<br />
to represent the hours of the clock. Seven LEDs will<br />
represent the minutes of the clock. Finally, I used seven<br />
more LEDs to represent the seconds of the clock.<br />
With a total of twenty LED’s to represent a full 24 hour<br />
clock, however, this isn’t the only way this particular<br />
binary clock can be setup. I initially thought that the<br />
LEDs cycled from the top eight to the left bottom one,<br />
in a sort of carry effect, but each row stands for its own<br />
number of time, as in a single row cannot exceed 15<br />
from binary converted to decimal. In relation to the<br />
binary clock, a single row cannot exceed 9.<br />
There are limitations that come with the BSHWB. There<br />
are only 16 I/O pins available for use. There are 20 LEDs<br />
that are needed for a full clock as shown above. For<br />
this specific design, I wanted to limit the parts that are<br />
used, in order to reduce clutter, and cost. Unfortunately,<br />
functionality is also decreased with fewer parts.<br />
The above clock could be created using only 16 pins, but<br />
a couple different integrated circuits (ICs) would have<br />
to be used. The simplest way would be to use 14 pins for<br />
the minutes and seconds sections of the clock. The rest<br />
would have to be interfaced through at minimum four,<br />
four-output demultiplexers. These IC’s require three<br />
inputs and only give you one extra output. Obviously,<br />
I didn’t want to clutter the limited breadboard space I<br />
had with 4 ICs. So, for this project, the I eliminated the<br />
seconds, as shown below.<br />
Now only 13 I/O pins were used, under the assumption<br />
that most clocks do not have the seconds displayed.<br />
Most binary clocks do include the seconds section, but<br />
with these seven LEDs removed, three extra I/O pins<br />
were now available for added components.<br />
In order to make this design a little more original, I wanted<br />
to add the functionality of switching the clock over to a<br />
12 hour mode. Usually, binary clocks feature only a 24<br />
hour display mode. To do this, I needed a pushbutton<br />
switch, as well as an extra LED. The pushbutton would<br />
allow the user to switch between 12 hour mode and 24<br />
hour mode. The extra LED would notify the user when<br />
the clock is in A.M. (off) mode and P.M. (on) mode. The<br />
list of parts are detailed below:<br />
• BASIC Stamp HomeWork Board<br />
• 9V Battery<br />
• 14 LEDs (7 Yellow, 6 Green, 1 Red)<br />
• 14 – 470 Ω resistors<br />
• 1 – 220 Ω resistor<br />
• 1 – 10 kΩ resistor<br />
• 1 – pushbutton<br />
• At least 1 extra breadboard<br />
• Sufficient amount of wires<br />
For this project I decided to use 470 Ω resistors between<br />
the I/O pins and the LEDs. This is not the only way to set<br />
this project up, but I felt that 470 Ω is the right amount<br />
to get the desired brightness out of each LED. Another<br />
commonly used resistor that would work just as well is<br />
the 1 kΩ resistor, but with the 1 kΩ resistor the LEDs<br />
would be slightly more dim.<br />
PROGRAM FLOW<br />
Fortunately, with the use of the BSHWB, coding for<br />
circuits is simple. The BASIC Stamp Editor codes in<br />
PBASIC, which is a simple and educational coding<br />
language. It allows for the declaration of variables and<br />
includes IF-ELSE statements and FOR Loops.<br />
I coded this project as simply as possible. I tried to limit<br />
variables and only used the HIGH/LOW command to<br />
turn the LED’s on and off. There are more efficient ways<br />
to structure and design this code, but because I was<br />
working on a budget, I tried to make the design of the<br />
code similar to the design of the circuit.<br />
Using one continuous loop simulating a non-stop 24hour<br />
cycle, a combination of IF-ELSE statements, and<br />
one FOR Loop is used. The FOR Loop’s arguments<br />
only apply to the variable used by the first row of the<br />
minutes section, but all of the IF checks for the correct<br />
time are made in both the infinite loop and the FOR<br />
Loop. Nothing special went into efficiently keeping<br />
track of the illuminated LEDs. I used four counters<br />
for each row of LEDs. Each counter had a series of IF<br />
statements associated with it in order to make sure the<br />
correct LEDs were illuminated. The counters updated<br />
at the end of each series of IF statements. Each LED<br />
was then commanded to go High or Low depending on<br />
what period of time it represented.<br />
I set up my program to start from time zero every time.<br />
This is not the way a clock should be setup. You are<br />
rarely going to be starting this clock at midnight every<br />
time you replace the battery. If you would like to add<br />
functionality to this binary clock, increase the number<br />
of available pins with a few demultiplexers and use<br />
a potentiometer and an extra pushbutton to help with<br />
setting the time.<br />
FINAL DESIGN<br />
Although there are some limitations with the BSHWB,<br />
the potential for a full scale binary clock is available.<br />
Actually there are ways to develop a binary clock<br />
only using Flip-Flops and Gates. There are also other<br />
microcontroller based circuit boards with more I/O pins<br />
that can make development much easier. My particular<br />
setup is shown below:<br />
24 <strong>EEWeb</strong> | Electrical Engineering Community<br />
Visit www.eeweb.com<br />
25
Flight Plight: CES Series Part 6<br />
Frequency Disturbance<br />
Super RTZ