Arduino microcontroller processing for everyone! Part II [electronic resource] / Steven F. Barrett.
This book is about the Arduino microcontroller and the Arduino concept. The visionary Arduino team of Massimo Banzi, David Cuartielles, Tom Igoe, Gianluca Martino, and David Mellis launched a new innovation in microcontroller hardware in 2005, the concept of open source hardware. Their approach was...
Saved in:
Online Access: |
Full Text (via Morgan & Claypool) |
---|---|
Main Author: | |
Format: | Electronic eBook |
Language: | English |
Published: |
San Rafael, Calif. (1537 Fourth Street, San Rafael, CA 94901 USA) :
Morgan & Claypool,
©2010.
|
Series: | Synthesis lectures on digital circuits and systems (Online) ;
# 29. |
Subjects: |
Table of Contents:
- 5. Analog to digital conversion (ADC)
- Overview
- Sampling, quantization and encoding
- Resolution and data rate
- Analog-to-digital conversion (ADC) process
- Transducer interface design (TID) circuit
- Operational amplifiers
- ADC conversion technologies
- Successive-approximation
- The Atmel ATmega328 ADC system
- Block diagram
- Registers
- Programming the ADC using the Arduino development environment
- Programming the ADC in C
- Example: ADC rain gage indicator
- ADC rain gage indicator using the Arduino development environment
- ADC rain gage indicator in C
- ADC rain gage using the Arduino development environment--Revisited
- One-bit ADC threshold detector
- Digital-to-analog conversion (DAC)
- DAC with the Arduino development environment
- DAC with external converters
- Octal channel, 8-bit DAC via the SPI
- Application: Art piece illumination system, revisited
- Summary
- References
- Chapter problems
- 6. Interrupt subsystem
- Overview
- ATmega328 interrupt system
- Interrupt programming
- Programming interrupts in C and the Arduino development environment
- External interrupt programming
- Internal interrupt programming
- Foreground and background processing
- Interrupt examples
- Real time clock in C
- Real time clock using the Arduino development environment
- Interrupt driven USART in C
- Summary
- References
- Chapter problems
- 7. Timing subsystem
- Overview
- Timing related terminology
- Frequency
- Period
- Duty cycle
- Timing system overview
- Applications
- Input capture
- Measuring external timing event
- Counting events
- Output compare, generating timing signals to interface external devices
- Industrial implementation case study (PWM)
- Overview of the Atmel ATmega328 timer system
- Timer 0 system
- Modes of operation
- Timer 0 registers
- Timer
- Timer 1 registers
- Timer
- Programming the Arduino Duemilanove using the built-in Arduino development environment timing features
- Programming the timer system in C
- Precision delay in C
- Pulse width modulation in C
- Input capture mode in C
- Servo motor control with the PWM system in C
- Summary
- References
- Chapter problems
- 8. Atmel AVR operating parameters and interfacing
- Overview
- Operating parameters
- Battery operation
- Embedded system voltage and current drain specifications
- Battery characteristics
- Input devices
- Switches
- Pullup resistors in switch interface circuitry
- Switch debouncing
- Keypads
- Sensors
- LM34 temperature sensor example
- Output devices
- Light emitting diodes (LEDs)
- Seven segment LED displays
- Code example
- Tri-state LED indicator
- Dot matrix display
- Liquid crystal character display (LCD) in C
- Liquid crystal character display (LCD) using the Arduino development environment
- High power DC devices
- DC Solenoid control
- DC motor speed and direction control
- DC motor operating parameters
- H-bridge direction control
- Servo motor interface
- Stepper motor control
- AC devices
- Interfacing to miscellaneous devices
- Sonalerts, beepers, buzzers
- Vibrating motor
- Extended example 1: Automated fan cooling system
- Extended example 2: Fine art lighting system
- Extended example 3: Flight simulator panel
- Summary
- References
- Chapter problems
- A. ATmega328 register set
- B. ATmega328 header file
- Author's biography
- Index.