AtarPi by Hassaracker 3d model
Warning. This content is not moderated and could be offensive.
m4
3dmdb logo
Thingiverse
AtarPi by Hassaracker

AtarPi by Hassaracker

by Thingiverse
Last crawled date: 3 years ago
Still in development, not ready to print
Modifying the Atari Box to accommodate better cooling, internal connections and a hard drive bay. This will hopefully make resemble a console rather than a Raspberry Pi case, full credit to Shadown_Burn68 for designing the original shell.
If you print any of these models, please comment to let me know how they came out and any improvements that could be made. My printer has been down due to a fried thermistor so I have been unable to test print anything yet.
Updates:
05/10/2018 - Moved the ethernet port below the HDMI to allow more space for a hard drive. Created a drive bay and tray that should slide into the case and connect to a SATA to USB board. Changed front USB layout (old blocked a front support) and created face plates.
To do list:
Turn Atari logo into a power buttonIntegrate a hard drive bay into the top/back
Add mount for SATA to USB boardCreate a faceplate to cover all screw holes and gaps around USB ports
Cable management?
Second, internal, fan mount or something to direct airflow over the Pi
Hardware:
1 x Raspberry Pi with power supply and Micro SD card
1 x 7mm laptop hard drive
Parts list:
1 x micro USB extender with bracket
1 x HDMI female/female bracket
1 x 1ft HDMI cord (pi to bracket)
1 x ethernet extender with bracket
4 x USB extenders with brackets
1 x 4 port USB hub
1 x SATA to USB adapter with cable
2 x 5v 40mm fans
1 x power button
1 x power LED
I bought all the parts (except the pi and drive) on eBay for around $20 CAD. Still waiting for them to come in the mail and as soon as they do the model will be updated.
Setup:
Install RetroPie using their guide then boot it up. Make sure you have an internet connection and press F4 once the Pi has booted to enter the terminal. Use the following commands to install WiringPi and create a script for the power button. If at any time you're prompted for a password, the default will be raspberry.
First, install the power button to pins 5 and 6, a pin map can be found here
Install WiringPi (hit y to any prompts):
sudo apt-get install wiringpi
Create shutdown script:
sudo nano shutdown.sh
Copy and paste the following into the shutdown script file:
#!/bin/bash
gpio mode 9 in
i="$(gpio read 9)"

while [ i -eq 1 ]
do
i="$(gpio read 9)"
sleep .2
done

sudo shutdown -h now
Now press CTRL + X then y and enter to save the file.
Add permissions to the shutdown script with:
sudo chmod 777 shutdown.sh
You may want to test this script first before adding it to startup
Test it using ./shutdown.sh and see if it works as desired (press the button).
If your Pi shuts down immediately after running the script, modify the line while [ i -eq 1 ] to while [ i -eq 0 ]. Once that's sorted out, restart the Pi and press F4 again to get to the terminal.
Finally, add the script to startup:
sudo nano /etc/rc.local
Scroll to the bottom (CRTL + V) then insert this as the last line:
/home/pi/shutdown.sh &
Press CTRL + X then y and enter to save the file.
Done! Your button should now power on and off the Pi cleanly to avoid data corruption, not to mention it's a lot easier. More to come ...

Tags