USB-less WiFi For The Pi Zero

Since the introduction of the Raspberry Pi Zero, the hacker, maker, and hobbyist electronics world has been thrown into turmoil. ‘The Raspberry Pi Foundation is corrupt,’ the detractors said, ‘and the Pi Zero is just a marketing ploy to get their name out.’ Others chimed in that the Raspberry Pi Zero doesn’t even exist. Despite what a million monkeys on a million keyboards say, the Raspberry Pi Zero does exist and is very cool, despite how limited it is. There’s only one USB port, but that doesn’t mean you can’t have WiFi. [ajlitt] came up with a WiFi hat for the Pi Zero that goes right through the GPIO pins, and shouldn’t cost more than a few dollars to implement on any Raspberry Pi.

There is no Ethernet port on the Pi, and apart from a single USB OTG port, no apparent high-speed interfaces to the outside world. On the other hand, there’s a few things hidden deep down in the SoC on the Pi including two MMC controllers. One of these controllers is used for the SD card, but the second can be broken out on a few GPIO pins. By tapping into those pins and configuring the kernel just right, SDIO is available on the GPIO pins, giving the Pi WiFi through a cheap ESP8266 module.

We’ve seen [ajlitt]’s work on SDIO devices on the Pi before, but he’s slowly been reworking this build with the Pi Zero in mind. It didn’t begin as a project for the Hackaday Prize, but already it’s one of the more popular entries so far. Of course there are thousands of projects on Hackaday.io that aren’t entered into the Hackaday Prize this year, and if you’re behind one of those, this is your call to step up.

The HackadayPrize2016 is Sponsored by:

Pine64: The Un-Review

Even before the announcement and introduction of the Raspberry Pi 3, word of a few very powerful single board ARM Linux computers was flowing out of China. The hardware was there – powerful 64-bit ARM chips were available, all that was needed was a few engineers to put these chips on a board, a few marketing people, and a contract manufacturer.

One of the first of these 64-bit boards is the Pine64. Introduced to the world through a Kickstarter that netted $1.7 Million USD from 36,000 backers, the Pine64 is already extremely popular. The boards are beginning to land on the doorsteps and mailboxes of backers, and the initial impressions are showing up in the official forums and Kickstarter campaign comments.

I pledged $15 USD to the Pine64 Kickstarter, and received a board with 512MB of RAM, 4K HDMI, 10/100 Ethernet and a 1.2 GHz ARM Cortex A53 CPU in return. This post is not a review, as I can’t fully document the Pine64 experience. My initial impression? This is bad. This is pretty bad.

Continue reading “Pine64: The Un-Review”

Save A Spaceship With Spacehack!

York Hackspace needed a demonstration piece to grace their stand at Maker Faires and similar events. Their solution was Spacehack, a multi-player control console based starship emergency simulator game. Each Spacehack player has console with a selection of displays, switches, dials, and levers. Players must operate their controls in response to a series of sometimes confusing commands the game supplies them from their fellow crew members. Each wrong move brings the disaster-prone ship closer to destruction, and the aim is to keep it spaceworthy for as long as possible. The result is an engaging and addictive draw for the hackspace.

Behind the brilliantly designed consoles, silver ducting and pyramidal hub box the game relies on a Raspberry Pi acting as a server and a Beaglebone Black for each player. All resources can be found on York Hackspace’s GitHub repository. The hackspace has a selection of videos on the Spacehack website, the one below the break shows the game as well as a montage of its construction. Continue reading “Save A Spaceship With Spacehack!”

Digital Logging Of Analog Instruments

The only useful data you’ll ever find is already digitized, but a surprising number of gauges and meters are still analog. The correct solution to digitizing various pressure gauges, electric meters, and any other analog gauge is obviously to replace the offending dial with a digital sensor and display. This isn’t always possible, so for [Egar] and [ivodopiviz]’s Hackaday Prize entry, they’re coming up with a way to convert these old analog gauges to digital using a Raspberry Pi and a bit of computer vision.

The idea behind this instrument digitizer isn’t to replace the mechanics and electronics, as we are so often wont to do. Instead, this team is using a 3D printed bracket that mounts a Raspberry Pi and camera directly in front of an analog gauge. Combine this contraption with OpenCV, and you have a device that’s just smart enough to look at a needle on a dial, convert that to a number, and save it to a file or send it out over WiFi.

It’s an extremely simple device for what [Egar] and [ivodopiviz] admit is a relatively niche application. However, if you only need digital measurements of an analog meter for a month or so, or you don’t want to mess up your steampunk decor, it’s an ingenious build.

The HackadayPrize2016 is Sponsored by:

Weight Tracking, Wise Cracking IoT Bathroom Scale

For those fighting the battle of the bulge, the forced discipline of fitness bands and activity tracking software might not be enough motivation. Some who are slimming down need a little gentle encouragement to help you lose weight and keep it off. If that sounds like you, then by all means avoid building this weight-tracking IoT scale with an attitude.

Then again, if you live in fear of your scale, [Jamie Bailey]’s version is easy to hate, at least when your numbers are going in the wrong direction. Centered around a second-hand Wii Balance Board talking to a Raspberry Pi via Bluetooth, the scale really only captures your weight and sends it up to InitialState for tracking and feedback. Whether the feedback is in the form of jokes at your expense is, of course, is entirely up to you; if you’d rather get gentle nudges and daily affirmations, just edit a few files. Or if your tastes run more toward “Yo momma so fat” jokes, have at it.

Bathroom scales are a good hacking target, whether it’s reverse engineering a digital scale or eavesdropping on a smart scale. This build is snarky good fun, and if nothing else, it’s good for pranking your roommate. Unless your roommate is your husband or wife, of course. That’s just – no.

A Star Tracking Telescope Mount

[Chris] recently got his hands on an old telescope. While this small refractor with an altitude-azimuth mount is sufficient for taking a gander at big objects in our solar system, high-end telescopes can be so much cooler. Large reflecting telescopes can track the night sky for hours, and usually come with a computer interface and a GOTO button. Combine this with Stellarium, the open source sky map, and you can have an entire observatory in your back yard.

For [Chris]’ entry into the 2016 Hackaday Prize, he’s giving his old telescope an upgrade. With a Raspberry Pi, a few 3D printed adapters, and a new telescope mount to create a homebrew telescope computer.

The alt-az mount really isn’t the right tool for the astronomical job. The earth spins on a tilted axis, and if you want to hold things in the night sky still, it has to turn in two axes. An equatorial mount is much more compatible with the celestial sphere. Right now, [Chris] is looking into a German equatorial mount, a telescope that is able to track an individual star through the night sky using only a clock drive motor.

To give this telescope a brain, he’ll be using a Raspberry Pi, GPS, magnetometer, and ostensibly a real-time clock to make sure the build knows where the stars are. After that, it’s a simple matter of pointing the telescope via computer and using a Raspberry Pi camera to peer into the heavens with a very, very small image sensor.

While anyone with three or four hundred dollars could simply buy a telescope with similar features, that’s really not the point for [Chris], or for amateur astronomy. There is a long, long history of amateur astronomers building their own mirrors, lenses, and mounts. [Chris] is just continuing this very long tradition, and in the process building a great entry for the 2016 Hackaday Prize

The HackadayPrize2016 is Sponsored by:

CarontePass: Open Access Control For Your Hackerspace

A problem faced by all collaborative working spaces as they grow is that of access control. How can you give your membership secure access to the space without the cost and inconvenience of having a keyholder on site at all times.

[Torehc] is working on solving this problem with his CarontePass RFID access system, at the Kreitek Makerspace (Spanish, Google Translate link) in Tenerife, Canary Islands.

Each door has a client with RFID readers, either a Raspberry Pi or an ESP8266, which  connects via WiFi to a Raspberry Pi 2 server running a Django-based REST API. This server has access to a database of paid-up members and their RFID keys, so can issue the command to the client to unlock the door. The system also supports the Telegram messaging service, and so can be queried as to whether the space is open and how many members are in at a particular time.

All the project’s resources are available on its GitHub repository, and there is a project blog (Spanish, Google Translate link) with more details.

This is a project that is still in active development, and [Torehc] admits that its security needs more work so is busy implementing HTTPS and better access security. As far as we can see through the fog of machine translation at the moment it relies on the security of its own encrypted WiFi network, so we’d be inclined to agree with him.

This isn’t the first hackerspace access system we’ve featured here. The MakerBarn in Texas has one using the Particle Photon, while the Lansing Makers Network in Michigan have an ingenious mechanism for their door, and the Nesit hackerspace in Connecticut has a very fancy system with video feedback. How does your space solve this problem?

The HackadayPrize2016 is Sponsored by: