O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Raspberry Pi: Make a Bench automation computer

Video Description

Build a touch-screen driven application and control appliances and devices using a Raspberry Pi

About This Video

  • Build home automation projects while controlling a simple on/off switch, like lights, fans, heaters etc.

  • With the Bench Computer, you will be able to control any device and appliance on your electronics work bench.

  • In Detail

    This Raspberry Pi project course will show you how to integrate a variety of components into a gadget that you can use to automate your work bench. I call it "The Bench Computer". With the Bench Computer, you will be able to control any device and appliance on your electronics work bench, like turn on and off your bench lights, soldering iron and fume extractor. I have designed this course to help you get started. What you get the Bench Computer to do is entirely up to you! Here are the main components (software and hardware) that you will learn about by taking this course:The Raspberry Pi (version 3 is recommended, but any model with a 40-pin header will do), The Raspberry Pi 7-inch touchscreen, The Raspberry Pi Camera v2, The Piface Relay+ HAT (contains the small relays used to control 12V devices), Larger external relays used for controlling mains appliances like lights and your soldering iron, Python 3 and the Tkinter framework for building the application. Things that you want to control, like low-power 12V LED strips and fans, and mains appliances like a soldering iron.

    Table of Contents

    1. Chapter 1 : Introduction
      1. Watch me first! A study guide 00:04:47
      2. Required hardware 00:19:50
      3. Required software 00:08:20
      4. Things to drive on your bench with the Bench Computer 00:09:48
      5. Residual current device 00:03:09
    2. Chapter 2 : Basic setup
      1. Introduction 00:00:26
      2. Setup the Raspbian operating system on an SD card 00:05:24
      3. Attach the touch screen on the Raspberry Pi 00:06:30
      4. Boot your Raspberry Pi for the first time 00:05:44
      5. Attach the Piface Relay+ to your Raspberry Pi 00:07:21
      6. Conclusion 00:00:19
    3. Chapter 3 : More setup: enclosure and networking
      1. Introduction 00:00:23
      2. Make the enclosure for the Bench Computer 00:23:28
      3. Connect a Bluetooth keyboard 00:02:31
      4. Setup Wifi using a keyboard 00:07:19
      5. Setup Wifi using Ethernet 00:08:59
      6. SSH without password 00:07:05
      7. Setup Remote Desktop 00:05:28
      8. Conclusion 00:00:21
    4. Chapter 4 : Taking photos and video with the RPi Camera
      1. Introduction 00:00:19
      2. Connect the Raspberry Pi Camera 00:08:39
      3. Taking still images 00:15:27
      4. Taking video 00:05:01
      5. Converting H264 video to MP4 00:03:29
      6. Spliting video files to smaller files 00:04:50
      7. Conclusion 00:00:20
    5. Chapter 5 : Control with the Piface Relay Plus
      1. Introduction 00:00:25
      2. What is a HAT? 00:02:17
      3. The Piface Relay Plus 00:01:53
      4. Piface Relay Plus software setup and demo 00:03:35
      5. Piface Relay Plus blink script walkthrough 00:07:47
      6. Piface Relay Plus connect and control an LED strip 00:12:06
      7. Shrink tubing to protect a wire join 00:02:42
      8. Piface Relay Plus Connect and Control a 12V Fan 00:08:16
      9. Improving the wiring 00:01:14
      10. Conclusion 00:00:15
    6. Chapter 6 : The DHT22 for environmental monitoring
      1. Introduction 00:00:30
      2. DHT22 wiring and demo 00:10:09
      3. PIGPIOD deamon 00:11:51
      4. Getting the PIGPIOD to auto start 00:07:28
      5. Conclusion 00:00:15
    7. Chapter 7 : Controlling mains loads with an external relay
      1. Introduction 00:00:47
      2. Using a 5V relay with the Raspberry Pi 00:09:09
      3. Calculate the relay driver circuit 00:07:54
      4. Test the relay driver circuit on a breabboard 00:05:18
      5. Design the relay PCB 00:07:06
      6. Test the relay driver PCB 00:05:06
      7. Conclusion 00:00:18
    8. Chapter 8 : Construct the relay controller box
      1. Introduction 00:00:34
      2. Create an enclosure Part 1: Walkthrough 00:22:14
      3. Create an enclosure Part 2: Testing 00:08:44
      4. Create an enclosure Part 3: Tools 00:13:08
      5. Create an enclosure Part 4: Demonstration 00:06:54
      6. Relay box controller external wiring 00:11:50
      7. Test the finished relay controller box with software 00:13:26
      8. Conclusion 00:00:30
    9. Chapter 9 : Meet Tkinter
      1. Introduction 00:00:33
      2. Introduction to Tkinter 00:13:21
      3. The Tkinter Label widget 00:04:38
      4. The Tkinter Event 00:03:43
      5. The Tkinter Entry Box widget 00:04:13
      6. The Tkinter Image widget 00:03:28
      7. The Tkinter custom styling 00:04:42
      8. The Tkinter Notebook widget 00:05:32
      9. The Tkinter grid layout 00:11:35
      10. Conclusion 00:00:19
    10. Chapter 10 : Write the Bench Computer application
      1. Introduction 00:00:26
      2. User Interface design with a wireframe 00:07:05
      3. Step 1: Create the skeleton application 00:15:19
      4. Step 2: Implement Tab 1 - The control Tab 00:15:30
      5. Step 3: Implement Tab 2 - The camera Tab 00:19:57
      6. Step 4: Implement Tab 3 - The environment Tab 00:09:08
      7. Test the Bench Computer application 00:04:24
      8. Conclusion 00:00:31
    11. Chapter 11 : Conclusion
      1. Congratulations 00:02:35