Skip to main content
F3D
Thiết Bị Cuốn Dây Nam Châm 1

3 images

DIY

Thiết Bị Cuốn Dây Nam Châm

By DJBB_249421

Downloads
23
Likes
4
Views
366

Files 11 22.5 MB

  • magsensor_holder_1765731359.stlSTL · 116.7 KB
  • sep_screen_thing_1765731360.stlSTL · 590.3 KB
  • Gear_middle_1765731361.stlSTL · 435.2 KB
  • wireguide_add_in_1765731362.stlSTL · 867.6 KB

Make a variant with AI

Build another version of this model.

Open Studio

Description

  • Bearings are standard 608-ZZ size (I used these)
  • 3D printed threads -  M14x2 Class 6H Right Hand
  • Magnet business for counting is totally optional

Assembly:

  • Print all parts, hot glue the plates together
  • Fix bearings to the posts of each part, push into plate

Suggested use:

  • Use the 2 screws on the small hear to fix whatever you are spooling onto.
  • Created a new wire spool holder piece that fits whatever you are spooling from (if you aren't using magnet wire with the same spool type)
  • Note - you could totally re-design to skip the bearings. I just had a bunch and wanted to use them (also it's quieter)

See it in action here: 

Code for Hall effect sensor hooked up to raspberry pi pico:

I used CircuitPython. This isn't clean but just for reference if you wanna do something similar.

import board
import busio
import time
from digitalio import DigitalInOut, Direction, Pull
from analogio import AnalogIn
from adafruit_ht16k33.segments import Seg7x4
import TM1637

# Sensor
# mag = AnalogIn(board.GP26)
mag_dig = DigitalInOut(board.GP17)
mag_dig.pull = Pull.DOWN
mag_dig.direction = Direction.INPUT

# Display
CLK = board.GP1
DIO = board.GP0
display = TM1637.TM1637(CLK, DIO)

#button
btn = DigitalInOut(board.GP16)
btn.pull = Pull.DOWN

led = DigitalInOut(board.LED)
led.direction = Direction.OUTPUT

counter = 0

magValPrev = True
led.value = True
display.number(counter)

while True:
   
  # print(f"Dig: {mag_dig.value}")
   #print(f"Analog: {mag.value}")
   
   if not mag_dig.value and magValPrev is True:
       counter = counter + 1
       display.number(counter)
   
   if btn.value:
       counter = 0
       display.number(counter)
       
   magValPrev = mag_dig.value
   #print(f"btn value: {btn.value}")
   time.sleep(0.02)

Read more Show less

Print spec

Formats
stl
Model files
11
Total size
22.5 MB
Largest file
12.2 MB

0 comments

See all