Raspberry Pi, libnotify, and Arduino LCD
Conclusion
In this example, I've shown you how to interface with D-Bus and use that information in your own programs. I also used a readily available external LCD, controlled programmatically, to display status messages. By combining the Arduino Uno and Rasp Pi technologies, I've brought a commonly used notification system to an otherwise headless Rasp Pi.
By extending these examples, you can make your programs more aware of their digital surroundings by listening to what's happening on the system with other D-Bus calls. For example, a simple script could make the LCD show its IP address on bootup. These are just a few ways to bring more capability to your Rasp Pi projects. Happy explorations!
Infos
- Arduino: http://www.arduino.cc/
- Adafruit LCD shield: https://www.adafruit.com/products/714
- Code for this article: ftp://ftp.linux-magazine.com/pub/listings/raspberry-pi-geek.com/18
- Adafruit LCD library: https://github.com/adafruit/Adafruit-RGB-LCD-Shield-Library
« Previous 1 2 3 Next »