

First, you need to run these three commands to enable the necessary modules and drivers: :~ $ echo "dtoverlay=dwc2" | sudo tee -a /boot/config.txt :~ $ echo "dwc2" | sudo tee -a /etc/modules :~ $ sudo echo "libcomposite" | sudo tee -a /etc/modules 2. These next steps to prepare the Pi Zero board are based on the instructions from iSticktoit. Important: this tutorial doesn’t work with a Raspberry Pi 3 board. Parts Requiredįor this project you’ll need a Raspberry Pi Zero board. I recommend that you download my course: Build a Home Automation System for $100. If you like home automation and you want to learn more about Node-RED, Raspberry Pi, ESP8266 and Arduino. You should have the Raspbian operating system installed in your Raspberry Pi – read Installing Raspbian Lite, Enabling and Connecting with SSH.

You should be familiar with the Raspberry Pi – read Getting Started with Raspberry Pi.After following some simple steps, you can write a Python script to make your Pi act as a USB keyboard. In this project you’ll learn how to turn a Raspberry Pi Zero board into a USB keyboard or HID (Human Interface Device).
