• Models
  • Contests
  • Slicer
  • Login
  • Start Here
    thingiverse-iconprintables-iconcults3d-iconmakerworld-iconmyminifactory-icon

    3D GO

    3D ModelsContestsCollectionsSaved ModelsOn a mobile device?

3D GO

Privacy Policy
push button for LED Light Bar [Fusion 360 source] 3D Printer File Image 1
push button for LED Light Bar [Fusion 360 source] 3D Printer File Thumbnail 1

push button for LED Light Bar [Fusion 360 source]

Arek avatarArek

July 6, 2022

printables-icon
DescriptionCommentsTags

Description

Push button momentary switch, unknown model. Had it around. Button was too wide and needed to be filed on two sides to make it narrow.

There are two very narrow walls in the project that can be gone after slicing - these are not really needed for this enclosure to be sturdy.

Button connected to raspberry pi 3 GPIO 3 (pin 5) and GND (pin 14 or other for GND).

GPIO 4 (pin 7) connected to logic level mosfet N-channel (via 390Ω resistor; for gpio output protection) gate (G) pin. That pin also pull-down to GND via 10kΩ resistor (so led light is default off and internal mosfet capacity is discharged). Drain (D) mosftet pin connected to negative of led strip. Source (S) mosftet pin connected to prusa power supply GND. Raspberry pi GND and prusa power supply GND are connected, too.

leds powered from internal supply of the prusa printer.

Encolsure OctoPrint plugin properly configured to control both GPIO pins. 

Light can now be turned on via button at printer, using OctoPrint web panel or using OctoPod mobile app.

License:

Creative Commons — Attribution

Related Models

#3DBenchy - The jolly 3D printing torture-test by CreativeTools.se preview image

#3DBenchy - The jolly 3D printing torture-test by CreativeTools.se

CreativeTools profile image

CreativeTools

90,812

Important information sign for 3D printers / Wichtiges Hinweisschild für 3D-Drucker :) preview image

Important information sign for 3D printers / Wichtiges Hinweisschild für 3D-Drucker :)

Pat_S profile image

Pat_S

sign: don't touch my 3d printer preview image

sign: don't touch my 3d printer

Izzodesign74 profile image

Izzodesign74

526

Self-Watering Planter (Small) preview image

Self-Watering Planter (Small)

parallelgoods profile image

parallelgoods

73,090

X, Y and Z calibration tool for IDEX / dual extruder / dual color 3D printers preview image

X, Y and Z calibration tool for IDEX / dual extruder / dual color 3D printers

Voxel3D_NL profile image

Voxel3D_NL

201

Gift Box preview image

Gift Box

roby85r profile image

roby85r

1,492

All In One 3D Printer test preview image

All In One 3D Printer test

majda107 profile image

majda107

64,440

axes calibrage cube-xyz for 3d printers preview image

axes calibrage cube-xyz for 3d printers

H- printed profile image

H- printed

9

7