Jumpers for 508/509 operation in the 18 pin socket on DT001 rev A
and B
There are 4, they are on the solder side of the board and very simple
to add.
Pin 1 to pin 14
Pin 5 to 18
Pin 17 to 13
Pin 16 to 12
Full Parts list:
Assembly Instructions:
Jumpers and Jumper Options:
Programmer Software:
Power up and Testing the Programmer:
Configuring your SimmStickTM
One user reported that he had to install a 10K pullup resistor between
+5Volts and the non grounded side of the reset button before he could program
an 84 in the DT001 on board socket.
If you have a SimmStick installed and are programming the device in
the SimmStick, you should have a pullup resistor installed already.
POWER Input Components, and Programmer Voltage:
Main Board Components:
Programmer Parts:
And if you wish to connect to a target board with a
matching 10 pin header:
RESET and BOOT Switches:
SimmStickTM Bus Expansion. J3
Dontronics Relay Bus:
Serial Communications:
Jumpers and Jumper Options:
SimmStickTM Bus
POWER Input Components, and Programmer Voltage:
Plug-pack (Wall Wart) 9 to 12 volts AC or DC at 100ma to 300ma. The
current required to run a minimal DT001 board is very small. Larger configuratioms
will require larger capacity power supplies.
If you wish to use the board as a Cheap PIC Programmer, then the 13V PP needs to be generated by supplying enough voltage to drive the VPP circuit.
This means using an input voltage of around 16V DC or 12 V AC. If a 9 to 12 V DC Plug Pack is used, it can be wired up in conjunction with a 9V Battery to generate the +13V VPP programming voltage. Two batteries could be wired together for a portable unit.
Don't go too high with the input voltage as you may go over the 7805 specs and heat up the device to destruction. I would suggest that 18 Volts is as far as you should go. Provision for a heat sink is made on the board at the 7805 location.
1 by DT001 PCB DT
1 by 7805 +5 Voltage regulator in TO-220 case. DT 1 by Suitable heat sink for above Regulator. DT 1 by Diode Bridge D1 WO2 (or WO4 type) DT 2 by 1N4004 Diodes. D1 and D2. For 13V VPP. 1 by 2.1mm DC Input plug. PCB mount. DT Provision is also made for screw terminals at .2" centers.
1 by Capacitor C1 1000uf Electrolytic @25 Volts. (PCB type mount.) Provision is made to fit larger caps if required. This can be caps with .3", .4", or .5" centers, or 1000uf, 2200uf or 4700uf.
1 by Capacitor C2 .01uf (or .1uf) Ceramic 1 by Capacitor C3 .01uf (or .1uf) Ceramic 1 by Capacitor C4 10uf Electrolytic (PCB mount.) or Tant. @16 V. 1 by Capacitor C6 .01uf (or .1uf) Ceramic 1 by Capacitor C7 .01uf (or .1uf) Ceramic 1 by Resistor R1 1K8 .25 watt Red LED 1 (PWR.. Overlay Shows 4K7) 1 by Resistor R2 330 .25 watt Green LED 2 (+5V) 1 by 5mm Red LED. LED 1 PWR monitor 1 by 5mm Green LED. LED 2 +5V monitor 4 by 12mm square .5" stick on rubber feet. Adds a nice finish. DT 2 by 1N4148 Small Signal Diodes. D3 and D4. Used for Basic Stamp Comms.Top of Page
Programmer Parts:
1 by E1 7407 DT 1 by 78L12 +12 Voltage regulator in TO-92 case. DT 1 by Capacitor C5 10uf Electrolytic (PCB mount.) or Tant. @25 V. 1 by RN1 10K resistor network. 6 pin device, 1 common pin. Extra holes so that a 7 or 8 pin device can be fitted. (6P5R-10K) DT 1 by Resistor R3 4K7 .25 watt Red LED 3 (VPP On) 1 by Resistor R4 1K8 .25 watt Green LED 4 (VDD On) 1 by Resistor R5 100K .25 watt Q2 cct. 1 by Resistor R6 100K .25 watt Q1 cct. 1 by Resistor R7 10K .25 watt Q1 cct. 1 by Resistor R8 10K .25 watt Q2 cct. 1 by Resistor R9 100 .25 watt Q2 cct. 1 by Resistor R10 10K .25 watt Clock Pullup. 1 by Resistor R11 10K .25 watt Data Pullup. 1 by Resistor R16 1K .25 watt VPP Pulldown. 1 by 5mm Red LED. LED 3 VPP monitor 1 by 5mm Green LED. LED 4 VDD monitor 1 by 4 Pole Double Throw (4PDT) Switch. Run/Load DT 1 by DB-25 Male right angle PCB mount connector. DT 2 by Transistors Q1 & Q2 BC558 Any PNP Small Signal Amps will do. US Transistor types 2N4403 can be used, but you will need to position the devices at 180 degrees to the overlay as shown. This means the flat side of transistors Q1 and Q2 will both be facing towards the 78L12 regulator. It also means you will have to bend the center leg slightly in the opposite direction.
1 by 10 pin IDC type Male header. (2 by 5 pins) J1 Program Header. DT (Optional) 1 by 18 pin ZIF or Machine Pin Socket. (Optional). DTNOTE **** If you choose not to use a ZIF socket in the on-board position, at least make sure you install a reasonable quality machine pin socket into this position. Instructions can be found on how to fit a ZIF socket at a later stage in my Hardware Hints file.
18 pin ZIF sockets are very hard to find. TEXTOOLS (green) have an 18 pin ZIF, but the local importers require a minimum order of ten before they will import them for me. I get these flown in and normally have then in stock at all times.
And if you wish to connect to a target board with a matching 10 pin header:
1 by 6 inches of 10 wire flat ribbon cable with two 10 pin IDC crimp headers, one crimped each end. No, you can't buy it. You will need to make this cable up and crimp it yourself. A small vice works nicely for crimping these IDC connectors. If you can't find headers as small as 10 pin, you may have to use a larger size. These can often be easily cut down, or simply placed pin 1 to pin 1 on the existing headers.
Pair of Female 10 pin IDC crimp headers. (To suit the above) DTI'LL JUST REPEAT THAT. SIX INCHES OF FLAT RIBBON CABLE, NOT THREE FEET.
Three feet of DB-25M to DB-25F printer port cable works fine. Yes, it's pin for pin, so an off the shelf fully wired cable will do. Or you can crimp your own. I think a foot to 18 inches will do for this job.
RESET and BOOT Switches:
A Reset can be added for CPU control, and I have also included a "BOOT"
switch on the SDA signal. If a pull-up resistor is fitted on a SimmStickTM
module, then this line can be used as a single line switch input. I added
it mainly for FED Basic "COMMS" control.
1 by Resistor R14 330 .25 watt Boot Button. 1 by Resistor R15 330 .25 watt Reset Button. 2 by Suitable switches. These can be the pretty plastic color ones that have .2" centers, or the mini 4 pin TACT switches that have a .2" by .3" pattern. DTThe smaller 2 pin device can also be used, however as the board artwork connects to only diagonal pads, a short jumper would need to be done to each switch on the solder side of the board.
1 by 30 Pin single row right angle Female connector for Motherboard. 1 by 30 Pin single row right angle Male connector for expansion board.DT Straight Pins are also available from Dontronics. Check Prices.Top of Page
Dontronics Relay Bus:
1 by 34 pin IDC type Male header. (2 by 17 pins) J2
Mates with the Dontronics Relay Board.
Serial Communications: 1 by Resistor R12 1K .25 watt for RX monitor LEDs. 1 by Resistor R13 1K .25 watt for TX monitor LEDs. 1 by Resistor R17 2K2 .25 watt for BS-2 Comms Config. 1 by 5mm Red LED. LED 5 RX Plus monitor 1 by 5mm Green LED. LED 6 RX Minus monitor 1 by 5mm Red LED. LED 7 TX Plus monitor 1 by 5mm Green LED. LED 8 TX Minus monitor 1 by MAX-232 E2 (or equivalent) DT 4 by 1uf Electrolytic or Tantalum Caps for Max-232. C8 to C11. 1 by DB-9 right angle PCB mount connector. DTIt may also pay to install a 16 pin socket for the Max-232, as you may have to remove it for some configurations.
Jumpers and Jumper Options
All Jumper positions are default set to the most common configurations.
If there is a requirement to alter these settings, you may need to cut
a track on the solder side ot the board, and install a strip of 2 or 3
pin male header pins, and test (or jumper) links.
There is one jumper on the component side of the board at J12. Don't ever cut this. I would have liked to put all possible track cuts on the component side of the board but decided it was safer on the solder side. This way, no one would solder in headers and then be unable to cut the tracks.
J1 to J3 are I/O (input/output) connection points for expansion of signals from the DT.001 PCB to other boards and devices.
J1 10 pin programming Header for connection to suitably designed target board such as the Dontronics PIGMY board. J2 34 pin Port B and C header. Matches the Dontronics Relay board bus. J3 30 pin Simm Bus expansion. Standard procedure is to solder a 30 pin right angle female header socket to this. J4 Alternative connection points for normally un-used RS-232 input and output. The 'IN' portion signal (not the header pin) is used for BS-2 comms. J5 Normal: Leave pins 1 and 2 connected together. BS-2: Cut the track between pin 1 and 2 on the solder side of the board. Install a 3 pin male header. Put a test link between pins 2 and 3. J6 Normal: Leave pins 1 and 2 isolated. BS-2: Install a 2 pin header and jumper link. This signal can be used to remotelt reset the CPU device via an RS-232 input line. Used in conjunction with J11. J7 Connects the D-9 pins 6 and 7 together for BS-2 operation. Can be a set of 2 header pins and a link as before, as it may need to be removed. J8 Shorts out R15 (330) as some brown out circuits may need a more direct pulldown to ground. J9 Carries RX or Serial In to SI on SimmStick Bus via pins 2 and 3. An alternative path can be provided via pin 1 to D0 of the Simm Bus. Again, isolation by track cutting and header pins needs to be done. J10 Same as for J9 but carries TX and alternative path is to D1. J11 Connects pin 4 of the D-9 connector to reset in for BS-2 operation. J12 Used for BS-1 operation. The track this time is on the component side of the board, and no track cut is required. Normal operation: Link on pins 2 and 3. BS-1: Link 1 and 2 together. J13 Used for BS-1 operation. The track cut is on the solder side of the board. Normal operation: Link on pins 2 and 3. BS-1: Link 1 and 2 together. J14 For BS-1 operation. Cut the tack on the solder side of the board. Install a 2 pin male header and a link to restore to normal operation. This isolates the pullup resistor and the 7407 input gate.Jumpers Explanation and Summary:
J4 is used for In-Circuit programming to a suitable target board.
J5, J6, J7, and J11 re-configure the RS-232 circuitry for Basic Stamp II operation.
J8 shorts out the Reset Resistor to zero ohms.
J9 and J10 offer an alternative connection to the SimmStick bus for the main RS-232 signals. This may suit Basic Stamp I users that require RS-232 on pins 1 to 8. (Port B).
J12, J13, and J14 allow BS I users to program their Stamp via the DT.001 board and the standard BD-25 printer port cable.
SimmStickTM Bus
A variety of options here. You can use single or dual 30 Pin Simm Sockets.
These can be placed at intervals required by the user. The PCB holes are
placed at .15" centers, and standard Simm Sockets are made for .3" centers,
so many different layout patterns can be utilised.
If you needed two sockets that were an inch apart becuase of a ZIF socket or other board options that increase the height of the SimmStick, then .9" or 1.05" spaced selections can be made.
A combination of Vertical, 27 degree, and Horizontal sockets may make for interesting combinations.
You don't need sockets either. A row of female pins could be added so that SimmSticks with male pins fitted, could be plugged into the female pin headers.
For the full population of this area in the conventional manner, you will need: 4 by Dual 30 pin Simm Sockets (Vertical) with .3" centers. DTTop of Page
Novice Explanation...
All soldering is done on the solder side of the board. All components
are fitted from the component side of the board. If you have trouble understanding
this, you may need assistance to assemble this board. I am very happy to
assist in an E-mail message if I can, but I can't build or fault find to
any great degree via an E-mail message.
End Of Novice Section...
This board has many features and functions and you may choose to add only the components required for your final project.
The parts list has additional comments added, so read through it in conjunction with these assembly instructions.
The text Overlay on the component side of the board makes it very simple to assemble the DT001 board.
I advise you to install all components starting with the lowest profile (height) first. IE: All resistors first. If you were to solder in the Connectors or 4PDT switch first, you will find it awkward to then fit the smaller items easily.
For 'All' installations, solder in the full list of components as given in the Main Board Components: list.
Watch out for the polarity of the Electrolytic Capacitors. These must be soldered into the board the correct way around. The positive end of the Caps is shown on the circuit and board overlay.
When you solder in your 7805 regulator, it can be soldered in allowing for a bolt and/or heat sink to be fitted at this position. Even if you don't install a heatsink now, you may need one later on. I bolted a heatsink to mine, soldered it in position, then removed it. A standard small heatsink can be used. Just make sure you mount it with the bulk of it over hanging the side of the board.
Install your LEDs with the cathodes as shown on the overlay. (Cathodes to the bottom of the board). The cathode end is also found by the flat spot on the side of the case, and also it's the shortest leg.
Programmer Parts
If you are using the boards as a programmer, solder in the full list of components as given in the Programmer Parts list.
If you are programming only SimmSticks, then you don't need the 18 pin ZIF socket or 10 pin header J1.
The ZIF socket programs a suitable DIP device directly in the socket.
Hardware Hints will show you how to use a
machine pin socket, then add a ZIF socket later on.
The 10 pin header is used to program a target board that has a matching 10 pin header. This 10 pin header is the Dr. Russ Reiss pinout.
Provision is made for Reset and Boot Switches. The Reset will reset any CPU connected to pin 8 of the SimmStickTM bus.
The Boot switch is my version of Robin Abbott's Boot link which I found rather awkward. This is connected to pin 11 of the SimmStickTM bus.
Both these switches connect to ground via 330 ohm resistors.
Most of the other components require no real explanation, so here is a quick rundown on the remaining board options.
SimmStickTM Bus.
Slot 1 is switched via the 4PDT switch, and acts as a program/run switch
for slot 1 only. Jumpers can be used to disable this feature. Dual connectors
at .3" centers or single 30 pin Simm Sockets can be fitted to the board
at user selected spaces. Female 30 pin headers can also be installed. These
should be available from all SimmStickTM Distributors.
SimmStickTM Bus Expansion.
J3 is provided to allow the main bus signals to be extended to other
outboard circuits using male and female pin headers.
Dontronics Relay Bus:
This mates with my Relay board and is a 34 pin (2 by 17) male header
block. Can be used for other board interconnections.
Serial Communications
A complete RS-232 to TTL converter, DB-9 connector, and status monitor.
This connects to the Serial In and Serial Out pins of the bus. Two spare
gates are available for additional handshaking if required.
Watch out for the polarity of the Electrolytic Capacitors. These must be soldered into the board the correct way around. The positive end of the Caps is shown on the circuit and board overlay.
Additional PWR, +5V and GND Posts.
When I make up a kit, I always allow for test posts so that I can easily
get to the power for measurements and testing. In the past I used 1 post
but found it was always difficult to solder in 1 post on it's own, so I
have settled for two posts for each position.
These three sets of posts can be found near the J3 expansion bus connector. This may also be a good point to continue power to another board such as a Relay board.
They have been designed in such a way that a track cut between them would isolate the SimmStickTM bus from +5V and PWR rails. Under some circumstances, this may be a possible requirement.
I have also added four single grounds posts for connection to a CRO or any other test gear. You may choose to solder a wire loop into these positions. Two can be found at each end of the DB-25 connector, and two up the Bus expansion end of the board.
Use the software in {ken}.zip or {nigel}.zip for running this board as a PIC Device programmer.David Tait's original and updated code for 7407 configuration also works. These files can be found on my Promo Disk, my Internet Home Page, and MicroChip BBS.
Download NIGEL.ZIP
Download KEN.ZIP
DOS PIC16x8x Programmer
Software by Nigel Goodwin. Nigel just finished this and is looking
for feedback. 31-Aug-97
Tato Computers Web link (see my links page) is another source of software that runs on the Dontronics programmer under Windows without hardware changes.
Many other International Authors are now including the "Don McKenzie" configuration in their software packages. I'm becoming a "Generic" brand.
A word to the wise!!!
When you build a device to plug onto the rear end of a computer system, there is always the possibility of electronic damage to the computer. Weird ground feed-back from an unknown bench power supply may be just what is required to blow the interface chips in your printer card.
If you are like me and run from Notebook computers, you can't go blowing up internal circuitry, so my advice to you, is to test the Programmer section using two 9 Volt batteries in series to produce 18 Volts, and suitable battery clips as a power supply.
This minimizes the possibility of any power supply problems. If you have your printer port logic included on your motherboard, you can always use a cheap printer card set to LPT2: for initial testing.
I can't (and won't) be held responsible for your power supply. If you prove that your programmer works using batteries first, you are well on the way to a successful project.
Connect up your power-pack, transformer, or 2 by +9 Volt Batteries to the main input terminals. As the circuit has a diode bridge at the input, it doesn't matter which way around you connect the positive and negative terminals.
Power up the unit and check that the +5 Volts is there before proceeding. This is verified by the Power LED being on. Check the volts with your multi-meter. This should read from about 4.8 to 5.1 Volts. That's what you get on 7805 regulators now days. Usually around 4.8 Volts with no load.
Check your PWR voltage. This will show up on the Power LED and should be about 15 plus volts which should be able to generate +13V at the output of the 78L12 Voltage regulator.
The Nigel software has a test function that will allow you to test the LEDs and check the voltages before burning a PIC device.
CONNECTING TO A PRINTER PORT AND BURNING
Connect the programmer to an MS-DOS printer port using a DB-25 Male to Female standard extension cable, and power the unit up. Put a PIC16C84 into your target socket and try burning the 84 test file.
The command line for this is: PICPROG WL84.HEX The walking LED program has been described in length in other files on the PROMO disk. You will need to connect up some sataus LEDs on Port B of your target board to monitor the operation of the walking LED program.
This can be done with a Relay board connected to the DT001 board. The walking LED will be seen on the Relay driver LED's.
PROGRAM/RUN
The programming/Run operation goes like this: (1) PROGRAM MODE: Switch 1 to Program. Burn (or Program) Target Device. (2) RUN MODE: Switch 1 to Run. Program auto-runs in Target system. (3) RETURN TO PROGRAM: Switch 1 to Program. Burn (or Program) Target Device.Yes, step (1) and (3) are the same. This simple cycle continues.
HOW DO I RUN IT, CONTINUED.
When the device is powered up and the Software is run with the appropriate command ,the PWR and the +5V power monitor LED's should be on, and the VPP and VDD LED's off. During the initial 'RUN' of the program, the green LED will switch on for a short time.
Before inserting an 84, you can do a few tests.
Try the Nigel program. Even without the VPP voltage connected, the program should test your board and report the printer port to be used in the top right hand corner of the screen. This should say 278, 378 or 3BC. This is the hex value of the printer port detected.
The command line for this is: PICPROG
You should have the Program/Run switch in the correct position. This socket could be the ZIF (or Machine pin) socket on board the programmer, a socket on a SimmSocketTM, or suitable Target board.
Download wl84.hex test file provided for a trial burn.
The command line for this is: PICPROG WL84.HEX
Put your 84 into the socket and try this command. During the burn phase, the VPP and VDD LED's will turn on, do a little flashing, then turn off when the device is programmed.
The program will tell you if the device has been programmed correctly or not, after verifying the device.
When the device is programmed correctly, set Switch 1 to Run mode. You should be running your program.
The WL84.HEX file is my walking LED program. This is a simple little program that blinks LEDs connected to Port B and Port A bits 2 and 3 of an 84.
Port A produces a binary count, and port B walks a LED from LSB to MSB
at 1 second intervals.
Home |
Products |
Prices
|
Site Map |
Order |
Contact
|
What's New |
Books |
Free Files
|
Links |
FAQ
Top_of_Page
Dontronics_
US Home Page. Dontronics
Australian Home Page.
Copyright © 1997 Dontronics