Skip to content

Using a Cheap Tire Gauge as a Probe

Advertising
Advertising
?
Creation quality: 0.0/5 (0 votes)
Evaluation of members on the printability, utility, level of detail, etc.

  • 545 views
  • 3 downloads

License
3D design format
Folder details Close
  • CaliperDataInterface_v1.1.pdf
  • CaliperDataTiny85.pdf
  • Probe_Carriage.stl
  • Probe_Carriage_Base.stl
  • Probe_Carriage_Gear.stl
  • Sample_Code.zip
    • Arduino/libraries/Caliper/Caliper.h
    • Arduino/libraries/Caliper/Caliper.cpp
    • Arduino/libraries/Caliper/CaliperUtils.h
    • Arduino/libraries/Caliper/CaliperUtils.cpp
    • Arduino/libraries/BYJ48/BYJ48.cpp
    • Arduino/libraries/BYJ48/BYJ48.h
    • Arduino/AVR_HighVoltageSerialProgrammer/AVR_HighVoltageSerialProgrammer.ino
    • Arduino/CaliperI2CTest/CaliperI2CTest.ino
    • Arduino/ProbeTest/ProbeTest.ino
    • Arduino Tiny/CaliperI2CTiny85/CaliperI2CTiny85.ino
  • Software_v1.1.zip
    • libraries/Caliper/CaliperUtils.h
    • libraries/Caliper/CaliperUtils.cpp
    • libraries/USIWire/LICENSE
    • libraries/USIWire/keywords.txt
    • libraries/USIWire/README.md
    • libraries/USIWire/examples/TestSlave/TestSlave.ino
    • libraries/USIWire/examples/TestSlave/slave_register.h
    • libraries/USIWire/examples/TestMaster/slave_register.h
    • libraries/USIWire/examples/TestMaster/TestMaster.ino
    • libraries/USIWire/library.properties
    • libraries/USIWire/src/USI_TWI_Slave/usi_io.h
    • libraries/USIWire/src/USI_TWI_Slave/USI_TWI_Slave.h
    • libraries/USIWire/src/USI_TWI_Slave/USI_TWI_Slave.c
    • libraries/USIWire/src/USI_TWI_Slave/avr312_using_usi_module_as_i2c_slave.rst
    • libraries/USIWire/src/USI_TWI_Slave/main.c.txt
    • libraries/USIWire/src/USIWire.h
    • libraries/USIWire/src/USIWire.cpp
    • libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c
    • libraries/USIWire/src/USI_TWI_Master/usi_io.h
    • libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.h
    • libraries/USIWire/src/USI_TWI_Master/avr310_using_usi_module_as_i2c_master.rst
    • libraries/USIWire/src/USI_TWI_Master/main.c.txt
    • libraries/SoftwareSerialA/SoftwareSerialA.cpp
    • libraries/SoftwareSerialA/SoftwareSerialA.h
    • CaliperI2CTiny84A.ino
  • SpringClip.stl

Learn more about the formats

Publication date 2023-12-25 at 14:21
?
Published to Thingiverse on: 2017-10-28 at 23:04
Design number 1665210

3D printer file info

3D model description

Update 14-OCT-2018:
Added a different schematic and sketch that uses an ATtiny84A rather than an ATtiny85.

For instructions on building the SMD version of the caliper interface, see https://www.instructables.com/id/Caliper-Data-Interface/

End of updates

https://youtu.be/TE63B3ymtIA

This is an implementation example of turning a cheap tire gauge into a digital probe. I designed this to read the cut depths of ordinary brass house keys for a key duplicating machine project I’m working on.

Probe Carriage:
The gauge is mounted to two 4mm x 97mm shafts. It moves along the shafts powered by a cheap BYJ48 stepper. The stepper is part of a simple rack and pinion. At one end there is an endstop used to detect when the probe is fully extended.

All of the parts except for the spring clip are printed with a 0.2mm layer height, 80% fill.
The spring clip is printed with a 0.1mm layer height, 100% fill.
All parts are printed without support.

Once the carriage is printed, the three holes to accept the LM4UU 4x8x12mm linear bearings need to be reamed to 8mm. Because it’s critical that the bearings are parallel and square to the base, I performed this task using a drill press. The carriage was mounted to a square block of wood with double stick tape to hold it square and parallel while reaming.

The carriage is attached to the depth gauge by removing the existing depth gauge back panel screws and replacing them with longer screws. The screws I used are pan head M2x15mm. I had to grind them down to 13mm.

The endstop/Mini Micro Switch is attached using 2 flathead M2.3 x 12mm screws (M2 will work fine too). You should add a chamfer to the switch holes so that the screw heads are flush with the switch body.
https://www.aliexpress.com/item/Free-shipping-10PCS-2pin-N-O-N-C-5A250VAC-Limit-Switch-WK11-3Z-Mini-Micro-Switch/32273563395.html

The internal spring that keeps the probe extended is a 8.5 x 36.5mm extension spring. I have a few depth gauges that all look the same but the profile of the stem that the spring clip attaches to varies. I only made a clip that fits one of these profiles. I can give you the Fusion 360 file if you need to customize it for your depth gauge.

Software:
The interface for the caliper/tire depth gauge is an I2C version of the interface I published for the caliper plug ( https://www.thingiverse.com/thing:2477494 )
The new interface uses an ATtiny85 acting as an I2C slave. The interface will notify the host whenever the caliper reading changes. See the schematic CaliperDataTiny85.pdf. One of the added features is the ability to zero the caliper from the I2C master. This is done by turning the caliper off then on. In order for this to work the caliper battery should be removed and 1.5V should be provided by the interface. The power is controlled by a 2N7000 MOSFET.

One of the tricky issues with using all 6 IO pins on the ATtiny85 is that you need to set the H fuse to 0x5F (otherwise pin PB5 is the RESET pin). I did this using an easy to build AVR high voltage programmer. See the included Software.zip. The file sketch AVR_HighVoltageSerialProgrammer.ino has a link to a page that describes how to build one. This sketch also contains the fuse settings for this project.

Classes Caliper and BYJ48: The Caliper class deals with all of I2C communication with the ATtiny85. The BYJ48 class controls the carriage stepper.

ProbeTest.ino demos the Caliper and BYJ48 classes.
CaliperI2CTest.ino is a subset of ProbeTest.ino that only demos the Caliper class.

Advertising


Issue with this design? Report a problem.

Would you like to support Cults?

You like Cults and you want to help us continue the adventure independently? Please note that we are a small team of 3 people, therefore it is very simple to support us to maintain the activity and create future developments. Here are 4 solutions accessible to all:

  • ADVERTISING: Disable your banner blocker (AdBlock, …) and click on our banner ads.

  • AFFILIATION: Make your purchases online by clicking on our affiliate links here Amazon.

  • DONATE: If you want, you can make a donation via Ko-Fi πŸ’œ.

  • WORD OF MOUTH: Invite your friends to come, discover the platform and the magnificent 3D files shared by the community!


Sharing and downloading on Cults3D guarantees that designs remain in makers community hands! And not in the hands of the 3D printing or software giants who own the competing platforms and exploit the designs for their own commercial interests.

Cults3D is an independent, self-financed site that is not accountable to any investor or brand. Almost all of the site's revenues are paid back to the platform's makers. The content published on the site serves only the interests of its authors and not those of 3D printer brands who also wish to control the 3D modeling market.

100% secure payment by credit card, PayPal, Apple Pay, Google Pay, etc.
View all payment options.