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.
The Atmega 328P Nano 3.0 microcomputer is fully assembled including
all pins. So µMD0 can be constructed on a solderless breadboard
for testing at least. Later, it can be transferred to a prototyping
board with soldered connections. All components are through-hole. The
only parts not included in the kit are jumper wires for the solderless
breadboard.
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. ;-)

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. (Coming soon.)
Printing out the schematic and having it available for reference while installing the parts on the solderless breadboard.
The parts list below assumes populating the SG-µMD2 for 3 channels with the OLED display. So for a single channel system, some parts in this list may not be present and/or there is no need to install those associated with channels 2 and 3 and/or for the OLED.
The OLED display color may be yellow/blue (yellow for first two lines of text with blue for the remaining 6 lines), all blue, or all white. In addition, they may differ slightly in their pinout and mounting hole type/location as follows (viewed with the pins at the top):
There may be other variations. The kits will generally have the Type 1 yellow/blue OLEDs. If you bought a Type 2 OLED, DO NOT drill holes in the SG-µMD2 PCB to make the screws line up as this risks shorting the internal VCC and GND planes, use some insulated wires in place of the screws and Epoxy - or duct tape. ;-) Elongating the holes in the OLED PCB may be accepatable though.
For a single axis system, approximately 2/3rds of the components in the last block will not be present. And the OLED will not be present, uh, for the system with OLED. :)
The "Optional" parts identified below can be omitted if that feature is not being implemented. The LEDs especially are not really that useful and with the 10K ohm current limiting resistors, annoying bright. So you may want to at least experiment with higher values of resistors (like 22K or even 47K) to tame them.
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.
0 0 0 0 0 18016 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 18017 10 124 0 0 0 0 0 0 0 0 0 0 0 0 0 18018 8 100000 0 0 0 0 0 0 0 0 0 0 0 0 0 18019 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 18020 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 18021 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 18022 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 18023 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 18024 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 18025 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 18026 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 18027 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 18028 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 18029 20 4099 0 0 0 0 0 0 0 0 0 0 0 0 0 18030 0 0 0 0 0 0 0 0 0 0
(Should you care, the 6th and 7th values are the "Low Speed Code" and "Low Speed Data", respectively. 10,124 is the firmware version 1.24; 8,100000 is the sample rate of 1,000 x 100, and 20,4099 specifies 3 homodyne axes + a homodyne multiplier of 4 x 256.)
Unplug the USB cable.
Solder a single pin near the center and confirm it seats flush, then solder the rest. To assist in alignment, the strips can be inserted in the 28 pin socket taking care not to push any of the individual pins out of position.
If you're wondering how the OLED in the photo, above, can be displaying such large numbers with nothing attached to the inputs, it was done this way except the board was plugged in a USB charger, not a USB port. That must have a lot of ripple relative to my moistened finger, enough to easily trigger the UA9637 even with its hysteresis.
Single axis:
Three axis:
Note: The original design had the heterodyne signals assigned to pins that were the same as homodyne signals. But so far it has not been possible to decipher the control of the ARM Cortex M7 crossbar to put them there and the pins above need to be used for now at least. Thus the duplicate set of signals on the PCB V1.2 layout diagram. If that gets resolved, the additional jumpers will not be necessary.
OLED OLED
VCC GND SCL SDK GND VCC SCL SDK
o o
|
JB4 o JB4 o
|
o o
o o
|
JB3 o JB3 o
|
o o
CAUTION: DO NOT jumper the middle pins together by accident, that will short V3.3 to GND. :(
Congratulations, you're all set to go. Order that construction crane in need of a controller with free shipping on eBay. ;-)
But where the input signals are single-ended such as normal TTL or only one polarity of a Quad-Sin-Cos, there are locations on the SG-µMD2 PCB for a reference voltage divider.
+5V
o
|
\
R32 /
\
/
|
+------+-----o Threshold Voltage
| |
\ _|_
R33 / C4 ---
\ _|_
/ -
_|_
-
The threhsold 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 C4 of 0.5 µF.
RS422 Version Parts List
Reference Type Part/Value Function
-------------------------------------------------------------------------------
C1 Capacitor 0.1 µF U1 5 V bypass
LD1 LED 3 mm HB LED Red LED
LD2 LED 3 mm HB LED Green LED
MPB1 CPU Atmega 328P Nano 3.0 Nano soldered to header
SBB1 Solderless Breadboard
R1 Resistor 1K ohm, 1/4 W Red Power LED current limiting
R2 Resistor 100 ohms, 1/4 W Termination
R3 Resistor 36K ohm, 1/4 W Green Power LED current limiting
R4 Resistor 100 ohms, 1/4 W Termination
U1 IC UA9637 or UA9639 RS422 line receiver
More to come.
Quad-Sin-Cos Analog Version Parts List
Reference Type Part/Value Function
-------------------------------------------------------------------------------
C1 Capacitor 0.1 µF U1 5 V bypass
LD1 LED 3 mm HB LED Red LED
LD2 LED 3 mm HB LED Green LED
MPB1 CPU Atmega 328P Nano 3.0 Nano soldered to header
SBB1 Solderless Breadboard
R1 Resistor 1K ohm, 1/4 W Red Power LED current limiting
R2 Resistor 36K ohm, 1/4 W Green Power LED current limiting
U1 IC LM393 Sin/Cos thresholding
More to come.
-- end V1.00 --