Raspberry Pi: Discover 45 Electronics Projects
By Bert van Dam
An Elektor Publication
Table of Contents
1. What You Need
- 1.1 RPi
- 1.2 SD Card
- 1.3 Keyboard
- 1.4 Mouse
- 1.5 Display
- 1.6 Internet Connection
- 1.7 Power Supply
- 1.8 Loudspeaker ("earphones")
- 1.9 Breadboard
- 1.10 Components
- 1.11 Software Oscilloscope
2. A Quick Tour of the RPi
- 2.1 LXterminal
- 2.2 LXterminal - Scrot
- 2.3 LXterminal - Nano
- 2.4 Idle
- 2.5 Debian Reference
- 2.6 Epiphany
- 2.7 Libre Office
- 2.8 Leafpad
- 2.9 Scratch
- 2.10 File Manager
3. Software Installation
- 3.1 RPi
- 3.1.1 Keyboard
- 3.1.2 Larger SD Card
- 3.1.3 Other memory allocation (memory split)
- 3.1.4 IP Address
- 3.2 Windows-PC (optional)
- 3.2.1 Disk Imager
- 3.2.2 Python, wxPython and IdleX
- 3.2.3 Putty (SSH)
- 3.2.4 Xming (Xwindows)
- 3.2.5 WinSCP
4. Brief Introduction to...
- 4.1 Debian Linux
- 4.2 Programming in Bash
- 4.3 Programming in Python
- 4.4 Programming in JavaScript
5. GPIO
- 5.1 Introduction
- 5.2 LED
- 5.3 Flashing LED
- 5.4 Alternating Flashing Light
- 5.5 Timer-LED with window
- 5.6 Switch
- 5.7 Timer Switch
- 5.8 Changeover Switch
- 5.9 Switch state in window
- 5.10 A button with sound
6. More Power
- 6.1 TD62783 (8-channel source-driver)
- 6.1.1 Lamp 6 V / 65 mA
- 6.1.2 Motor 5 V / 145 mA
- 6.2 ULN2003 (7 open Darlington-arrays)
- 6.2.1 Fan 12 V / 125 mA and lamp 6 V / 65 mA
- 6.3 IRF740 MOSFET
- 6.3.1 Motor 5 V / 550 mA
7. PWM
- 7.1 PWM-LED with graph
- 7.2 Slowly glowing lamp
- 7.3 Motor with speed control
8. SPI
- 8.1 SPI Introduction
- 8.2 MAX522 (digital to analog – DAC)
- 8.3 DAC with op-amp
- 8.4 More than two SPI devices
- 8.5 MCP3008 (analog to digital – ADC)
- 8.6 MCP3008 (pseudo-differential measurement)
9. I²C
- 9.1 I²C Introduction
- 9.2 MCP23008 (I/O-extender)
- 9.3 More power on the extender
- 9.4 TC74 (digital thermometer)
10. Bluetooth and Serial
- 10.1 RS232 Introduction
- 10.2 Serial connection RPi – Piccolino
- 10.2.1 Serial echo
- 10.2.2 Serial analog measurement (ADC)
- 10.3 Bluetooth
11. Webserver (WiFi or wired)
- 11.1 Introduction
- 11.2 HTML-server
- 11.3 CGI
- 11.3.1 Hello User
- 11.3.2 Counting visits in a file
- 11.3.3 Variables from browser to server
- 11.3.4 GPIO
- 11.3.5 GPIO with JavaScript
- 11.3.6 I²C Fridge Alarm with automatic webpage
12. Client-server (WiFi or wired)
- 12.1 Introduction
- 12.2 TCP-multiplication
- 12.3 TCP-LED control
- 12.4 TCP-DAC
- 12.5 TCP-sawtooth and square wave generator
- 12.6 TCP-voltmeter with 8 channels
- 12.7 UDP-echo
- 12.8 UDP-light meter
13. LEGO-board
- 13.1 Introduction
- 13.2 Design
- 13.3 Assignments
- 13.4 The useless box
Appendices
- Appendix 1. Adjustable power supply
- Appendix 2. Header schema
- Appendix 3. Download contents
- Appendix 4. Parts list
Index