Creating AltBeacon with Raspberry Pi using BlueZ Example Code (updated)

This post shows steps to create an AltBeacon [1] with Raspberry Pi, by modifying BlueZ BLE Advertisement example code (i.e. “example-advertisement“). *If you want to create Apple’s iBeacon [2], please see this post.   Prerequisites (parentheses indicate my environment) Raspberry Pi (Raspberry Pi4 B with Raspbian Buster 2019-06-20) Internet access To download BlueZ example code. Here… Continue reading “Creating AltBeacon with Raspberry Pi using BlueZ Example Code (updated)”

Creating iBeacon with Raspberry Pi using BlueZ Example Code (updated)

This post shows steps to create 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 (updated)”

Setting Up I2C Serial Communication on Raspberry Pi

This post shows steps to setup I2C serial communication [1] on Raspberry Pi with an I2C peripheral device. I’ll use a temperature and humidity sensor as an example of I2C peripheral. The goal is to read those sensors value on Raspberry Pi.   Assumptions I assume that you already installed Raspbian OS on your Pi, if not,… Continue reading “Setting Up I2C Serial Communication on Raspberry Pi”

Controlling Bluetooth Audio on Raspberry Pi

Update (April 21, 2020): Volume control support added. This post shows steps to control playback status of Bluetooth audio which is streamed from a connected phone (or any Bluetooth capable media player). The goal is to enable below. Playback control (play, pause, next/previous song, and volume control) Music information display in real time (song title, artist… Continue reading “Controlling Bluetooth Audio on Raspberry Pi”

Enabling Python Autocomplete in VIM on Raspberry Pi

This post shows steps to enable Python autocomplete in vim editor [1] on Raspberry Pi. In this post, jedi-vim [2] and Vundle.vim [3] will be used for autocomplete plugin and plugin manager respectively. Also, even Raspbian Stretch has vim preinstalled, it’s a minimal version which is called “vim.tiny” and to use the plugin, we need… Continue reading “Enabling Python Autocomplete in VIM on Raspberry Pi”