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:

Custom Media Player Helps Hacker’s Autistic Son

Getting to play with technology is often the only justification a hacker needs to work on a build. But when your build helps someone, especially your own special-needs kid, hacking becomes a lot more that playing. That’s what’s behind this media player customized for the builder’s autistic son.

People generally know that the symptoms of autism cover a broad range of behaviors and characteristics that center around socialization and communication. But a big component of autism spectrum disorders is that kids often show very restricted interests. While [Alain Mauer] doesn’t go into his son [Scott]’s symptoms, our guess is that this media player is a way to engage his interests. The build came about when [Alain] was unable to find a commercially available media player that was simple enough for his son to operate and sturdy enough to put up with some abuse. A Raspberry Pi came to the rescue, along with the help of some custom piezo control buttons, a colorful case, and Shin Chan. The interface allows [Scott] to scroll through a menu of cartoons and get a preview before the big show. [Scott] is all smiles in the video below, and we’ll bet [Alain] is too.

Pi-based media player builds are a dime a dozen on Hackaday, but one that helps kids with autism is pretty special. The fact that we’ve only featured a few projects aimed at autistics, like this 2015 Hackaday Prize entry, is surprising. Maybe you can come up with something like [Alain]’s build for the 2016 Hackaday Prize.

Continue reading “Custom Media Player Helps Hacker’s Autistic Son”

GameGirl: A Better Portable Raspberry Pi

For better or worse, the most popular use for the Raspberry Pi – by far – is media centers and retro game consoles. No, the great unwashed masses aren’t developing Linux drivers for their Pi peripherals, and very few people are tackling bare metal ARM programming. That doesn’t mean creating a handheld console based on the Pi isn’t a worthy pursuit.

For their entry for the 2016 Hackaday Prize, [David] and [Jean-André] are building a portable Pi console that’s much better than an old Bondo-encrusted Game Boy enclosure stuffed with hot glue and wires. They’re doing this project the right way with a hardware accelerated display, custom software, and a high quality case.

[David] is in charge of the hardware, and that means making a very, very small handheld console. The design of this GameGirl is extremely similar to the old-school Game Boy Pocket (or Game Boy Light). There’s a D-pad, four buttons, select, start, and two ‘shoulder’ buttons on the back. The build is based on the Raspberry Pi Zero, and thanks to the Pi’s standard 40-pin header, [David] is able to configure the display to use an RGB565 DPI interface. This means the display is stupidly cheap while still leaving a few GPIO pins left over for the SPI, buttons, backlight, and PWM audio.

[Jean-André] is the other half of the team, and his contributions to open source software make him exceptionally qualified for this project. He’s the main developer for Lakka, a DIY retro emulation console, and the #5 RetroArch contributor. No, this project isn’t using RetroPie – and there’s a reason for that. Emulator hackers are spending a lot of time optimizing emulators for the Raspberry Pi, only because of RetroPi. If these emulator hackers spent their time optimizing for an API like LibRetro, you could eventually play a working version of Pilotwings 64 on the Raspberry Pi and every other platform LibRetro is available for. All the effort that goes into making a game work with a Raspberry Pi is effort that goes into making that game work for the PSP, Wii, iOS, and a PC. Yes, its philosophical pissing in the wind while saying, ‘this is what the community should do’; this is open source software, after all.

With the right ideas going into the hardware and software, [David] and [Jean-André] have an amazing project on their hands. It’s one of the most popular entries and are near the top of the charts in the community voting bootstrap effort where every like on a project gets the team a dollar for their project. GameGirl is shaping up to be a great project, and we can’t wait to see the it in action.

The HackadayPrize2016 is Sponsored by:

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:

Automatic Book Scanner To Bring Knowledge To Ethiopian Students

In 2013 the dean of an Ethiopian university addressed Maker Faire Hannover and outlined one of his concerns; that the high price of developed-world textbooks was holding back the cause of education for universities such as his own in developing countries. He was there to ask for help from the maker community to solve his problem, and a group of his audience took up the challenge to create an affordable and accessible automatic book scanner.

Their scanner builds on the work of Google engineer [Dany Qumsiyeh], whose open source linear book scanner turns pages by traversing the opened book over a triangular prismic former such that pages are turned by vacuum as they pass over carefully designed slots in its surface. Their modification replaces the vacuum with the Coandă effect, to more gently tease open each page and it is hoped reduce the chance of damaging the volumes being scanned.

The whole machine is controlled by a Raspberry Pi, and the scanning is performed by linear scanning optics, sensors, and electronics taken from flatbed scanners.

An important design goal of the project was to ensure that the scanner could be built without special tools or expertise that might be difficult to find in a developing country, as well as that it should be as inexpensive as possible. The frame of the machine is off-the-shelf extruded aluminium, and the body is acrylic sheet which can be cut to shape with a hand saw if necessary. It is estimated that the device will cost in the region of 500 Euros (about $568) to build.

More information can be found at the project’s web site (German language, Google translate link), including a selection of videos such as the one below the break showing the device in operation.

Writing from the perspective of having been peripherally involved in a professional book scanning operation at a large publisher the benefits of this machine are immediately apparent. Removing the binding and automatically scanning each page as an individual sheet produces a very fast and high quality result, but by its very nature damages the volume being scanned. This machine promises to deliver a solution to the problem of book scanning that is considerably less intrusive.

It is also worth noting that the project does not address any copyright issues that might arise from scanning commercially published textbooks, though this is more of a concern for the end user in terms of what they scan with it than it is for the maker.

Continue reading “Automatic Book Scanner To Bring Knowledge To Ethiopian Students”

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:

Arduino Comes To The Raspberry Pi, Linux ARM Devices

Arduino is the perfect introduction to microcontrollers and electronics. The recent trend of powerful, cheap, ARM-based single board Linux computers is the perfect introduction to computer science, programming, and general Linux wizardry. Until now, though, Arduino and these tiny ARM computers have been in two different worlds. Now, finally, there are nightly builds of Arduino IDE on the Raspberry Pi and other single board Linux computers.

The latest Arduino build for ARM Linux popped up on the arduino.cc downloads page early this week. This is the result of an incredible amount of work from dozens of open source developers across the Arduino project. Now, with just a simple download and typing ‘install’ into a terminal, the Arduino IDE is available on just about every single board Linux computer without having to build the IDE from source. Of course, Arduino has been available on the Raspberry Pi for a very long time with sudo apt-get install arduino, but this was an older version that cannot work with newer Arduino boards.

Is this distribution of the Arduino IDE the same you would find on OS X and Windows? Yep, everything is the same:

While this is really just arduino.cc improving their automated build process and putting a link up on their downloads page, it does make it exceptionally easy for anyone to set up a high school electronics lab. The Raspberry Pi is almost a disposable computing device, and combining it with Arduino makes for a great portable electronics lab.