The Raspberry Pi 3 does Eddystone!

Turn Your RPi 3 Into A BLE Beacon

With the launch of the Raspberry Pi 3, Bluetooth Low Energy (BLE) is now at our disposal. With BLE, there are a few technologies for implementing one-way beacons that broadcast data. Apple has been pushing iBeacon since 2013, and Google just launched their Eddystone solution last year.

If you’re looking to target Google’s Eddystone on your RPi 3, [Yamir] has you covered. He’s put together a guide on setting up an Eddystone-URL beacon within Raspbian. This type of beacon just broadcasts a URL. Users within range will get a notification that the URL is available, and can navigate through to it. Eddystone-URL works on both iOS and Android.

The process for setting this up is pretty simple. The hciconfig and hcitool commands do all the work. [Yamir] was even nice enough to make a calculator tool that generates the hcitool command for your own URL. While is hack is a simple one, it’s a nice five-minute project. It’s also handy for broadcasting the URL of your Raspberry Pi if it’s running a web server as part of a more intricate hack.

This Car Lets You Fistbump To Unlock

In the dark ages, you had to use a key to lock and unlock your car doors. Just about every car now has a remote control on the key that lets you unlock or lock with the push of a button. But many modern cars don’t even need that. They sense the key on your person and usually use a button to do the lock or unlock function. That button does nothing if the key isn’t nearby.

[Pierre Charlier] wanted that easy locking and unlocking, so he refitted his car with a Keyduino to allow entry with an NFC ring. What results is a very cool fistbump which convinces your car to unlock the door.

Keyduinio is [Pierre’s] NFC-enabled project, but you can also use a more conventional Arduino with an NFC and relay shield. The demo also works with a smartphone if you’re not one for wearing an NFC ring. Going this round, he even shows how to make it work with Bluetooth Low Energy (BLE).

Continue reading “This Car Lets You Fistbump To Unlock”

Learn Bluetooth Or Die Tryin

Implementing a Bluetooth Low Energy (BLE) device from scratch can be a daunting task. If you’re looking for an incredibly detailed walkthrough of developing a BLE project from essentially the ground up, you’ve now got a lot of reading to do: [Jocelyn Masserot] takes you through all the steps using the ARM-Cortex-M0-plus-BLE nRF51822 chip.

The blog does what blogs do: stacks up in reverse-chronological order. So it’s best that you roll on down to the first post at the bottom and start there. [Jocelyn] walks you through everything from setting up the ARM compiler toolchain through building up a linker script, blinking an LED, flashing the chip, and finally to advertising your device to your cell phone. It’s a lot of detail, but if you’re doing something like this yourself, you’re sure to appreciate it.

Of course, all the code is available for you to crib peruse on [Jocelyn]’s GitHub. And for yet more background reading on BLE, check out the Hackaday Dictionary.

The Stork Looks Different Than We Thought

What the Internet of Things really needs is more things, and the more ridiculous the better. At least, that’s the opinion of [Eric] who has created a tongue-in-cheek gadget to add to the growing list of connected devices. It’s a Bluetooth-enabled pregnancy test that automatically releases the results to the world. Feeling lucky?

The theory of operation is fairly straightforward. A Bluetooth low-energy module is integrated into the end of a digital pregnancy test. These tests have a set of photo detectors to read the chemical strip after the test is conducted. If the test is positive, the module sends a signal to a Raspberry Pi which tweets the results out for the world to see. It also has an option to send a text message to your mom right away!

[Eric]’s project to live-tweet a pregnancy test also resulted in a detailed teardown of a digital pregnancy test, so if you need any technical specifications for pregnancy tests (for whatever reason) his project site has a wealth of information. He does note that his device can be used on other similar devices with directly driven LCD screens, too. The fun doesn’t end there, though! Once the pregnancy is a little further along you’ll be able to get the baby on Twitter, too.

Continue reading “The Stork Looks Different Than We Thought”

OSWatch, An Open Source Watch

If you are a soldering ninja with a flair for working with tiny parts and modules, check out the Open Source Watch a.k.a. OSWatch built by [Jonathan Cook]. His goals when starting out the project were to make it Arduino compatible, have enough memory for future applications, last a full day on one charge, use BLE as Central or Peripheral and be small in size. With some ingenuity, 3d printing and hacker skills, he was able to accomplish all of that.

OSWatch is still a work in progress and with detailed build instructions available, it is open for others to dig in and create their own versions with modifications – you just need to bring in a lot of patience to the build. The watch is built around a Microdunio Core+ board, an OLED screen, BLE112A module, Vibration motor, a couple of LEDs and Buttons, and a bunch of other parts. Take a look at the schematics here. The watch requires a 3V3, 8MHz version of the Microdunio Core+ (to ensure lower power consumption), and if that isn’t readily available, [Jonathan]  shows how to modify a 5V, 16MHz version.

Continue reading “OSWatch, An Open Source Watch”

Hackaday Dictionary: Bluetooth Low Energy

Bluetooth is one of the mainstays of the mobile gadget world, allowing mobile devices to communicate easily over short distances. It’s how your wireless headset talks to your cell phone without the complexity and power requirements of WIFi. In particular, the Bluetooth Low Energy (BLE) component is interesting for those who build portable gadgets, because it requires a very small amount of power. Continue reading “Hackaday Dictionary: Bluetooth Low Energy”

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”