Designing Embedded Systems: Handbook + LAMP Project

Steve McClure

  • 出版商: CreateSpace Independ
  • 出版日期: 2014-04-10
  • 售價: $1,170
  • 貴賓價: 9.5$1,112
  • 語言: 英文
  • 頁數: 636
  • 裝訂: Paperback
  • ISBN: 1483916235
  • ISBN-13: 9781483916231
  • 相關分類: 嵌入式系統
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

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!

商品描述(中文翻譯)

這本書回顧了設計嵌入式計算機系統所涉及的軟體開發和工程原則。

本書還提供了一個基於 LAMP(Linux Apache MySQL PHP)的網頁家庭控制/安全應用程式設計(包含完整的源代碼)。

本書適用於經驗豐富的嵌入式軟體工程師以及希望學習一些編程知識的愛好者。作者在該領域超過 30 年的經驗所收集的信息,將在書中討論哪些方法有效,哪些方法無效,這將幫助工程師,也將協助那些負責管理嵌入式應用程式設計的人。

那麼,對於初學者呢?

對於想要了解嵌入式軟體工程領域的人來說,他們是否需要擁有計算機科學或電機工程學位,才能開始學習如何編程嵌入式系統?

太多書籍都是從高級層面討論這種編程。

然而,本書完全不同。

本書的目標是讓任何對嵌入式編程感興趣的人在短時間內上手。當今的首選語言是 C 或 C++。為了輕鬆進入這個編程世界,本書選擇了 C 語言作為示例代碼。但應該解決什麼樣的編程應用呢?嵌入式應用是一個在計算機系統上持續執行的程序,並且在執行過程中與其環境互動。

家庭控制照明系統將是理想的應用,當你完成後,你將知道如何:

• 在你的 PC 上安裝 LAMP(Linux、Apache(網頁伺服器)、MySQL 和 PHP)
• 備份/還原你的 Linux 硬碟
• 在系統啟動時自動執行你的應用程式
• 將 Java Script、MySQL 和 PHP 應用於你自己的網頁
• 建立通過串口通信的 C 應用程式
• 建立使用 MySQL 的 C 應用程式
• 編寫完整的家庭控制/安全應用程式
• 讓你的應用程式發送帶有網路攝影機圖像的電子郵件
• 讓你的家庭控制/安全應用程式發出語音消息
• 計算並利用每年每天的日出和日落時間

哦!還有一個額外的好處。使用這個系統,你不需要支付任何每月的監控費用。因為你的家庭控制/安全應用程式在檢測到入侵者時會直接發送電子郵件給你,你可以立即回家或打電話給朋友或鄰居檢查房子。無需每個月支付一些“服務”費用。

人們常說知識就是力量。這可能是真的,但坐在家裡使用你的 iPAD 或 iPHONE(或其他平板電腦,甚至是你的一台電腦上的網頁)來打開你的家庭控制網頁,點擊按鈕來開燈或啟動晚間電視觀看的事件序列,這真的很酷。

本書以易於閱讀的形式向你呈現所有這些信息。

本書的寫作方式也使其適用於大小工程公司。當你完成閱讀後,你將了解到嵌入式項目遠不止於編寫軟體代碼。這是一個完整的文檔過程,而代碼僅佔其中的一小部分。軟體通常需要很長時間來開發(而維護成本更高)的原因,正是因為這個設計過程經常被忽視或跳過。所有公司部門都需要完整的文檔設計,以便成功完成他們的工作。

所以現在是時候開始一些有趣的事情,開始編程嵌入式應用程式了!