Designing Embedded Systems: Handbook + LAMP Project
This book reviews the Software Development and Engineering Principles involved in the Design of Embedded Computer Systems.
A LAMP (Linux Apache MySQL PHP) design for a Web-Based Home Control / Security Application is also provided (full source code included).
This book is applicable to both the seasoned Embedded Software Engineer and to the Hobbyist who just wants to learn a little bit about writing code. Information gathered by the author's 30+ years in the field is discussed as he presents what works and what does not work with regard to embedded software engineering. This will help engineers but will also be an aid in assisting those who are tasked with managing the design of an embedded application.
But what of the novice?
What of the person wanting to gain some understanding in the field of embedded software engineering?
Do they need a Computer Science or Electrical Engineering degree before they can even begin to learn how to program an embedded system?
All too many books discuss such programming from an advanced level.
Well, this book is not like that at all.
The idea is to get anyone that is interested in embedded programming to be up and running in a short period of time. The language of choice today is C or C++. For an easy entrance into this world of programming the C language was chosen for the code examples presented within this book. But what programming application should be tackled? An embedded application is a program that continually executes on a computer system and as it does so, it interacts with its environment.
A home control lighting system would be the ideal application and by the time you have finished you would know how:
• To install LAMP (Linux, Apache (Web Server), MySQL and PHP) on your PC computer
• To backup/restore your Linux hard drive
• To automatically execute your application at system startup
• To apply Java Script, MySQL and PHP to your own Web page
• To build C applications that communicate over serial ports
• To build C applications that use MySQL
• To write a complete Home Control / Security application
• To have your application send email messages with WebCam images
• To have your Home Control / Security application speak messages
• To compute and utilize sunrise and sunset times for each day of the year
Oh! And there's one added bonus. With this system you do not require any monthly monitoring fee. Since your Home Control / Security application simply sends you an email when it detects an intruder, you can immediately go home or call a friend or neighbor to check on the house. No need to fork out money each month for some 'service' charge.
They say that knowledge is power. That may be true, but to sit at home using your iPAD or iPHONE (or some other Tablet, or even a web page on one of your computers) and to bring up your Home Control web page and click on a button to turn on a light or to initiate a sequence of events for evening television viewing, well, that is really neat.
And this book presents all this information to you in an easy to read form.
The book is also written in such a way that it may be used by both small and large engineering companies. By the time you have completed its reading you will have learned that an embedded project is much more than simply writing software code. It is an entire documentation process of which code amounts to but a small percentage. The reason software generally takes a long time to develop (and costs even more to maintain) is simply because this design process is often overlooked or bypassed. For a fully documented design is required by all company departments in order for them to successfully complete their work.
So now is the time to get into some fun and start programming an embedded application!