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

, , , ,
About — I'm an enthusiastic software engineer and consultant interested in many fields including J2EE, programming, electronics, 3D printing, video games, wood working and gardening.
See my Resume for more information.
The views expressed in this blog are my own and not those of my employer.
comments powered by Disqus
My other posts you may like...
Programming, DIY, Games, Hacks, Tech and more.
Follow me on...
Current and Past Projects
See my Resume

Subscribe


RSS Feed

My Other Web Sites

Igor and Elise's Travels
Riverside Expressway Cam
StrFunc() Online
300 George St Blogumentary
Guru JSON-RPC Tester
Extrudifier Object Designer

Recent Blog Posts

New Nintendo 3DS XL, R4i SDHC RTS Lite and DSDoom

Older versions of JD-GUI crashing on macOS Sierra

How does Seeed Fusion stack up as a low budget PCB fab

Where to find the last item (Robbie's lost lyrics) in GravityFalls Lake level

Detecting print requests to print contents of a DIV with JavaScript

Using Google DFP with AdSense on responsive pages

How to change the email subject line in Gmail

Force PHP GD library to load JPEG images that have invalid data

How to uninstall Samsung Smart Switch from your Mac

Facebook adds weather forecasts but forgets to adjust them to your time zone

Recent Galleries

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

Good Friday Electronics fun Easter Bunny LED PCB Kit IBEABU-01.0

Top Categories

Blogs I follow

Matt Moores Blog
Georgi's FlatPress Guide
Perplexing Permutations
The Security Sleuth

Friends

RAWS Parts Online
Alpha Dimensions Hosting
Kristensen Photography
Ilia Rogatchevski
Travelling Fairy

Blog Activity

Blog Activity
Follow me on... 
     
...or subscribe for updates!

Don't show this again