17
ASSEMBLY MANUAL MRSX01 MEKATRONIX SENSOR EXTENSION BOARD By Keith L. Doty Copyright © 1999 by MEKATRONIX™.

ASSEMBLY MANUAL MRSX01 MEKATRONIX SENSOR … · 2. Two Digital Inputs, 3. Eight Memory Mapped Digital Outputs 4. Four Memory Addressable Input Device Selects, 5. Three Memory Addressable

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: ASSEMBLY MANUAL MRSX01 MEKATRONIX SENSOR … · 2. Two Digital Inputs, 3. Eight Memory Mapped Digital Outputs 4. Four Memory Addressable Input Device Selects, 5. Three Memory Addressable

ASSEMBLY MANUALMRSX01 MEKATRONIX

SENSOR EXTENSION BOARDBy

Keith L. Doty

Copyright © 1999 by MEKATRONIX™.

Page 2: ASSEMBLY MANUAL MRSX01 MEKATRONIX SENSOR … · 2. Two Digital Inputs, 3. Eight Memory Mapped Digital Outputs 4. Four Memory Addressable Input Device Selects, 5. Three Memory Addressable

MEKATRONIX™ MRSX01 ASSEMBLY MANUAL

08/09/99

Gainesville, Florida http://www.mekatronix.com Technical questions: [email protected]

2

AGREEMENTThis is a legal agreement between you, the end user, and MEKATRONIX™. If you do not agree to the terms of thisAgreement, please promptly return the purchased product for a full refund.

1. Copyright Notice. MEKATRONIX™ hereby grants to any individuals or organizations permission toreproduce and distribute copies of this document, in whole or in part, for any personal or non-commercialeducational use only. This copyright notice must accompany any copy that is distributed.

2. Copy Restrictions. Other than cases mentioned in Copyright Notice, no part of any MEKATRONIX™

document may be reproduced in any form without written permission of MEKATRONIX™. For example,MEKATRONIX™ does not grant the right to make derivative works based on these documents without writtenconsent.

3. Software License. MEKATRONIX™ software is licensed and not sold. Software documentation is licensed to

you by MEKATRONIX™, the licensor and a corporation under the laws of Florida. MEKATRONIX™ doesnot assume and shall have no obligation or liability to you under this license agreement. You own the disketteson which the software is recorded but MEKATRONIX™ retains title to its own software. You may not rent,lease, loan, sell, distribute MEKATRONIX™ software, or create derivative works for rent, lease, loan, sell, ordistribution without a contractual agreement with MEKATRONIX™.

4. Limited Warranty. MEKATRONIX™ strives to make high quality products that function as described.

However, MEKATRONIX™ does not warrant, explicitly or implied, nor assume liability for, any use orapplications of its products. In particular, MEKATRONIX™ products are not qualified to assume critical roleswhere human or animal life may be involved. For unassembled kits, you accept all responsibility for the properfunctioning of the kit. MEKATRONIX™ is not liable for, or anything resulting from, improper assembly of itsproducts, acts of God, abuse, misuses, improper or abnormal usage, faulty installation, improper maintenance,lightning or other incidence of excess voltage, or exposure to the elements. MEKATRONIX™ is notresponsible, or liable for, indirect, special, or consequential damages arising out of, or in connection with, theuse or performances of its product or other damages with respect to loss of property, loss of revenues or profit orcosts of removal, installation or re-installations. You agree and certify that you accept all liability andresponsibility that the products, both hardware and software and any other technical information you obtain hasbeen obtained legally according to the laws of Florida, the United States and your country. Your acceptance ofthe products purchased from MEKATRONIX™ will be construed as agreeing to these terms.

Page 3: ASSEMBLY MANUAL MRSX01 MEKATRONIX SENSOR … · 2. Two Digital Inputs, 3. Eight Memory Mapped Digital Outputs 4. Four Memory Addressable Input Device Selects, 5. Three Memory Addressable

MEKATRONIX™ MRSX01 ASSEMBLY MANUAL

08/09/99

Gainesville, Florida http://www.mekatronix.com Technical questions: [email protected]

3

MANIFESTO MEKATRONIX™ espouse the view that the personal autonomous agent will usher in a whole new industry, muchlike the personal computer industry before it, if modeled on the same beginning principles:• Low cost,• Wide availability,• Open architecture,• An open, enthusiastic, dynamic community of users sharing information.

Our corporate goal is to help create this new, exciting industry!

DISCLAIMERWhile MEKATRONIX™ has placed considerable effort into making these instructions accurate, MEKATRONIX™does not warrant the results and the user assumes the risks to equipment and person that are involved.

Page 4: ASSEMBLY MANUAL MRSX01 MEKATRONIX SENSOR … · 2. Two Digital Inputs, 3. Eight Memory Mapped Digital Outputs 4. Four Memory Addressable Input Device Selects, 5. Three Memory Addressable

MEKATRONIX™ MRSX01 ASSEMBLY MANUAL

08/09/99

Gainesville, Florida http://www.mekatronix.com Technical questions: [email protected]

4

TABLE OF CONTENTS1 ABSTRACT ......................................................................................................................................................... 52 ASSEMBLING MEKATRONIX PRINTED CIRCUIT BOARDS...................................................................... 5

2.1 Skill Level..................................................................................................................................................... 52.2 Personal Safety.............................................................................................................................................. 52.3 Component Protection................................................................................................................................... 52.4 Questions and Further Information on the MRSX01 .................................................................................... 52.5 Equipment Needed to Construct the MRSX01 ............................................................................................. 52.6 Equipment Needed for Testing the MRSX01 ............................................................................................... 5

3 The MRSX01 Sensor Expansion Board................................................................................................................ 63.1 Features of the Sensor Expansion Board....................................................................................................... 63.2 The MRSX01 Kit.......................................................................................................................................... 6

4 ASSEMBLING THE MRSX01............................................................................................................................ 74.1 Mounting, Cutting and Soldering Discrete Components............................................................................. 104.2 Mounting and Soldering IC Sockets ........................................................................................................... 104.3 Cutting, Mounting and Soldering Headers.................................................................................................. 114.4 Making Connectors and Jumpers ................................................................................................................ 14

5 TEST BOARD.................................................................................................................................................... 15

LIST OF FIGURESFigure 1 Tables listing the MRSX01 kit parts and quantities. ...................................................................................... 7Figure 2 Cutting a CON2 male header. Insert the short leads of the male header into the PCB and solder on

underneath side of the board. .............................................................................................................................. 11Figure 3 Proper placement of headers. .................................................................................................................. 12Figure 4 Placement of a right angle male header. Be sure there is plenty of clearance between the board and the

male header to permit easy insertion and disconnection of a female connector.................................................. 12Figure 5 MRSX01 circuit diagram. Elements indicated by CONj are connectors with j pins. .............................. 13Figure 6 This layout of the MRSX01 locates all the sensor connectors. Pin one of the connectors is designated by

a box around the pad. Two pin connectors on this board serve non-polarized devices, so pin number one isirrelevent here. .................................................................................................................................................... 14

Figure 7 Constructing a two pin jumper from a female connector. Carefully cut away a group of two pins and shortthem together. ..................................................................................................................................................... 15

Figure 8 Configure your PC, the MB2325 communications board, and the MRC11 as shown. The MB2325requires a 25-pin D-connector on the PC side. If the COM port on your PC has a 9-pin D-connector, you willhave to get a 9-pin to 25-pin D-connector converter plug................................................................................... 16

LIST OF TABLESTable 1 Bill of Materials for the MRSXO1 .............................................................................................................. 7Table 2 Individual Parts List for the MRSXO1, Robot Sensor Expansion Board, .................................................... 8

Page 5: ASSEMBLY MANUAL MRSX01 MEKATRONIX SENSOR … · 2. Two Digital Inputs, 3. Eight Memory Mapped Digital Outputs 4. Four Memory Addressable Input Device Selects, 5. Three Memory Addressable

MEKATRONIX™ MRSX01 ASSEMBLY MANUAL

08/09/99

Gainesville, Florida http://www.mekatronix.com Technical questions: [email protected]

5

1 ABSTRACTThe MRSX01 sensor expansion board mates with the MRC11 microcontroller board to form an extensive,sophisticated, general, microcontroller data acquisition and control system useful in a wide variety of embededcomputer control and measurement applications such as instrumentation, robotics, hobby projects, etc. This manualprovides instructions for the assembly of the MRSX01. Consult the MRC11 Assembly manual for the assembly ofthe microcontroller companion board. To test this board you will need the MRC11 or equivalent and a program torun diagnostics.

2 ASSEMBLING MEKATRONIX PRINTED CIRCUIT BOARDS

2.1 Skill LevelAssembling this board requires the ability to solder and modest manual dexterity. If you are inexperienced insoldering or would like a quick review of soldering techniques, refer to Soldering Note (http://www.mekatronix.comin the manuals section) for soldering tips. If you feel uncomfortable with assembling a printed circuit board youmight want to consider purchasing one assembled and tested from the factory.

2.2 Personal SafetyPractice safe assembly techniques. When assembling printed circuit boards, be sure to work in a well-ventilated areaand wear eye protection. If you have not been instructed in PCB assembly techniques, you should seek assistancefrom an experienced technician.

2.3 Component ProtectionIntegrated circuits (IC) and other semiconductor devices are static sensitive. One can easily destroy an IC with staticdischarge. To protect against static discharge from destroying semiconductor devices, you might want to wear a wristgrounding strap while assembling your board. Axial and radial leaded components, such as resistors and capacitors,while rugged, can be damaged by careless handling. A common failure results when the leads are bent too much andtheir connection to the component is weakened or broken. Pins on headers and connectors occasionally get bent. Torestore the pin to proper function, careful straightening them with needle nose pliers should do the trick, but bendinga pin certainly does not improve the pin’s performance and can lead to failure.

2.4 Questions and Further Information on the MRSX01For technical support email all questions to [email protected] .For technical information and further description of the MRSX01 refer to the free manual athttp://www.mekatronix.com.

2.5 Equipment Needed to Construct the MRSX01The following tools are needed to complete this board. Make sure you have them handy before you start work.

1. Soldering iron2. 60/40 rosin core 0.032 diameter electronics solder (do not use an acid core solder or acid flux on the board)3. Small diagonal cutters for cutting wire and headers4. Needle nose pliers5. Wire stripers6. Hot glue gun and hot glue for mechanically securing wires to connectors.7. Masking tape

2.6 Equipment Needed for Testing the MRSX01You will need the functionality or equivalent to the following equipment.1. Multimeter

Page 6: ASSEMBLY MANUAL MRSX01 MEKATRONIX SENSOR … · 2. Two Digital Inputs, 3. Eight Memory Mapped Digital Outputs 4. Four Memory Addressable Input Device Selects, 5. Three Memory Addressable

MEKATRONIX™ MRSX01 ASSEMBLY MANUAL

08/09/99

Gainesville, Florida http://www.mekatronix.com Technical questions: [email protected]

6

2. A Motorola MC68HC11 based controller such as the MRC11an MSCC11.3. A MEKATRONIX™ MB2325 communications board with a MEKATRONIX™ C2325 6-wire serial cable.4. A Personal Computer running DOS or Windows with a 25 pin serial cable connector capability for COM1 or

COM2 to connect with the MB2325 board.5. Motorola PCBUG11 (freeware) or Interactive C (freeware for versions less than 3.1) or ICC11 (purchase from a

MEKATRONIX™ distributor).6. Power supply or 8 pack of AA rechargeable batteries to supply about 7-10 volts (We recommend Energizer

rechargeable AA NiCd Batteries).7. Cables, connectors, jumpers and/or switches

3 The MRSX01 Sensor Expansion BoardThe MRSX01 serves as a general purpose sensor data acquisition and digital InputOutput control board for roboticsand other applications requiring extensive sensor capability. The MRSX01 mates with the MRC11 controller to formthe complete control and sensing capability of the TALRIKII™ robot. Future MEKATRONIX™ kits will be basedon these and other designs. In Figure 6 the fourteen, 3-pin male headers for the IR detectors along the top edge. The60-pin male header J1, along the bottom edge of the board, attaches to the computer bus. The 2-pin male headers forthe six CDS cells line up along the right side of the board. The charge circuit connector, the battery and servo powerconnectors, are in the upper left. Along the left side, just below the power connectors, are the motor and servoconnectors. Below them you find the digital output enables and the 40 KHz jumper.

3.1 Features of the Sensor Expansion BoardThe MRSX01 mates with the MRC11 to provide extensive sensor and control capabilities. The two-board stack,MRSX01 and MRC11, furnishes the circuitry that supports all the sensory, motor and cognitive functions for theTALRIKII autonomous mobile robot and can be used for a wide variety of mechatronic applications that requireextensive data acquisition and computer control. In particular, the MRSX01 features:

1. Twenty Analog Inputs,2. Two Digital Inputs,3. Eight Memory Mapped Digital Outputs4. Four Memory Addressable Input Device Selects,5. Three Memory Addressable Output Device Selects,6. High Memory Select(Address >= b"1111 1111 1011 1xxx"),7. Two Pulse Width Modulated Outputs for Motor Control,8. Two Pulse Width Modulated Outputs for Servo Control,9. One Pulse Width Modulated Output assigned to an optional piezo speaker,10. A Battery charge circuit (100ma at 12 volts-DC),11. Battery Voltage Sensor (Analog Input),12. Charge Current Sensor (Analog Input),13. Front Bumper Sensor (Analog Input),14. Rear Bumper Sensor (Analog Input),15. Forty KHz square wave generator,16. Processor Data Bus and Ports brought out to a 60 pin Header17. Battery-Power-In and Battery-Power-Out Headers

Fourteen analog inputs lead out to 3-pin male headers: (pin-1, pin-2, pin-3) = (Signal, 5 Volts, Ground). TALRIKII™uses these 14 analog inputs to sense IR detector signals. Six other analog inputs terminate on 2-pin maleheaders:(Signal, 5Volts). TALRIKII™ employs these 6 analog inputs for light detection with photoresistors.

3.2 The MRSX01 KitThe parts in your MRSX01 kit are listed in Figure 1. The female and male headers come in lengths of 36 pins. Thesewill have to be cut to make the headers for the board. Instructions on how to do that are given in Section 4.3.

Page 7: ASSEMBLY MANUAL MRSX01 MEKATRONIX SENSOR … · 2. Two Digital Inputs, 3. Eight Memory Mapped Digital Outputs 4. Four Memory Addressable Input Device Selects, 5. Three Memory Addressable

MEKATRONIX™ MRSX01 ASSEMBLY MANUAL

08/09/99

Gainesville, Florida http://www.mekatronix.com Technical questions: [email protected]

7

Figure 1 Tables listing the MRSX01 kit parts and quantities.

4 ASSEMBLING THE MRSX01Error! Reference source not found. lists the MRSX01 bill of materials and Table 2 itemizes each part inalphabetic order. The part DESIGNATOR column in Error! Reference source not found. corresponds to the partlabels in the circuit diagram in Figure 5 and the board layout in Figure 6. The table and figures together illustratehow to place the components for soldering.

Note: If the board has a silk-screen thentop of board refers to the side with the white part outlines and text on it.bottom of board refers to the non text side of the board.

Otherwise, look for an etched word to indicate which side of the board is TOP or BOTTOM.

Table 1 Bill of Materials for the MRSXO1

Qty Designator Value Description1 C1 470µf POLARIZED ELECTROLYTIC CAPACITOR1

9 C2 C3 C4 C5 C6 C7C8 C9 C10 0.1µf BYPASS CAP

Qty Integrated Circuits

1 74HC04

2 74HC11

1 74HC138

1 74HC390

2 74HC574

3 74HC4051

1 SN754410

PCB

1 Printed Circuit Board

Quantity Item

1 60-pin Double Row, Right Angle Male Header

3 14-pin Socket

6 16-pin Socket

2 20-pin Socket

1 470uF Electrolytic Capacitor

9 0.1uF Bypass Capacitor

1 1N4001 Diode

2.5 Single Row Female Header (36 pins)

3.5 Single Row Male Header (36 pins)

Qty Resistors/Values

2 47Ω

1 100Ω

1 330Ω

9 470Ω

Qty Resistors/Values

3 1KΩ

8 10KΩ

2 22KΩ

1 33KΩ

2 47KΩ

2 100KΩ

1 150KΩ

Page 8: ASSEMBLY MANUAL MRSX01 MEKATRONIX SENSOR … · 2. Two Digital Inputs, 3. Eight Memory Mapped Digital Outputs 4. Four Memory Addressable Input Device Selects, 5. Three Memory Addressable

MEKATRONIX™ MRSX01 ASSEMBLY MANUAL

08/09/99

Gainesville, Florida http://www.mekatronix.com Technical questions: [email protected]

8

1 R 1 150KΩ RESISTOR, ¼ WATT2 R 2 R6 100KΩ RESISTOR, ¼ WATT2 R 3 R7 47KΩ RESISTOR, ¼ WATT2 R 4 R8 22KΩ RESISTOR, ¼ WATT8 R 5 R 9 R10 R13 R16

R22 R23 R2410KΩ RESISTOR, ¼ WATT

1 R11 25Ω RESISTOR, ½ WATT1 R12 33KΩ RESISTOR, ¼ WATT1 R14 300Ω RESISTOR, ¼ WATT1 R15 100Ω RESISTOR, ¼ WATT3 R19 R20 R21 1KΩ RESISTOR, ¼ WATT1 R25 470Ω RESISTOR, ¼ WATT8 RP1 470Ω IR CURRENT LIMITING RESISTORS, ¼ WATT6 CDS1 CDS2 CDS3 CDS4 CDS5

CDS6CON2 2-PIN MALE HEADER

CdS PHOTORESISTORS2 MOTOR_0 & 1 CON2 MOTOR 1 AND MOTOR2 HEADERS1 PIEZO CON2 PIEZO SPEAKER HEADER1 40KHZ_SEL CON3 3-PIN MALE JUMPER HEADERS14 IRDT1 TO IRDT14 CON3 IR DETECTOR HEADERS1 PORTA CON3 HEADERS FOR PA0, PA1, PA2 OF PORTA2 SERVO1 SERVO2 CON3 3-PIN MALE SERVO1 & SERVO2 HEADERS3 BATTERY CON4 4-PIN MALE BATTERY CONNECTOR1 CHARGE CON4 CHARGER CONNECTOR1 SERVO_PWR CON4 SERVO POWER CONNECTOR1 R_BUMP CON5 5-PIN MALE HEADERS

RIGHT BUMPER CONNECTOR1 F_BUMP CON6 6-PIN MALE HEADERS

FRONT BUMPER CONNECTOR1 IOHEADER CON6 BYTE INPUT-OUTPUT HEADER1 ANALOG CON8 8-PIN MALE HEADERS, ANALOG INPUTS1 DIG_OUT CON8 IR LED OUPUT1 D1 DIODE POWER DIODE1 J1 IDC60 60 PIN IDC HEADER2 D6 D7 LED CHARGE LED3 U 1 U3 U4 MC74HC4051 ANALOG 8:1 MUX2 U 2 U9 MC74HC574 OCTAL D-FF SENSOR LATCH1 U 5 MC74HC04 HEX INVERTER2 U 6 U8 MC74HC11 TRIPLE INPUT AND1 U 7 MC74HC138A 3:8 DECODER1 U10 74410NE QUAD HALF-H MOTOR DRIVER1 U11 MC74HC390 DIVIDE BY 2 & 5 COUNTER

Table 2 Individual Parts List for the MRSXO1, Robot Sensor Expansion Board,Ordered by Designator.

Designator Part Type Description40KHZ_SEL CON3 3 CONNECTOR, IR DETECTORANALOG CON8 IR LED OUPUT HEADER

Page 9: ASSEMBLY MANUAL MRSX01 MEKATRONIX SENSOR … · 2. Two Digital Inputs, 3. Eight Memory Mapped Digital Outputs 4. Four Memory Addressable Input Device Selects, 5. Three Memory Addressable

MEKATRONIX™ MRSX01 ASSEMBLY MANUAL

08/09/99

Gainesville, Florida http://www.mekatronix.com Technical questions: [email protected]

9

BATTERY CON4 BATTERY CONNECTORC1 470µf POLARIZED ELECTROLYTIC CAPACITOR1

C2 0.1µf BYPASS CAPACITORC3 0.1µf BYPASS CAPACITORC4 0.1µf BYPASS CAPACITORC5 0.1µf BYPASS CAPACITORC6 0.1µf BYPASS CAPACITORC7 0.1µf BYPASS CAPACITORC8 0.1µf BYPASS CAPACITORC9 0.1µf BYPASS CAPACITORC10 0.1µf BYPASS CAPACITORCDS1 CDS2 CDS3CDS4 CDS5 CDS6

CON2 2 CONNECTORCdS PHOTORESISTORS

CHARGE CON4 CHARGER CONNECTORD1 DIODE POWER DIODED6 LED CHARGE-ON LEDD7 LED POWER-ON LEDDIG_OUT CON8 IR LED OUPUTF_BUMP CON6 FRONT BUMPER CONNECTORIOHEADER CON6 BYTE INPUT-OUTPUT HEADERIRDT1 TO IRDT14 CON3 3-PIN MALE HEADERS FOR THE IR DETECTORSJ1 IDC60 60 PIN IDC HEADERMOTOR_0 & 1 CON2 2 CONNECTOR, MOTORS 1&2PIEZO CON2 2 CONNECTOR, PIEZO SPEAKERPORTA CON3 HEADERS FOR PA0, PA1, PA2 OF PORTAR_BUMP CON5 RIGHT BUMPER CONNECTORR1 150K RESISTOR, ¼ WATTR2 100K RESISTOR, ¼ WATTR3 47K RESISTOR, ¼ WATTR4 22K RESISTOR, ¼ WATTR5 10K RESISTOR, ¼ WATTR6 100K RESISTOR, ¼ WATTR7 47K RESISTOR, ¼ WATTR8 22K RESISTOR, ¼ WATTR9 10K RESISTOR, ¼ WATTR 10 10K RESISTOR, ¼ WATTR 11 25 RESISTOR, ½ WATTR 12 33K RESISTOR, ¼ WATTR 13 10K RESISTOR, ¼ WATTR 14 300 RESISTOR, ¼ WATTR 15 100 RESISTOR, ¼ WATT

Table 2(Continued)Designator Part Type DescriptionR 16 10K RESISTOR, ¼ WATTR 19 1K RESISTOR, ¼ WATTR 20 1K RESISTOR, ¼ WATT

Page 10: ASSEMBLY MANUAL MRSX01 MEKATRONIX SENSOR … · 2. Two Digital Inputs, 3. Eight Memory Mapped Digital Outputs 4. Four Memory Addressable Input Device Selects, 5. Three Memory Addressable

MEKATRONIX™ MRSX01 ASSEMBLY MANUAL

08/09/99

Gainesville, Florida http://www.mekatronix.com Technical questions: [email protected]

10

R 21 1K RESISTOR, ¼ WATTR 22 10K RESISTOR, ¼ WATTR 23 10K RESISTOR, ¼ WATTR 24 10K RESISTOR, ¼ WATTR 25 470 RESISTOR, ¼ WATTRP1 EIGHT, 470 OHM

RESISTORSIR EMITTER CURRENT LIMITING RESISTORSMOUNT IN IC CARRIER

SERVO_PWR CON4 SEPARATE POWER CONNECTOR FOR SERVOSSERVO1 SERVO2 CON3 3-PIN MALE SERVO1 & SERVO2 HEADERSU 1 MC74HC4051 ANALOG 8:1 MUXU 2 MC74HC574 OCTAL D-FF SENSOR LATCHU 3 MC74HC4051 ANALOG 8:1 MUXU 4 MC74HC4051 ANALOG 8:1 MUXU 5 MC74HC04 HEX INVERTERU 6 MC74HC11 TRIPLE INPUT ANDU 7 MC74HC138A 3:8 DECODERU 8 MC74HC11 TRIPLE INPUT ANDU 9 MC74HC574 OCTAL D-FF SENSOR LATCHU10 74410NE QUAD HALF-H MOTOR DRIVERU11 MC74HC390 DIVIDE BY 2,5 COUNTER

1IMPORTANT: For a polarized part insertion orientation is important. Incorrect insertion may cause the partto fail when power is applied.

4.1 Mounting, Cutting and Soldering Discrete Components

1. Solder single row, cut-to-length, female headers into the via pads for the CdS pull-down resistors R19, R20,R21, R22, R23, R24. The resistors provided are for nominal usage. Typically, users will need to determine CdSpull-up resistor values appropriate to their application. The female headers permit the resistors to be socketedfor easy changing. Clip the resistor leads to link and insert them into the pins.

2. Insert resistors R1 through R16 and R25, bend their leads toward each other, solder and clip the leads.

3. Insert the nine bypass capacitors C2 C3 C4 C5 C6 C7 C8 C9 C10, bend their leads toward each other, solderand clip the leads.

4. Insert the polarized capacitor C1. Be sure the positive pole is in the via designated by the + sign next to it. Bendthe leads toward each other, solder and clip the leads.

Caution: Make sure you understand the markings on the capacitor before soldering it on theboard. Improperly soldered electrolytic or tantalum capacitors can rupture with applied voltage.

Caution: The polarity signs may not be on the silk-screen of the PCB, so refer to Figure 6.5. Insert power diode D1, LEDs D6 and D7 (You may want to mount the power-on LED (D7) externally) with the

correct polarity. See markings in Figure 6. Bend the leads toward each other, solder and clip.

4.2 Mounting and Soldering IC SocketsComment on Sockets: Be careful not to heat the IC socket pins too much as it might melt thesocket plastic and cause the socket pins to short or open. On rare occasions sockets may already

Page 11: ASSEMBLY MANUAL MRSX01 MEKATRONIX SENSOR … · 2. Two Digital Inputs, 3. Eight Memory Mapped Digital Outputs 4. Four Memory Addressable Input Device Selects, 5. Three Memory Addressable

MEKATRONIX™ MRSX01 ASSEMBLY MANUAL

08/09/99

Gainesville, Florida http://www.mekatronix.com Technical questions: [email protected]

11

have shorts between a pair of pins or a pin may be open circuited. These manufacturing defectscan cause serious hardware debugging problems. Most users do not bother checking sockets,because defective ones are so rare. But, the user should be informed of such possibilities.Note: Occasionally one bends a pin. Use the needle nose pliers to straighten them.Caution: Pins cannot withstand too much bending without damage and loss of function.

6. Securely tape IC sockets RP1 and U1 through U11 to the top of the board with masking tape. Make sure thenotches on the sockets line up with the notches in the outline on the top of the board.

Caution: Inserting the IC socket correctly is extremely important. Improper installation maycause the destruction of a socketed IC when power is applied.

Flip the board and solder the socket leads, taking care to ensure that the sockets lie snug and flat against the topsurface of the board. Solder opposite diagonal pins of the socket first in order to clamp the socket securely to theboard. Solder the rest of the socket pins after you have made certain that the socket notch matches up with theprinted notch.

Caution: Do not insert ICs into Sockets until the Board has been checked.

4.3 Cutting, Mounting and Soldering HeadersUse small, thin blade dikes (diagonal cutters) to cut male headers from a male header strip (Figure 2). For example,cut two pins for a CON2, three pins for a CON3 header, etc.

Caution: When cutting, hold both parts being separated by the cut, otherwise, the one not beingheld will fly across the room. Wear eye protection as a precaution.

When cutting headers, be careful not to cut away too much plastic and expose the pins where the cut is made.

Figure 2 Cutting a CON2 male header. Insert the short leads of the male header into the PCB and solder onunderneath side of the board.

Note: Occasionally one bends a pin. Use the needle nose pliers to straighten them.Caution: Pins cannot withstand too much bending without damage and loss of function.

7. Cut the following male headers: nine CON2, eighteen CON3, three CON4, one CON5, two CON6 and twoCON8.

8. For each male header, insert the short leads of the male header into the board. The long side of the male headerfaces outward from the top of the board and the plastic support rests on the top surface of the board. Tape thetop side of the male header to hold it firmly in place. Solder the underneath side. Don’t forget to remove the tapeafter you finish!

Male

→Cut here

Page 12: ASSEMBLY MANUAL MRSX01 MEKATRONIX SENSOR … · 2. Two Digital Inputs, 3. Eight Memory Mapped Digital Outputs 4. Four Memory Addressable Input Device Selects, 5. Three Memory Addressable

MEKATRONIX™ MRSX01 ASSEMBLY MANUAL

08/09/99

Gainesville, Florida http://www.mekatronix.com Technical questions: [email protected]

12

Figure 3 Proper placement of headers.

Note: Occasionally one bends a pin. Use the needle nose pliers to straighten them. Caution: Pins cannot withstand too much bending without damage and loss of function.9. Special care should be taken in inserting and aligning the 60 pin (2 rows of 30 pins) IDC (J1). In some kits the

header may have more than 30 pins in a row. In such cases, cut the 31st pin on top and bottom rows beforecutting the plastic between the 30th and 31st pin. Exercise care here. The extra thickness of the header makes iteasier to damage or expose pin 30 when making the cut. Bias your cut towards the 31st pin or even sacrifice the31st pin (recommended). When inserting the connector, be sure it is vertical (straight male header) and firmlyseated. With the male header firmly held against the MRSX01 PC board, solder one pin at the left end. Keepingthe header firmly against the board solder the diagonally opposite pin. Next, solder all the other pins. If a rightangle male header is used (Figure 4), first insert the male header into the female connector to be used. Second,insert the male header into the PCB with the female connector still attached. This forces you to leave adequateclearance for easy insertion and disconnecting of the female header. Solder the connector as described earlier.

Female connector

Plastic base of header

Printed circuit board

Bottom or solderside of PrintedCircuit Board

Clearance

Right anglemale header

Figure 4 Placement of a right angle male header. Be sure there is plenty of clearance between the board and the maleheader to permit easy insertion and disconnection of a female connector.

Pins of header

Plastic base ofheaders

Printed circuitboard

Bottom or solderside of PrintedCircuit Board

Page 13: ASSEMBLY MANUAL MRSX01 MEKATRONIX SENSOR … · 2. Two Digital Inputs, 3. Eight Memory Mapped Digital Outputs 4. Four Memory Addressable Input Device Selects, 5. Three Memory Addressable

MEKATRONIX™ MRSX01 ASSEMBLY MANUAL 08/09/99

Gainesville, Florida http://www.mekatronix.com Technical questions: [email protected]

13

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960

J1

IDC60

5 VOLTS

12

1312V

CC

14G

ND

7

U6A

MC74HC11

91011

8

U6C

MC74HC11

345

6

U8B

MC74HC11

91011

8VC

C14

GND

7

U8C

MC74HC11

345

6

U6B

MC74HC11

12

1312

U8A

MC74HC11

3 4

VCC

14GND

7U

5BM

C74

HC

04

PE0PE1PE2PE3PE4PE5PE6PE7

PC0PC1PC2PC3PC4PC5PC6PC7

AD0AD1AD2AD3AD4AD5AD6AD7

PA0PA1PA2PA3PA4PA5PA6PA7

PB0PB1PB2PB3PB4PB5PB6PB7

MODAMODBASE_CLOCKR/W#BATTERYBATTERY

RESET#XIRQ#

VRLVRHIRQ#

H_MEM_SEL#OS3IS3

PB0PB1

PB2PB3PB4

PB5PB6PB7

AD3AD4AD5

AD7

AD6

A1

B2

C3

G16

G2A4

G2B5

Y015

Y1 14

Y2 13

Y312

Y411

Y5 10

Y6 9

Y77

VCC16 GND 8

U7

MC74HC138A

1 2

U5A

MC74HC04

H_MEM_SEL#

E_CLOCK

5 VOLTS

5 VOLTS

5 V

OL

TS

R/W#AD0AD1

OC1

CLK11

1D2

1Q19

2D3

2Q 18

3D4

3Q 17

4D5

4Q16

5D6

5Q15

6D7

6Q 14

7D8

7Q 13

8D9

8Q12

VCC20

GND10

U2

MC74HC574

OC1

CLK11

1D2

1Q19

2D3

2Q18

3D4

3Q 17

4D5

4Q 16

5D6

5Q15

6D7

6Q14

7D8

7Q 13

8D9

8Q 12

VCC20

GND10

U9

MC74HC574

X013

X114

X215

X312

X41

X55

X62

X74

INH6

A11

B10

C9

X 3VDD

16

VSS

8

VEE

7

U3

MC74HC4051

X013

X114

X215

X312

X41

X55

X62

X74

INH6

A11

B10

C9

X 3VDD

16

VSS

8

VEE

7

U4

MC74HC4051

X013

X114

X215

X312

X41

X55

X62

X74

INH6

A11

B10

C9

X 3VDD

16

VSS

8

VEE

7

U1

MC74HC4051

PC0PC1PC2PC3PC4PC5PC6PC7

PC0PC1PC2PC3PC4PC5PC6PC7

SEL0SEL1SEL2SEL3SEL4OUT1MOTOR0MOTOR1

12345678

161514131211109

RP1

RESPACK4

12345678

DIG_OUT

CON8

5 VOLTS5 VOLTS

5 VOLTS

5 VOLTS

5 VOLTS

MUX0MUX1MUX2MUX3MUX4MUX5MUX6MUX7

MUX8MUX9MUX10MUX11MUX12MUX13MUX14MUX15

MUX16MUX17MUX18MUX19MUX20MUX21MUX22MUX23

SEL0SEL1SEL2

SEL3SEL0SEL1SEL2

SEL4

12345678

ANALOG

CON8

5 VOLTS

SEL0SEL1SEL2

SEL3

PE0

PE1

PE0

OS0

OS1

OS2

OS3

IS0

IS1

IS2

IS3

1CLR2

1CKA1

1QA3

1CKB41QB 5

1QC 6

1QD7

VCC16 GND 8

U11A

MC74HC390

2CLR14

2CKA15

2QA13

2CKB122QB 11

2QC 10

2QD9

U11B

MC74HC3905 VOLTS

5 VOLTS

E_CLOCK

40K

HZ

OS0

OS1

123

40KHZ_SEL

CON3

40KHZ

1A2

1,2EN1

1Y 3

2A7 2Y

6

VCC116

VCC28

GND 4

GND5

GND12

GND13

U10A

L293

1A10

1,2EN9

1Y

11

2A15

2Y14

U10B

L293

9 8

U5D

MC74HC04

5 6

U5C

MC74HC04

11 10

U5E

MC74HC04

13 12

U5F

MC74HC04

MOTOR0

MOTOR1

PA5

PA6

12

MOTOR_0

CON2

12

MOTOR_1

CON2

123

IRDT1

CON3

123

IRDT2

CON3

123

IRDT3

CON3

123

IRDT4

CON3

123

IRDT5

CON3

1

23

IRDT6

CON3

123

IRDT7

CON3

123

IRDT8

CON3

123

IRDT9

CON3

123

IRDT10

CON3

123

IRDT11

CON3

123

IRDT12

CON3

1

2

3

IRDT13

CON3

123

IRDT14

CON3

123

PORTA

CON3

12

CDS1

CON2

12

CDS2

CON2

12

CDS3

CON2

12

CDS4

CON2

12

CDS5

CON2

12

CDS6

CON2

1

2

3

4

5

6

F_BUMP

CON6

12345

R_BUMP

CON5

5 VOLTSVCC VCC VCC VCC VCC

VCC VCC VCC VCC VCC

VCC VCC VCC VCCPA0PA1PA2

PE2 PE3 PE4 PE5 PE6

PE7 MUX2 MUX3 MUX4 MUX5

MUX6 MUX7 MUX8 MUX95 VOLTS 5 VOLTS 5 VOLTS

5 VOLTS 5 VOLTS 5 VOLTS

R191K

R201K

R211K

R2410K

R2310K

R2210K

5 VOLTSBATTERY

BATTERY

R910K

R822K

R747K

R6100K

R1010K

R1610K

R510K

R422K

R347K

R2100K

R1150K

123456

IOHEADER

CON6

OUT1OS2IS0IS1IS21

234

SERVO_PWR

CON4

1

2

3

4

BATTERY

CON4

123

SERVO1

CON3

123

SERVO2

CON3

12

PIEZO

CON2

PA3

PA4

PA7

D1DIODE

D6LED

R1125

R14

330

R15

100

C2CAP

C3CAP

C4CAP

C5CAP

C6CAP

C7CAP

C8CAP

C9CAP

C10CAP

MUX0

R12

30K

R1310K

R25470

D7LED

5 VOLTSBATTERY

5 VOLTS

MUX1

MUX16MUX17

MUX10 MUX11 MUX12

MUX13 MUX14 MUX15

1 2 3 4

CHARGECON4

5 VOLTS

+ C1

CAPACITOR POL

AD2

Figure 5 MRSX01 circuit diagram. Elements indicated by CONj are connectors with j pins.

Page 14: ASSEMBLY MANUAL MRSX01 MEKATRONIX SENSOR … · 2. Two Digital Inputs, 3. Eight Memory Mapped Digital Outputs 4. Four Memory Addressable Input Device Selects, 5. Three Memory Addressable

MEKATRONIX™ MRSX01 ASSEMBLY MANUAL 08/09/99

Gainesville, Florida http://www.mekatronix.com Technical questions: [email protected]

14

Figure 6 This layout of the MRSX01 locates all the sensor connectors. Pin one of the connectors is designated by abox around the pad. Two pin connectors on this board serve non-polarized devices, so pin number one is irreleventhere.

4.4 Making Connectors and Jumpers

The MRSX01 kit does not include female connectors. The TALRIK™ robot kit, which uses the MRSX01, doesprovide female connectors. Make jumpers and connectors from female headers by cutting sections from a large,single-row female strips with the dikes (Figure 7). For a two pin jumper, short the pins together with a lead clippedfrom a resistor or capacitor. Solder the pins and the lead together. Cut between the sockets. Use the same cuttingtechnique used with the male headers. For each CON2 male header, such as used with the CdS cells, you cut twopins. For a CON3 male header, such as used with the IR detectors, cut three pins, etc. When cutting connectors becareful not to cut away too much plastic and expose the pins where the cut is made.

Caution: When cutting, hold both parts being separated by the cut, otherwise, the one not beingheld will fly across the room. Wear eye protection as a precaution.

Page 15: ASSEMBLY MANUAL MRSX01 MEKATRONIX SENSOR … · 2. Two Digital Inputs, 3. Eight Memory Mapped Digital Outputs 4. Four Memory Addressable Input Device Selects, 5. Three Memory Addressable

MEKATRONIX™ MRSX01 ASSEMBLY MANUAL 08/09/99

Gainesville, Florida http://www.mekatronix.com Technical questions: [email protected]

15

Figure 7 Constructing a two pin jumper from a female connector. Carefully cut away a group of two pins and short them together.

5 TEST BOARDTo test the MRSX01 board requires an external microcontroller. Sophisticate users may have their own setups andcan use them to test the MRSX01. We can not anticipate all possible configurations, so we outline a procedure to testthe MRSX01 board with the Mekatronix MRC11 microcontroller. If you purchase both the MRSX01 and MRC11boards together, Mekatronix will supply a TALRIKII test program that allows you to interactively test the varioussensory connectors.

1. No ICs in the sockets. Use a multimeter to test for shorts between the positive and negative terminals of BATT(pins one and three) and 5 volts and ground between pins 58 and 59 on IDC (J1). Some multimeters have ashort circuit indicator that will beep if a short is detected. If there is a short circuit between power and ground,

check for solder bridges or improper component placement. Do not continue until all shorts areeliminated. The multimeter should read a few hundred ohms if the LED was installed (or a large resistanceotherwise) on a correctly assembled board.

2. No ICs in the sockets and all shorts have been cleared. Apply 5 volts to J1 pins 59-60 and ground to IDC (J1)pins 57-58. Be sure you have the correct polarity. Connect an 8-AA battery pack to the BATTERY header:Positive terminal at BATTERY pin 1 and Ground at BATTERY pin 3. Be sure you have the correct polarity.

DO NOT connect the battery directly to the 5volt supply! Check ground and 5 volts onthe IDC (J1). Use a multimeter to test for 5 volts and ground at the IC pins indicated in the following table:

IC Ground atPin No.

+5VDC at Pin No.

Battery VoltsPin No.

U1 7, 8 16 -U2 1 20 -U3 7, 8 16 -U4 7, 8 16 -U5 7 14 -U6 7 14 -U7 8 16 -U8 7 14 -U9 1 20 -

U10 4, 5, 12, 13 16 8U11 2, 8, 14 1, 16 -

If your readings do not match the above table make sure you are reading the correct pins (Note: testing from thebottom of the board mirrors the pin positions and makes the measurement process error prone). To be on the safeside, verify that none of the other pins on the sockets have either 5volts or ground on them.

→Female connector

Cut here

→Shortpins

Page 16: ASSEMBLY MANUAL MRSX01 MEKATRONIX SENSOR … · 2. Two Digital Inputs, 3. Eight Memory Mapped Digital Outputs 4. Four Memory Addressable Input Device Selects, 5. Three Memory Addressable

MEKATRONIX™ MRSX01 ASSEMBLY MANUAL 08/09/99

Gainesville, Florida http://www.mekatronix.com Technical questions: [email protected]

16

3. After completing Step 2, disconnect power. Insert one of the socketed ICs. Line up the notch of the IC with thenotch on the silk screen. This should be the same as the notch on your socket, if you installed the socket asdirected. In any case, it is imperative that the IC notches match the silk screen notches.

4. Power up the board and check the voltages again. If everything checks, power down the board and insert thenext IC. Continue until all the ICs are installed and the voltages check.

5. To functionally test the MRSX01, the user will need to connect it to an MRC11or equivalent with 60 wireribbon cable and ribbon cable connectors. Other methods of testing functionality depend upon the userapplication and the user hardware.

NOTE: The following procedure assumes you have assembled a two board stack, i.e., the MRSX01 on top of theMRC11; applied power; loaded our ICC11 program tstsys.s19 file into the MRC11 processor. This program willoutput all sensor readings to a terminal program. Further details can be found in the TALRIKII ™ USERSMANUAL. The user, of course, can write thei own test programs in ICC11. IC programs can also be used to test thisboard.

6. With all the ICs installed and voltages checked, stack the MRSX01 onto an MRC11and cable them togetherwith a 60 wire ribbon cable from IDC (J1) on the MRSX01 to IDC (J1) on the MRC11. Connect the MRC11 toa PC via the C2325 cable connecting the SCI jumper on the MRC11 and J2 on the MB2325 communicationsboard (refer to Figure 8). You can now communicate with your MRC11 board (or equivalent) and test whetherthe MRSX01 functions properly. Power up the two boards with an 8-AA NiCd battery pack connected to the

battery connections. DO NOT connect the battery directly to the 5volt supply!

Figure 8 Configure your PC, the MB2325 communications board, and the MRC11 as shown. The MB2325 requiresa 25-pin D-connector on the PC side. If the COM port on your PC has a 9-pin D-connector, you will have to get a 9-pin to 25-pin D-connector converter plug.

7. We suggest building a potentiometer with a three wire female connector to plug into the IRDTs. The wipper

should be the signal connection, always one of the outside pins. Never the middle pin. Under programcontrol the user can then test all the IRDTs by adjusting the potentiometer setting to obtain different “IR”readings.

8. Plug CDS cells across the CDS connections and test the response to complete darkness and ambient light underprogram control. You will probably need to experiment with different values of the six CDS resistors R19-R24to get the responses you want for your application.

MRSX01PersonalComputer

MB2325

6-wire C2325Ribbon Cable

COMPort

Serial Communications Link

25 Pin D Connector

MRC11

60 wire IDCRibbon Cable

Page 17: ASSEMBLY MANUAL MRSX01 MEKATRONIX SENSOR … · 2. Two Digital Inputs, 3. Eight Memory Mapped Digital Outputs 4. Four Memory Addressable Input Device Selects, 5. Three Memory Addressable

MEKATRONIX™ MRSX01 ASSEMBLY MANUAL 08/09/99

Gainesville, Florida http://www.mekatronix.com Technical questions: [email protected]

17

9. Use MS455 servos or equivalent to test the SERVO1 and SERVO2 connections. Write servo control programsto drive the servos.

10. Your board works! You now have constructed a general-purpose sensory capability useful for a number ofprojects, including the sensualization of a mobile robot.