Igor's Blog

My file server project using an Odroid XU4 is coming along nicely and since it's all going into a HDD enclosure that I already have, the XU4 board will not be accessible and along with it, its power button. This article shows how I've added an external power button to the XU4.

This is what I was going to use for my new power button. It's a 3 pole rocker switch that goes back to the off position when the lever is released. It's mounted on a piece of acrylic and protrudes out the front of the HDD enclosure.

IMG_0970.jpg IMG_0971.jpg


I looked up the XU4 schematics and found that its existing power button has a couple of it's pins wired together...
wiring.png


Using a multimeter I found which of these pins were connected on the board...
IMG_0973.jpg




Since the rocker switch went up and down and I only needed it to work as a momentary switch in either one of these up/down positions, I decided to connect both the up and down poles together so it didn't matter which way the lever was positioned.
IMG_0975.jpg


After the wiring on the switch part was completed, I soldered the other end of the wires onto the XU4 board to the non-connected contacts of the XU4 power switch.
IMG_0976.jpg



This is what it looked like with everything in place...
IMG_0977.jpg


...and here's a video of the rocker switch in action. It shows that when the lever is pulled up or down, the shutdown dialogue box pops up, as expected.



-i

comments powered by Disqus
Other posts you may like...
Programming, DIY, Games, Hacks, and Tech

Recent Blog Posts

Swapping HDD logic boards between different brand disks - is it possible?

A guide for plotting your hard drive for Burstcoin mining on a Mac using mjminer

Replacing a broken hard drive in a Samsung Story Station

Fix Java applications slow start and net connection times on macOS sierra

Pierre Cardin Leather Computer Bag (PC2278)

How to stop SSH remote host disconnecting your session

Using PayPal PHP SDK on Google App Engine

Use the Touch Bar to lock your Mac with a single button press

Multi module builds with Maven 3.5 and the parent-child pom version management

Google App Engine local dev server DataStore becoming corrupted after a bad GQL statement is run

Recent Galleries

Monument Valley 2 is released and does not disappoint

Space Food - Chocolate Ice Cream with Chocolate Chips

Legeod Star Wars AT-DP kit

DIY spare parts computer build with a RAIDMAX Anura case

Fake 'Lepin' brand Lego packaging

Hardwood garden bench with clear resin void filler

Fixing a 3D printer extruder that stopped heating up

Easily increase disk space in a Lenovo Ideapad 100S 14" laptop with an M.2 SSD

Making a multi-piece 3D printed solder spool holder stand

DIY indoor apartment grow light wiring

My Other Web Sites

Igor and Elise's Travels
Riverside Expressway Cam
300 George St Blogumentary

My Online Tools

UUID to OID Converter
Guru JSON-RPC Tester
Extrudifier Object Designer
Travel ┬ÁBlog

Blogs and Friends

Matt Moores Blog
Georgi's FlatPress Guide
Perplexing Permutations
The Security Sleuth
Ilia Rogatchevski
Travelling Fairy

Blog Activity

Blog Activity
Your call, follow me if you want to read more great posts like this one!
     
Don't show this again