Connecting iGaging Scales to TouchDRO Controller

Sunday, December 4, 2016

If you read some of the earlier posts on this blog you will quickly see that the times were much simpler four years ago when it comes to iGaging scales: there was only one kind and red wire was "Vcc", black wire was "Ground", and so on. Since then iGaging has gone through several revisions of the original DIgiMag scales and has introduced AbsoluteDRO and EZ View scales. My goal for this post is to explain what are the different iGaging (and generic scales made by Shahe) that TouchDRO supports and how to connect them to the BlueTooth DRO controller.

Choosing the Right TouchDRO Adapter for Your Scales

Tuesday, September 27, 2016

One of the main design goals for the TouchDRO project was to create a flexible modular do-it-yourself digital readout for hobbyists and makers alike. Since raw scale position decoding happens in the adapter, one of the first decisions when setting up a TouchDRO system is the selection of the adapter. At the time of this writing there are two versions of pre-made adapter board and four different do-it-yourself options. All those choices can be confusing if you're new to the TouchDRO ecosystem, so let's look at the benefits and tradeoffs of each of the six options.

UPDATE: February 24, 2019 - the original content of this post has been updated to reflect the currently available adapter board choices and firmware versions.

Licensing and Legal Stuff

Before digging deeper into the adapter options, let's cover some legal stuff. TouchDRO is a free application and I provide several free versions of the adapter firmware. The app is distributed via Google Play Store and is free for personal or commercial use, subject to Google Play Terms of Service. Free versions of the firmware are free for personal use only. In other words, for personal use you can choose between the pre-made boards or a DIY approach using one of the free firmware versions; for commercial use you can't use free firmware and need to buy a premade board.

Building vs. Buying a TouchDRO Adapter

The main factors in deciding between getting a pre-made board or scratch-building a DRO adapter will likely come down to your budget and comfort level with soldering, firmware flashing and troubleshooting. Scratch-building a DRO adapter can be less expensive, costing between half and one third of the pre-assembled adapter price. A ready-to-go adaper board is less hassle, on the other hand.

Pre-Made TouchDRO Adapter

Pre-assembled TouchDRO adapters are a better choice for people who need good reliability and people who aren't proficient with electronics. Even for those who have good soldering skills and equipment the pre-made boards have a few important benefits:

  • Pre-made boards use purpose-designed printed circuit boards that are laid out to minimize noise and electromagnetic interference, so they perform much better in the shop environment. This is especially true for the capacitive scales. A lot of people who built do-it-yourself have issues with random scale resets and position jumps due to noise and interference. These problems are virtually non-existent with the premade boards.
  • The firmware used by the pre-made boards has a number of tweaks and optimizations that are not included in the free version. For instance, the firmware that ships with the iGaging and Shahe DRO Adapter has more advanced tachometer implementation, adaptive scale refresh rate and supports mixing and matching of five different types of 3V capacitive DRO scales.
  • The board are professionally assembled using quality printed circuit boards, name-brand components, including Panasonic electrolytic capacitors, Texas Instruments ICs, and are inspected to pass IPC-A-610 Class 3* workmanship standard. This ensures long service life, low failure rate and excellent reliability.
  • Before shipping an order I personally inspect every board and run it through a comprehensive testing routine. This means that when you receive the adapter board you ordered you won't have to waste your time troubleshooting soldering issues, part defects, etc.

* IPC-A-610 Class 3 is usually required for medical devices, aerospace equipment etc. Good quality industrial equipment generally uses Class 2, so Class 3 a big step up in this case. You can read more about Class 2 vs. Class 3 here.

Scratch Built Do-It-Yourself DRO Adapter

As mentioned earlier, scratch-building a DRO adapter is significantly less expensive. On the low-end, a basic adapter for iGaging DigiMag and EZ-View DRO scales (i.e. scales that use the 21-bit protocol) can cost under $20 using MSP430 LaunchPad board and a HC-05 BlueTooth transceiver. Do-it-yourself adapters for glass/magnetic or 1.5V DRO scales will require significantly more parts and a prototyping board, and will likely cost around $50.

Another good candidate for a do-it-yourself DRO controller is a setup that uses 1.5V scales or a mix of 1.5V and 3V scales. There is no ready-made TouchDRO board that can interface with 1.5V scales, so scratch-building a buffer circuit. Please refer to Build Instructions for Voltage Shifter Circuit for more details.

Do-it-yourself DRO adapters can suffer from a few problems when used with capacitive scales. The reason being that capacitive scales are very sensitive to line noise and benefit greatly from good PCB layout with ground fill and properly located bypass capacitors, which is hard to do when using a breadboard. Glass scales are generally not affected by the PCB layout as much and work very well with DIY DRO setups. The only minor downside is that proper differential line drivers are not available in through-hole packages, so building an adapter for scales that use RS-422 (TIA/EIA-422) is much more tricky and somewhat more expensive.

Adapter for Glass and Magnetic Scales

Vast majority of the modern Glass and Magnetic DRO Scales use quadrature output, which is supported by the TouchDRO Adapter for Glass Scales board as well as the MSP430 LaunchPad Quadrature DIY DRO Adapter. The difference between the free firmware and the version that comes pre-installed in the adapter board are pretty minimal. The main advantage that the pre-made board offers is the use of a purpose-designed differential quadrature input driver IC. This is important for two reasons. First, many of the scales have very strict impedance and back EMF requirements. Pushing the scales too far out of their designed envelope can lead to shortened scale life or even damage. Second, the decoder chips can handle much faster signal rates (on the order of 32 MHz per channel).

Unfortunately there is no scratch-built equivalent of this board since the ICs used for the differential signal decoding aren't available in through-hole package. A DIY adapter using a comparator or a simple buffer is usually adequate but is far from ideal for those scales.

Tip: The best way to determine if the particular scales you have or are planning to purchase are compatible with TouchDRO is to refer to the scale's specifications sheet. Ideally there should be a drawing that shows the output signal that looks similar to one of the drawings below. Otherwise, if the scale is advertised to output RS-422, EIA-422-A or something similar, the scale outputs differential signal. Otherwise, if it mentions TTL, it's likely that the scale outputs single-ended quadrature signal. Another clue might be provided by the pin function diagram. You should see pins marked A, B, Z, R, 0V, +5V, Ground, Shield, etc. For differential scales you might also see A-, B-, A', B', etc. If that is the case, the scales will be compatible with the Quadrature controller. On the other hand if you find pins market "Clock", "Data" or similar, the scale is almost certainly incompatible.

Adapter for 3V Shahe and iGaging DRO Scales

There are three families of 3V "Remote DRO" scales sold by Shahe, iGaging and a few other manufacturers. Scales like the original iGaging DigiMag "Remote DRO", iGaging EZ-View DRO Plus, AccuRemote Digital Remote Readout and Shars "Digital Machine Aluminum/Stainless Steel Scale" use proprietary 21-bit data format. iGaging Absolute DRO Plus scales use a modified version of Mitutoyo protocols. Finally, the newer Shahe "Round Head" and "Square Head" Linear DRO scales use a format similar to the cheap Chinese calipers.

Scales that use the 21-bit protocol are fully supported by the MSP430 LaunchPad Basic DRO Adapter while the Adapter Board for Shahe and iGaging Capacitive DRO Scales supports all three scale families as of firmware version 2.0.

In addition to supporting more scale protocols, the Adapter Board for Shahe and iGaging Capacitive DRO Scales comes with optimized firmware that offers better stability and faster position refresh rate. More importantly, due to more optimal PCB layout and liberal sprinkling of bypass capacitors the board is a lot less prone to EMF and other shop noise.

Adapter For 1.5V Scales

The only way to interface 1.5V scales, such as the old-style Chinese linear scales with integrated display or digital calipers is to build a 1.5V to 3V buffer circuit similar to the one described in the Build Instructions for a DIY Voltage Shifter Circuit post and use the "Mixed Scale" firmware. Currently the firmware supports Sylvac 48-bit protocol, BIN6 protocol and 21-bit iGaging protocol.


If you are looking for a budget friendly DRO for personal use, enjoy building things from scratch, know how to solder and upload the firmware to a microcontroller, and have the tools (and patience) to troubleshoot noise issues, then scratch building a controller is an obvious choice. Please refer to the Do-it-Yourself DRO Scale Controllers Overview for more details.

On the other hand, if you're not comfortable with electronics, buying a pre-made board provide much less frustrating experience.

If you fall somewhere in the middle, here are my recommendations:

For iGaging and Shahe 3V scales I would strongly suggest getting the pre-made TouchDRO Adapter for Shahe and iGaging scales. If you browse the site you'll see many comments from people having problems with iGaging scales related to the noise that can be very frustrating to track down and fix. Pre-made iGaging controller is much more resilient and handles the noise very well. For other capacitive scales you will need a voltage shifter circuit.

For quadrature scales the choice of the controller is a bit less clear cut: the DIY voltage shifter circuit will work good enough for most modern 5 micron glass scales. I've used it on my milling machines for a couple of years without any ill effects and was pretty happy with the performance. On the other hand, there are scales on the market that have very particular input circuit requirements and can be easily damaged otherwise. Many of the magnetic scales, for instance, fall into this category. For such scales the pre-made TouchDRO Quadrature Adapter is a safer choice. Moreover, for setups using 1 micron scales I would opt for the pre-made controller as well, since it can handle faster signal rates better.

TouchDRO 2.5 Release Notes

Saturday, August 13, 2016

I'm really excited to finally say that after many months of "Beta" testing, version 2.5 of TouchDRO has been released to "Production". Even though it didn't earn a full digit reales number of 3.0, this version encompasses a lot of major changes under the hood. Many of the changes were made in response to your feedback and requests, while others lay groundwork for future functionality, so let's take a look at the most noteworthy changes in the new version.

How to Build the Mixed Scale Digital Readout Kit

Sunday, April 24, 2016

Last Monday I shipped the first batch of orders for the Mixed Scale DIY DRO Kit, so those of you that have placed an order have likely already received it. I know that many of the people who ordered the kits have electronics experience and won't need a step-by-step assembly instructions. With that said, I designed the kit to be very beginner-friendly, so in this post I will go over the assembly process in some detail, so someone with limited electronics experience should be able to follow it and end up with a working DRO controller.

Do-it-yourself DRO Mixed Scale Controller Kit

Tuesday, April 19, 2016
Mixed Scale DIY Digital Readout kit for TouchDRO

Mixed Scale Controller DIY DRO Kit is designed to simplify the build process of the "Mixed Scale" DRO controller. As the name suggests, this version of the controller comes as a do-it-yourself kit that consists of a bare printed circuit board, MSP430 microcontroller pre-programmed with the "Mixed Scale" firmware, BlueTooth transceiver, and all of the necessary parts to build the voltage shifter circuit. The board is primarily designed to run the Mixed Scale firmware and interface with 1.5V and/or 3.3V scales and calipers, but can be easily tweaked to work with quadrature encoders instead.

TouchDRO Adapter for Glass and Magnetic DRO Scales

Tuesday, February 9, 2016
DRO adapter for glass scales

TouchDRO adapter for Glass and Magnetic DRO Scales is used to interface glass and magnetic scales that use standard quadrature encoders to the TouchDRO Android application. It supports up to four scale inputs, directional tachometer, and touch probe input. All inputs are buffered and 5V-tolerant. Scale inputs can be either single-ended, or differential (for better noise immunity).

TouchDRO BlueTooth Adapter Board for iGaging Scales

Thursday, January 28, 2016

Those of you that follow the TouchDRO Users G+ community know that I've been working on a pre-made adapter board for iGaging scales. Today I finished testing the first batch of the boards and will ship them out to the people that ordered them. The intention of this post is to clarify what the board does and doesn't do, as well as provide some basic instructions how to set it up.

Tablet for TouchDRO for $49.99

Tuesday, January 26, 2016

I test TouchDRO on a number of devices ranging from 10" Galaxy Note Tab to an old LG phone with 4" screen. One of the reasons being that there are subtle differences between devices, event if the OS version and build are the same and some devices work much better than others. For years I've been recommending Google Nexus 7 or Galaxy Tab 7. I use both devices for development and in the garage and stand behind my recommendation. Unfortunately those tablets aren't cheap. Up until now the alternative was to get a no-name Chinese tablet. While these tablets cost half as much, quality of software and hardware varies wildly. For some time I've been looking for an inexpensive tablet that is readily available and offer consistent and reliable performance and finally I found one that fits the bill: Amazon Fire 7" tablet for $49.99.

New Beta Version of TouchDRO Now Available

Saturday, January 9, 2016

For almost a year since the last major release of TouchDRO (v2.0) I've been working on the new features and enhancements that will be released in v2.5. Some of the changes are pretty deep under the hood and will not be immediately obvious, but there is a number of features that will make the application more flexible and more convenient to use. This includes a complete revamp of the low-level readout processing with better metric mode support, new functions, improved graphical mode and several quality-of-life enhancements.