Need some inspiration for your Raspberry Pi projects? Wondering how to work with Wii nunchucks, stepper motors, how to create a remote control panel? If you need guidance, Experimenting with Raspberry Pi is your own personal idea generator. Experimenting with Raspberry Pi covers how to work with var
Experimenting with Raspberry Pi
โ Scribed by Gay, Warren
- Publisher
- Apress
- Year
- 2014;2015
- Tongue
- English
- Leaves
- 231
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Synopsis
Need some inspiration for your Raspberry Pi projects? Wondering how to work with Wii nunchucks, stepper motors, how to create a remote control panel? If you need guidance,Experimenting with Raspberry Piis your own personal idea generator.Experimenting with Raspberry Picovers how to work with various components and hardware like humidity and temperature sensors, Wii nunchucks, GPIO extenders, and IR receivers so you can add these to your own projects.Written with budgets in mind, author Warren Gay encourages you to build, experiment, and swap out various parts to learn more about the Pi and come up with the best ideas and instructions for your own amazing Raspberry Pi project ideas.What you๏ฟฝll learn How to make a GPIO extender How to work with a stepper motor and the Pi, including building an H-bridge driver How to make a remote control panel with the Pi How to use Pulse Width Modulation with the Pi Who this book is for Raspberry Pi tinkerers and electronics hobbyists who want to try out the Pi with different sensors and components while learning more about how the Pi works.
โฆ Table of Contents
Contents at a Glance......Page 3
Contents......Page 223
About the Author......Page 229
About the Technical Reviewer......Page 230
Acknowledgments......Page 231
Introduction......Page 4
Characteristics......Page 7
Protocol......Page 8
Overall Protocol......Page 9
Data Format......Page 10
Software......Page 11
Chosen Approach......Page 12
Example Run......Page 14
Source Code......Page 15
DC Characteristics......Page 20
GPIO Output Current......Page 21
GPIO Inputs......Page 22
Output Logic Levels......Page 23
Circuit......Page 24
I2C Bus......Page 25
Wiring and Testing......Page 26
General Configuration......Page 27
IOCON Register......Page 28
GPPUx Register......Page 30
INTCONx Register......Page 31
IODIRx Register......Page 32
INTFx Register......Page 33
GPIOx Register......Page 34
Main Program......Page 35
Module i2c_funcs.c......Page 40
Module sysgpio.c......Page 44
Example Run......Page 47
Response Times......Page 49
Nunchuk Features......Page 51
Connector Pinout......Page 52
Testing the Connection......Page 53
Nunchuk I2C Protocol......Page 54
Read Sensor Data......Page 55
Linux uinput Interface......Page 56
Configuring Events......Page 57
Configure EV_KEY......Page 58
Configure EV_REL......Page 59
Configure EV_ABS......Page 60
Creating the Node......Page 61
Posting EV_REL Events......Page 63
Closing uinput......Page 64
X- Window......Page 65
Testing the Nunchuk......Page 66
Utility lsinputs......Page 68
The Program......Page 69
DS1307 Overview......Page 80
Pin SQW/OUT......Page 82
3-Volt Compatibility......Page 83
Checking for Pull-up Resistors......Page 84
Performing a Tiny RTC Modification......Page 85
Locating the Pull-up Resistors......Page 86
RTC and RAM Address Map......Page 87
I2C Communication......Page 89
Running the Examples......Page 90
The Startup Script......Page 91
Operating Parameters......Page 102
VS1838B Circuit......Page 103
The IR Receiver......Page 104
Signal Components......Page 105
Code Organization......Page 107
Command-Line Options......Page 108
Gnuplot Mode......Page 109
Floppy-Disk Stepper Motor......Page 121
Your Junk-Box Motor?......Page 122
Driver Circuit......Page 124
Darlington Pair......Page 125
Input Levels......Page 127
Power-on Reset/Boot......Page 128
Modes of Operation......Page 129
Full-Step Drive (Mode 1)......Page 130
Software......Page 131
Testing......Page 133
The L298 Driver......Page 141
Inputs In1 and In2......Page 142
L298 PCB......Page 143
Driving from GPIO......Page 145
The DMM Check......Page 146
Two-Phase-On Mode......Page 147
Half-Step Mode......Page 148
Choosing Driving GPIOs......Page 149
Junk-Box Motors......Page 150
Program Operation......Page 151
Program Internals......Page 152
Switched Inputs......Page 160
The CD4013......Page 161
The LED......Page 163
Performing Installation......Page 164
Sensing Station Design......Page 165
Console Program......Page 166
Sensor Source Code......Page 167
Console Source Code......Page 175
Introduction to PWM......Page 183
PWM Software......Page 184
Meter Circuit......Page 185
pwm Program......Page 186
Hardware PWM Set Command......Page 188
Hardware Based CPU Percent-Busy Display......Page 189
Software PWM Program......Page 196
Running the Software PWM Command......Page 198
Software Based CPU Percent-Busy Display......Page 199
Chapter 10:Glossary......Page 204
Chapter 11:Power Standards......Page 210
Power......Page 211
Units......Page 212
Chapter 14:ARM Compile Options......Page 213
Appendix E: Mac OS X Tips......Page 214
Index......Page 216
๐ SIMILAR VOLUMES
<p><p>Need some inspiration for your Raspberry Pi projects? Wondering how to work with Wii nunchucks, stepper motors, how to create a remote control panel? If you need guidance, <em>Experimenting with Raspberry Pi</em> is your own personal idea generator. <em>Experimenting with Raspberry Pi </em>cov
Need some inspiration for your Raspberry Pi projects? Wondering how to work with Wii nunchucks, stepper motors, how to create a remote control panel? If you need guidance, Experimenting with Raspberry Pi is your own personal idea generator. Experimenting with Raspberry Pi covers how to work with var
<p><p>Using the Pi Camera and a Raspberry Pi board, expand and replicate interesting machine learning (ML) experiments. This book provides a solid overview of ML and a myriad of underlying topics to further explore. Non-technical discussions temper complex technical explanations to make the hottest
Using the Pi Camera and a Raspberry Pi board, expand and replicate interesting machine learning (ML) experiments. This book provides a solid overview of ML and a myriad of underlying topics to further explore. Non-technical discussions temper complex technical explanations to make the hottest and m
A technology book for kids! Do you want to learn how computers work? This book introduces you to the world of computing with the Raspberry Pi - the small, inexpensive, and super-cool microcomputer that teaches real tech skills. Use the Pi to create things while learning all about computers, from the