Bascom-AVR Programming (Paperback)
暫譯: Bascom-AVR 程式設計 (平裝本)

Jurij Mikeln

  • 出版商: AX elektronika d.o.o
  • 出版日期: 2012-07-18
  • 售價: $1,140
  • 貴賓價: 9.5$1,083
  • 語言: 英文
  • 頁數: 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 微控制器使用友好,因此請更好地了解它們!