Download 30 BeagleBone Black Projects for the Evil Genius PDF

Title30 BeagleBone Black Projects for the Evil Genius
File Size19.7 MB
Total Pages284
Table of Contents
                            Title Page
Copyright Page
Dedication
About the Author
Contents
Acknowledgments
Introduction
1 Getting Started
	Powering Up Your BeagleBone Black
	Powering Up Your BeagleBone Black
	Connecting to Your BeagleBone Black Through Ethernet
	Connecting via SSH Through USB and Ethernet
	Installing Software and Running Updates
	BeagleBone Black Pinout
	Project 1 Blinking an Internal LED
	Summary
2 LED Projects
	Project 2 Blink an External LED
	Project 3 Adjustable LED Blinker
	Project 4 High-Powered LED Morse Code Sender
	Project 5 RGB LED Fader
	Project 6 Traffic Lights
	Project 7 Matrix Displays
	Summary
3 Sensor Projects
	Project 8 Scanning Sonar
	Project 9 Vibration Detection
	Project 10 GPS Tracker
	Project 11 Temperature Sensor
	Project 12 Moisture Sensor
	Project 13 Light Level Indicator
	Summary
4 Robotic Projects
	Project 14 Controlling Servos and Motors
	Project 15 Wireless Keyboard-Controlled Rover
	Project 16 Web-Controlled Rover
	Project 17 Plant Hydration System
	Project 18 Sentinel Turret
	Summary
5 Display Projects
	Project 19 7-Segment Clock
	Project 20 Displaying Sensor Information
	Project 21 LCD Display
	Project 22 LED Matrix Scrolling Text Display
	Summary
6 Audio Projects
	Project 23 Internet Radio
	Project 24 “The Imperial March” Player
	Project 25 Audio Level Indicator
	Summary
7 Spy Projects
	Project 26 Intruder Alert Using the Twitter API
	Project 27 Lie Detector
	Project 28 Keypad Door Latch
	Project 29 Webcam Security Doorbell
	Project 30 Automatic Dog Barker
	Summary
8 Tools and Tips
	Datasheets
	Breadboards and Prototyping Boards
	Multimeter
	Soldering
	Analog vs
	Understanding I2C and SPI
	Summary
Appendix A Suppliers and Components
	Suppliers
	Components
Appendix B BeagleBone Black GPIO Pinout
Index
                        
Document Text Contents
Page 2

Evil Genius Series

15 Dangerously Mad Projects for the Evil Genius
22 Radio and Receiver Projects for the Evil Genius
25 Home Automation Projects for the Evil Genius
30 Arduino Projects for the Evil Genius, Second Edition
30 BeagleBone Black Projects for the Evil Genius
50 Awesome Auto Projects for the Evil Genius
50 Model Rocket Projects for the Evil Genius
51 High-Tech Practical Jokes for the Evil Genius
101 Spy Gadgets for the Evil Genius
101 Outer Space Projects for the Evil Genius
123 PIC Microcontroller Experiments for the Evil Genius
123 Robotics Experiments for the Evil Genius
Arduino + Android Projects for the Evil Genius
Bionics for the Evil Genius: 25 Build-it-Yourself Projects
Electronic Circuits for the Evil Genius, Second Edition: 64 Lessons with Projects
Electronic Gadgets for the Evil Genius: 28 Build-it-Yourself Projects
Electronic Games for the Evil Genius
Electronic Sensors for the Evil Genius: 54 Electrifying Projects
Fuel Cell Projects for the Evil Genius
Mechatronics for the Evil Genius: 25 Build-it-Yourself Projects
MORE Electronic Gadgets for the Evil Genius: 40 NEW Build-it-Yourself Projects
PC Mods for the Evil Genius: 25 Custom Builds to Turbocharge Your Computer
Programming Video Games for the Evil Genius
Raspberry Pi Projects for the Evil Genius
Solar Energy Projects for the Evil Genius

Page 143

Project 16
Web-Controlled Rover
In this project, we use a simple web interface to control a small rover using the BeagleBone Black.
To achieve this, we use “web sockets” for the communication between the web interface and our
node.js program. This project adopts a client/server model in which our BeagleBone JavaScript
application creates a server that listens on a particular port number (in this case, 8080) and waits to

Page 283

traffic light system, 32–35
breadboard layout, 33
hardware for, 32
photo of completed, 33
software for, 32, 34–35

transistors, 25–26, 112
trigger pulse input, 119
truth tables, 126
Tweepy library, 106
Twitter API

intruder alert using, 103–108
webcam security doorbell using, 116–119

U
UART pins, 13
ultrasonic sensors, 41, 119
ultrasonic sound waves, 41
Unarchiver program, 9–10
updating BeagleBone Black, 11, 64
URLs

Bone101 web page, 4, 5
streaming radio station, 91–92

USB connection, 1–2
USB sound card, 91, 119, 121
USER/BOOT button, 11

V
variable resistors, 95, 108
vibration detection, 43–45

hardware for, 44
software for, 44–45

voltage
definition of, 129
measuring with multimeter, 130–131
symbol used for, 129, 130

voltage divider circuit, 42
voltage divider equation, 42
volume control dial, 95

Page 284

W
web port number, 70
web sockets, 67
webcam security doorbell, 116–119

breadboard layout, 116
hardware for, 116–117
photo of completed, 117
software for, 117–119

web-controlled rover, 67–72
breadboard layout, 68
hardware for, 67
photo of completed, 68
software for, 67, 69–72
web page for, 72

Win32 Disk Imager, 8–9
Windows

OS image writing, 8–9
SSH connection, 7

wire considerations, 128
wireless keyboard-controlled rover, 64–66

breadboard layout, 65
hardware for, 64–65, 66
photo of completed, 66
software for, 65–66

Similer Documents