Office Dog Triangulation Keeps Spot Accounted For

[Matt Reed] works at a pet friendly work-space, where his pooch called [Bean] loves to wander around and disappear. She’s not getting in trouble, but nonetheless, [Matt] worries about her. So he took the creepy stalker route and put a beacon on her collar to track her every move.

He’s using a small BLE beacon that will poll a signal every second, sending out a unique ID code and a RSSI value (Received Signal Strength Indicator). Normally beacons are placed in a stationary location to help people navigate — but this time, it’s on a moving dog.

In order to better understand [Bean’s] location in the office, [Matt] set up three Raspberry Pi’s with Bluetooth adapters around the office. Using Noble, Node.js listens for the RSSI values and triangulates [Bean’s] position, much like a cellphone can be located using different ping times from cellular towers.

Continue reading “Office Dog Triangulation Keeps Spot Accounted For”

First Raspberry Pi Zero Hack – Piggy-Back WiFi.

And we have the first Raspberry Pi Zero hack! In less than 72 hours from the official release announcement [Shintaro] attached an Edimax WiFi USB Adapter directly to the USB solder pads on the Pi Zero. He couldn’t bear to disturb the small dimensions of the Pi Zero by using the USB On-the-Go (OTG). The OTG is needed to convert the micro-USB connector on the board to a full USB-A connector.

The case was removed from the Edimax and the device and Zero wrapped in Kapton to insulate the exposed solder points. Power was taken from the PP1 and PP6 points on the back of the board. These are the unregulated inputs from the USB power so should be used with caution. Some cheap USB power supplies can put out more that 5 volts when first connected and that might let the smoke out of a device.

raspberry_pi_quarter

The data wires were connected to PP22 and PP23, also on the back, and behind the USB data connector. Since USB is a differential signal these wires were carefully kept of equal length to avoid distorting the signal.

An SD card was created and edited on a Raspberry Pi B 2 to set the WiFi credentials. Inserted into the Zero it booted fine and started up the WiFi network connection.

Congratulations, [Shintaro] for the first Hackaday Raspberry Pi Zero hack. Is that a Hack-a-Zero-Day hack?

The $5 Raspberry Pi Zero

Rumors about a new Raspberry Pi have been circulating around the Internet for the past week or so. Speculation has ranged from an upgraded Model A or compute module to a monster board with Gigabit Ethernet, USB 3.0, SATA and a CPU that isn’t even in production yet. The time is now, and the real news is even more interesting: it’s a $5 Raspberry Pi Zero. It’s the smallest Pi yet, while still keeping the core experience.

Continue reading “The $5 Raspberry Pi Zero”

Inferno OS On Raspberry Pi

Unix isn’t the only operating system that came out of Bell Labs. In an effort to decouple hardware from user interfaces over a network, Bell also developed an OS named Plan 9 (named after the famously bad Ed Wood movie).  While Plan 9 is still in use, it never got the momentum that Unix did. In 1996, Bell Labs (now AT&T) decided to shift its focus to Inferno, an operating system  that was meant to challenge Java as a cross-platform virtual machine environment. Now LynxLine Labs has ported Inferno to the Raspberry Pi.

Not only did they do the work, they documented it in 26 labs if you want to follow along. Or, you can just head over to the project page and get the results along with updates (judging from the commit log, the project is under active development).

Continue reading “Inferno OS On Raspberry Pi”

Processing For Raspberry Pi

You know Processing? It is the programming language and IDE aimed at the electronic arts, new media art, and visual design communities. [Gottfried Haider] recently got Processing working on the Raspberry Pi and included a hardware input/output library to manipulate the Pi’s I/O pins.

If you want to experiment with Processing, you can download it right on your Pi with the following command:

curl https://processing.org/download/install-arm.sh | sudo sh

You can also download it from the download page. There’s a specific tutorial available or you can watch some general videos on Processing (see below).

Continue reading “Processing For Raspberry Pi”

Object Oriented State Machine Operating System Goes Open Source

On a desktop computer, you think of an operating system as a big piece of complex software. For small systems (like an Arduino) you might want something a lot simpler. Object Oriented State Machine Operating System (OOSMOS) is a single-file and highly portable operating system, and it recently went open source.

OOSMOS has a unique approach because it is threadless, which makes it easy to use in memory constrained systems because there is no stack required for threads that don’t exist. The unit of execution is a C++ object (although you can use C) that contains a state machine.

You can read the API documentation online. Just remember that this is not an end user OS like Windows or Linux, but an operating environment for managing multiple tasks. You can, though, use OOSMOS under Windows or Linux as well as many other host systems.

Continue reading “Object Oriented State Machine Operating System Goes Open Source”

Raspberry Pi-Powered Back To The Future Time Circuits

Here’s something that’s a little late to celebrate the fact that all the events in Back to the Future have happened in the past, but that’s what time machines are for, right? [Deater] created Pi-powered time circuits and a flux capacitor. He might not have a DeLorean, but he does have the equipment to turn a DeLorean into a cool car.

The ‘time circuits’ shown on-screen in Back to the Future actually weren’t very complex; the times were just cutouts with lights and gels; no real electronics wizardry necessary. Of course the BttF DeLorean has since been remodeled and refurbished with time circuits that look and act the part, and [Deater]’s time circuits have everything you would expect: a display of the destination, current, and last time, sound effects, numeric keypad, flux capacitor, and a speedometer.

While it doesn’t simulate the time circuits from the movie exactly, that’s not necessarily a bad thing. The movie time circuits were colored gels, and wouldn’t exactly be practical for a Raspberry Pi-based prop. It’s a great build, and one that would look great in either a ’98 Nissan Altima or a DeLorean

Continue reading “Raspberry Pi-Powered Back To The Future Time Circuits”