Uploaded March 2023 | Updated November 2026, 4 hours ago
Add GPIO to any PC or laptop running Windows, Linux or macOS using an Adafruit FT232H USB breakout board. Here we set things up, control some LEDs using Python code, and then communicate over I2C with a BME280 temperature, pressure and humidity sensor.
The Bmax B1 Plus video I refer to is here:
youtube.com/watch?v=UGcWLgAk5kA
The Adafruit FT232H GPIO breakout is available from many retailers including:
Amazon.com: amzn.to/3kJ19zi
Amazon.co.uk: amzn.to/3kHBabC
Adafruit (US): adafruit.com/product/2264
Pimoroni (UK): shop.pimoroni.com/products/adafruit-ft232h-breakout-general-purpose-usb-to-gpio-spi-i2c
Note that the above Amazon URLs are affiliate links from which I earn a commission.
Adafruit’s excellent setup instructions for their FT232H breakout are here: learn.adafruit.com/circuitpython-on-any-computer-with-ft232h/setup
You can download my LED test code here:
explainingcomputers.com/sample_code/LED_Test.py
And my final BME280 code that writes data to a spreadsheet is here:
explainingcomputers.com/sample_code/Sensor_Spreadsheet.py
Note that the above BME280 code expects to find a spreadsheet called Weather.xlsx in the folder Python_Code -- you will need to edit the code to point it to whatever location you put this file in. A blank Weather.xls spreadsheet can be found at: explainingcomputers.com/sample_code/weather.xlsx
More information on using openpyxl to store sensor readings (or any other data) in a spreadsheet using Python is contain in my Raspberry Pi Weather Station video:
youtube.com/watch?v=ChQpD2gsC20
The exact BME280 sensor used in the video is available from Pimoroni here: shop.pimoroni.com/products/bme280-breakout
Note that, as mentioned in the video, to use the above Pimoroni sensor with the Adafruit CircuitPython library, you will need to edit the file called basic.py found in the adafruit_bme280 folder to change the I2C address from 0x77 to 0x76 (or you could cut the connection on the top of the BME280 module to change its address to 0x77). If you use an Adafruit BME280 module, then this change is not needed. :)
For additional ExplainingComputers videos and other content, you can become a channel member here:
youtube.com/channel/UCbiGcwDWZjz05njNPrJU7jA/join
More videos on computing and related topics can be found at:
youtube.com/@explainingcomputers
You may also like my ExplainingTheFuture channel at: youtube.com/@explainingthefuture
Chapters:
00:00 Introduction
01:05 GPIO Options
05:29 Setup
22:33 LEDs Test
14:22 Sensor Readings (BME280)
18:27 Wrap
#GPIO #FH232H #Adafruit #explainingcomputers
Add GPIO to any PC or laptop running Windows, Linux or macOS using an Adafruit FT232H USB breakout board. Here we set things up, control some LEDs using Python code, and then communicate over I2C with a BME280 temperature, pressure and humidity sensor.
The Bmax B1 Plus video I refer to is here:
youtube.com/watch?v=UGcWLgAk5kA
The Adafruit FT232H GPIO breakout is available from many retailers including:
Amazon.com: amzn.to/3kJ19zi
Amazon.co.uk: amzn.to/3kHBabC
Adafruit (US): adafruit.com/product/2264
Pimoroni (UK): shop.pimoroni.com/products/adafruit-ft232h-breakout-general-purpose-usb-to-gpio-spi-i2c
Note that the above Amazon URLs are affiliate links from which I earn a commission.
Adafruit’s excellent setup instructions for their FT232H breakout are here: learn.adafruit.com/circuitpython-on-any-computer-with-ft232h/setup
You can download my LED test code here:
explainingcomputers.com/sample_code/LED_Test.py
And my final BME280 code that writes data to a spreadsheet is here:
explainingcomputers.com/sample_code/Sensor_Spreadsheet.py
Note that the above BME280 code expects to find a spreadsheet called Weather.xlsx in the folder Python_Code -- you will need to edit the code to point it to whatever location you put this file in. A blank Weather.xls spreadsheet can be found at: explainingcomputers.com/sample_code/weather.xlsx
More information on using openpyxl to store sensor readings (or any other data) in a spreadsheet using Python is contain in my Raspberry Pi Weather Station video:
youtube.com/watch?v=ChQpD2gsC20
The exact BME280 sensor used in the video is available from Pimoroni here: shop.pimoroni.com/products/bme280-breakout
Note that, as mentioned in the video, to use the above Pimoroni sensor with the Adafruit CircuitPython library, you will need to edit the file called basic.py found in the adafruit_bme280 folder to change the I2C address from 0x77 to 0x76 (or you could cut the connection on the top of the BME280 module to change its address to 0x77). If you use an Adafruit BME280 module, then this change is not needed. :)
For additional ExplainingComputers videos and other content, you can become a channel member here:
youtube.com/channel/UCbiGcwDWZjz05njNPrJU7jA/join
More videos on computing and related topics can be found at:
youtube.com/@explainingcomputers
You may also like my ExplainingTheFuture channel at: youtube.com/@explainingthefuture
Chapters:
00:00 Introduction
01:05 GPIO Options
05:29 Setup
22:33 LEDs Test
14:22 Sensor Readings (BME280)
18:27 Wrap
#GPIO #FH232H #Adafruit #explainingcomputers








![Best Value Ryzen PC Build
Ryzen 5 PC build, with a total cost of £234 / $270 + case and PSU (June 2023 prices).
All components used in this build are listed under “Ryzen PC Build” on the ExplainingComputers Amazon storefronts:
US Storefront: https://www.amazon.com/shop/explainingcomputers
UK Storefront: https://www.amazon.co.uk/shop/explainingcomputers
Alternatively, the components for my 5600G build, or an alternative 7600X build, are listed below. Note, as listed, that for the 5600G build you need DDR4 RAM, and for the 7600X you need DDR5.
FOR 5600G BUILD:
Ryzen 5 5600G:
Amazon US: https://amzn.to/3CSZpZO
Amazon UK: https://amzn.to/3PxXelV
Gigabyte A520M S2H:
Amazon UK https://amzn.to/42qneCu
Amazon US: https://amzn.to/3qvac9y
An alternative is the MSI A520M-A PRO Gaming: https://amzn.to/3PrHMrA
Samsung 970 EVO Plus 500GB:
Amazon US: https://amzn.to/43qsCqS
Amazon UK: https://amzn.to/3Cem4iQ
16GB Corsair Vengeance LPX DDR4 RAM (2x8GB):
Amazon UK: https://amzn.to/43C6Srq
Amazon.com: https://amzn.to/3qwvXFZ
An alternative is the Patriot Viper Steel kit (Amazon US): https://amzn.to/3XCTSQQ
FOR 7600G BUILD:
Ryzen 5 7600X:
Amazon US: https://amzn.to/46pFSO9
Amazon UK: https://amzn.to/3JCVT9X
Gigabyte A620M S2H motherboard
Amazon US: https://amzn.to/44a2OiA
Amazon UK: https://amzn.to/3XsLO4X
[A620 motherboards from other manufacturers could be used].
Samsung 970 EVO Plus 500GB
Amazon US: https://amzn.to/43qsCqS
Amazon UK: https://amzn.to/3Cem4iQ
Kingston Fury Beast / Renegade 16GB DDR5 RAM (2x8GB):
Amazon US: https://amzn.to/434mGmj
Amazon UK: https://amzn.to/42ZilAM
Please note that as an Amazon Associate, I earn a commission from any qualifying purchases that you may make if you click on the above links.
Also note that the above information has been carefully checked and, like the video, is provided in good faith. But you are always advised to check what you purchase before ordering, and in particular to check that any processor and RAM you order is compatible with your motherboard. You can do this by visiting the web page for the motherboard.
Zorin OS is available from:
https://zorin.com/os/
X-Plane is available (in both a demo and paid version) for Linux, Mac and PC from:
https://www.x-plane.com/
Other videos referenced during the build were:
Explaining Motherboard Chipsets:
https://www.youtube.com/watch?v=psQa3dSk4JY
Explaining PCIe Slots:
https://www.youtube.com/watch?v=PrXwe21biJo
Explaining USB: From 1.0 to USB4 V2.0:
https://www.youtube.com/watch?v=PctX3kcTj5U
Explaining PC Front Panel Connectors:
https://www.youtube.com/watch?v=nBJJj3FB2P8
Explaining PC Power Supplies:
Will post in July or August 2023. :)
Zorin OS 16 (includes OS installation):
https://www.youtube.com/watch?v=GTMBFtl_xs4
PC BIOS Settings:
https://www.youtube.com/watch?v=ezubjTO7rRI
IMPORTANT:
Since I made this video, I have read a report of a theoretical security risk in the firmware updater included in many Gigabyte motherboards, including the one in this build:
https://eclypsium.com/blog/supply-chain-risk-from-gigabyte-app-center-backdoor/ However, no exploitation of this risk has been reported, and Gigabyte have issued an advisory with a BIOS update fix: https://www.gigabyte.com/Press/News/2091
I have personally also disabled “APP Center Download” in the BIOS, which stops the updater running. I would advise doing this as follows:
Press “Del” on the Gigabyte splash screen on boot to enter the BIOS.
If it says “Easy Mode” at the top of the screen, press F2 to enter “Advanced Mode”.
Go to “Settings” (top menu, third across) and click on “IO Ports”.
Click on “APP Center Download and Install Configuration”.
Double click the “APP Center Download and Install Configuration” orange bar, and set to “Disabled”.
Click on “Save & Exit” (top menu, on the right) and then “Save & Exit” and select “Yes”.
Sorted. The firmware updater with a potential security risk is now disabled.
For additional ExplainingComputers videos and other content, you can become a channel member here:
https://www.youtube.com/channel/UCbiGcwDWZjz05njNPrJU7jA/join
More videos on computing and related topics can be found at:
http://www.youtube.com/@explainingcomputers
You may also like my ExplainingTheFuture channel at: http://www.youtube.com/@explainingthefuture
Chapters:
00:00 Introduction
00:53 Selecting Components
05:08 Motherboard Specification
10:36 Fitting the APU & Cooler
14:37 Fitting the RAM & SSD
17:20 A Metal Skin (installing in the case!)
21:47 5600G in Action (some tests)
24:37 Things to Come
#Ryzen #PCbuild #Ryzen5 #explainingcomputers Best Value Ryzen PC Build](https://i.ytimg.com/vi/Up4o9QQHJuY/mqdefault.jpg)

