Disabling Screen Sleep on Raspberry Pi

By default the screen goes to sleep after some minutes of inactivity. It can be disabled by editing configuration file. Here is the steps. 1. Open /etc/lightdm/lightdm.conf file. sudo nano /etc/lightdm/lightdm.conf 2. Look for the line starts “xserver-command” under “[Seat:*]” section and modify as below: xserver-command=X -s 0 -dpms 3. Reboot the system. sudo reboot… Continue reading “Disabling Screen Sleep on Raspberry Pi”

Running BLE Advertising Example Code on Raspbian Stretch

Update (Feb 26, 2018): If your BlueZ version is 5.48 or higher, you can skip Step 1 since the Advertising Manager is marked as stable In BlueZ 5.48. (To update BlueZ, please see this post. )   The purpose of this post is to run an example code of Bluetooth Low Energy Advertisement from BlueZ… Continue reading “Running BLE Advertising Example Code on Raspbian Stretch”

Creating Bluetooth Beacon with Raspberry Pi by using Bluetooth Developer Studio

This post shows how to make a Raspberry Pi a Bluetooth Beacon by using Bluetooth Developer Studio and its Beacon plugin. Bluetooth Developer Studio is a free application development tool from Bluetooth SIG and with Beacon plugin, it generates a script file which makes a Raspberry Pi a Bluetooth beacon. The steps below basically follow a… Continue reading “Creating Bluetooth Beacon with Raspberry Pi by using Bluetooth Developer Studio”

Writing Raspbian OS Image to SD Card on Linux

This is how to write Raspbian OS image to SD card by using Linux command line. Since the steps below use “dd” command which may cause damage to your system if used wrongly, please be careful about the usage.   Contents – Assumptions – Steps 1. Download Raspbian OS Image 2. Find device name of… Continue reading “Writing Raspbian OS Image to SD Card on Linux”