pi Zero NES cart with power button
thingiverse
This is a remix of HauntFreaks's pi Zero NES cart "A Better Bezel", published Mar 27, 2017. The original design can be found at 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. One of the USB cables on the Micro USB OTG Charger HUB is removed to make the hub fit properly on the cartridge. The power button uses a 6 Pin DPDT Self-locking Micro Push Button Switch, measuring 7mm x 7mm. Script Notes: This script is currently in use. 1.-Copy and paste the following into a new text file, save as shutdown.py in 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 following just before the line "exit 0". (sleep 1; python /home/pi/shutdown.py)& Note: If a momentary button is used instead of a latching button for the Power Button, the script must be updated to watch for False instead of True. if (GPIO.input(3) == False) Schematic: The schematic to control the Pi Zero with the latching button is very simple, as shown in the picture below. Print Settings: Printer Brand: Prusa Printer: Prusa Steel Rafts: No Supports: No Resolution: 0.2mm Infill: 25%
With this file you will be able to print pi Zero NES cart with power button with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on pi Zero NES cart with power button.