Optical Sensor Interface for AFX Digital LED Timer/Counter by George Warner, Jan. 2003 warnergt@ptd.net



Similar documents
GLOLAB Universal Telephone Hold

Build A Video Switcher. Reprinted with permission from Electronics Now Magazine September 1997 issue

GLOLAB Two Wire Stepper Motor Positioner

Tube Liquid Sensor OPB350 / OCB350 Series

Building the AMP Amplifier

The $25 Son of a cheap timer This is not suitable for a beginner. You must have soldering skills in order to build this kit.

ECEN 1400, Introduction to Analog and Digital Electronics

BUILD YOUR OWN RC SWITCH (Issue 3)

DET Practical Electronics (Intermediate 1)

3-Digit Counter and Display

Redesigned by Laurier Gendron (Aug 2006 ) Download this project in PDF. Horn circuit. Train Circuitry

LM 358 Op Amp. If you have small signals and need a more useful reading we could amplify it using the op amp, this is commonly used in sensors.

Capacitive Touch Sensor Project:

Kit Watt Audio Amplifier

Modifying the Yaesu FT-847 External MHz Reference Input

Glolab Talking Phone Dial Monitor

ARDUINO SEVERINO SERIAL SINGLE SIDED VERSION 3 S3v3 (REVISION 2) USER MANUAL

Features. Applications

SUPER SNOOPER BIG EAR

TEECES DOME LIGHTING SYSTEMS

Joule Thief 3.0 Kit. June 2012, Rev Joule Thief 3.0

PASSIVE INFRARED INTRUSION DETECTOR PASSIVE INFRAROOD DETECTOR DETECTEUR D INTRUSION PASSIF INFRAROUGE

Build It! A Portable Headphone Amplifier. By Mark Amundson

WHO ANSWERED FIRST? FIND OUT WITH THIS QUIZ BUZZER KIT

Without the pre amp, these microphones sound very good with tube equipment that provided a very high impedance load to the element.

LM139/LM239/LM339/LM2901/LM3302 Low Power Low Offset Voltage Quad Comparators

LM1084 5A Low Dropout Positive Regulators

AC-DC Converter Application Guidelines

ARRL Morse Code Oscillator, How It Works By: Mark Spencer, WA8SME

A Trigger Circuit for the 555 Timer IC Scope

RS232/DB9 An RS232 to TTL Level Converter

Bill of Materials: Line Follower: A Zippy Robot That Senses Where to Go PART NO

8 coil stator 11 coil stator

1. Learn about the 555 timer integrated circuit and applications 2. Apply the 555 timer to build an infrared (IR) transmitter and receiver

Physics 3330 Experiment #2 Fall DC techniques, dividers, and bridges R 2 =(1-S)R P R 1 =SR P. R P =10kΩ 10-turn pot.

Objectives: Part 1: Build a simple power supply. CS99S Laboratory 1

DC Motor with Shaft Encoder

LM56 Dual Output Low Power Thermostat

Electronic Rotary Table Divider V2.1 Construction

Advanced Monolithic Systems

Total solder points: 129 Difficulty level: beginner advanced LIQUID LEVEL CONTROLLER K2639 ILLUSTRATED ASSEMBLY MANUAL H2639IP-1

PolyBot Board. User's Guide V1.11 9/20/08

PowerAmp Design. PowerAmp Design PAD135 COMPACT HIGH VOLATGE OP AMP

S112-XHS. Description. Features. Agency Approvals. Applications. Absolute Maximum Ratings. Schematic Diagram. Ordering Information

Welcome to this presentation on LED System Design, part of OSRAM Opto Semiconductors LED 101 series.

Odyssey of the Mind Technology Fair. Simple Electronics

Low Cost Pure Sine Wave Solar Inverter Circuit

Build a Voltage and Current Peak Detector

INTERNATIONAL ATOMIC ENERGY AGENCY INSTRUMENTATION UNIT SMD (SURFACE MOUNTED DEVICES) REPAIR S. WIERZBINSKI FEBRUARY 1999

Ocean Controls RC Servo Motor Controller

QUASAR ELECTRONICS KIT No ELECTRONIC MOSQUITO REPELLER

Pololu DRV8835 Dual Motor Driver Shield for Arduino

LM386 Low Voltage Audio Power Amplifier

A Versatile Audio Amplifier

Pulse Width Modulation (PWM) LED Dimmer Circuit. Using a 555 Timer Chip

SYSTEM 45. C R H Electronics Design

POWER SUPPLY MODEL XP-15. Instruction Manual ELENCO

Wideband Active Loop Antenna Amplifier with Passive Augmentation

How to Read a Datasheet

OWNER'S MANUAL HIGH PERFORMANCE AMPLIFIERS

Advanced LED Controller (LED Chaser)

C220 PRELIMINARY TUBE PREAMPLIFIER SERVICE MANUAL. SERIAL NO. WS1001 And Above C220. Serial Number W S1001 And Above CONTENTS

RGB Wall Washer Using ILD4035

RADIANT PLASMA 4700 Plasma Spark Generator

LM2704 Micropower Step-up DC/DC Converter with 550mA Peak Current Limit

SYSTEM 4C. C R H Electronics Design

Cost. 13p each each

Single Transistor FM Transmitter Design

DATA SHEET. SiGe LOW NOISE AMPLIFIER FOR GPS/MOBILE COMMUNICATIONS. Part Number Order Number Package Marking Supplying Form

INFRARED PARTS MANUAL

i ChatterBox! Motorcycle Security

Fiber Optics. Integrated Photo Detector Receiver for Plastic Fiber Plastic Connector Housing SFH551/1-1 SFH551/1-1V

Scorpius Installation Guide Version 1.7

Analog control unit for mobile robots

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT BIT DIFFERENTIAL ADC WITH I2C LTC2485 DESCRIPTION

Conversion Between Analog and Digital Signals

System theremino MasterDIL-V3

Assembly and User Guide

Theory of Operation. Figure 1 illustrates a fan motor circuit used in an automobile application. The TPIC kω AREF.

SYMMETRIC 1A POWER SUPPLY K8042

1.5A L.D.O. VOLTAGE REGULATOR (Adjustable & Fixed) LM1086

Hand Crank Generator (9 May 05) Converting a Portable Cordless Drill to a Hand Crank DC Generator

CHAPTER 11: Flip Flops

Your Multimeter. The Arduino Uno 10/1/2012. Using Your Arduino, Breadboard and Multimeter. EAS 199A Fall Work in teams of two!

MODEL 2202IQ (1991-MSRP $549.00)

phonostage RIP YOUR VINYL TO BITS, WITH A USB Design

Kit 27. 1W TDA7052 POWER AMPLIFIER

7-SEGMENT DIGITAL CLOCK

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT 735 LITHIUM-ION LINEAR BATTERY CHARGER WITH LDO REGULATOR

High voltage power supply (1 to 20 KV)

Prototyping Printed Circuit Boards

1.5A Very L.D.O Voltage Regulator LM29150/29151/29152

Welcome to this presentation on Driving LEDs Resistors and Linear Drivers, part of OSRAM Opto Semiconductors LED Fundamentals series.

LM138 LM338 5-Amp Adjustable Regulators

Programmable Single-/Dual-/Triple- Tone Gong SAE 800

Electronic Circuit Construction:

Total solder points: 147 Difficulty level: beginner advanced VIDEO SIGNAL CLEANER K8036 ILLUSTRATED ASSEMBLY MANUAL

BUILDING INSTRUCTIONS

Scorpius Installation Guide Version 2.1

NE555 SA555 - SE555. General-purpose single bipolar timers. Features. Description

Transcription:

Optical Sensor Interface for AFX Digital LED Timer/Counter by George Warner, Jan. 200 warnergt@ptd.net Abstract This paper presents a design for an optical sensor interface to an AFX Digital LED Timer/Counter. The goal of the design is to create a highly reliable circuit which can be made from readily available parts and run off of a single wall power adapter ( wall wart ). All the circuitry must fit inside the base of the timer/counter where the batteries are normally housed. While this circuit is being designed specifically for the Aurora LED Timer/ Counter, the design is generic by nature such that it can be adapted for use with other lap counter systems. Introduction In the late 1970ʼs, Aurora produced an AFX Electronic Lap Counter/Timer. The device featured two sets of LED displays to display lap time from 0.1 to 99 seconds or lap counts from 0 to 99. The counter/timer appeared in two different colors: white for AFX and blue for Ultra 5. The elegant and compact system makes an attractive and useful addition to virtually any home track. Many of these AFX LED counter/timers can still be found today. They were even available from REH, a distributor of Aurora new old stock, as recently as a couple years ago until their supply was exhausted. The counter/timer utilized a trip track, a dead section of Aurora AFX track which detected cars when they passed over it. Many of the lap counters found today are missing the trip track. Plus, many slot enthusiasts no longer use the Aurora AFX track. Furthermore, there is a better way to detect cars now -- optical sensors. Design Philosophy The goal was to make a virtually fool-proof circuit with the highest possible reliability and from readily available parts. There is nothing more frustrating than an unreliable lap counter. By some standards, this circuit may appear overdesigned. For some applications, you could probably omit some of the circuitry and still have a decent optical interface. But, to meet the requirements of the AFX LED counter/timer and to meet the desired high reliability requirements, this design goes the full distance. The added circuitry doesnʼt add much extra cost or effort to the circuit construction. The circuits being referred to, specifically, are the voltage regulator and the one shot pulse stretcher. Others have described experiences of cross talk or false detections when operating two of these lap counter/ timers off of a single wall supply. One solution could have been simply to use two wall supplies. Instead, this design provides a voltage regulator for each lap counter. These regulators provide a solid 9 volts for the optical interface circuit as well at the lap counter/timer. Page 1

Through testing of the AFX timers, it has been determined that they are only about 95% reliable in detecting todayʼs fastest cars which create an extremely short pulse when passing over the optical sensor. Therefore, a one shot was added to the circuit design. The device employed is a 556 (contains dual 555ʼs) timer. This device can detect the smallest pulses and then output a pulse of fixed width. You could think of this circuit as a pulse stretcher. A narrow pulse goes in; a wide pulse comes out. Not only does it stretch the pulse; it cleans it up. Glitches and noise on the signal are eliminated. Other circuit considerations will be described throughout the text. Parts All of the parts utilized are available from Radio Shack. One of the design goals was to use readily available parts. Qty. RS Part No. Description Cost each ------------------------------------------------------------------------------------------------------------ ------------------ Voltage Regulator Circuit ------------------------------------- 1 276-1778 LM17T Adj. Voltage Regulator 1 0.047 uf / 25 V Ceramic Capacitor 1 / 50 V Electrolytic Capacitor 1 240 Ω Resistor 1 Ω Resistor ------------------ Comparator Circuits -------------------------------------------- 1 276-08 1458 Dual Op-Amp 0.99 2 10 kω Resistor 2 47 kω Resistor 4 100 kω Resistor 2 10 uf / 50 V Electrolytic Capacitor ------------------ One Shot Circuits ----------------------------------------------- 1 276-1728 556 Dual Timer 1.59 2 0.0 / 25 V Ceramic Capacitor 2 100 kω Resistor 2 / 50 V Electrolytic Capacitor ------------------ Driver Circuits --------------------------------------------------- 2 2N2222 Transistor 2 Ω Resistor ------------------ Overhead LED Supply Circuit ------------------------------- 1 271-152A 100 Ω / 1 watt Resistor 0.49 ------------------ Miscellaneous Parts ------------------------------------------- 1 276-150A General-Purpose IC PC Board 1 27-1612A Power Adapter, 9 Volts DC, 1200 ma Wire for leads and jumpers 2 276-145A NPN Silicon Infrared Phototransistor 0.99 2 276-14C High-Output Infrared LED 1.69 Bill of Material Page 2

The interface circuit is designed for 9 volt operation. Thus, some higher voltage must be regulated down to the required 9 volts. To minimize the heat that will be dissipated by the voltage regulator, an input voltage that is not much greater than 9 volts must be chosen. The Radio Shack 9 volt supply listed actually supplies about 11 to 12 volts. It only needs to be regulated down by 2 or volts. This helps keep the regulator from getting excessively hot. Thus, it is perfect for this application. If some other supply is used, care should be taken to avoid overheating the voltage regulator. After all, this regulator will ultimately be housed in the base of the timer/counter where there is no ventilation to facilitate heat dissipation. Components used for the interface Construction of the interface This document will proceed with the construction of the circuit stage by stage. Page

1) The Regulator Circuit 1 VR 1 2 LM17T 12V DC C1 0.047 R1 240 C2 Back side of LM17 R2 Ref In 2 1 Out 1.1) Populate the board with the voltage regulator circuit and other integrated circuits (ICs). Note that the backside of the PC board has two vertical printed circuit strips that run the full length of the printed circuitry. Use these two traces to carry the regulated 9 volt signal (output from regulator) and ground up and down the full length of the board such that they are easily accessible by all of the circuitry. Position the comparator (1458) and one shot (556) ICs such that they straddle the + and Ground signal traces. 1.2) Attach power leads and, optionally, a power jack. Now, is your opportunity to test the regulator circuit. Plug in the power supply and measure the regulator output. It should read 9±0.5 Volts. Page 4

The Comparator Circuit R 100 1W D1 R4 10K R8 10K Q1 C 10 uf C4 10 uf R5 R6 47K R7 R9 R10 47K 2 5 6 U1A 1458 Comparator Time Constant = 1 sec. U1B 1458 8 4 1 7 To U2, pin 8 To U2, pin 6 The comparator circuit uses voltage dividers (R5/6 and R9/10) with time averaging (C and C4) to automatically adjust sensitivity to ambient light conditions. No adjustments are required. D2 Q2 R11 ) Populate the comparator circuit with resistors and capacitors. Page 5

) Populate the one shot circuit with resistors and capacitors. Jumper comparator outputs to one shot inputs. This circuit also uses the red jumper to connect pin 4 to 9 volts. Q 2SC1675 Output 1 8 Reset Trigger 10 14 Vcc Out 9 R12 6 4 Reset Trigger Out 5 R1 R14 Q4 2SC1675 Output 2 U2A LM556 Dis Thr 1 12 U2B LM556 Dis Thr 1 2 R15 Gnd Cont 11 C5 0.01 C6 Cont C7 0.01 C8 7 It was desired to have a pulse width long enough to be detected by slow circuitry or hardware, yet short enough to avoid a missed detection on a short, fast track. The output pulse is held for a period of 1.1 R 12 C 6 or about 0.11 seconds. This output pulse width is independent of the input pulse width. Thus, the very fastest magnet cars provide the same strong pulse to the counter as do slow cars. The open collector output transistors ground the output when a car is detected by the optical sensor. This output is a fixed length regardless of the speed at which the cars passes through the sensor. Page 6

Once constructed, you are ready to install your interface circuit. Output 1 and Output 2 go to the lap counter wires that originally went to the trip track. For this project, the IR LEDʼs and phototransistors are mounted externally above and below the track. Timer power is obtained from the output of the circuit board 9 V voltage regulator. The board is mounted in the base of the counter. The Infrared LEDʼs are mounted on the lap counter platform. In the photo below, the phototransistors are epoxied into tapered holes drilled into the bottom of a track section. To glue these in, the tops of the holes were sealed with Scotch tape. Then, the phototransistors were placed in the bottom of the upside-down track piece and glued with 5-minute epoxy. After the epoxy has dried, the topside Scotch tape is removed revealing a flat, smooth surface. Once installed, wires are soldered to the phototransistor leads and insulated with heat-shrinkable tubing. Page 7

For a four lane application, IR LEDʼs were mounted in a pedestrian bridge as shown below. The LEDʼs were wired in series such that only two power wires were required. Here are four-lane sensors being tested. Page 8

Hereʼs a bare-bones overhead LED solution. Hereʼs a setup using two AFX lap counters for a four lane track. Page 9

Full schematic. 1 VR 1 2 LM17T 12V DC C1 0.047 R1 240 C2 R2 R 100 1W D1 R4 10K Q1 C 10 uf R5 R6 47K R7 2 U1A 1458 8 4 1 To U2, pin 8 Comparator Time Constant = 1 sec. R8 10K C4 10 uf R9 5 R10 47K 6 U1B 1458 7 To U2, pin 6 D2 Q2 R11 Q 2SC1675 Output 1 8 Reset Trigger 10 14 Vcc Out 9 R12 6 4 Reset Trigger Out 5 R1 R14 Q4 2SC1675 Output 2 U2A LM556 Gnd Dis Thr Cont 1 12 11 C5 0.01 C6 U2B LM556 Dis Thr Cont 1 2 C7 0.01 R15 C8 7 Page 10

Conclusion An interface to couple optical sensors to an Aurora AFX Electronic Lap Counter/Timer has been presented. The generic design of the interface provides it with a much greater potential for interfacing to other devices. It could be used for utilizing 1960ʼs-era Aurora electromechanical lap counters. Or it could be used for an interface to a computer where a more reliable detection method is desired. Ideally, a printed circuit board (PCB) could be laid out and manufactured. Many service houses now provide low cost PCB production. This would provide a solution for easily constructing the interface. About the author George Warner is an electrical engineer in Lititz, Pennsylvania, USA who collects and races HO slot cars -- predominantly Aurora. He can be reached by email at warnergt@ptd.net. Page 11