Close
0%
0%

Telescoping Pole Extension Sensing - Photoresistor

Seven unique ways to measure the extension length of a telescoping pole, and a photoresistor-based application.

Public Chat
Similar projects worth following
196 views
I outline seven different methods for measuring the length of a telescoping pole made from EMT conduit, compare their pros and cons, and among the methods, explore the setup and demonstration of a photoresistor-based technique.

Introduction

This article is part of a series discussing methods for adding sensing capabilities to a DIY telescoping pole project made from EMT conduit. This article presents:

  • Seven different methods for sensing the extension length of a telescoping pole made from EMT conduit!
  • An in-depth look at the photoresistor-based technique among that list of methods.

While the extended length of a telescoping pole can be simply measured using a tape measure, a system for continuously taking such measurements is useful for many different telescoping pole applications and projects:

  1. Know if the pole has slipped
  2. Set a repeatable length (e.g. deployable fruit picker)
  3. Flagpole height measurement, at full mast, half mast, or anywhere in-between
  4. Set the height of an archery or hunting target
  5. Use the telescoping pole itself as a measuring stick
  6. And more!

This article will show you how to add extension-sensing to an EMT conduit telescoping pole by utilizing low-cost, off-the-shelf components:

  • EMT conduit telescoping coupling
  • 1", 3/4", and 1/2" EMT conduit from your local hardware store
  • Photoresistor/light dependent resistor (LDR)
  • An Arduino microcontroller
  • And some additional electronics!
EMT Conduit Telescoping Coupling System from Elation Sports Technologies
EMT Conduit Telescoping Coupling System from Elation Sports Technologies

Disclosure: Some of the links in this article are affiliate links. This means that, at zero cost to you, I will earn an affiliate commission if you click through the link and finalize a purchase.

Standard Tesselated Geometry - 509.16 kB - 02/05/2022 at 19:50

Download

Standard Tesselated Geometry - 143.64 kB - 02/05/2022 at 19:50

Download

Standard Tesselated Geometry - 151.45 kB - 02/05/2022 at 19:50

Download

View all 20 components

  • 1
    Step 1: Choose Your Sensing Method

    There are many methods to add extension sensing capabilities to a telescoping pole. We summarized seven unique sensing methods in our infographic image, comparing the pros and cons between the different methods. More details regarding each method are also shared below. Feel free to save our infographic image as a reference for whenever your next DIY telescoping pole project requires an extension-sensing solution!

    Telescoping Pole Extension Sensing Methods Infographic
    Telescoping Pole Extension Sensing Methods Infographic
    Telescoping Pole Extension Measuring Method 1 - Rolling Wheel
    Telescoping Pole Extension Measuring Method 1 - Rolling Wheel

    Method 1 - Rolling Wheel

    1. This sensing method relies on tracking the number of turns a contacting wheel has undergone against the pole.
    2. Two types of sensors are readily available for purchase, and are compatible with an Arduino microcontroller. The extension distance of the pole is related to the number of turns of the contact wheel, which is tracked by one of the two sensor choices below.
      1. Rotary encoder
        1. Encoders such as the above output two pulse signals (channel A and B), which are read and processed by the Arduino using a library such as this, to determine the current position of the encoder based on the sum of the detected pulses along with their direction (clockwise or counterclockwise.)
        2. Encoders can rotate continuously, without needing to worry about hitting a hard stop. These sensors measure the change in the position of the wheel, not its absolute position.
      2. Multi-turn potentiometer
        1. The resistance of a potentiometer varies linearly with the number of times the potentiometer has turned.
        2. One drawback of using a potentiometer as a contact wheel sensor is that a hard stop limit may be hit during operation. However, unlike an encoder, the potentiometer measures the absolute rotational position of the wheel, so extension measurements are not dependent on the history of wheel movement.
    Telescoping Pole Extension Measuring Method 2 - Draw String Sensor
    Telescoping Pole Extension Measuring Method 2 - Draw String Sensor

    Method 2 - String potentiometer/draw wire sensor

    1. A wire is attached to the tip of the telescoping pole, and a spring element (such as those found inside a badge reel) retracts the cord when the pole is shortened.
    2. As in method #1 above, a rotational sensor such as a rotary encoder or a multi-turn potentiometer, is again used measure the length of the pole.
    3. Off-the-shelf draw wire sensors exist, and they can be expensive, but some offer very large measurement ranges which may be required for your particular project:
      1. 2000mm (78 inch) sensor
      2. 4000mm (157 inch) sensor
    4. Cost-friendlier draw wire sensors require DIY solutions, such as the following shared on YouTube:
      1. Cheap String Potentiometer Pt 1
      2. 3D printed string potentiometer revisited with tips
    Telescoping Pole Extension Measuring Method 3 - Non-Reflectance Light Sensor
    Telescoping Pole Extension Measuring Method 3 - Non-Reflectance Light Sensor

    Method 3 - Non-reflectance light sensing (the chosen method for this article)

    1. This sensing method uses a light emitting diode (LED) in the base of the pole, and a light sensor mounted in the tip of the pole, to measure the pole's length.
    2. Two types of low-cost light sensors are:
      1. Photoresistor/light dependent resistor (LDR)
        1. The electrical resistance changes in the presence of light. Therefore, use this sensor in a voltage divider circuit to read it using an Arduino.
        2. Assortment kits such as this provide multiple photoresistors with varying degrees of sensitivity and response time, depending on your specific project's needs.
      2. Photodiode - can be used in one of two modes (more details here). An operational amplifier is required for both modes of operation.
        1. Photovoltaic mode - used for applications where the intensity of the light is very low, i.e. when your LED is dim, or is far away from the photodiode.
        2. Photoconductive mode - used when a faster sensor response is desired.
    3. The LED which shines on the sensor should be chosen to match the most sensitive wavelength of the sensor. For example, if a sensor is most sensitive to a light wavelength of 940nm, then the LED should also output 940nm.
      1. Here is an example assortment of photodiode/LED pairs with matching wavelengths.
      2. Low-cost photoresistors are typically more sensitive to green light than to red or blue light, so a green LED is most suitable for typical photoresistors.
        1. This assorted kit, for example, is rated for a wavelength of 540nm (i.e. green light.)

    Telescoping Pole Extension Measuring Method 4 - Inductive Sensor
    Telescoping Pole Extension Measuring Method 4 - Inductive Sensor

    Method 4 - Inductive sensing

    1. The total inductance of a wire coil is measured to determine your telescoping pole's extension. The outer tube must be made of a non-metallic material such as plastic, and the inner tube must be made of a metallic material (e.g. EMT conduit.)
    2. As the inner tube moves through the center of the wire coil, its inductance changes. That change in inductance can be measured using a circuit such as the one presented by YouTuber Electronoobs.
      1. In a nutshell, the wire coil is connected in parallel to a capacitor and is powered by the Arduino. When the power from the Arduino is removed, the wire coil and capacitor will oscillate.
      2. An LM339N chip is used to turn those oscillations into on-off (i.e. binary/digital) pulses. A frequency divider chip such as the 74HC04 line is used to decrease the frequency of the pulses so that the Arduino can more easily count them.
      3. The frequency of the pulses counted by the Arduino is related to the position of the inner tube inside the wire coil, and therefore to the pole's extension.
    3. The equation for the inductance of an inductor coil can be found here.
    Telescoping Pole Extension Measuring Method 5 - Capacitive Sensor
    Telescoping Pole Extension Measuring Method 5 - Capacitive Sensor

    Method 5 - Capacitive strip

    1. The capacitance between two long electrode strips is affected by the presence of an inner tube (which can be EMT conduit or another material), again through the surface of an outer, non-metallic tube.
    2. In addition to the long pair of electrodes that runs lengthwise along the outer tube, two additional electrodes are positioned:
      1. Where the inner tube is always present, near the telescoping coupling.
      2. Where the inner tube will never be present, near the base of the outer tube.
    3. The electrodes can be made simply from adhesive-backed copper tape. Wires are soldered directly to the tape and connected to a capacitance-detecting circuit such as the FDC1004.
    4. The electrodes will have a voltage potential across them. Therefore, if a user is expected to handle the pole, or if the pole will be used outdoors, the electrodes should be electrically insulated to prevent shorts.
      1. For safety, only low voltages should be used to power the electrodes!
    5. If only the extension of the pole is to be measured, other objects must be kept away from the electrodes, because they are affected by the presence of all nearby objects, not just the inner tube.
      1. Alternatively, this property can be taken advantage of - for a pole of unchanging length, the presence of a user, animal or other object near the base of the pole can be detected.
    Telescoping Pole Extension Measuring Method 6 - Conductive Cord
    Telescoping Pole Extension Measuring Method 6 - Conductive Cord

    Method 6 - Conductive elastic cord

    1. A stretchable conductive cord is anchored to the base and the tip of the pole.
    2. As the conductive cord stretches, its resistance changes. The cord, acting as a resistor, is measured with a simple voltage divider circuit. A given resistance value corresponds to a given pole length.
    3. The concept is straightforward, and it can be hidden inside the telescoping pole, but it has its limitations:
      1. The conductive cord must be electrically insulated from the EMT conduit inside which it is housed, or else that contact will affect the cord resistance measurements.
      2. The cord's mechanical properties (e.g. it's ability to spring back quickly) may change over time, making the repeatability of sensor readings questionable.
      3. The length of the cord and the pole must be carefully chosen to function within the bounds of the cord's stretching limit (e.g. up to 200% stretch.)
    Telescoping Pole Extension Measuring Method 7 - Reflectance Sensor
    Telescoping Pole Extension Measuring Method 7 - Reflectance Sensor

    Method 7 - Reflectance sensor

    1. A signal that is emitted from the base of the pole and, reflected off of a panel at the tip of the pole.
    2. Three types of possible reflectance sensors include:
      1. Ultrasonic sound sensor - emits ultrasonic soundwaves. Examples:
        1. HC-SR04
        2. JSN-SR04T
      2. Time of Flight (TOF) sensor - measures the time required for an emitted light pulse to bounce off of its target, in order to determine the distance to the target. Examples:
        1. VL53L0X
        2. TOF10120
      3. Infrared light reflectance sensor - outputs invisible infrared (IR) light, the intensity of which decreases as the target distance increases. The reflected light is measured using a photodiode. An example IR reflectance sensor:
        1. GP2Y0A02YK0F
    3. While these sensors are commonly used in beginner Arduino projects, their wide emitting angle make them a challenge for use with telescoping poles, because the reflecting panel at the pole tip must be large enough to properly reflect back to the sensor and thus be detected.
  • 2
    Step 2: Assemble Your Telescoping Pole

    For this article, we explore the non-reflectance light sensing (photoresistor) method for a DIY telescoping pole made from EMT conduit. The general working principle is:

    1. A green LED is installed in the base of the pole.
    2. A pair of photoresistors is installed in a cap at the tip of the pole.
    3. The sensor readings change depending on their distance to the LED - we can therefore use the readings to determine the extension distance of the telescoping pole.
    EMT Conduit Telescoping Pole Photoresistor Sensor
    EMT Conduit Telescoping Pole Photoresistor Sensor

    The tip of the EMT conduit telescoping pole can both rotate as well as extend/retract, but we only want to measure the extension, not the rotation angle. In order to decouple the tip extension from its rotation angle, 2 x light-detecting resistors (LDRs/photoresistors) are installed in the tip, 180 degrees out of phase from one another, and the average of the two sensor readings is read by the Arduino microcontroller. The two photoresistors, being diametrically opposed in the tip cap, will theoretically together provide an output that is independent of the tip's rotation angle, removing its effect on the final reading.

    The first step in creating this project is to construct the telescoping pole. Creating a telescoping pole from EMT conduit is easy using the Elation Sports Technologies telescoping coupling system. Here's how we did it:

    First, prepare the pieces of EMT conduit which will telescope inside of one another:

    1. Wear protective equipment (e.g. safety glasses). Safety first!
    2. Mark the desired cut length for the EMT conduit using a marker. For this article, we used three 5-foot lengths of 1", 3/4", and 1/2" EMT conduit.
    3. Use a rotary cutting tool to cut the conduit to length.
    4. Remove the sharp edge on the cut using a metal wire, or a rotary deburring tool or reamer.
    5. Process the conduit as desired (paint, powder coat, etc.)
    EMT Conduit Cutting and Processing Diagram
    EMT Conduit Cutting and Processing Diagram

    Assemble your telescoping pole - creating a telescoping pole from EMT conduit is easy using the telescoping coupling/clamp system from Elation Sports Technologies:

    1. Press-fit the inner sleeve onto the smaller piece of conduit.
    2. Install the injection-molded coupling/clamp onto the larger piece of conduit using a Phillips head screwdriver.
    3. Extend the pole to the desired length by sliding the smaller piece of conduit, and then tightening the hand knob.
    EMT Conduit Telescoping Coupling Installation
    EMT Conduit Telescoping Coupling Installation

    Next, we will prepare the electronics and mount them to the pole.

  • 3
    Step 3: Prepare the Electronics

    To install the LED and LDRs/photoresistors into the telescoping pole, several mounts will need to be 3D-printed. All the models can be downloaded for free from Thingiverse, here. Assembly steps:

    1. 3D-print the LED and photoresistor mounts, and the solderless breadboard mount for the Arduino microcontroller.
    2. Install the LED and photoresistors into their mounts and add hot glue to secure them.
    3. Solder wires to the leads on the LED and photoresistors, add heat shrink to insulate the soldered connections, and then crimp JST-SM connectors to those wires so they can be easily connected/disconnected.
    4. Install the LED and photoresistor mounts onto the base and the tip of the telescoping pole, and if needed, secure them with a dab of hot glue or with tape.
    5. Connect the remainder of the components as indicated in the schematic below.

    The purpose of the ADS1115 (analog-to-digital converter/ADC) is to provide higher resolution (16-bit, or 65536 units of resolution) measurements from the photoresistors, as opposed to using the Arduino's on-board ADC can provide (10-bit, or 1024 units of resolution.)

    Telescoping EMT Conduit Pole Extension Sensor Schematic
    Telescoping EMT Conduit Pole Extension Sensor Schematic
    1/2" EMT Conduit Photoresistor Mount
    1/2" EMT Conduit Photoresistor Mount
    1" EMT Conduit 10mm LED Mount
    1" EMT Conduit 10mm LED Mount
    1" EMT Conduit 10mm LED Mount Rear
    1" EMT Conduit 10mm LED Mount Rear
    1" EMT Conduit 10mm LED Mount - Lit
    1" EMT Conduit 10mm LED Mount - Lit
    EMT Conduit Photoresistor Circuit
    EMT Conduit Photoresistor Circuit
    1" EMT Conduit Breadboard Mount
    1" EMT Conduit Breadboard Mount
    1" EMT Conduit LED Mounting Cap
    1" EMT Conduit LED Mounting Cap
    EMT Conduit Green LED Light
    EMT Conduit Green LED Light

View all 6 instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates