Enabling Amazon Alexa on Raspberry Pi

This post shows steps to enable Amazon Alexa on Raspberry Pi. While there is already a comprehensive tutorial on Amazon Alexa official site [1], this post focuses on doing the same with minimal setup.   Example Setup Raspberry Pi (Raspberry Pi 3 B+) running Raspbian Stretch (Nov. 2018) USB Microphone (SunFounder USB 2.0 Mini Mic) 3.5 mm… Continue reading “Enabling Amazon Alexa on Raspberry Pi”

Controlling LEDs on Raspberry Pi using Voice with Amazon Echo

The goal of this post is to create an Alexa skill [1] that controls three LEDs (red, yellow, and green) connected to Raspberry Pi’s GPIO pins. The skill will enable to turn ON/OFF each LED by specifying the color of light and the ON/OFF status via voice command.   Prerequisites (parentheses indicate my environment) Raspberry Pi… Continue reading “Controlling LEDs on Raspberry Pi using Voice with Amazon Echo”

Updating ALSA on Raspbian Stretch

This post shows how to update ALSA [1] on Raspberry Pi running Raspbian Stretch. As of writing this post (Dec. 9th 2018) the latest ALSA version is 1.1.7.   Setup (parentheses indicate my environment) Raspberry Pi (Raspberry Pi 3 B+) running Raspbian Stretch (Nov. 2018) Speaker connected to Raspberry Pi’s 3.5 mm audio jack  … Continue reading “Updating ALSA on Raspbian Stretch”

Controlling LEDs with Raspberry Pi GPIO Pins

Controlling LED on Raspberry Pi is pretty easy. This post shows how to turn ON/OFF LEDs using Raspberry Pi’s GPIO pins with Python.   Setup (parentheses indicate my environment) Raspberry Pi board (Raspberry Pi3 B+) running Raspbian OS (Stretch with Desktop Nov. 2018 ver) LEDs (Pi Traffic Light) Micro USB cable for power supply   Steps… Continue reading “Controlling LEDs with Raspberry Pi GPIO Pins”

Enabling Background BLE Scanning on iPhone

A previous post shows how to create a simple BLE (Bluetooth Low Energy) scanner app for iPhone. The app can detect BLE devices while the app is in foreground. The goal of this post is to create an app that scans even it goes to the background.   Prerequisites (parentheses indicate my environment) Xcode (10.0) ruining on Mac… Continue reading “Enabling Background BLE Scanning on iPhone”