Slicer Discord
pi Zero NES cart with power button – 3D-Druckmodell von Thingiverse Thingiverse

pi Zero NES cart with power button

von mafe72
132 Downloads
118 Likes
0 Makes
Zum Modell

This is a remix of HauntFreaks’s pi Zero NES cart "A Better Bezel", published Mar 27, 2017, his original design can be found here http://www.thingiverse.com/thing:2205100




This new spin adds a power button to the “Bezel” and makes the HDMI slot compatible with the Cable Matters Mini-HDMI to HDMI Male to Female Cable Adapter., I remove one of the USB cables on the Micro USB OTG Charger HUB. to make the hub fits properly on the cartridge, the power button is a 6 Pin DPDT Self-locking Micro Push Button Switches 7mm x 7mm.



Script Notes
This is the script I'm currently using.

1.-Copy and paste the following into new text file and save as shutdown.py on the /home/pi/ directory


import RPi.GPIO as GPIO
import time
import os
GPIO.setmode(GPIO.BCM)
GPIO.setup(3,GPIO.IN, pull_up_down=GPIO.PUD_UP)
while True:
if (GPIO.input(3) == True):
os.system("sudo shutdown -h now")
break
time.sleep(0.50)


2.- Edit rc.local.


sudo nano /etc/rc.local


3.- Add the
Quelle
Thingiverse
Was du zum Drucken brauchst: Anfänger Niedrige Konfidenz
Einteilig
Supports 1/3
Zusammenbau 0/3
Einstellungen 1/3
Druckbett 0/3
Nachbearbeitung 0/3
Drucker
FDM / FFF
Dateiformat
STL
Material
Software
Cura, PrusaSlicer o. Ä.
Noch keine Bewertungen
Noch keine Kommentare – sei der Erste!

Ähnliche Modelle

4 Vorschläge
Feed Blog Slicer Kostenrechner Bildersuche Einreichen Kontakt Discord ☕ Buy me a coffee
DE EN FR ES IT NL

Zur Sammlung hinzufügen