How to Disable Screen Sleep in Raspberry Pi

If you have been using a Raspberry Pi, you might have encountered that the screen sleeps or turns off after some time when you do not use the mouse or keyboard.

The turning off of the display when there is no activity in Raspberry Pi is called Screen Blanking. By default this is enabled.

Screen Blanking or sleeping is good if you want to save power, but distracting (sometimes annoying) if you are doing something in the Raspberry Pi.

To turn this feature off you do not have to install xscreensaver, you only need to disable it in the Raspberry Pi Configuration.

Follow the steps below to disable screen sleeping of your Raspberry Pi.

Steps to disable Screen Blanking or Sleeping with the Raspberry Pi

Click on the Menu button on the upper right (Raspberry Pi Icon) >> Preferences >> Raspberry Pi Configuration.

In Raspberry Pi Configuration Window, click on Display Tab.

Look for the Screen Blanking row, click Disable.

Then click OK.

A window will open and asks if you like to reboot the Raspberry Pi. Click Yes.

Raspberry Pi will reboot.

Once reboot is finished you will now be able to use the Raspberry Pi without the screen turning off when you are not doing anything.

I hope the above information helped.

How to use Synergy on Raspberry Pi

I have always used Synergy when using multiple computers since I do not want to use a lot of hardware (mouse and keyboard) to control all my unit. When I first received a Raspberry Pi the first thing I did was make Synergy work.

Here is the configuration that I use when working with Raspberry Pi.

  • Client – Raspberry Pi (to be controlled)
  • Server – Laptop where the mouse and keyboard will be used (Windows/Mac)

Screenshot of Synergy on a Windows computer.

1. Installing Synergy on Raspbian

Open the terminal and run the code below.

sudo apt-get install synergy

This will install Synergy on the Raspberry Pi along with its dependencies.

Continue reading How to use Synergy on Raspberry Pi

SD Card Partitions when installing Raspbian for Raspberry Pi

From the very start that I used a Raspberry Pi I have always been curious about how it partitions the microSD Card every step of the Raspbian installation to running the Raspberry Pi.

You will see below on what happens to your SD Card Paritions every step of the installation to running the Raspbian on your Raspberry Pi.

Testing Parameters

SD Card Sizes

I shall be using 2 SD Card memory sizes, 8GB and 16GB. The reason for me using these memory sizes is for us to see if there are any differences on the SD Card Partitions depending on the SD Card size.

Checking of the SD Card Partitions

I shall use Partition Wizard on Windows 10 to check the SD Card partitions as it has a graphical representation of the different partitions and it can detect Linux and Mac file systems. Continue reading SD Card Partitions when installing Raspbian for Raspberry Pi

In Photos: Raspberry Pi Official Casing (Red and White)

I just bought the official casing of Raspberry Pi and I am very happy with it.

I always bringing my Raspberry Pi 3 inside its box for extra protection from being crushed inside my bag. Then I realized that sometimes I would like to use my Raspberry Pi inside coffee shops or in public places where I can work.

Having a bare Raspberry Pi board would make people doubt what you are doing since you are have an electronic board with you. Embarrassing if people would glance at you thinking that you are doing something bad. Seriously bad if a guard or police would approach you. These are the reason why I bought my case. Continue reading In Photos: Raspberry Pi Official Casing (Red and White)

Raspberry Pi: Changing the Hostname

This is a tutorial on how to change the hostname of your Raspberry Pi.

If you usually do an IP Address scan whenever you  connect your Raspberry Pi to a new WiFi network to find it then you should change the hostname of your Raspberry Pi. This is for you not to get confused when there are two Raspberry Pi’s connected to the network. At least you an select the right Raspberry Pi.

Just so you know the default hostname of the Raspberry Pi is raspberrypi.

Changing the Hostname of your Raspberry Pi

There are two ways to change this.

Changing the hostname of the Raspberry Pi
My Raspberry Pi on desktop setup.

Continue reading Raspberry Pi: Changing the Hostname

Raspberry Pi: Installing Raspbian Without a Monitor or Keyboard

Here is a tutorial on how you can setup Raspberry Pi without a mouse or a keyboard.

Most of us today only have laptops. We do not own a monitor nor a keyboard. But that should not stop you from trying Raspberry Pi. You can actually setup and use a Raspberry Pi without the monitor or a keyboard.

Note: I also find it annoying to setup a lot of wires just for the monitor and keyboard.

Here are the things you need to setup and use the Raspberry Pi without a screen or keyboard.

  • Raspberry Pi
  • microSD Card (minimum of 8GB)
  • Ethernet Cable
  • Power cable (standard USB cable for charging Android phone with charger)
  • A computer

For this tutorial I’ll be using Raspberry Pi 3 and my computer is running on Windows 10. My SD Card size is 8GB. Maybe I’ll create a tutorial when I am using my Ubuntu (Linux).

Below are the steps to setting up your Raspberry Pi without a screen or keyboard.

1. Download Raspbian Image from Raspberry Pi Downloads.

Raspbian Download Page - Setup Raspberry Pi without a Monitor or Keyboard

It’s up to you if you want to download the Raspbian Jessie with Pixel (desktop) or Raspbian Jessie Lite (for minimal installation).

For this example I will be using the Raspbian Jessie with Pixel. But if you want to install the Raspbian Jessie Lite the steps would be the same.

Note: The name Jessie changes for every major upgrade of Raspbian. The name before it was Wheezy. Continue reading Raspberry Pi: Installing Raspbian Without a Monitor or Keyboard

Raspberry Pi: PWM in GPIO (Python)

This is a tutorial on how to implement Pulse Width Modulated (PWM) in Raspberry Pi 2 and 3 using Python.

Since the Raspberry Pi 3 uses the BCM2837 and currently I could not find the specification sheet of BCM2837. I shall assume that the GPIO for the BCM2837 and the BCM2835 (Pi 2) are the same since the Pi 2 and Pi 3 Model B looks the same. I will use the Specification Sheet of the BCM2835 for reference.

I’ll check slowly check if there’s a difference among the two in terms of GPIO.

Raspberry Pi PWM

Continue reading Raspberry Pi: PWM in GPIO (Python)