Reverse Engineering The Nintendo Switch Joy-Cons

The Switch is Nintendo’s latest effort in the console world. One of its unique features is the Joy-Cons, a pair of controllers that can either attach directly to the console’s screen or be removed and used individually. But how do they work? [dekuNukem] decided to find out.

The reverse engineering efforts begin with disassembly. Surprisingly, there is no silkscreen present on the board to highlight test points or part numbers. This is likely to conflate intended to stymie community efforts to work with the hardware, as different teams may create their own designations for components. Conversely, the chips inside still have their identifying markings present, which does ease identification somewhat.

There are some interesting choices made – the majority of the buttons are scanned in a matrix configuration by the on-board microcontroller, making it harder to spoof button presses. The controllers communicate over Bluetooth, switching to a physical serial connection when attached directly to the screen. This runs at a blistering 3,125,000 BPS after the initial handshake is completed.

Overall it’s a fairly comprehensive reverse engineering effort, and [dekuNukem] has provided excellent detail in the writeup for anyone else looking to get involved. There’s still some work left to do, like investigating the rumble messages, but it’s an excellent start and very comprehensive.

Perhaps you’re more interested in older Nintendo hardware? Check out this comprehensive effort to figure out NES console-to-cartridge security methods.

Turn Medical Imaging From 2D Into 3D With Just $10

One of the modern marvels in our medical toolkit is ultrasound imaging. One of its drawbacks, however, is that it displays 2D images. How expensive do you think it would be to retrofit an ultrasound machine to produce 3D images? Try a $10 chip and pennies worth of plastic.

While — of all things — playing the Wii with his son, [Joshua Broder, M.D], an emergency physician and associate professor of surgery at [Duke Health], realized he could port the Wii’s gyroscopic sensor to ultrasound technology. He did just that with the help of [Matt Morgan, Carl Herickhoff and Jeremy Dahl] from [Duke’s Pratt School of Engineering] and [Stanford University]. The team mounted the sensor onto the side of the probe with a 3D printed collar. This relays the orientation data to the computer running software that sutures the images together into a complete 3D image in near real-time, turning a $50,000 ultrasound machine into its $250,000 equivalent.

Continue reading “Turn Medical Imaging From 2D Into 3D With Just $10”

Twin Pis For Remote Computer Management

Sometimes you have a whole bunch of computers that you need to work with, and having a keyboard, monitor, and mouse for each one becomes too much to deal with. There are a multitude of solutions to this problem, but [Fmstrat] went the hacker route, and built their own.

The build is a rather unique way of controlling PCs remotely, but it does the job. A Raspberry Pi 3 is pressed into service as the core of the operation. It’s accessible over IP for remote control. Video is captured from the controlled machines through the combination of an HDMI-to-S-Video adapter and an analog video capture card plugged into the Pi. Keystrokes are sent in a roundabout way, first sent to a Pi Zero over a USB-to-Serial adapter. From there, the Pi acts as an emulated mouse and keyboard to the PC under control.

One caveat of remotely controlling computers over a network is that if things go pearshaped, it can become necessary to power cycle the machine. [Fmstrat] deals with this by fitting a relay board to the Pi 3, which is connected to the reset buttons of the machines under control.

It may not be the quickest, easiest, or industry standard way of controlling remote computers, but it works. [Fmstrat] tells us this build was primarily designed to get around the fact that there aren’t any decent cheap IP-KVM systems, and consumer motherboards don’t support the IPMI standard that would otherwise be useful here.

We particularly like the hard-wired relays for rebooting a machine – great for when a network dropout is stopping Wake-on-LAN packets from achieving their goal. While the conversion of HDMI outputs into analog video for capture is unusual and somewhat costly on a per-machine basis, it’s functional and gives the system the ability to work with any machine capable of outputting a basic analog video signal. With the Pi Zero keyboard emulation and analog video capture, we could see this being used with everything from modern computers to vintage 80s hardware. If you’ve ever needed to control an Amiga 2000 remotely for whatever reason, this could be the way to do it.

We’ve seen plenty of other KVM builds over the years, too – like this low-cost HDMI switcher.

Programming An Oscilloscope Breakout Game In Pure Data

[S-ol] wrote in to share his sweet breakout game played on an oscilloscope. Built in a weekend as part of a game development jam, Plonat Atek is a polar breakout game where the player attacks the center and the ball bounces around the perimeter. You can play it either on an oscilloscope or using an online emulator. [S-ol] wrote the game in Pure Data, a visual programming language for audio. The software controls the audio out channels and uses sound to control the game graphics. He also made use of the Zexy extension for Pure Data.

One of the cool things about this setup is that since the game is programmed with sound, all the sound effects also double as visual effects

We love oscilloscopes, and not just because they’re useful as hell. They also make sweet vector displays, like this analog pong game that uses a scope for a display. Even when they’re not being used for retrogaming they can be capable of some pretty amazing graphics.

Hackaday Links Column Banner

Hackaday Links: Remember, Remember

Buckle up, buttercup because this is the last weekly Hackaday Links post you’re getting for two weeks. Why? We have a thing next weekend. The Hackaday Superconference is November 11th and 12th (and also the 10th, because there’s a pre-game party), and it’s going to be the best hardware con you’ve ever seen. Don’t have a ticket? Too bad! But we’ll have something for our Internet denizens too.

So, you’re not going to the Hackaday Supercon but you’d like to hang out with like-minded people? GOOD NEWS! Barnes & Noble is having their third annual Mini Maker Faire on November 11th and 12th. Which Barnes & Noble? A lot of them. Our reports tell us this tends to be geared more towards the younger kids, but there are some cool people doing demonstrations. Worst case scenario? You can pick up a copy of 2600.

PoC || GTFO 0x16 is out! Pastor Laphroaig Races The Runtime Relinker And Other True Tales Of Cleverness And Craft! This PDF is a Shell Script That Runs a Python Webserver That Serves a Scala-Based JavaScript Compiler With an HTML5 Hex Viewer; or, Reverse Engineer Your Own Damn Polyglot.

In, ‘Oh, wow, this is going to be stupid’ news, I received an interesting product announcement this week. It’s a USB C power bank with an integrated hand warmer. Just think: you can recharge your phone on the go, warm your hands in the dead of winter, and hope your random battery pack from China doesn’t explode in your pocket. I’m not linking to this because it’s that dumb.

You can now cross-compile ARM with GCC in Visual Studio.

The iPhone X is out, and that means two things. There are far too many YouTube videos of people waiting in line for a phone (and not the good kind), and iFixit did a teardown. This thing is glorious. There are two batteries and a crazy double-milled PCB stack with strange and weird mezzanine connectors. The main board for the iPhone X is completely unrepairable, but it’s a work of engineering art. No word yet on reusing the mini-Kinect in the iPhone X.

Speaking of irreparable computers, the Commodore 64 is not. [Drygol] recently came across a C64 that was apparently the engine controller for a monster truck found on the bottom of the ocean. This thing was trashed, filled with rust and corrosion, and the power button just fell off. Prior to cleaning, [Drygol] soldered a new power button, bowered it up, and it worked. The crappiest C64 was repairable. A bit of cleaning, painting the case, and the installation of an SD2IEC brought this computer back to life, ready for another thirty years of retrogaming and BASIC.

The Zynq from Xilinx is one of the most interesting parts in recent memory. It’s a dual-core ARM Cortex A9 combined with an FPGA with a little more than a million reconfigurable gates. It’s been turned into a synth, a quadcopter, all of British radio, and it’s a Pynq dev board. Now there’s a new part in the Zynq family, an RFSoC that combines the general ARM/FPGA format with some RF wizardry. It’s designed for 5G wireless and radar (!), and one of those parts we can’t wait to see in use.

Do you keep blowing stuff up when attaching a USB to UART adapter to a board? Never fear, because here’s one with galvanic isolation. This is done with a neat digital isolator from Maxim

Mergers And Acquisitions: Broadcom, Qualcomm, And One Hundred Billion Dollars

Rumors have been circulating this last weekend of the largest semiconductor acquisition ever. Broadcom might buy Qualcomm for the princely sum of one hundred Billion dollars.

You will most likely be familiar with both Qualcomm and Broadcom for their wireless and cellphone chipsets. As far as the Maker community is concerned, Broadcom makes the chipset for the Raspberry Pi, but in the context of a two hundred Billion dollar company, a ‘maker’ focused Linux dev board is the equivalent of a rounding error on a balance sheet.

This news comes a little more than a year after the announcement that Qualcomm is snatching up NXP, and two years after the news of NXP is merging with Freescale. The industry is in a state of consolidation.

This proposed deal follows several other semiconductor mergers and acquisitions including NXP and Freescale, Intel and Altera, Avago and BroadcomOn Semiconductor and Fairchild, and the one we’re most befuddled with, Atmel and Microchip. Why are these companies merging? Because they’re sitting on mountains of cash. All of these mergers with the exception of Avago and Broadcom, have been for single-digit Billions of dollars. The merger of Broadcom and Qualcomm — if it happens — will be the largest merger of two semiconductor companies ever. That’s easy to do when both Broadcom and Qualcomm are on the top ten list of largest semiconductor companies, but it is evidence enough that the mergers and acquisitions in the industry are not slowing down.

Homemade LED Clock Stands Test Of Time

In an era when you might get chastised if your mobile phone is more than two years old, it’s easy to forget that hardware was not always meant to be a temporary commodity. We acknowledge a few standout examples of classic hardware still surviving into the modern era, such as vintage computers, but they’re usually considered to be more of a novelty than an engineering goal. In a disposable society, many have forgotten that quality components and a well thought out design should give you a service life measured in decades, not months.

A perfect example of this principle is the beautiful LED clock built 40 years ago by [Davide Andrea]. A teenager at the time, [Davide] built this clock to be used by the local radio station, as clocks that showed seconds were important for timing radio shows. Finding it in storage recently, [Davide] took to the /r/electronics subreddit to report that it still works fine after all these years.

Cracking open the case shows a unique and highly functional construction style. Notches cut into the side panels of the case accept individual protoboards in a “blade” type configuration, with the blades connected by a handful of individual wires. No digging through the parts bin for a “worthless” old IDE cable to tear up back in the 1970’s.

Continue reading “Homemade LED Clock Stands Test Of Time”