Archive
Arduino: Run applications with a remote control and an infrared receiver (IR).
This project refers to a sketch (an Arduino program) in which you have the ability to run applications with the help of an infrared receiver (IR) and a remote control. Also included in this project is a Python script that implements a background service (Daemon) which communicates with the Arduino and initiates the execution of various applications. The program can manage several remote controls following the communication protocols NEC, Sony SIRC, Philips RC5 and Philips RC6. Also, you are given the opportunity to train the software to respond to specific keys from several remotes (the knowledge is recorded in the EEPROM of the Arduino).
Arduino: Executing applications with voice command recognition.
This project refers to an Arduino sketch which with the help of a VRBot system can recognize voice commands, making it possible to run applications. For example, we could cause the execution of the relevant browser with the voice command «Firefox». Also included in this project is a Python script that implements a background service (Daemon) which communicates with the Arduino and initiates the execution of various applications.
Implementation of a C function to convert a typical process into background service (Daemon).
Below I quote a function in C to convert a standard Linux kernel process into background service (Daemon Service). If you wish to develop a server to provide services, it may be helpful. Although there are several manuals on the Internet on how to create background services, most of them don’t show a complete example, while others are barely functioning. The following function converts a standard process into a service taking everything you need into account. Also, this function is the result of a combination of several textbooks and numerous studies about this issue. Finally, it has been tested on personal applications servers and it is performing well.