Bringing Back The IPhone7 Headphone Jack

Plenty of people bemoaned Apple’s choice to drop the 1/8″ headphone jack from the iPhone 7. [Scotty Allen] wasn’t happy about it either, but he decided to do something about it: he designed a custom flex circuit and brought the jack back. If you don’t recognize [Scotty], he’s the same guy who built an iPhone 6 from parts obtained in Shenzhen markets. Those same markets were now used to design, and prototype an entirely new circuit.

The iPhone 7 features a barometric vent, which sits exactly where the headphone jack lived in the iPhone 6. The vent helps the barometric pressure sensor obtain an accurate reading while keeping the phone water proof. [Scotty] wasn’t worried about waterproofing, as he was cutting a hole through the case. The vent was out, replaced with a carefully modified headphone jack.

The next step was convincing the phone to play analog signals. For this, [Scotty] used parts from Apple’s own headphone adapter. The hard part was making all of this work and keeping the lightning port available. The key was a digital switch chip. Here’s how the circuit works:

When no headphone is plugged in, data is routed from the iPhone’s main board to the lightning port. When headphones are plugged in, the data lines are switched to the headphone adapter. Unfortunately, this means the phone can’t play music and charge at the same time — that is something for version 2.0.

The real journey in this video is watching [Scotty] work to fit all these parts inside an iPhone case. The design moved from a breadboard through several iterations of prototype printed circuit boards. The final product is built using a flexible PCB – the amber-colored Kapton and copper sandwiches that can be found in every mobile device these days.

Making everything fit wasn’t easy. Two iPhone screens perished in the process. But ultimately, [Scotty] was successful. He’s open sourced his design so the world can build and improve on it.

Want to read more about the iPhone 7 and headphone jacks? Check out this point and counterpoint.  we published on the topic.

Continue reading “Bringing Back The IPhone7 Headphone Jack”

Detecting Dire Diseases – With A Selfie?

They say the eyes are the windows to the soul. But with a new smartphone app, the eyes may be a diagnostic window into the body that might be used to prevent a horrible disease — pancreatic cancer. A research team at the University of Washington led by [Alex Mariakakis] recently described what they call “BiliScreen,” a smartphone app to detect pancreatic disease by imaging a patient’s eyes.

Pancreatic cancer is particularly deadly because it remains asymptomatic until it’s too late. One early symptom is jaundice, a yellow-green discoloration of the skin and the whites of the eyes as the blood pigment bilirubin accumulates in the body. By the time enough bilirubin accumulates to be visible to the naked eye, things have generally progressed to the inoperable stage. BiliScreen captures images of the eyes and uses image analysis techniques to detect jaundice long before anyone would notice. To control lighting conditions, a 3D-printed mask similar to Google’s Cardboard can be used; there’s also a pair of glasses that look like something from [Sir Elton John]’s collection that can be used to correct for ambient lighting. Results look promising so far, with BiliScreen correctly identifying elevated bilirubin levels 90% of the time, as compared to later blood tests. Their research paper has all the details (PDF link).

Tools like BiliScreen could really make a difference in the early diagnosis and prevention of diseases. For an even less intrusive way to intervene in disease processes early, we might also be able to use WiFi to passively detect Parkinson’s.

Continue reading “Detecting Dire Diseases – With A Selfie?”

Shoot The Eclipse With A Phone And Do Not Go Blind

So you want to photograph Eclipse 2017 but you don’t want to rush out and buy an expensive DSLR just for the event? Not a problem, if you build this simple smartphone filter and occluder.

It all started innocently enough for [Paul Bryson] with his iPhone and a lens from those cheap cardboard eclipse glasses we’re starting to see everywhere. Thinking that just taping the filter over the stock lens would do, [Paul] got a painful faceful of sunshine when he tried framing a shot. Turns out the phone body was not big enough to blot out the sun, and besides, the stock lens doesn’t exactly make for a great shot. So with an iPhone telephoto lens affixed to a scrap of wood and a properly positioned filter, [Paul] has a simple rig that’ll let him get some great pre-totality shots of the eclipse, and it’ll be easy to bust out the phone for two minutes of totality selfies. Looks like this setup would be easy to adapt to other phones, too.

We’re all over Eclipse 2017, from Hackaday Eclipse Meetups in at least four different points along the path of totality to experiments on relativity to citizen science efforts so you can get in on the action too. Mark your calendars – August 21 will be here before you know it.

Siri Controls Your PC Through Python And Gmail

Voice-based assistants are becoming more common on devices these days. Siri is known for being particularly good at responding to natural language and snarky responses. In comparison, Google’s Assistant is only capable of the most obvious commands, and this writer isn’t even sure Microsoft’s Cortana can understand English at all. So it makes sense then, if you want voice control for your PC, to choose Siri as your weapon of choice. [Sanjeet] is here to help, enabling Siri to control a PC through Python.

The first step is hooking up the iPhone’s Notes app to a Gmail account. [Sanjeet] suggests using a separate account for security reasons, as you’ll need to place the username and password in a Python script. The Python script checks the Gmail account every second, looking for new Notes from the iPhone. Then, it’s as simple as telling Siri to make a Note (for example, “Siri, Note shutdown”) and the Python script can then pick up the command, and act accordingly.

It’s a quick and easy way to get Siri to do your bidding. There’s other fancy ways to do it, too — like capturing Siri’s WiFi data on your home network.

Defeat The Markup: Iphone Built By Cruising Shenzhen

[Scotty Allen] from Strange Parts, has just concluded a three month journey of what clearly is one of the most interesting Shenzhen market projects we have seen in a while. We have all heard amazing tales, pertaining the versatility of these Chinese markets and the multitude of parts, tools and expertise available at your disposal. But how far can you really go and what’s the most outrageous project can you complete if you so wished? To answer this question, [Scotty] decided to source and assemble his own Iphone 6S, right down to the component level!

The journey began by acquiring the vehemently advertised, uni-body aluminium back, that clearly does not command the same level of regard on these Chinese markets when compared to Apple’s advertisements. [Scotty’s] vlog shows a vast amount of such backings tossed as piles in the streets of Shenzhen. After buying the right one, he needed to get it laser etched with all the relevant US variant markings. This is obviously not a problem when the etching shop is conveniently situated a stones throw away, rather simplistically beneath a deck of stairs.

Next came the screen assembly, which to stay true to the original cause was purchased individually in the form of a digitizer, the LCD, back-light and later casually assembled in another shop, quicker than it would take you to put on that clean room Coverall, you thought was needed to complete such a job.

[Scotty] reports that sourcing and assembling the Logic board proved to be the hardest part of this challenge. Even though, he successfully  purchased an unpopulated PCB and all the Silicon; soldering them successfully proved to be a dead end and instead for now, he purchased a used Logic board. We feel this should be absolutely conquerable if you possessed the right tools and experience.

All the other bolts and whistles were acquired as separate components and the final result is largely indistinguishable from the genuine article, but costs only $300. This is not surprising as Apple’s notorious markup has been previously uncovered in various teardowns.

Check out [Scotty’s] full video that includes a lot of insight into these enigmatic Shenzhen Markets. We sure loved every bit of it. Now that’s one way get a bargain!

Continue reading “Defeat The Markup: Iphone Built By Cruising Shenzhen”

Pi Zero W Impersonates IPhone, Becomes Terminal

There’s something to be said for economies of scale and few things sell more than cell phones. Maybe that’s why [NODE] took inspiration from an iPhone slide out keyboard case to create this Pi Zero W-based portable terminal. This is actually his third iteration, and in the video below he explains why he has built the new version.

By housing the custom bits in a 3D-printed frame that is size compatible with the iPhone, [NODE] manages to leverage the slick slide out keyboard cases available for the phone. The iPhone in question is an older iPhone 5, so the cases are inexpensive, compared to the latest generation. On the other hand, the iPhone 5 is recent enough that it shouldn’t be hard to find a compatible case.

The circuitry itself is pretty straightforward: a battery, a charge controller, and an LCD display. The only complaint we could see was the lack of a control key on the keyboard.

Continue reading “Pi Zero W Impersonates IPhone, Becomes Terminal”

The Joy Of The ESP8266 And Blynk

I’ll admit it. I can be a little cheap. I also find it hard to pass up a bargain. So when I saw a robot kit at the local store that had been originally $125 marked down to $20, I had to bite. There was only one problem. After I got the thing home, I found they expected you to supply your own radio control transmitter and receiver.

Normally, that wouldn’t be a problem but lately… let’s just say a lot of my stuff is in storage and I didn’t have anything handy. I certainly didn’t want to go buy something that would double the cost of this robot that I really didn’t need to begin with.

However, I did have a few ESP8266 modules handy. Good ones, too, from Adafruit with selected 5 V I/O compatibility and an onboard regulator. I started thinking about writing something for the ESP8266 to pick up data from, say, a UDP packet and converting it into RC servo commands.

joymainSeemed like a fair amount of work and then I remembered that I wanted to try Blynk. If you haven’t heard of Blynk, it is a user interface for Android and Apple phones that can send commands to an embedded system over the Internet. You usually think of using Blynk with an Arduino, but you can also program the embedded part directly on an ESP8266. I quickly threw together a little prototype joystick.
Continue reading “The Joy Of The ESP8266 And Blynk”