Design your own Embedded Linux Control Centre on a PC
Grâce à l’évolution récente des techniques de commande et de régulation, qui permet une grande efficacité à partir de moyens techniques bien meilleur marché qu’il y a encore quelques années, la domotique est aujourd’hui un sujet encore plus passionnant pour les électroniciens.
Ce livre d'Elektor en anglais ne traite ni de ZigBee, ni de Z-wave, ni de X10, ni d’aucun autre protocole commercial, mais propose un système fait à la maison, à partir d’éléments récupérés. Le système de commande tourne sous Linux sur un « vieux » PC, il utilise une webcam USB, et attaque les entrées-sorties par les interfaces standard.
Pour envoyer ses ordres aux appareils disséminés dans la maison, il passe par un commutateur à commande par radiofréquences (liaison sans fil) existant, comme on en trouve dans le commerce.
Le livre détaille bien tout ce qui a trait à la communication, notamment par le réseau Ethernet et le ouèbe. Le logiciel correspondant est disponible sur le site d’Elektor.
TABLE DES MATIÈRES
1 Introduction
1.1 Why this book?
1.2 Who is this book designed for?
1.3 How to use this book? -
1.4 Abbreviations
1.5 References - Links
2 Installing and configuring the PC software
2.1 Linux Operating System - Configure Linux -
2.2 WEB server related software - XAMPP - Configure XAMPP
2.3 Compiler sw
3 Installing and configuring the control centre
3.1 WEB interface - Installation - Configuration - Execution rights
3.2 Parallel port - Simple debug interface - Finding the address of the parallel port - Controlling the parallel port
3.3 Parallel port driver - Compilation & test - Test Web interface - Installation
3.4 Attached HW - Wireless On/Off switch - Parallel port hardware interface - Parallel port WEB interface
4 Possible extensions
4.1 Wake-On-LAN support -
PCI versions - How WOL works - Remote power up of the PC - Wake-On-LAN savings
4.2 USB web cam support - Background - WEB camera utilities/debug tools - WEB camera installation and verification - Live pictures on the Internet from the “Embedded Linux control centre” - Still pictures with spcacat - Streaming pictures with spcaserv and spcaview - Panning the WEB camera
4.3 Additional extensions
5 Operating the control centre
5.1 Logging in to the “Embedded Linux control centre”
5.2 Daily operation - Management interface - Exit - Home - Lamp control
interface - Still picture interface - Video interface - Power off interface
5.3 Daily operations (reduced interface) - HOME - PHP information - Status - Lamp control - Still picture - User management - Exit - Missing entries
6 Troubleshooting
7 Appendix
7.1 Background and some thoughts -
7.2 First time with DSL
7.3 Some use full shell commands
7.4 Configuring the desktop - Desktop - Fluxbox menu configuration - JWM menu configuration
7.5 Further configuration of XAMPP - Hiding your installation from the outside world - Wake On Lan from the Internet
7.6 Driver c-code - Lptout.c driver code - step.c driver code
7.7 Useful Parallel port data in one place
7.8 HARDWARE interface schematic - 7.9 PCB layout
7.10 WEB server software description - Overall description - File description
7.11 Installation checklist