Creating iBeacon with Raspberry Pi using BlueZ Example Code

This post shows the steps to make an iBeacon with Raspberry Pi, by modifying BlueZ BLE Advertisement example code (i.e. “example-advertisement“). Note: Even though it uses Bluetooth Low Energy standard, iBeacon is Apple’s proprietary protocol and making/deploying iBeacon devices requires the license from Apple [1]. The scope of this post is limited to getting familiar with… Continue reading “Creating iBeacon with Raspberry Pi using BlueZ Example Code”

Setting Up UART Serial Communication between Raspberry Pis

This post shows how to setup serial communication between two Raspberry Pi boards. Here is the list of contents of this post. Contents Prerequisites Steps Wiring Enabling UART Disabling console service Setting up terminal emulator Verify   Prerequisites Two Raspberry Pi boards : Any Raspberry Pi should work. In this post, I use Raspberry Pi… Continue reading “Setting Up UART Serial Communication between Raspberry Pis”

Updating BlueZ on Raspberry Pi (5.43 to 5.48)

This post shows how to update BlueZ from 5.43 (the default version comes with Raspbian Stretch November 2017 version) to 5.48 (the latest as of 2/14/2018) on Raspberry Pi. According to the release notes [1], many issues (especially GATT related issues) have been fixed and also, Advertising Manager API, which was previously marked as experimental, is now stable… Continue reading “Updating BlueZ on Raspberry Pi (5.43 to 5.48)”

Disabling Bluetooth on Raspberry Pi

This post shows steps to 1) disable on-board Bluetooth and 2) disable Bluetooth completely. I tested the steps with Raspbian Stretch (November 2017 version).   Disabling on-board Bluetooth The steps below shows how to disable on-board Bluetooth and related services. Those steps also disable loading the related kernel modules such as bluetooth, hci_uart, btbcm, etc at… Continue reading “Disabling Bluetooth on Raspberry Pi”

Lightning Bolt (Under-Voltage Warning) on Raspberry Pi

If a lightning bolt image appears in the top-right corner of the screen, it means Raspberry Pi is not getting enough voltage (4.65V according to this forum post). To prevent it from showing up, there are two options.   1) Replace Power Supply and/or Cable (Recommended) In most cases, it’s due to the power supply and/or… Continue reading “Lightning Bolt (Under-Voltage Warning) on Raspberry Pi”