Igor Kromin |   Consultant. Coder. Blogger. Tinkerer. Gamer.

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

Please leave your comments or feedback below!
comments powered by Disqus
Other posts you may like...
Hi! You can search my blog here ⤵
Or browse the recent top tags...

Recent Blog Posts

Tiny Arcade revision 6 kit assembly and decal application

Jersey JAX-RS filters and interceptors execution order for a simple GET request

How to stop macOS adding shadows to window screenshots

How to run Atari Lynx games on the SNES Classic Mini

Maven dependency scopes with relation to WAR file packaging and the WEB-INF/lib directory

Hacking the Sonoff B1 WiFi LED bulb to run custom firmware

What does an idle WebLogic server run on the hour to cause a CPU spike

How to open the Sonoff B1 wifi LED bulb to access its internal circuitry

Australian release SNES mini classic unboxing and a quick play through

Troubleshooting high CPU usage for JVM threads

Recent Galleries

Atari Lynx repair - Part 5 - McWill LED screen mod installation

Atari Lynx repair - Part 4 - screen cover replacement

Atari Lynx repair - Part 2 - re-capping the motherboard

Atari Lynx repair - Part 3 - broken speaker replacement

Atari Lynx repair - Part 1 - introduction and case disassembly

Building a custom Atari Lynx game box storage shelf unit in a day

Protecting old Atari Lynx game boxes with snug fit plastic sleeves

Monument Valley 2 is released and does not disappoint

Space Food - Chocolate Ice Cream with Chocolate Chips

Legeod Star Wars AT-DP kit

Blogs and Friends

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

Blog Activity

Blog Activity