Bascom-AVR Programming (Paperback)

Jurij Mikeln

  • 出版商: AX elektronika d.o.o
  • 出版日期: 2012-07-18
  • 售價: $1,030
  • 貴賓價: 9.5$979
  • 語言: 英文
  • 頁數: 214
  • 裝訂: Paperback
  • ISBN: 9616680048
  • ISBN-13: 9789616680042
  • 相關分類: R 語言
  • 無法訂購

商品描述

Format: A4, 212 pages. This easy to understand manual is both a useful learning tool and a good reference manual to keep handy on your workbench. Starting out with the basics of microcontroller programming, it proceeds to cover intermediate and advanced topics of Atmel's AVR Microcontroller family. The programming aspect of the book focuses on the widely popular Bascom-AVR compiler, which is a very user-friendly Basic compiler/IDE developed in the Netherlands. Throughout the book, practical projects are included, at various levels of complexity, to match the subjects in the various chapters. Inputs & Outputs In microcontroller applications push buttons are used in most cases. How to use them without unwanted contact «bounce« (what is debouncing anyway?), how we can intelligently increase the number of I/O pins of a microcontroller, driving DC motors and becoming familiar with PWM, are topics of this chapter. Get your hands on an AVR microcontroller with help from Bascom-AVR and start controlling the world around you! Data Displays Data displays are very important in the world of microcontrollers. With modern graphic LCD displays, one can design smart-looking products. But in some cases the »classic« 2x16 alphanumeric LCD or even 7 segment LED display is better-suited. If you have a limited number of I/O pins on your microcontroller, you might even want to connect your LCD via an SPI interface. All this is covered in this chapter. Pick the right display and make sure that your product will stand out! Data Measurements Human beings live in an analogue world and feel comfortable there. But this is not so for microcontrollers, which live in a digital world. After successfully measuring data, we have to transform it into digital values. We can do this in many ways, by using smart sensors (and smart programming) to get temperature, air pressure or even a GPS location - all with AVRs. Get familiar with data measurements using Bascom-AVR! Development tools Having programmed microcontrollers for many years, we have become regular users of development boards. There are many available on the market. Some expensive ones attempt to achieve universality by handling many different MCU models and including many different peripherals on-board. Others are nothing more than a »break-out« board for a specific MCU device. In contrast, we have designed optimal development boards, that will meet most of your requirements while writing/testing your AVR programs. These boards emerged from extensive usage in our daily work, so there are very good reasons why our tools are designed as illustrated in this chapter. Use smart tools when writing your Bascom-AVR programs! Practical Projects There should be many practical projects in every book for programmers and this book is no exception. Bascom-AVR, in conjunction with AVR microcontrollers, is a winning combination when designing a simple (but very powerful) I2C analyzer. Other projects, like a Frequency generator, Frequency counter, a simple but accurate clock and a Metal detector are just a few of the projects that can be found in this chapter. AVR microcontrollers are user-friendly, so get to know them better!

商品描述(中文翻譯)

格式:A4,212頁。這本易於理解的手冊既是有用的學習工具,也是隨時可供參考的良好手冊,適合放在工作台上。從微控制器編程的基本知識開始,接著涵蓋 Atmel 的 AVR 微控制器系列的中級和高級主題。本書的編程部分專注於廣受歡迎的 Bascom-AVR 編譯器,這是一款在荷蘭開發的非常友好的 Basic 編譯器/IDE。全書包含了各種複雜程度的實用專案,以配合各章節的主題。

輸入與輸出
在微控制器應用中,大多數情況下使用按鈕。如何在不產生不必要的接觸「彈跳」(那到底什麼是去彈跳?)的情況下使用它們,如何智能地增加微控制器的 I/O 腳位數量,驅動直流電動機以及熟悉 PWM,都是本章的主題。借助 Bascom-AVR,動手操作 AVR 微控制器,開始控制你周圍的世界!

數據顯示
數據顯示在微控制器的世界中非常重要。使用現代圖形 LCD 顯示器,可以設計出外觀精美的產品。但在某些情況下,「經典」的 2x16 字母數字 LCD 或甚至 7 段 LED 顯示器更為合適。如果你的微控制器的 I/O 腳位數量有限,你甚至可能想通過 SPI 接口連接 LCD。本章將涵蓋所有這些內容。選擇合適的顯示器,確保你的產品能夠脫穎而出!

數據測量
人類生活在類比世界中,並在那裡感到舒適。但微控制器則生活在數字世界中。成功測量數據後,我們必須將其轉換為數字值。我們可以通過使用智能傳感器(和智能編程)來獲取溫度、氣壓甚至 GPS 位置——這一切都可以用 AVR 完成。使用 Bascom-AVR 熟悉數據測量!

開發工具
多年來編程微控制器,我們已經成為開發板的常規使用者。市場上有許多可用的開發板。一些昂貴的開發板試圖通過處理多種不同的 MCU 型號並包含多種不同的外圍設備來實現通用性。其他的則不過是針對特定 MCU 設備的「突破」板。相比之下,我們設計了最佳的開發板,能夠滿足你在編寫/測試 AVR 程式時的大多數需求。這些開發板源於我們日常工作中的廣泛使用,因此我們的工具設計如本章所示是有充分理由的。在編寫 Bascom-AVR 程式時,使用智能工具!

實用專案
每本程序員的書中都應該有許多實用專案,而這本書也不例外。Bascom-AVR 與 AVR 微控制器的結合,在設計一個簡單(但非常強大的)I2C 分析儀時是一個成功的組合。其他專案,如頻率產生器、頻率計、一個簡單但準確的時鐘和金屬探測器,都是本章中可以找到的一些專案。AVR 微控制器使用友好,因此更深入地了解它們吧!