Custom Raspberry Pi Interfaces Design and build hardware interfaces for the Raspberry Pi 1st Edition by Warren Gay – Ebook PDF Instant Download/Delivery: 148422406X, 9781484224069
Full download Custom Raspberry Pi Interfaces Design and build hardware interfaces for the Raspberry Pi 1st Edition after payment
Product details:
ISBN 10: 148422406X
ISBN 13: 9781484224069
Author: Warren Gay
Design and build custom hardware interfaces for the Raspberry Pi and discover low cost display and sensor options for embedded system projects. With this book you’ll master 12C communications using Raspbian Linux in C++ and perform ADC and DAC experiments. You’ll experiment with debounce buttons and switches using hardware and software solutions. Develop flywheel rotary encoder effects for ease of tuning and 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. Custom Raspberry Pi Interfaces offers a thorough chapter on interfacing 5-volt systems to 3.3-volt Raspberry Pis designed to expand your choice of peripheral options. Ready to go C++ programs involving GPIO and I2C peripherals are provided. This book also explores ADC, DAC, rotary encoders, CMOS shift registers. I2C I/O extenders. 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 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 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.
Custom Raspberry Pi Interfaces Design and build hardware interfaces for the Raspberry Pi 1st Table of contents:
Chapter 1: Introduction
Raspberry Pi 3 and Zero
Why GPIO Is Important
What to Purchase
Software to Download
Let’s Begin
Chapter 2: 3V/5V Signal Interfacing
7400 Series (TTL)
3.3V Logic
Voltage Dividers
7400 Series Derivative Families
Unused CMOS Inputs
Converting 5V to 3V Input: 74LVC245
Converting 5V to 3V Input: 74LVC244
CD4049/CD4050
Input Protection Diodes
Converting 3 Volts to 5 Volts with the HCT Family
74HCT245
74HCT244
Switching Speed
Summary
Bibliography
Chapter 3: VGA LCD Monitors
VGA Converters
Resolution and Refresh Rates
/boot/config.txt
Confirming Resolution
Summary
Bibliography
Chapter 4: I2C LCD Displays
LCD Module 1602A
I2C Serial Interface
I2C Module Configuration
I2C Module Output
I2C Module Input
PCF8574P Chip
3 Volts to 5 Volts
Attaching the I2C Serial Module
Displaying Data
Reading from the LCD1602
Class LCD1602
I2C Baud Rate
Profit and Loss
Summary
Chapter 5: MC14490 and Software Debouncing
Hardware: MC14490
Chip Operation
Capacitor C1
Experiment
More Inputs
Software Debouncing
Experiment
Summary
Chapter 6: PCF8591 ADC
The YL-40 PCB
Voltage Range
I2C Bus
I2C Addresses
DAC (AOUT)
Removing YL-40 LED D1
Hacking YL-40 I2C Address
I2C Bus Setup
Reading from PCF8591
Experiment
Writing to the DAC
Experiment
Experiment
Limitations
Extending Voltage Range
Repairing the Temp Sensor
Conversion to Celsius
Reading Temperature
Experiment
The YL-40 LDR
Experiment
1N914 Experiment
Software
Potential Experiments
Summary
Bibliography
Chapter 7: Potentiometer Input Controls
Potentiometers
Voltage Dividers
ADC Circuit
Pot Resistance
Taper
Effect of ADC Bits
Experiment
Applying Potentiometer Controls
Selection Resolution
Summary
Bibliography
Chapter 8: Rotary Encoders
Keyes KY-040 Rotary Encoder
The Switch
Operation
Voltage
Evaluation Circuit
Interfacing to the Pi
Experiment
Experiment
Sequence Errors
Experiment
FM Dial 1
FM Dial 2
Class Switch
Main Routine
Summary
Bibliography
Chapter 9: More Pi Inputs with 74HC165
74HC165 Pinout
Function Table
Breadboard Experiment
Program
Logic Analyzer View
Profit and Loss
Even More Inputs
Other Bit Counts
Combining GPIOs
Chip Enable
CD4012B
Summary
Chapter 10: More Pi Outputs with 74HC595
74HC165 Pinout
Function Table
Breadboard Experiment
Experiment Run
Input and Output
Additional Outputs
Profit and Loss
Summary
Chapter 11: MCP23017 I/O Port Extender
MCP23017
Wiring
Output GPIO Experiment
Input Experiment
Software Operations
I2C Header Files
Opening the I2C Driver
I2C Write
I2C Read
Configuration
Interrupt Capability
Interrupt Profit and Loss
Summary
Chapter 12: MPD/MPC Hardware Controls
Audio Preparation
MPD/MPD
Hardware Setup
Test Volume Control
Test Rotary Control
Test LCD
The mpcctl Program
Main Program
Rotary Encoder Thread
LCD Thread
MPC Status Thread
Volume Control Thread
Program Summary
Summary
Bibliography
Chapter 13: Custom Keypads
Breadboard Setup
Output Tests
Input Tests
High-Side Driver
Low-Side Driver
Driving an LED
The Keypad
Keypad Program
The main Program
The key_lookup Function
The i2c_write Function
The i2c_read Function
Combination Lock
Combination Lock
The main Program
The get_key_code Function
People also search for Custom Raspberry Pi Interfaces Design and build hardware interfaces for the Raspberry Pi 1st :
custom raspberry pi interfaces
raspberry pi custom keyboard shortcuts
custom raspberry pi image
custom raspberry pi
custom raspberry pi board
Tags:
Warren Gay,Custom Raspberry,Pi Interfaces,Design,hardware,interfaces,Raspberry Pi