Catégorie : micro-informatique
Design your own Embedded Linux Control Centre on a PC

Infos. pratiques
ISBN : 978-0-905705-72-9
Auteur : Hans Henrik Skovgaard
Volume : 234 pages
Format : 170 x 235 mm
Epaisseur : 12 mm
Date de parution : 2008
Prix : 33,00 €
Langue : anglais




Contenu
Table des matières :
Version pdf : TDM-EmbeddedLinux.pdf
Version HTML : voir en bas de cette page
Couverture : COVEREmbeddedLin_300ppp.JPG



Voir nouvelle édition entièrement revue et augmentée de 180 pages (ISBN 978-1-907920-02-8)

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 nouveau livre 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.


Présentation en anglais
These days a lot of options exist if you want to control home electrical appliances. This book is not about X10, ZigBee, Z-wave or any other system that’s available commercially. Instead, it covers a do-it-your-self system made from recycled components. The main system described in this book reuses an old PC, a wireless mains outlet with three switches and one controller, and a USB webcam. All this is linked together by Linux – as it can be obtained free of charge.

This book will serve up the basics of setting up a Linux environment – including a software development environment – so it can be used as a control centre. The book will also guide you through the necessary setup and configuration of a webserver, which will be the interface to your very own home control centre.

All that’s required to use this book and set up a control centre is some experience within PC software and hardware, including being able to surf the Internet and burn a CD-ROM. Since some new additional hardware is needed, some experience with assembling printed circuit boards is also needed.

All software needed for the control centre is listed in the book and will be available for downloading from the Elektor website.


L'auteur
A venir.


Table des matières - Contents
1 Introduction
1.1 Why this book? - 11
1.2 Who is this book designed for? - 12
1.3 How to use this book? - 13
1.4 Abbreviations - 15
1.5 References - 16
1.5.1 Links - 17
2 Installing and configuring the PC software
2.1 Linux Operating System - 19
   2.1.1 Configure Linux - 27
2.2 WEB server related software - 34
   2.2.1 XAMPP - 34
   2.2.2 Configure XAMPP - 36
2.3 Compiler sw - 39
3 Installing and configuring the control centre
3.1 WEB interface - 42
   3.1.1 Installation - 42
   3.1.2 Configuration - 43
   3.1.3 Execution rights - 44
3.2 Parallel port - 45
   3.2.1 Simple debug interface - 46
   3.2.2 Finding the address of the parallel port - 47
   3.2.3 Controlling the parallel port - 48
3.3 Parallel port driver - 48
   3.3.1 Compilation & test - 48
   3.3.2 Test Web interface - 49
   3.3.3 Installation - 51
3.4 Attached HW - 51
   3.4.1 Wireless On/Off switch - 52
   3.4.2 Parallel port hardware interface - 53
   3.4.3 Parallel port WEB interface - 55
4 Possible extensions
4.1 Wake-On-LAN support - 58
   4.1.1 PCI versions - 58
   4.1.2 How WOL works - 64
   4.1.3 Remote power up of the PC - 67
   4.1.4 Wake-On-LAN savings - 69
4.2 USB web cam support - 70
   4.2.1 Background - 70
   4.2.2 WEB camera utilities/debug tools - 71
   4.2.3 WEB camera installation and verification - 76
   4.2.4 Live pictures on the Internet from the “Embedded Linux control centre” - 80
      4.2.4.1 Still pictures with spcacat - 80
      4.2.4.2 Streaming pictures with spcaserv and spcaview - 88
      4.2.4.3 Panning the WEB camera - 92
4.3 Additional extensions - 99
5 Operating the control centre
5.1 Logging in to the “Embedded Linux control centre” - 100
5.2 Daily operation - 101
   5.2.1 Management interface - 102
   5.2.2 Exit - 104
   5.2.3 Home - 105
   5.2.4 Lamp control interface - 105
   5.2.5 Still picture interface - 106
   5.2.6 Video interface - 108
   5.2.7 Power off interface - 109
5.3 Daily operations (reduced interface) - 110
   5.3.1 HOME - 111
   5.3.2 PHP information - 111
   5.3.3 Status - 111
   5.3.4 Lamp control - 112
   5.3.5 Still picture - 112
   5.3.6 User management - 114
   5.3.7 Exit - 114
   5.3.8 Missing entries - 114
6 Troubleshooting - 116
7 Appendix
7.1 Background and some thoughts - 120
7.2 First time with DSL - 122
7.3 Some use full shell commands - 125
7.4 Configuring the desktop - 129
   7.4.1 Desktop - 129
   7.4.2 Fluxbox menu configuration - 130
   7.4.3 JWM menu configuration - 131
7.5 Further configuration of XAMPP - 132
   7.5.1 Hiding your installation from the outside world - 133
   7.5.2 Wake On Lan from the Internet - 136
7.6 Driver c-code - 140
   7.6.1 Lptout.c driver code - 140
   7.6.2 step.c driver code - 141
7.7 Useful Parallel port data in one place - 143
7.8 HARDWARE interface schematic - 144
7.9 PCB layout - 145
7.10 WEB server software description - 147
   7.10.1 Overall description - 147
   7.10.2 File description - 154
7.11 Installation checklist - 231

Retour au catalogue
MAJ 01/04/2012