
As of October 2017, Raspbian Jessie has been replaced by Raspbian Stretch. Everything I show in this course will work fine in Raspbian Stretch.
Understand how a residual current device detects current imbalance to prevent electrocution, with guidance on installation, testing, and safety before building the Raspberry Pi bench computer.
As of October 2017, Raspbian Jessie has been replaced by Raspbian Stretch. Please download Stretch instead of Jessie. Everything I show in this course will work fine in Raspbian Stretch.
NOTE the address configuration of the Piface board is controlled by a set of jumper wires. By default (i.e. as you receive your Piface in the box) those jumpers maybe arranged differently, and this will cause the I2C address of your Piface board to be different to what I show you in these videos.
To avoid any confusion, please ensure that the address jumpers on your board match mine, or remember to change the I2C address in the software accordingly.
Look at the section "jumper settings" in the Piface Relay Plus Getting Started Manual (linked in the Resources).
Learn to configure Wi‑Fi on a Raspberry Pi using a keyboard, first by selecting a visible network, then by manually editing wpa_supplicant.conf with nano for non-broadcast networks.
Set up remote desktop on the Raspberry Pi with XRDP, reboot, and connect from your development computer at 800 by 600 to control the Pi’s desktop remotely.
Learn to take stills and video with the raspberry pi camera using python 3, preview on the bench, and save high-quality images with adjustable resolution and resize.
You will need to download Adafruit's DHT module from Github with this command:
git clone https://github.com/adafruit/Adafruit/Adafruit_Python_DHT.git
Drive a 5-volt relay from a 3.3-volt Raspberry Pi GPIO using a transistor. Protect with a diode and a pull-down resistor to safely energize the coil.
Test a relay driver circuit on a breadboard using a 2N2222 transistor, 471 ohm base resistor, 9.8k pull-down, 3.3v GPIO, and 5v coil supply, then plan PCB conversion.
Design the relay pcb in KiCad by building the schematic and layout, wiring 3.3V GPIO and 5V coil via a transistor, with wide traces and mounting holes for safety.
Test a relay box with a Raspberry Pi using the PiFace Relay Plus to programmatically toggle a soldering station and SMD rework station via GPIO pins.
Set up skeleton of the bench computer app with a zoomed tkinter root, a three-tab notebook (instruments, camera, environment), and a log area, plus the main loop and close confirmation.
Implement the camera tab with still, interval, and video controls, a live preview, timestamped file names, interval directories, and TkInter scheduling for interval captures and video recording.
Demonstrates testing a bench computer on Raspberry Pi by interacting with the touchscreen, enabling executable permissions, and using the instruments, camera, and environment features to capture images and video.
** UPDATED SEPTEMBER 1, 2022 **
In this update I’ll show you how to update the bench computer so that it runs on the latest currently available version of the Raspberry Pi operating system, which is version 11, nicknamed “Bullseye”, along with the Python interpreter that comes with Bullseye, which is version 3.9.2.
The new content includes 15 new lectures (2 new hours of instruction) in two sections.
I have not changed the bench computer hardware in this update.
---------------------------------
** UPDATED JANUARY 31, 2018 **
The latest update includes a whole new section in which you will learn how to build your Raspberry Pi Bench Computer using a low cost relay board instead of the (hard to find) Piface Relay+. You will also learn how to use a GPIO breakout board that makes it very easy to secure wires to your Raspberry Pi.
---------------------------------
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.
The Bench Computer provides a great framework on which you can build your own home automation projects Out of the box, you will be able to control anything with a simple on/off switch, like lights, fans, heaters etc.
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 (I use a Raspberry Pi 3 Model B for historical reasons, you can also use a Raspberry Pi 4).
The Raspberry Pi 7-inch touchscreen.
The Raspberry Pi Camera v2.
The Piface Relay+ HAT (contains the small relays used to control 12V devices) OR a Keyestudio 4 Channel Relay board.
A GPIO board breakout.
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.
Scroll further down for a list of learning objectives for this course.
All code is available on Github, and is free to download and use as you wish.
A list of parts is available in the first section of the course (free to view).
In 11 hours of video content and over 70 lectures, you will learn the necessary skills for interfacing you Raspberry Pi with your workbench.