Adding Wireless Charging To The Switch Lite

The Nintendo Switch is a monstrously popular machine, and it’s had no difficulty raking in the bucks for the Japanese gaming giant, but there’s no denying that it’s technologically a bit behind the curve. Until the long-rumored “Pro” version of the Switch materializes, industrious gamers like [Robotanv] will simply have to make up for Nintendo’s Luddite ways by hacking in their own upgraded hardware.

In this case, [Robotanv] wanted to add Qi wireless charging to his Switch Lite. He figured that if all of his other mobile devices supported the convenient charging standard, why not his portable gaming system? Luckily, the system already supports the increasingly ubiquitous USB-C, so finding an aftermarket Qi receiver that would connect to it was no problem. He just needed to install it into the handheld’s case.

After liberating the Qi receiver from its protective pouch enclosure to get it a bit thinner, [Robotanv] taped it to the inside of the system’s case and ran thin wires to the rear of the USB-C port. As luck would have it, Nintendo was kind enough to put some test pads for the power pins right behind the port, which made for an ideal spot to connect the charger.

At first he only connected the positive and negative lines from the charger, but quickly realized he also had to connect the CC pin to get the juice flowing. After that, it was just a matter of buttoning the system back up. All told, it looks like a pretty simple modification for anyone who’s not bashful about taking a soldering iron to their $199 console.

We’ve seen these Qi receivers retrofitted into devices before, and it remains an excellent way to add the feature not only to commercial products, but to your own projects.

Continue reading “Adding Wireless Charging To The Switch Lite”

Showdown Time For Non-Standard Chargers In Europe

It seems that few features of a consumer electronic product will generate as much rancour as a mobile phone charger socket. For those of us with Android phones, the world has slowly been moving over the last few years from micro-USB to USB-C, while iPhone users regard their Lightning connector as the ultimate in connectivity. Get a set of different phone owners together and this can become a full-on feud, as micro-USB owners complain that nobody has a handy charging cable any more, USB-C owners become smug bores, and Apple owners do what they’ve always done and pretend that Steve Jobs invented USB. Throwing a flaming torch into this incendiary mix is the European Union, which is proposing to mandate the use of USB-C on all phones sold in its 27 member nations with the aim of reducing considerably the quantity of e-waste generated.

Minor annoyances over having to carry an extra micro-USB cable for an oddball device aside, we can’t find any reason not to applaud this move, because USB-C is a connector born of several decades of USB evolution and brings with it not only the reversible plug but also the enhanced power delivery standards that enable fast charging no matter whose USB-PD charger you are using. Mandating USB-C will put an end to needlessly overpriced proprietary cables, and bring eventual unity to a fractured world. Continue reading “Showdown Time For Non-Standard Chargers In Europe”

Powering Up With USB: Untangling The USB Power Delivery Standards

Powering external devices directly from a PC’s I/O ports has been a thing long before USB was even a twinkle in an engineer’s eye. Some of us may remember the all too common PS/2 pass-through leads that’d tap into the 275 mA that is available via these ports. When USB was first released, it initially provided a maximum of 500 mA which USB 3.0 increased to 900 mA.

For the longest time, this provided power was meant only to provide a way for peripherals like keyboards, mice and similar trivial devices to be powered rather than require each of these to come with its own power adapter. As the number of  computer-connected gadgets increased USB would become the primary way to not only power small devices directly, but to also charge battery-powered devices and ultimately deliver power more generally.

Which brings us to the USB Power Delivery (USB-PD) protocol. Confusingly, USB-PD encompasses a number of different standards, ranging from fixed voltage charging to Programmable Power Supply and Adjustable Voltage Supply. What are the exact differences between these modes, and how does one go about using them? Continue reading “Powering Up With USB: Untangling The USB Power Delivery Standards”

Building A Solar Powered Game Boy Pocket

Light has always been a key part of the classic Game Boy experience. Some of us have fond memories of riding along in the back seat of a car at night, pausing and unpausing the game as the street lights overhead briefly give enough light to see the unlit display. The availability of third party IPS displays for these classic handhelds has largely eradicated this problem today, but as you might expect, the increased power requirements of the more modern screen reduces the system’s runtime.

Installing the USB-C charge controller.

As part of their examination into energy production, the [Houston Museum of Natural Science] set out to see if they could improve things by adding a solar panel to the back of a Game Boy Pocket that had already been modified with an IPS display. The Pocket version of the Game Boy was selected as it has a nice flat back that made it easy to attach a solar panel, and in fact the panel sourced for this mod is so well dimensioned, it almost looks like the device came that way.

In the video below, you can see the modification starts by cutting away a large section of the Game Boy’s rear panel to fit the 1000 mAh LiPo battery. The solar panel is then affixed over the back with super glue. A diode is soldered onto the solar cell, and then wired into a charge controller that came with USB-C input. The placement of the charge controller ended up being trickier than expected, but with a little hot glue, it works just fine. Overall this is a simple mod but a brilliant idea.

This isn’t the first solar-powered handheld game system we’ve seen, but it’s nice to see the idea revisited and expanded on, particularly regarding ergonomics. In addition, we love the incredible detail of narration that’s given as this hack slowly takes shape. Video after the break.

Continue reading “Building A Solar Powered Game Boy Pocket”

Custom Num Pad Does Double Duty As Macro Pad

Why buy a num pad or a macropad when you can build something new and beautiful, open source that bad boy, and be a hero to the community? We think that should be all the justification you ever need to build instead of buy, even if you think your thing is Just Another Keypad [JAnK] as [Clewsy] claims.

At first glance, JAnK appears to be a standard number pad with four macro keys across the top. But when you roll your own ‘board, all the keys are programmable. [Clewsy] took advantage of this by adding a second layer that’s accessible with (what else?) the Num Lock key. This switches JAnK over to 21-key macro pad mode.

[Clewsy] rolled their own PCB for this and used the venerable ATMega32u4 because of its HID and USB host capabilities. Every key is backlit, and these LEDs are driven by an MP3202 LED driver and PWM from the AVR. [Clewsy] was able to build a prototype by sawing the num pad off of a stainless steel key switch plate from another build, but eventually ordered JAnK its own custom, laser-cut, stainless steel plate. The lovely enclosure is made of spotted gum wood and an acrylic base.

Putting it all together proved to be a bit problematic. [Clewsy] soldered up the minimum viable components for testing and discovered that the ATMega’s VCC and GND pins were both shorted. This killed the AVR programmer, but not the chip itself, and [Clewsy] happened to have a spare. To add insult to injury, the Num Lock light didn’t work, but [Clewsy] was able to simply reverse the LED instead of ordering a new pile of boards. Check out the detailed write-up with code and tons of pictures over on [Clewsy]’s personal site.

One of the awesome things about this build is that [Clewsy] was able to re-use the code from macr0, which began life as a proof of concept for scanning key matrices, and retired to become a music and media controller.

Easy USB‑C Power For All Your Devices

[Mansour Behabadi] wanted to harness the high power capability of USB-C using as simple a hardware design as possible. After some research and experimental prototyping, he designed the fpx — an easy to use USB‑C power delivery board. The fpx is an improved follow up to his earlier USB PD project fabpide2 which we featured some time back. However, practical implementation of the USB PD protocol can be a bed of thorns. Negotiating power delivery usually requires a dedicated PD controller coupled with a micro-controller for user control.

With USB PD, a USB-C port can be configured as either a source, a sink, or both and allows connected devices to negotiate up to 100 W (20 V, 5 A) of power. The fpx is based around the popular STUSB4500 PD controller, which does most of the PD heavy lifting. To program the STUSB4500, he used an ATtiny 816 micro-controller, whose UPDI programming and debugging interface consumes lower board real estate.

However, what’s a little bit different is the way the fpx is programmed — by sending binary black and white flashes from any device that can display a web page. Using light isn’t a particularly new way of programming. We’ve seen it used almost a decade back by WayneAndLayne for their Blinky PoV projects, and later by the Electric Imp’s BlinkUp app. The fpx uses a similar method to read flashes of light from a screen which are picked up by a photo-transistor connected to the ATtiny. The ATtiny then communicates with the STUSB4500 over I2C. This eliminates the requirement for special software or an IDE for programming and doesn’t need any physical cable connection. Check out [Mansour]’s blog post where he walks us through the details of how he managed to wrangle the optical programming challenge.

Many of the commercially available USB PD decoy/detector/trigger boards use either solder jumpers or a switch with an RGB LED to adjust Power Delivery Output (PDO). [Mansour]’s method may be a little more robust and reliable. The STUSB4500 can store two separate PDO values and can negotiate with a source according to its capability. If the source cannot offer either of these options, the fpx can either request for a minimal 5 V / 100 mA setting, or disable the output. The fpx is an open source project, accessible on Github. Check out the video after the break for an overview of the fpx.

Continue reading “Easy USB‑C Power For All Your Devices”

Portrait Of A Digital Weapon

Over the years, artists have been creating art depicting weapons of mass destruction, war and human conflict. But the weapons of war, and the theatres of operation are changing in the 21st century. The outcome of many future conflicts will surely depend on digital warriors, huddled over their computer screens, punching on their keyboards and maneuvering joysticks, or using devious methods to infect computers to disable or destroy infrastructure. How does an artist give physical form to an unseen, virtual digital weapon? That is the question which inspired [Mac Pierce] to create his latest Portrait of a Digital Weapon.

[Mac]’s art piece is a physical depiction of a virtual digital weapon, a nation-state cyber attack. When activated, this piece displays the full code of the Stuxnet virus, a worm that partially disabled Iran’s nuclear fuel production facility at Natanz around 2008. Continue reading “Portrait Of A Digital Weapon”