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:
The Adafruit FT232H GPIO breakout is available from many retailers including:
:
:
Adafruit (US):
Pimoroni (UK):
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:
You can download my LED test code here:
And my final BME280 code that writes data to a spreadsheet is here:
Note that the above BME280 code expects to find a spreadsheet called 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 spreadsheet can be found at:
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:
The exact BME280 sensor used in the video is available from Pimoroni here:
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 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:
More videos on computing and related topics can be found at:
@explainingcomputers
You may also like my ExplainingTheFuture channel at: @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
0 views
0
0
2 years ago 00:19:18 0
GPIO for any PC or Laptop: Adafruit FT232H
5 years ago 00:09:17 8
MSP430 - С чего начать? Работа с GPIO
2 years ago 00:02:04 0
GPIO Initialized GPIO Out nRF52840 Run Easy
4 years ago 00:07:13 18
How To Set Up A GPIO Screen For Raspberry Pi - Waveshare 3.5 Inch Touch LCD
10 years ago 00:02:15 0
Gertboard for Raspberry Pi, Плата расширения портов GPIO
6 years ago 00:16:09 0
iot tutorial for beginners | iot distance sensor GPIO | python tutorial for beginners | Harisystems
9 years ago 00:01:35 8
BeagleBone GPIO
6 years ago 00:42:28 0
[RUS] Bartosz Golaszewski: “New GPIO interface for linux user space“ / #LinuxPiter
6 years ago 00:42:28 0
[ENG] Bartosz Golaszewski: “New GPIO interface for linux user space“ / #LinuxPiter
7 years ago 00:45:40 64
Orange Pi Zero setup, GPIO, UART (C/C++ and nodejs)
4 years ago 00:46:06 6
Beaglebone: GPIO Programming on ARM Embedded Linux
3 years ago 00:11:02 29
Raspberry Pi Kernel Development | Writing a Raspberry Pi ARM GPIO Driver in C | Embedded Concepts
8 years ago 00:05:48 20
Python скрипты для работы с GPIO Raspberry Pi. v1
1 year ago 00:16:07 5
BASE & GPIO Registers: STM32 Bare Metal Project #2
2 years ago 00:01:04 0
nRF52840 GPIO button UART Easy
4 years ago 00:05:00 39
Abusing Raspberry Pi GPIO pins as a radio transmitter to control my ceiling fan
8 years ago 00:04:09 12
Использование ШИМ в python для затемнения светодиодов на GPIO Raspberry Pi(v2).
2 years ago 00:01:04 0
nRF52840 GPIO Button UART LED Easy
6 years ago 00:15:27 13
retropie - how to connect and configure GPIO buttons to raspberry Pi 3 using GPIOnext