In some situations, it can be useful to simulate user events on a keyboard or mouse, without an actual keyboard or mouse. The original idea that made me look into this subject, was that I wanted to run RetroPie on my Raspberry Pi with different ways to control the system. Instead of a keyboard, I wanted to use GPIO inputs (buttons or joysticks), or even a web interface that I could access from my phone. We’ll use a program called xdotool to do this.
If you don’t have a reverse backup radar system in your car, or if you park forward in your garage, you probably know this feeling of “am I too close, am I gonna hit the wall??”. Well, in this 2 part tutorial, we’re going to create a simple system to detect how close to the wall your car is.
In this tutorial we’ll learn how to control a LCD display from a PIC microcontroller. LCD displays are one of the most used devices to display information. It allows an electronic system to show text and is easily programmable using a microcontroller. We’ll use a PIC16F88 from Microchip. This tutorial can be used to control any LCD display based on a HD44780 controller. Let’s create a little library to control a LCD display!