Filament diameter sensor

Proof of concept - measures filament diameter along one axis, based on a hall sensor

3D printer parts and enhancements

    Creative Commons Attribution Noncommercial Share Alike

    Commercial use is not allowed, you must attribute the creator, you may remix this work and the remixed work should be made available under this license.

    Learn more or download attribution tags

    Description

    This is a proof-of-concept filament diameter sensor, currently intended for an extruder making filament. The filament centerline is 90mm above the mounting surface.
    It picks up the filament's diameter between two bearings, amplifies it via the lever by a factor of 3.6, which moves a magnet in front of the hall sensor.
    The hall sensor's depth is adjustable and is locked into place via the M3 bolt. Bend the hall sensor's leads 90Β° to the back and place the sensor in recessed spot. Lead the wires out to the front.
    The 6x2mm magnet goes into the matching hole in the lever. The second hole intended for a ballpen spring, which is not needed in most use cases.

    For testing, upload the included sketch to an Arduino, connect the hall sensor to 5V, ground and hook the signal pin up to A1 on the Arduino. Connect via serial at 115200 baud, it will start spitting out two values each line, the first one is the smoothed ADC value, the second one the calculated diameter. To calibrate, insert a test object with the maximum diameter you want to measure between the bearings and move the hall sensor carriage until the ADC value just reaches a maximum. Lock the carriage in place and use that value along with the diameter of the object as the last entry in the Arduino's lookup table. Insert two (or more, if you increased NUMTEMPS) more objects of varying sizes (for example the shafts of drill bits) and fill out the lookup table. Use the idle position without anything inserted for the zero-diameter position.

    Support might be required for the files as they contain 30Β° overhangs. If you use Slic3r, you're better off with no support material.

    Fyi, the Solidworks source file is a mess. Sorry.

    Materials and methods

    One of each printed part /// 1xSS495 hall sensor (or equivalent) /// 1x 6x2mm neodymium magnet /// 4x 608 skateboard bearings /// 1 M3x12 screw /// some 8mm smooth rod as axles

    Documents

    Issues

    Issues are used to track todos, bugs or requests. To get started, you could create an issue.

    Comments

    Cdabed3caa515d02bf19c014f107a603?default=blank&size=40Brett Wilkinson added this to the interesting collection ago
    3602e12ddf4560a9fb419b8928c0c4a8?default=blank&size=40Francois van der Sluis added this to the 3D collection ago
    8cad999073cf56348501bd78b9842d8e?default=blank&size=40FilamentChris3D added this to the Sensor collection ago
    614f3f694155b2fbdc8b81f7eacf1dce?default=blank&size=40Lucio Tarantino added this to the Idea collection ago
    C58c6b28a8fc58981ffc169a7f380de9?default=blank&size=40Kveldulfr added this to the Collection collection ago
    23309da56ec275cf81f244abe4271360?default=blank&size=40Emerson Jhones added this to the impressora collection ago
    73bd109aceef6df0c6ffbf463ea36ce3?default=blank&size=40Federico Catalan added this to the Printer Upgrades collection ago
    69ef8e63f3009307ac77823760b5d9a4?default=blank&size=40Andrew Searls added this to the 3D Printer Parts collection ago
    5e2bce2dafb22b5ad926db31a23d9216?default=blank&size=40Sandro Rei commented ago

    Hi Thomas,

    I have connected successfully your Filament diameter sensor to marlin software but iαΈΏ getting reverse data. Full open i get 0mm and full close i get more or less 3mm.

    I pretend using your project to measure the filament on filament making machine.

    Can you help?

    Thanks in advance.

    Mini bunnyZ122 added this to the Things to make collection ago
    Fa35059b139fe903680c007c07aaf0d4?default=blank&size=40jasonmburns added this to the Filament Extruder collection ago
    Dfd63ddaac6cfab93f8de2fb875a2aa7?default=blank&size=40agering added this to the Meins collection ago
    081a6833f658f14a652c31e1d09ac30f?default=blank&size=40drisswikooo added this to the filament sensor collection ago
    Ab070ed6bd35e37649fec781889e92f4?default=blank&size=40stachas added this to the filament collection ago
    51d182ced9e0d0efff5b4c72bddad7eb?default=blank&size=40maccew added this to the 3dprinter collection ago
    C124dd10b3808cf9bc9935c7df3fc156?default=blank&size=40berna added this to the cosas por hacer collection ago
    272073b8a6ef4a96db1fb9b957086fbf?default=blank&size=40erakan added this to the Arduino collection ago
    D405cff3d792c9173d8e4b9bb3327dbe?default=blank&size=40DaHc added this to the Printer Accessory collection ago
    0632f6f531670cdf9bb378362501d60d?default=blank&size=40Nikoliusv commented ago

    Good afternoon. I assembled the bar extruder, but the diameter is not stable. This sensor seems to me a godsend! Where can I see the connection diagram of the Hall sensor and the Arduin and Motor?

    F54594bde5d3af1b414fae694f17d292?default=blank&size=40Yurii Sharshneou added this to the 3dprint collection ago
    D00e24b6de220aedd659bbc99a69bfd0?default=blank&size=40Ray added this to the 3D Printer parts collection ago
    0bb95cd12922f1c51eeff433989dafe0?default=blank&size=40Mark Oates added this to the sensor collection ago
    806dc97068076b24104b972e9968db7d?default=blank&size=40ch0ptank added this to the UM2 collection ago
    B8d53f21960843383a47d039c569fa48?default=blank&size=40tinkytinca added this to the Printer Bitz collection ago
    064559df5a7299c11551bf354fe91373?default=blank&size=40Galin Todorov added this to the Things to Make collection ago
    9bd70ff2ba07ef08a3b988ee148f0f91?default=blank&size=40catfoodman added this to the Printer Stuff collection ago
    600037501a1abed7d6f583f0bb798298?default=blank&size=40Mike Carr added this to the 3D Tools collection ago
    Mini  sushi chops trans more centeredSushi Desires added this to the Automation collection ago
    Mini  sushi chops trans more centeredSushi Desires added this to the Gears, Threads, Bearings, Pulleys, & Other Interfaces collection ago
    Mini  sushi chops trans more centeredSushi Desires added this to the Electronics collection ago
    Mini  sushi chops trans more centeredSushi Desires added this to the Mechanisms collection ago
    Mini  sushi chops trans more centeredSushi Desires added this to the Printers collection ago
    Mini photo 2016 12 26  17 45 38Barrett Dent added this to the 3D Printer - Tools & Mounts - Filament collection ago
    B1e5d2d82881c6c179ef909349555ce2?default=blank&size=40chantling added this to the 3D Printing collection ago
    Bfb509ca3e05773baf9c7b101361429e?default=blank&size=40ekaggrat commented ago

    how do you use it with a 3d printer controller board? sorry for my noobness, but i can understand where is the voltage outputed?

    thanks

    238a0199aaad3212b74d367179e497eb?default=blank&size=40d3vi4nt1337 added this to the Upgrades collection ago
    8f391d7db8e16fb7e99f5964b4a57563?default=blank&size=40Raymond added this to the extruder collection ago
    81692f9e8a5c1d13e133451debf6534b?default=blank&size=40TehseenHasan added this to the Filament Extruder collection ago
    7ec17eceb0204c1777796a28a81927b0?default=blank&size=40JFK added this to the PrinterParts collection ago
    Ee98c6115acf56acae35610af038de7d?default=blank&size=40Stephen Wood added this to the 3D Printer Parts collection ago
    Dcf2fa54d9a15ac67000c4b71abc07e6?default=blank&size=40Andy Chen added this to the Filament Fabrication collection ago
    08a3e4af38180356fbb2c9d00d33a104?default=blank&size=40JoΓ£o Gripp added this to the MyPrinter collection ago
    92b4a45e4ea7309dfebbc6eb092892cb?default=blank&size=40Alexander Johansen added this to the print collection ago
    6f438151317ac7b7236b6addff4b485e?default=blank&size=40q2master added this to the To make collection ago
    6bcb0d5c37d3246e999874021dfb87da?default=blank&size=40v3ctors added this to the Printer Enhancements collection ago
    Bda99bf39b057bcc7df7620c136e6a68?default=blank&size=40Drackonian added this to the ToMake collection ago
    E5e8d2d5a46c9c2407c068c3a0a458a2?default=blank&size=40mongrelfab added this to the filament collection ago
    Fa358a0b437d628e89e39b1cc89b1c11?default=blank&size=40Eghia Hay added this to the 1 collection ago
    Ed743687d4dd8f6309adff640901c6d9?default=blank&size=40Michael Andreev added this to the 3d printing collection ago
    2a6f68a8ed18d684f906ff7451df5a40?default=blank&size=40Peter Bistricky added this to the Printer addons collection ago
    Cb013efa08026866713ee8ea4f98a733?default=blank&size=40Sergey Fedorov added this to the 3D Printers Upgrade collection ago
    Cc822ecfcf9397af6ad3e81d45016fa1?default=blank&size=40allen kelley added this to the things to make collection ago
    7132a5b72a1be56000406b297b99106c?default=blank&size=40Dizzee Jones added this to the 3D Printer collection ago
    Dffbb8a1a1b7dd668cfc28e739fe8a74?default=blank&size=40SphereCo added this to the Printer_Parts collection ago
    Mini  1140400 ssqThomas Sanladerer published this design ago