Dedicated Button for Toggling Screens

Anyone who regularly presents to an audience these days has known the pain of getting one’s laptop to work reliably with projection hardware. It’s all the more fraught with pain when you’re hopping around from venue to venue, trying desperately to get everything functioning on a tight schedule. [Seb] found that the magic keystrokes they used to deal with these issues no longer worked on the Macbook Pro Touchbar, and so a workaround was constructed in hardware.

The build itself is simple – an Adafruit Trinket serves as the brains, with a meaty 12mm tactile button used for input. The Trinket emulates a USB keyboard and sends the Cmd-F1 keypress to the computer when the button is pressed. The button’s even mounted in a tidy deadbugged fashion.

While it’s not at all complicated from a build standpoint, the key to this project is that it’s a great example of using the tools available to solve real-life problems. When you’re in a rush with 300 people waiting for your talk to start, the last thing you need to be worrying about is a configuration issue. [Seb] now has a big red button to mash to get out of trouble and get on with the job at hand. It does recall this much earlier hack for emulating a USB keyboard with an Arduino Uno or Mega. It’s a useful skill to have!


Magsafe 1 to Magsafe 2 The Cheap Way

[Klakinoumi] wanted to use their Magsafe 1 charger from 2007 with their newer Macbook Pro Retina from 2012 — but it had a Magsafe 2 port. There were a few options on the table (buy an adapter, buy a new charger, cry) but those wouldn’t do. [Klakinoumi] went with the brute force option of grinding a Magsafe 1 charger to fit Magsafe 2.

Based on the existence of passive adapters that allow Magsafe 1 chargers to work with newer laptops, we’d assume that the older chargers are probably electrically similar to the newer models. That said, it’s not our gear and we’d definitely be checking first.

With that out of the way, it’s a simple enough modification — grind away the Magsafe 1’s magnet until it fits into a Magsafe 2 port. It really is that easy. The spring-loaded pins all seem to line up with the newer port’s pads. [Klakinoumi] reports it worked successfully in their tests with 2012, 2014 and 2015 Macbooks but that it should be attempted at your own risk — good advice, as laptops ain’t cheap.

When doing this mod, consider taking care not to overheat the connector during grinding. You could both melt plastic parts of the connector, or ruin the magnet by heating it past its Curie point.

Interested in the protocol Magsafe speaks over those little golden pins? Find out here.

Bringing The Best Laptop Ever Made Back To Life

Eight or nine years ago, Apple was on top of the world. The iPhone just revolutionized phones, Apple was still making computers, and these computers were actually repairable. Of the late 2008/early 2009 MacBook Pro, iFixit said, “What an incredible machine. We are very impressed by the ease with which the new MacBook Pro came apart. This machine should be a joy to work on”. Apple has come a long way since then.

macbook-reflow-shield[DocDawning] has a bit of a Mac hoarding problem, and frequently pays $20 for broken laptops of this vintage. Most of the time, the fix is simple: the RAM needs to be reseated, or something like that. Rarely, he comes across a machine that isn’t fixed so easily. The solution, in this case, is a deep dive into heat guns and thermal management. How do you bring a laptop back from the dead? [Dawning] shows you how.

Like the old XBox towel hack, the first thing to look for in dead electronics is broken solder balls. Of course, actually looking at broken solder balls is pretty hard, so you might as well just get out a heat gun and go at it. That’s exactly what [Dawning] did. With the clever application of an aluminum takeout tray to direct the heat flow, he blasted each of these chips with enough heat to hopefully melt all the balls.

With that, a working MacBook Pro was just a liberal application of thermal paste away. From $20 at the scrap heap to a working computer, [Dawning] did it. He successfully resuscitated a broken computer.

Apple Sucks Now, Here’s A ThinkPad Buyer’s Guide

For the last decade, Macs have been running a UNIX-ish operating system on x86 processors. They’ve been fantastic developer’s machines, and the MacBook Pro is the de facto standard laptop issued to all developers, all hackathon attendees, and arguably, anyone who does real work with a computer.

This week, Apple unveiled the latest MacBook Pro and provided more evidence Steve Jobs actually knew what he was doing. Fifteen hundred bones will get you a MacBook Pro with a last-gen processor, an Escape key, a headphone jack, and two Thunderbolt 3 ports (with one port required for charging). The next model up costs $1800, ditches the Escape key for a dedicated emoji bar, and includes four Thunderbolt 3 ports.

In the past, I have defended people who choose MacBooks as their laptop of choice. A MacBook is a business-class laptop, and of course carries a higher price tag. However, Apple’s latest hardware release was underwhelming and overpriced. If you’re looking for a new laptop, you would do well to consider other brands. To that end, here’s a buyer’s guide to ThinkPads, currently the second most popular laptop I’ve seen with the dev/hacker/code cracker crowd.

Continue reading “Apple Sucks Now, Here’s A ThinkPad Buyer’s Guide”

Top Ten Reasons Not To Buy A Fake MacBook Charger. Number Eight Will Shock You.

Yesterday, Apple showed the world how courageous they are by abandoning their entire PC market. It’s not time for a eulogy quite yet, but needless to say, Apple hardware was great, and the charger was even better. It had Magsafe, and didn’t start fires. What more could you ask for?

When it comes to fake MacBook chargers, you can ask for a lot more. [Ken Shirriff] has torn apart a number of these chargers, and his investigations allowed for an obvious pun in this post. The fake ones will make sparks thanks to the cost-saving design, and shouldn’t be used by anyone.

A genuine Apple MacBook charger is a phenomenal piece of engineering, but the fake one is not. In fact, it’s almost the simplest possible AC to DC converter. The mains power comes in, it’s chopped up into pulses, and these pulses are turned into a high-current, low-voltage output in a flyback transformer. This output is converted into DC with a few diodes, filtered, and wired into a MagSafe adapter.

The genuine MacBook charger is much more complicated. Like the cheap copy, it’s a switching power supply, but has a few features that make it much better. The genuine charger does power factor correction, uses quality caps, has real isolation on the PCB, and uses a microcontroller that’s almost as powerful (and a direct architectural descendant) as the CPU in the original Macintosh. It’s this microcontroller that kept you safe that one time you decided to lick a Magsafe connector not allowing the full 20 Volts to go through until the connector has connected. Until then, the Magsafe connector only outputs 0.6 Volts. The fake charger doesn’t do this, and when you poke the connector with a paper clip, sparks fly.

This isn’t [Ken]’s first teardown of genuine and not Apple products. He’s done iPad chargers, iPhone chargers, and other small, square, white switching power supplies. The takeaway from these teardowns is that cheap chargers are a false economy, and you probably should pony up the cash for the real version.

Hackaday Links: January 10, 2016

Everybody loves cheap stuff, and we hate telling everyone about coupon codes. That said, TI has a new LaunchPad development board they’re promoting. It’s based on the MSP432, the ARM extension of their MSP430 line. The MSP432 is an ARM Cortex M4F, low power, and planned for production later this year.

Here’s your daily CES garbage post. Through a collaboration between Sony and Nissan, a car has become a video game controller controller. A controller plugs into the ODB II port, reads throttle, brake, and steering wheel positions (and buttons on the dash/steering wheel, I guess), and translates that into controller input for a PlayStation 4. What games do they play with a car? You would think Gran Turismo, Rocket League, or other games with cars in them. Nope. Football.

Dangerous Prototypes is a legal Chinese company! [Ian] didn’t say anything about the process about becoming a legal Chinese company because he wrote a blog post, not a book. Shenzhen Dangerous Prototypes Electronics Technology Limited allows them to have an office in the Shenzhen electronics market, hire local and foreign hackers, host Hacker Camp Shenzhen, and allow people to apply for ‘Authorized Authority’ visa letters for the people who need them. Great news for a great company.

The Forge hackerspace in Greensboro, NC is growing. In just over a year they have 160 members and they’ve already outgrown their 3,400 square foot space. Now they’re moving to a larger space that’s twice the size and they’re looking for donations.

People have been taking old iPad screens and turning them into HDMI displays for years now. [Dave] got his mitts on a panel from a Macbook Pro 17″, and turned it into a monitor. It required a $50 LVDS adapter, but the end result is great – a 1920×1200 panel that looks pretty good.

Thorough Macbook Charger Teardown Reveals Some Complex Circuitry

Apple has a reputation in the tech world as being overpriced, and nowhere is that perception more common than in the Hackaday comments. The standard argument, of course, is that for a device with equivalent specs, Apple charges a lot more than its competitors. That argument is not without its flaws, especially when you consider factors other than simple specs like RAM and processor speed, and take into account materials used and build quality. But, as this teardown by [Ken Shirriff] shows, Apple’s attention to detail extends beyond simply machining Macbook bodies out of aluminum.

In his teardown, [Ken Shirriff] thoroughly investigates and describes all of the components and circuitry that go into the ubiquitous Macbook charger. Why does it cost $79? Other than the MagSafe connector, what makes it any better than the charger that came with your Toshiba Satellite in the ’90s? Isn’t it just a transformer to convert AC power to DC?


[Ken Shirriff] answers all of this and more, and you may be surprised by what he found. As it turns out, the Macbook charger isn’t just a transformer in a plastic case with a fancy magnetic connector. There is a lot of high-quality circuitry involved to make the power output as clean and stable as possible, and to avoid potential damage to your Macbook that could be caused by dirty power or voltage spikes. Does it justify the costs, even with so many reported failures? That’s for you to decide, but there is no questioning that Apple put more thought into their chargers than simply converting AC to DC.