上のコードをそれぞれbmetest_spi.py、bme280_spi.pyというファイル名で保存してRaspberry Pi Picoに送り、Thonny上でbmetest_spi.pyを実行したところI2C接続の時と同様に温度と気圧のデータが表示されました。 ではコードの解説に入ります。bmetest_spi.pyではI2Cの時と同様に ...
Example using Sipeed Longan Nano board (GD32VF103CBT6 from the GD32VF103 series) as an SPI slave device for the raspberry pi zero 2W. This is more of an experimentation, the raspberry pi does not have ...
今回は、プログラミング関連についてアウトプットします。 1~3項は本ブログの背景です。本題のRaspberry pi×Pythonでの電子工作は4項からです。 1.プログラミングを学んだきっかけ 2020年春、ちょうどコロナ禍の真っただ中のとき、会社が2か月休業となりました。
The MAX7219 chipset supports a serial 16-bit register/data buffer which is clocked in on pin DIN every time the clock edge falls, and clocked out on DOUT 16.5 clock cycles later. This allows multiple ...
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 ...
現在アクセス不可の可能性がある結果が表示されています。
アクセス不可の結果を非表示にする