资源说明:This book equips the reader with skills necessary to design and build custom hardware interfaces for the Raspberry Pi. A thorough chapter on interfacing 5-volt systems to 3.3-volt Raspberry Pis expands the reader’s choice of peripheral options. Ready to go C++ programs involving GPIO and I2C peripherals are provided. Explores ADC, DAC, rotary encoders, CMOS shift registers. I2C I/O extenders.
Readers will discover low cost display and sensor options for embedded system projects. Master 12C communications using Raspbian Linux in C++. Perform ADC and DAC experiments. Debounce buttons and switches using hardware and software solutions. Read rotary encoders for direction and step. Develop flywheel rotary encoder effects for ease of tuning. Construct a hardware interface to the Music Playing Daemon (MPD) with developed software. Discover how to add your own hardware keypad for remote combination lock applications.
What you'll learn
Build simple, low cost input/output interfaces including rotary encoders
Interface with 5-volt devices from a 3-volt Raspberry Pi system
Conquer stuttering buttons and switches through hardware and software debouncing
Apply analog to digital and digital to analog conversions on the Pi
Read potentiometers (volume control) from the Pi
Determine step, directions, and velocity of a rotary encoder
Provide your own hardware devices for embedded applications
Perform remote interfacing using the I2 PCF8574 chip
Work with external CMOS devices like the 74HC595 (in C++)
Who this book is for
Students and hobbyists interested in building custom interfaces for their Raspberry Pis.
Table of Contents
Chapter 1: Introduction
Chapter 2: 3V/5V Signal Interfacing
Chapter 3: VGA LCD Monitors
Chapter 4: I2C LCD Displays
Chapter 5: MC14490 and Software Debouncing
Chapter 6: PCF8591 ADC
Chapter 7: Potentiometer Input Controls
Chapter 8: Rotary Encoders
Chapter 9: More Pi Inputs with 74HC165
Chapter 10: More Pi Outputs with 74HC595
Chapter 11: MCP23017 I/O Port Extender
Chapter 12: MPD/MPC Hardware Controls
Chapter 13: Custom Keypads
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。