上のコードをそれぞれbmetest_spi.py、bme280_spi.pyというファイル名で保存してRaspberry Pi Picoに送り、Thonny上でbmetest_spi.pyを実行したところI2C接続の時と同様に温度と気圧のデータが表示されました。 ではコードの解説に入ります。bmetest_spi.pyではI2Cの時と同様に ...
今回は、プログラミング関連についてアウトプットします。 1~3項は本ブログの背景です。本題のRaspberry pi×Pythonでの電子工作は4項からです。 1.プログラミングを学んだきっかけ 2020年春、ちょうどコロナ禍の真っただ中のとき、会社が2か月休業となりました。
A Python library for interfacing with DLN2 USB-to-SPI adapters with a spidev-compatible API. This package allows existing Python code written for py-spidev to work with DLN2 devices with minimal ...
ラトックシステム株式会社(本社:大阪府大阪市浪速区、代表取締役:岡村周善、以下ラトックシステム)は、Raspberry Piと接続し、アナログ信号を入力・デジタル変換を可能にする拡張ボード「RPi-GP40T」および「RPi-GP40M」を、それぞれ2018年4月下旬より出荷 ...
2023年9月に発表された「Raspberry Pi 5」が、日本でも2月から発売となった。すでに手にしている方も多数いると思われるが、「まだ迷っている」、「これから」という方に、Raspberry Pi 5の特徴や性能、どう活用したら良いかについて解説したい。 ハードウェア ...
Intended to be a do-everything “poor man’s hardware hacking tool” as [Arun] claims, his instruction manual details all the ways that a Raspberry Pi can communicate with other devices using SPI and I2C ...