Reflection Technology
   

DT203 - LEDs & Switches on a SimmStick

This is the first Input/Output board that everyone wants and needs. Something to flash a LED and sense the state of a switch.

Features

  • Displays 24 SimmStickTM bus signals on 24 individual LEDs.
  • LED driver chips included.
  • 4 momentary contact and/or 8 LINKED switch positions easily connected to any bus signal.

DT203assembled.jpg (16385 bytes)
View of Assembled DT203 (parts not included)

The signals monitored by the 8 LEDs with E1 ULN2803 chip are:

  • A1, A2, A3, SCL, SDA, SI, SO, and IO.
  • E2 monitors D0 to D7, and E3 monitors D8 to D15.

Using a DT004 board, a PC Printer Port can be connected to this LEDs and Switches board without a Microcontroller!

All of the documentation is now on this page.

Download Schematic in PDF format.

Parts List:

NOTE *** If your DT203 is only ever going to be used with an 18 pin PIC chip, then the components associated with signals D8 to D15 don't need to be installed. This is E3, the 8 Resistors next to it, and the 8 LEDs next to them.

1 x DT203 PCB 
3 x ULN2803 Driver Chips 
3 x 18 pin sockets. (Optional) 
8 x 10K Resistors .25 watt 
24 x 330 Ohm Resistors .25 watt 
24 x 5mm LEDs. 
4 x PCB mount Push button Switches. 
    These can be the Hat-key type with a .2x.2" 
    mounting pattern, or a 4 legged zippy switch
    with a .2" by .3" pattern. 
A set of 2 x 8 male header pins for connecting eight
Shorting or Test Links. 

Switch signal connections can be done with permanent jumper wires, or two strips of single row male header pins and female jumper leads or clips. This is done with a strip of 24 pins and a strip of 8 pins.

If you use the header pin jumper principle, it means that wiring alterations can be done very easily.

Assembly:
Not that difficult, but I would recommend using sockets for the chips if this is the first you have put this board together.

All hand assembly should be done by installing the shortest height components first.
Resistors don't matter as the legs can be bent over to hold these in place at any time.

Assembly Order:

  1. Install the 3 Sockets.
  2. Install the 24 LEDs. The Cathode end is nearest the bus. It is shown on the overlay as the dark flat marking near the lower leg. The LED itself has one leg shorter than the other. This is the cathode. It also has a flat edge. This also marks the cathode.
  3. Install the 2 by 8 header block for the test or shorting links.
  4. Install the 2 single strips of bus signal and swich signals if this is the way you are going.
  5. Install all Resistors standing upright with one leg bend over the body of the resistor so that each one will fit the .1" pattern as shown on the overlay of the board..
  6. Install the 4 switches.
  7. Then insert your 3 chips. You are finished.

Artwork Correction:
A small artwork error has been found on this board. The linked Switch positions SW5 to SW8 don't have the 10K pullups connected to the links. 

Four small .1 Inch long tracks missing. Small jumpers can be added to the solder side of the board if these last 4 switches are to be used with the links.

User Suggestions

Date: Fri, 30 Jan 1998 19:21:04 +1100
From: Don McKenzie don@dontronics.com
To: Jim Moulton jim@standard.net.au

Jim Moulton wrote:

Dear Don, Bits from you arrived today, thanks.

I'v just had a very frustrating couple of days with problems with RA4 using your dt001, dt101 and dt203 and have at last found the problem:

The pull_up resistor on RA4 on dt101 is too big.

To read in a logic 1 on RA4 the voltage must be at least 0.85 Vdd (ie > 4.25V)
The input current drawn by an input pin of ULN2803 on dt 203 is 1.35ma max
Thus the pull up resistor needs to be (5-4.25)/1.35 k     (ie 560 ohms not the 10k provided on dt101)
I have added 560 ohm to the dt203 as this is the board with the problem load (ie the ULN2803)
what do you think ?

Plenty of code will work; the problem is for reading the RA4 pin not writing to it.

> eg   bsf    PORTA,4    pin goes high (as it can with the r pull-up and ULN load)
>       other code
>       bsf    PORTA,6    RA 6 goes high and RA 4 pin goes low !!!

This is because "bsf" etc is read/modify/write and when it reads it sees a '0' on RA4 and this second instruction actually affects RA4 I'v deleted my test code but it is simple to demonstrate the affect. The figures I quoted are from the data books.

Jim Moulton
R.M.B 2128
Colcott St.
TIMBOON, 3268
PH: 03 55983544

I can show you a set of standard boards ticking away on a walking LED program here on an 84 without problems on RA4, but I have to believe you of course Jim.

I feel to install it on the board that displays the load problems is the correct solution. So that your frustrating couple of days is put to good use, I'll add this message to the hardware html file of the DT203 so that others will benefit.

Cheers Don...

BTW.
I have found when using FED Basic that if you load SCL and SDA with a DT203 LEDs and Switches board, it may not run. Remove the first ULN2803 chip for initial tests.
Don...

BACK    TOP  
 

All rights reserved © 1999-2005 Giovanni Moretti Palmerston North, New Zealand

  Privacy Statement Contacting Reflection Technology Product Return details