For contact info, please see the Sci.Electronics.Repair FAQ Email Links Page.
Copyright © 1994-2016
Reproduction of this document in whole or in part is permitted if both of the
following conditions are satisfied:
1. This notice is included in its entirety at the beginning.
This document provides detailed instructions for assembling the SG-µMD0
PCB Version 1.0..
A similar document will be provided when other versions are available
(which is doubful). No major changes are anticipated but since some
parts may change, it is critical to use the correct manual. Check
the marking on the PCB to confirm the version.
All components are through-hole and except as noted,
should seat flush on the
PCB. They shouldn't be suspended in mid-air swinging in the breeze. :)
Unfortunately, due to a minor error, parts are not labeled on the
silkscreen for V1.00, so the schematic and SG-µMD2 PCB layout diagram
will need to be used to identify parts placement.
A low power soldering iron with narrow tip and thin (e.g., #22 AWG) rosin-core
solder will be required. DO NOT even think about attempting this without
suitable soldering equipment. It's well worth the investment. A Weller
soldering gun or propane torch will not work. :) Rosin core solder is also
essential. And while
I'm quite confident that you never make mistakes, a means of component removal
such as a de-soldering pump (e.g., SoldaPullt™) will be highly desirable.
Screwing up component removal can easily ruin the PCB and is not covered
under the unlimited limited warranty. :-) The total investment should
not exceed $100.
Proper soldering technique will be such that the exposed solder on each
pad should be shiny with a concave profile. It should not be a blob and
just needs to fill the hole. Solder is not glue.
Some excess solder doesn't hurt anything
but looks unprofessional. A 10X magnifier may come in handy for
inspection. Residual rosin can be cleaned off with
isopropyl alcohol or an environmentally-friendly electronic solvent.
However, leaving the rosin alone is also acceptable (if ugly).
Total assembly time for a single axis system should be under one half hour
for someone proficient
in fine soldering. Cutting component leads to 1/4 to 3/8 inch before
installation will simplify soldering as the long leads won't be poking
you in the face. :( :) Then trim flush after soldering.
The Atmega 328P Nano 3.0 microcomputer is fully assembled including
all pins. So as noted in the main SG-µMD0 manual, it
can be constructed on a solderless breadboard
for testing at least. Later, it can be transferred to a prototyping
board the SG-µMD0 PCB with soldered connections. The same parts
layout can be used for either. The
only parts not included in the kit are jumper wires for the solderless
breadboard, and wiring for any cables to the photodiodes.
IMPORTANT: All the resistors are labeled using the standard color
as shown below. Normal color vision
is required to be able to identify these reliably. Even then, it is sometimes
difficult to confirm the values that differ in one band or in poor lighting.
And a magnifier may be required to read
some markings on these and other components. If in doubt, have someone
else assemble the kit or assist you.
For those not familiar with the common resistor color code
(Black/0, Blown/1, Red/2, Orange/3, Yellow/4, Green/5, Blue/6, Violet/7,
Gray/8, White/9), two of the resistors near the 8 pin UA9637 ICs in
the layout diagram are are 680 (blue-gray-brown
or 68 with 1 zero) ohms and 330 (33 with 1 zero) ohms. The gold stripe
indicates 5 percent tolerance on the value but for the use here, tolerance
doesn't matter. (It's possible the resistors you use will have 4 stripes
where 3 of them are the value and the 4th is the multiplier, along with one
for tolerance. If in doubt confirm the value with a multimeter.) The chart below is from Digikey. (If the link decays, a Web search will readily
locate another one.)
All Rights Reserved
2. There is no charge except to cover the costs of copying.
DISCLAIMER
µMD0 is intended for use in hobbyist, experimental, research, and other
applications where a bug in the hardware, firmware, or software, will not
have a significant impact on the future of the Universe or anything else.
While every effort has been made to avoid this possibility, µMD2 is an
on-going development effort. We will not be responsible for any consequences
of such bugs including but not limited to damage to the construction crane you
picked up on eBay for $1.98 + shipping, financial loss from ending up in
the Antarctic when the compass orientation provided by
your home-built ring laser gyro was off
by 1,536 degrees, or bruising to your pet's ego from any number
of causes directly or indirectly related to µMD0. ;-)
Acknowledgment
Thanks to Jan Beck for providing support for enhancements
and bug fixes and tolerating my silly C coding questions.
He was also instrumental in developing the initial
µMD1 firmware and GUI. And for getting me interested
in actually getting involved in that project. If anyone had told me
six months ago that I'd be writing code in C, MIPS assembly language,
and Visual Basic - and enjoying it (sort of) - I would have suggested
they were certifiably nuts. ;-) Jan maintains the master GUI source code
as well as slightly different versions of both the µMD1 and
µMD2 firmware and a development blog on these and other projects.
Introduction
The µMD0 kit of parts includes everything necessary for
a 1 axis readout. The extension to 2 or 3 axes is left as an
exercise for the user. But unlike µMD1 and µMD2,
this is quite straightforward without adding too many gray hairs. ;-)
However, total change rate for all 3 axes will not increase above
what is was for a single axis and may actually decline.
Resistor Color Code Chart (from the Digikey Web site)
Schematic for the SG-µMD2 Version 1.0
The schematic for both the RS422 and Quad-Sin-Cos (analog) versions
may be found at: SG-µMD0
Version 1.0 Schematic.
Printing out the schematic and having it available for reference while installing the parts on the solderless breadboard.
The parts list below assumes populating both the Sin/Cos analog parts and the RS422 input parts. But is not required.
IMPORTANT: LEDs are really fragile with respect to soldering and tend to die open easily. Make sure the leads are not stressed when heat is applied - the LED should be able to jiggle slightly in the holes - and keep the iron on them for as little time as possible.
The anode is the longer lead and goes to the right as viewed in the layout diagram. The flat is the cathode and goes to the left. Cut the leads about 1/10" from the body if the LED can't be inserted to sit flush on the PCB. Take care not to overheat or stress the leads on the LED when soldering. Be as quick as possible.
Headers may substituted for the screw terminal blocks if desired.
IMPORTANT: Don't assume the Nano has the correct firmware! Since Nanos are used for several different kits and/or there may have been firmware updates since it was loaded. If in doubt, load the correct firmware before proceeding beyond this point. The version can be confirmed in the µMD GUI, below.
0 0 0 0 0 18016 0 0 0 0 0 0 0 18017 10 124 0 0 0 0 0 18018 8 100000 0 0 0 0 0 18019 0 0 0 0 0 0 0 18020 0 0
(The 6th value is a sequence number which should be incrementing by 1. The other values are, well, you don't want to know what they are.)
Unplug the USB cable.
The following steps diverge depending on whether the analog (Sin/Cos) or digital (RS422 A/B) interface is being used. Without some rework to the PCB and enhancements to the firmware, they cannot be active at the same time, though most of the parts will happily coexist.
Analog Sin/Cos Version:
The dot or cutout should face to the right - these ICs are upside-down compared to the Nano part labeling as shown in the layout diagram.
Assembly of the Photodiode Input Circuit and/or Photodiode PCB:
These simplify the mounting and wiring of the photodiodes and beam-splitters. There are two types. They both include spots for two photodiodes, a protection resistor, and bypass capacitor, along with a 4 pole screw terminal block or 4 pin header. They can be mounted on a optical post or via small screws, or using duct tape and bailing wire - or putty. ;-) For both of these, the beam enters from the top (in the diagrams).
The larger one designated "QD1" is designed to accept a variable attenuator plate oriented at around 30 degrees used as a non-polarizing beam-splitter. The small angle minimizes the difference in polarization sensitivity for the two beams. It can also accept a NPBS or PBS cube.
The smaller one designated "QD2" or "QD3" (same thing) is intended for a 4-6 mm NPBS or PBS cube, or small (true 50:50) beam-splitter plate oriented at 45 degrees.
The mounting of the beam-splitter is left as a creative exercise for the user. One option would be suitable spacers and double-sided tape or 5 Minute Epoxy.
The photodiodes should be installed at the optimal height taking the same care in soldering as with the LEDs - no stress on the leads and heating for a short a time as poosible to achieve a good joint. Note that if\ using the Attenuator Plate, the actual glass piece is alightly tilted so that the reflected beam ends up lower than the transmitted beam and thus the two photodiodes must be installed at different heights.
1 or 2 wires or male-male jumpers can be secured at each position of the 4 pole screw terminal blocks. Molex-type headers can be substituted for the terminal blocks to be able to use easily detachable cables. The are readily available but may not be included.
Digital RS422 A/B Version:
CAUTION: With these jumpers in place, the LM393 for the analog interface should NOT be installed. Otherwise the outputs of the UA9637 could be pulled to ground, which it may not like.
Congratulations, you're all set to go.
Note: Even though the RS422 inputs are differential, there may need to be a common ground between the systems. This will need to be evaluated on a case-by-case basis.
Where the input signals are single-ended such as normal TTL, a reference voltage would need to be provided in place of the other differential inputs Something along the lines of:
+5V o | \ Ru / \ / | +------+-----o Threshold Voltage | | \ _|_ Rl / Cb --- \ _|_ / - _|_ -
The threshold voltage should be selected to be approximately mid-way between the nominal high and low levels. For standard TTL, this would be 1.4 V. The resistor values can be in the 10K range with Cb of 0.5 µF. While the SG-µMD0 PCB doesn't have locations for these parts, they could easily be added attached to the 6-pole screw terminal block since it has GND and can have +5 VDC on a pin.
The LEDs (along with their associated current limiting resistors) can be omitted if desired. But every digital system requires some lights! ;-) Refer to the schematic for more details.
Common Parts
Reference Description Comments ------------------------------------------------------------------------------- MPB1 Atmega 328P Nano 3.0 Nano soldered to header PCB1 SG-µMD0 V1.0 PCB Custom PCB SKT1 30 pin 0.6" DIP socket For Nano (PCB version only)
Quad-Sin-Cos Analog Version Parts List
Reference Description Comments ------------------------------------------------------------------------------- PCB2 Quad Decoder V1.0 PCB For mounting PDs and beam-splitter C1 Capacitor 0.1 µF U1 5 V bypass LED1 3 mm red LED Threshold Sin, A LED2 3 mm green LED Threshold Cos, B R1 Trip-pot, 100K, 1/4W Sin (Channel A) Sensitivity R2 Trim-pot, 10K Sin (Channel A) Threshold R3 Resistor, 100K, 1/4W Sin (Channel A) trim-pot isolation R4 Resistor, 470K, 1/4W Sin (Channel A) hysteresis R5 Resistor, 2-3K, 1/4W Red LED current limitin R6 Resistor, 1K, 1/8W Channel A pullup R7 Trip-pot, 100K, 1/4W Cos (Channel B) Sensitivity R8 Trim-pot, 10K Cos (Channel B) Threshold R9 Resistor, 100K, 1/4W Cos (Channel B) trim-pot isolation R10 Resistor, 470K, 1/4W Cos (Channel B ) hysteresis R11 Resistor, 30-50K, 1/4W Green LED current limiting R12 Resistor, 1K, 1/8W Channel B pullup PCB2 Quad Decoder PCB PDs and bias network (optional) PD1 Silicon photodiode Sin (Channel A) of Quad-A-B detector PD2 Silicon photodiode Cos (Channel B) of Quad-A-B detector SKT1 30 pin 0.6" DIP socket For Nano SKT2 8 pin 0.3" DIP socket For LM393 STB1 4 pole screw terminal block Photodiode bias and inputs U1 IC, LM393, 8 pin DIP Sin/Cos thresholding
RS422 Version Parts List
Reference Description ------------------------------------------------------------------------------- C1 Capacitor,0.1 µF U2 5 V bypass LED3 3 mm red LED RS422 A LED4 3 mm green LED RS422 B R13 Resistor, 100 ohms, 1/4 W Termination R14 Resistor, 2-3K ohm, 1/4 W Red LED current limiting R15 Resistor, 100 ohms, 1/4 W Termination R16 Resistor, 20-50K ohm, 1/4 W Green LED current limiting U2 IC, UA9637, 8 pin DIP RS422 line receiver SKT3 8 pin 0.3" DIP socket For UA9637 STB2 6 pole screw terminal block Photodiode bias and inputs
-- end V1.00 --