Home Page Icon
Home Page
Table of Contents for
Cover
Close
Cover
by Warren W. Gay
Experimenting with Raspberry Pi
Cover
Title
Copyright
Dedication
Contents at a Glance
Contents
About the Author
About the Technical Reviewer
Acknowledgments
Introduction
Chapter 1: DHT11 Sensor
Characteristics
Circuit
Protocol
Overall Protocol
Data Bits
Data Format
Software
Chosen Approach
Example Run
Source Code
Chapter 2: MCP23017 GPIO Extender
DC Characteristics
GPIO Output Current
GPIO Inputs
Standby Current
Input Logic Levels
Output Logic Levels
Reset Timing
Circuit
I2C Bus
Wiring and Testing
Software Configuration
General Configuration
Main Program
Module i2c_funcs.c
Module sysgpio.c
Example Run
Response Times
Chapter 3: Nunchuk-Mouse
Project Overview
Nunchuk Features
Connector Pinout
Testing the Connection
Nunchuk I2C Protocol
Encryption
Read Sensor Data
Linux uinput Interface
Working with Header Files
Opening the Device Node
Configuring Events
Creating the Node
Posting EV_KEY Events
Posting EV_REL Events
Posting EV_SYN Events
Closing uinput
X-Window
Input Utilities
Testing the Nunchuk
Testing ./nunchuk
Utility lsinputs
Utility input-events
The Program
Chapter 4: Real-Time Clock
DS1307 Overview
Pins X1 and X2
Pin SQW/OUT
Power
3-Volt Compatibility
Logic Levels
Tiny RTC Modifications
Checking for Pull-up Resistors
DS1307 Bus Speed
RTC and RAM Address Map
Reading Date and Time
I2C Communication
Wiring
Running the Examples
The Ultimate Test
The Startup Script
Chapter 5: VS1838B IR Receiver
Operating Parameters
Pinout
VS1838B Circuit
The IR Receiver
Software
Signal Components
Code Organization
Command-Line Options
Chapter 6: Stepper Motor
Floppy-Disk Stepper Motor
Your Junk-Box Motor?
Driver Circuit
Darlington Pair
Driving the Driver
Input Levels
Power-on Reset/Boot
Modes of Operation
Wave Drive (Mode 0)
Full-Step Drive (Mode 1)
Half-Step Drive (Mode 2)
Software
Testing
Chapter 7: 76 The H-Bridge Driver
The L298 Driver
Sensing Resistor
Enable A and B
Inputs In1 and In2
Protection Diodes
L298 PCB
Driving from GPIO
The DMM Check
Bipolar Stepper Modes
One-Phase-On Mode
Two-Phase-On Mode
Half-Step Mode
Choosing Driving GPIOs
Project Schematic
Junk-Box Motors
Program Operation
Program Internals
Chapter 8: Remote-Control Panel
Switched Inputs
The CD4013
Testing the Flip-Flop
The LED
ØMQ
Performing Installation
Compiling and Linking
Sensing Station Design
Sensing Station Program
Console Program
Console Commands
Sensor Source Code
Console Source Code
Chapter 9: Pulse-Width Modulation
Introduction to PWM
PWM Parameters
PWM Hardware Peripheral
PWM Software
Meter Circuit
pwm Program
Hardware PWM Set Command
Hardware Based CPU Percent-Busy Display
Software PWM Program
How Many PWMs?
Running the Software PWM Command
Software Based CPU Percent-Busy Display
Appendix A: Glossary
Appendix B: Power Standards
Appendix C: Electronics Reference
Ohm’s Law
Power
Units
Appendix D: ARM Compile Options
Appendix E: Mac OS X Tips
Index
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Next
Next Chapter
Title
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset