Experimenting with Raspberry Pi / Warren W. Gay.
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...
Saved in:
Online Access: |
Full Text (via O'Reilly/Safari) |
---|---|
Main Author: | |
Format: | eBook |
Language: | English |
Published: |
New York, NY :
Springer,
[2014]
|
Series: | Technology in action series.
|
Subjects: |
Table of Contents:
- At a Glance; 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; IOCON Register; OLATx Register; GPPUx Register; DEFVALx Register; INTCONx Register; IPOLx Register; IODIRx Register; GPINTENx Register; INTFx Register.
- INTCAPx RegisterGPIOx Register; 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; Configure EV_KEY; Mouse Buttons; Configure EV_REL; Configure EV_ABS; 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 ./nunchukUtility 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; Performing a DMM Resistance Check; Performing a Voltage Reading; Performing a Tiny RTC Modification; Working with Other PCB Products; Locating the 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 ParametersPinout; VS1838B Circuit; The IR Receiver; Software; Signal Components; Code Organization; Command-Line Options; Dump Mode; Gnuplot Mode; 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 ModesOne-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.