Hackaday Links Column Banner

Hackaday Links: September 24, 2017

This is it. After twelve years we finally have a new Star Trek. Star Trek: Discovery (we’re using ST:DSC as the abbreviation) is airing right about when this post goes up. Next week, you’ll have to pay CBS $6USD a month to get your Star Trek fix, and today might be the last time a new episode of Star Trek is aired on broadcast TV ever. Enjoy it now, and hope the theme song doesn’t have lyrics. Also, hope The Orville is a tenth as good as a Galaxy Quest series could be.

What’s the best way to describe Delta Sigma PLLs? The Cat In The Hat (PDF, page 31). [Dr. Tune] found a Seuss reference in a TI app note. Personally, I’m a fan of hand-drawn cartoons, but we’ll take what we can get.

This weekend the Prusa I3 MK3 was announced. A good printer just got better. Now here’s the video.

The Raspberry Pi is a great media storage device, but it’s absolutely insufficient for audiophile tomfoolery. Here’s a neat Pi DAC/amp/DSP thingy. The VoltaStream turns the Raspberry Pi into a WiFi-connected pair of speakers with low-latency audio in and a TOSLINK connector.

SpaceX! There is serious consideration being given to starting an ‘Elon Musk column’ here on Hackaday. There will be SpaceX updates coming this week from the International Astronautical Congress in Adelaide. What will we find out? I don’t know bruh, but I just got back from Burning Man and I realized it was a whole lot like Mars and I was wondering Elon, like, have you ever been to Burning Man because it’s really dusty and a whole lot like Mars and there’s not much water… Please, organizers of the IAC, I implore you: give more idiots microphones. That was hilarious.

How was the World Maker Faire in New York this weekend? In one word, empty. Abnormally so. Maker Faire was not as crowded as last year, and you could actually move around. My agoraphobia didn’t kick in until the afterparties, and lines for the $5 bottles of water were short. Bay Area Faire attendance was down 16% from 2016-2017, and I would bet attendance for the NY Faire would be down a similar amount. Even a 10% decline in attendance would be noteworthy; the weather last year was cold and rainy and this year was beautiful. There are rumors, speculation, and people wondering how long Maker Faire will continue, but except for Intel pulling out of the maker market, no actual information. Millennials are killing the Maker Faire industry?

An Unconference Badge That’s Never Gonna Give You Up

When your publication is about to hold a major event on your side of the world, and there will be a bring-a-hack, you abruptly realise that you have to do just that. Bring a hack. With the Hackaday London Unconference in the works this was the problem I faced, and I’d run out of time to put together an amazing PCB with beautiful artwork and software-driven functionality to amuse and delight other attendees. It was time to come up with something that would gain me a few Brownie points while remaining within the time I had at my disposal alongside my Hackaday work.

Since I am a radio enthusiast at heart, I came up with the idea of a badge that the curious would identify as an FM transmitter before tuning a portable radio to the frequency on its display and listening to what it was sending. The joke would be of course that they would end up listening to a chiptune version of [Rick Astley]’s “Never gonna give you up”, so yes, it was going to be a radio Rickroll.

The badge internals.
The badge internals.

I evaluated a few options, and ended up with a Raspberry Pi Zero as an MP3 player through its PWM lines, feeding through a simple RC low-pass filter into a commercial super-low-power FM transmitter module of the type you can legally use with an iPod or similar to listen on a car radio. To give it a little bit of individuality I gave the module an antenna, a fractal design made from a quarter wavelength of galvanised fence wire with a cut-off pin from a broken British mains plug as a terminal. The whole I enclosed in a surplus 8mm video cassette case with holes Dremmeled for cables, with the FM module using its own little cell and the Pi powered from a mobile phone booster battery clipped to its back. This probably gave me a transmitted field strength above what it should have been, but the power of those modules is so low that I am guessing the sin against the radio spectrum must have been minor.

At the event, a lot of people were intrigued by the badge, and a few of them were even Rickrolled by it. But for me the most interesting aspect lay not in the badge itself but in its components. First I looked at making a PCB with MP3 and radio chips, but decided against it when the budget edged towards £20 ($27). Then I looked at a Raspberry Pi running PiFM as an all-in-one solution with a little display HAT, but yet again ran out of budget. An MP3 module, Arduino clone, and display similarly became too expensive. Displays, surprisingly, are dear. So my cheapest option became a consumer FM module at £2.50 ($3.37) which already had an LCD display, and a little £5 ($6.74) computer running Linux that was far more powerful than the job in hand demanded. These economics would have been markedly different had I been manufacturing a million badges, but made a mockery of the notion that the simplest MCU and MP3 module would also be the cheapest.

Rickrolling never gets old, it seems, but evidently it has. Its heyday in Hackaday projects like this prank IR repeater seems to have been in 2012.

Hackaday Links Column Banner

Hackaday Links: September 17, 2017

BREAKING NEWS: APPLE HAS RELEASED A NEW RECTANGLE. IT IS BETTER THAN THE PREVIOUS RECTANGLE, WHICH WAS A LESSER RECTANGLE. SOME PEOPLE ARE UNHAPPY WITH THE NEW RECTANGLE BECAUSE OF [[CHANGES]]. THE NEW RECTANGLE HAS ANIMATED POO.

Mergers and acquisitions? Not this time. Lattice Semiconductor would have been bought by Canyon Bridge — a private equity firm backed by the Chinese government — for $1.3B. This deal was shut down by the US government because of national security concerns.

[Jan] is the Internet’s expert in doing synths on single chips, and now he has something pretty cool. It’s a breadboard synth with MIDI and CV input. Basically, what we’re looking at is [Jan]’s CVS-01 chip for a DCO, DCF, and DCA), a KL5 chip for an LFO, and an envelope chip. Tie everything together with a two-octave captouch keyboard, and you have a complete synthesizer on a breadboard.

As an aside relating to the above, does anyone know what the cool kids are using for a CV/Gate keyboard controller these days? Modular synths are making a comeback, but it looks like everyone is running a MIDI keyboard into a MIDI-CV converter. It seems like there should be a –simple, cheap– controller with quarter-inch jacks labeled CV and Gate. Any suggestions?

World leaders are tweeting. The Canadian PM is awesome and likes Dark Castle.

Way back in July, Square, the ‘POS terminal on an iPad’ company posted some data on Twitter. Apparently, fidget spinner sales peaked during the last week of May, and were declining through the first few weeks of summer. Is this proof the fidget spinner fad was dead by August? I have an alternate hypothesis: fidget spinner sales are tied to middle schoolers, and sales started dropping at the beginning of summer vacation. We need more data, so if some of you could retweet this, that would be awesome.

Remember [Peter Sripol], the guy building an ultralight in his basement? This is going to be a five- or six-part video build log, and part three came out this week. This video features the installation of the control surfaces, the application of turnbuckles, and hardware that is far too expensive for what it actually is.

The Things Network Sets 702 Km Distance Record For LoRaWAN

Many of us will have at some time over the last couple of years bought a LoRaWAN module or two to evaluate the low power freely accessible wireless networking technology. Some have produced exciting and innovative projects using them while maybe the rest of us still have them on our benches as reminders of projects half-completed.

If your LoRaWAN deployment made it on-air, you’ll be familiar with the range that can be expected. A mile or two with little omnidirectional antennas if you are lucky. A few more miles if you reach for something with a bit of directionality. Add some elevation, and range increases.

A couple of weeks ago at an alternative society festival in the Netherlands, a balloon was launched with a LoRaWAN payload on board that was later found to have made what is believed to be a new distance record for successful reception of a LoRaWAN packet. While the balloon was at an altitude of 38.772 km (about 127204.7 feet) somewhere close to the border between Germany and the Netherlands, it was spotted by a The Things Network node in Wroclaw, Poland, at a distance of 702.676km, or about 436 miles. The Things Network is an open source, community driven effort that has built a worldwide LoRaWAN network.

Of course, a free-space distance record for a balloon near the edge of space might sound very cool and all that, but it’s not going to be of much relevance when you are wrestling with the challenge of getting sensor data through suburbia. But it does provide an interesting demonstration of the capabilities of LoRaWAN over some other similar technologies, if a 25mW (14dBm) transmitter can successfully send a packet over that distance then perhaps it might be your best choice in the urban jungle.

If you’re curious about LoRaWAN, you might want to start closer to home and sniff for local activity.

Hackaday Links Column Banner

Hackaday Links: September 10, 2017

Hackaday is 13! We’re going through a bit of a rebellious phase. There’s hair where there wasn’t hair before. Thirteen years ago (Sept. 5, 2004), [Phil Torrone] published the first Hackaday Post. [Phil] posted a great writeup of the history of Hackaday over on the Adafruit blog — we were saved from the AOL borg because of the word ‘hack’ — and interviewed the former and current editors of your favorite DIY website. Here’s to 13 more years and to [Phil] finding a copy of the first version of the Jolly Wrencher designed in Macromedia Flash.

Hackaday is having an unconference in the UK! Tickets for next weekend’s event went fast, but don’t worry — we’re hosting a Bring A Hack the day before.

Hurricanes are an awesome force of nature. As we learned from Harvey a week ago, livestreamed footage from the eyewall of a hurricane is fascinating. [Jeff Piotrowski] seems to be the streamer of choice. If you’re looking for something to gawk at, here you go.

Another burn is over, and I still have no idea how they moved the fuselage of a 747 from Palmdale to the playa.

You know we’re doing this whole Hackaday Prize thing where we’re giving a ton of money to people for creating cool hardware, right? We’re almost done with that. The last round of The Hackaday Prize is going on right now. The theme is anything goes, or rather there is no theme. The goal of this round is to build cool stuff. This round ends on October 16th, and yes, we’ll have the results for the Assistive Technologies round out shortly.

[Prusa] makes a lot of printers, and that means he needs to make a lot of parts to make a lot of printers. Obviously, a PTFE-cutting robot is the solution to this problem

October 5th is the Open Source Hardware Summit in Denver. Hackaday and Tindie are going, and it’s going to be a blast.  The location has moved in the last week — now it’s about half a mile away from the old venue. The speaker schedule is up, board nominations are open, and somewhere, someone is organizing a Lulzbot/Sparkfun booze cruise the day after the summit. I should be getting a van to add capacity to this trip, so if you’re interested leave a note in the comments.

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”

Hackaday Prize Entry: SNAP Is Almost Geordi La Forge’s Visor

Echolocation projects typically rely on inexpensive distance sensors and the human brain to do most of the processing. The team creating SNAP: Augmented Echolocation are using much stronger computational power to translate robotic vision into a 3D soundscape.

The SNAP team starts with an Intel RealSense R200. The first part of the processing happens here because it outputs a depth map which takes the heavy lifting out of robotic vision. From here, an AAEON Up board, packaged with the RealSense, takes the depth map and associates sound with the objects in the field of view.

Binaural sound generation is a feat in itself and works on the principle that our brains process incoming sound from both ears to understand where a sound originates. Our eyes do the same thing. We are bilateral creatures so using two ears or two eyes to understand our environment is already part of the human operating system.

In the video after the break, we see a demonstration where the wearer doesn’t need to move his head to realize what is happening in front of him. Instead of a single distance reading, where the wearer must systematically scan the area, the wearer simply has to be pointed the right way.

Another Assistive Technology entry used the traditional ultrasonic distance sensor instead of robotic vision. There is even a version out there for augmented humans with magnet implants covered in Cyberpunk Yourself called Bottlenose.

Continue reading “Hackaday Prize Entry: SNAP Is Almost Geordi La Forge’s Visor”