Raspberry Pi $2 WiFi Through Epic SDIO Hack

These are the times that we live in: the Raspberry Pi Zero comes out — a full freaking Linux computer on a chip for $5 — and people complain that it doesn’t have this or that. Top place on the list of desiderata is probably a tie between audio out and WiFi connectivity. USB is a solution for both of these, but with one USB port it’s going to be a scarce commodity, so any help is welcome.

Hackaday.io hacker [ajlitt] is looking for a way out of the WiFi bind. His solution? The Raspberry Pi series of chips has a special function on a bunch of the GPIO pins that make it easier to talk to SDIO devices. SDIO is an extension of the SPI-like protocol that’s used with SD memory cards. The idea with SDIO was that you could plug a GPS or something into your PDA’s SD card slot. We don’t have PDAs anymore, but the SDIO spec remains.

[ajlitt] dug up an SDIO driver for the ESP8089 chip, and found that you can liberate the ESP8266’s SPI bus by removing a flash memory chip that’s taking up the SPI lines. Connect the SPI lines on the ESP8266 to the SDIO lines on the Raspberry Pi, and the rest is taken care of by the drivers. “The rest”, by the way, includes bringing the ESP’s processor up, dumping new firmware into it over the SPI/SDIO lines to convince it to act as an SDIO WiFi adapter, and all the rest of the hardware communication stuff that drivers do.

The result is WiFi connectivity without USB, requiring only some reasonably fine-pitch soldering, and unlike this hack you don’t have to worry about USB bus contention. So now you can add a $2 WiFi board to you $5 computer and you’ve still got the USB free. It’s not as fast as a dedicated WiFi dongle, but it gets the job done. Take that, Hackaday’s own [Rud Merriam]!

Thanks [J0z0r] for the tip!

Embed With Elliot: Debounce Your Noisy Buttons, Part I

“Psst…hey buddy! Wanna see the sweetest little debouncing routine this side of Spokane? C’mon over here. Step right over those bit-shift operators, they don’t bite. Now look at this beauty right here: I call her The Ultimate Debouncer(tm)!”

Everybody who works with microcontrollers eventually runs into the issue of switch bounce or “chatter”, and nearly everyone has their own favorite solution. Some fix it in hardware, others fix it in software. Some hackers understand chatter, and others just cut-and-paste the classic routines. Some folks even try to ignore it, and they might even get lucky, but everyone’s luck runs out sometimes.

In the next two “Embed with Elliot” installments, I’ll look a little bit at bouncing, look into doing hardware debouncing both the simple way and the right way, and build up a basic software routine that demonstrates some of the principles and which works just fine, though it’s not optimized. We’ll be laying the groundwork.

In the next installment, I’ll let you in on my personal favorite debounce routine. It’s a minor tweak on a standard, but with some special sauce that’s worth spreading around. I’ll call it the Ultimate Debouncer(tm), but will it stand up to the scrutiny of the Hackaday commenteers? (How’s that for a cliffhanger?!?)

For now, though, let’s look into switch bounce and the standard ways to fix it in hardware and software.

Continue reading “Embed With Elliot: Debounce Your Noisy Buttons, Part I”

More ESP32 Info Dribbles Out

In case you’ve been hiding under a virtual rock over the last two years, you might have missed it when Espressif turned the IoT game on its head by releasing a chip with WiFi and a decent embedded processor for under $1 in bulk, and costing not much more than that in a module.

They’re looking to repeat the success of the ESP8266 with the ESP32, that should be coming out any time now. As we get closer to the release date, details start to dribble out. [Alberto], who makes very nice-looking pinout diagrams for a number of our favorite chips and modules, has already made us an ESP32 module pinout diagram.

And [Rudi] has been digging up nearly every crumb of info on the ESP32 that’s publicly available. For instance, it was through his website that we learned that the new RTOS SDK source is already up on GitHub.

There’s also a source of official information in the ESP32 forum, but there’s not much news there just yet. We expect this to change as more beta units make it out into the wild.

We covered the announcement of the forthcoming ESP32 last month, and we have to say that we’re looking forward to getting a module or two in our hands. Twin cores, BTLE support, and better DMA are tops on our list of neat features.

Biometric Bracelet Electrifies You To Unlock Your Tablet

Researchers [Christian Holz] and [Marius Knaust] have come up with a cool new way to authenticate you to virtually any touchscreen device. This clever idea couples a biometric sensor and low-data-rate transmitter in a wearable wrist strap that talks to the touch screen by electrifying you.

Specifically the strap has electrodes that couple a 50V, 150kHz signal through your finger, to the touchscreen. The touchscreen picks up both your finger’s location through normal capacitive-sensing methods and the background signal that’s transmitted by the “watch”. This background signal is modulated on and off, transmitting your biometric data.

The biometric data itself is the impedance through your wrist from one electrode to another. With multiple electrodes encircling your wrist, they end up with something like a CAT scan of your wrist’s resistance. Apparently this is unique enough to be used as a biometric identifier. (We’re surprised.)

Continue reading “Biometric Bracelet Electrifies You To Unlock Your Tablet”

Laser Cut-and-Weld Makes 3D Objects

Everybody likes 3D printing, right? But it’s slow compared to 2D laser cutting. If only there were a way to combine multiple 2D slices into a 3D model. OK, we know that you’re already doing it by hand with glue and/or joints. But where’s the fun in that?

LaserStacker automates the whole procedure for you. They’ve tweaked their laser cutter settings to allow not just cutting but also welding of acrylic. This lets them build up 3D objects out of acrylic slices with no human intervention by first making a cutting pass at one depth and then selectively re-welding together at another. And they’ve also built up some software, along with a library of functional elements, that makes designing these sort of parts easier.

There’s hardly any detail on their website about how it works, so you’ll have to watch the video below the break and make some educated guesses. It looks like they raise the cutter head upwards to make the welding passes, probably spreading the beam out a bit. Do they also run it at lower power, or slower? We demand details!

Anyway, check out the demo video at 3:30 where they run through the slice-to-depth and heal modes through their paces. It’s pretty impressive.

Continue reading “Laser Cut-and-Weld Makes 3D Objects”

Sudden Death Night Light Sounds Scary, Is Sweet

We have to admit that we were mislead by the title “Sudden Death: Wall Sign + Night Light”. This naturally conjured up images of deadly night lights, but the truth turned out to be a lot less fatal: [Smerfj] had two weeks to make a present for a friend’s wedding. The project was either a go or a no-go depending on the deadline — that sort of sudden death. But as we all know, deadlines have a way of bringing the motivation out of us that’s not always bad.

The night light in question is a bunch of hand-made circuits, each stuffed into a wooden slice with a letter burned on the face, spelling out [Smerfj]’s friend’s name. But to really appreciate it, you have to dig through the build details.

55461447189465844We didn’t know how to burn precise lettering into wood. [Smerfj] covered the wood in metal foil tape, then cut the letters out of the foil. Now applying the torch blackens only the part of the logs that have tape removed. Slick.

To get accurate lettering cut into the aluminum tape, [Smerfj] made an impromptu projector out of a cell phone taped to a chandelier (approximately a point light source) and a stencil suspended somewhere between the chandelier and the wood target. Naturally, this is best done in a darkened room under tight deadline pressure.

The battery holders are fantastic. Springs from commercial battery holders were soldered to enamel wire and placed in holes drilled just the width of AA batteries. With the length of the battery taken into account, channels were drilled into the wood and copper wires jammed through, holding the batteries in place, and providing the other electrical contact. Brilliant.

And finally, the free-form night light circuits are great. Fine-tuned to draw the minimum current, they’re adjusted to the specific LEDs and phototransistors that [Smerfj] had on hand. Bespoke free-form electronics in hand-blackened wood. That’s a nice gift.

Now [Smerfj] just needs nice packaging to present them in. We’re thinking DIY laser-cut boxes with interior lighting, naturally.

Airport Land Art Is (Acoustic) Baffling

According to an article in the Smithsonian magazine, these geometrically arranged hills aren’t landing signs for extra-terrestrials, but instead effectively sound baffles worked into the ground behind a runway at Amsterdam’s Schipol airport.

Photo by Alexis Glass, via Wikipedia
Photo by Alexis Glass, via Wikipedia

The 80 acres of hills and valleys are called the Buitenschot ‘land art park’ and supposedly reduce noise in the nearby neighborhood by around 50%. They work by sending the reflections in random directions that would otherwise skip off of the ground, just like anti-echo baffles in a sound studio. A nice touch for the local residents, they also contain jogging trails.

People have made land art before — we particularly like Spiral Jetty in the Great Salt Lake — but as far as we know this is the first land art “piece” that’s also functional.

Beauty is in the eye of the beholder, of course. Unfortunately, as the Smithsonian notes, nobody is beholding it. Because Buitenschot aims to diffuse the takeoff noise coming out of the rear of the planes, they are always flying away from it; passengers don’t get to see it from the air.