前回Raspberry PiのGPIOピンを操作するためのライブラリ「RPi.GPIO」を紹介しましたが、こちらはRaspberry Pi5では使用できませんでした。 今回はRaspberry Pi5でも使用できる「gpiod」を紹介します。 GPIO (general-purpose input/output) ピンとは様々な用途に使用できるピンで ...
今回は、プログラミング関連についてアウトプットします。 1~3項は本ブログの背景です。本題のRaspberry pi×Pythonでの電子工作は4項からです。 1.プログラミングを学んだきっかけ 2020年春、ちょうどコロナ禍の真っただ中のとき、会社が2か月休業となりました。
GPIOのI2S出力 もともとGPIO入門編その2となる予定だったこの回では、市販のセンサーを接続し、それに関するプログラミングなどを掲載するつもりだったが、考えてみると、GPIOからデータを取り込むまでは、Raspberry Piの仕様であるものの、センサーから得た値を演算して何かするのは、センサー ...
ラトックシステム株式会社(本社:大阪市西区、代表取締役:近藤 正和、以下ラトックシステム)は、ラズパイ拡張用のI2C 絶縁型RS485/422A ボード「RPi-GP70」を、2023年2月下旬より出荷開始いたします。 RPi-GP70は、Raspberry Pi の GPIO 40Pinコネクタに接続する絶縁 ...
Raspberry Pi enthusiasts wanting to connect their projects to the Arduino Cloud using Python might be interested in a guide specifically created by the official Arduino team. Raspberry Pi GPIO control ...
While the Raspberry Pi has very good support for an I2C bus, a lot of very cool chips – including the in system programmer for just about every ATtiny and ATmega microcontroller – use an SPI bus.
Raspberry Piに5つまでの拡張基板が接続できるようになる「ラズベリーパイ専用GPIOスタック拡張ボード(ADRSZBB)」がビット・トレード・ワンから発売された。外部電源やGroveモジュールの接続も可能。 店頭価格は税抜き2,980円で、販売ショップはマルツ秋葉原本店 ...
前回のPart1は「Raspberry Pi3 Model B」の簡単な紹介だったが、今回Part2はいよいよRaspberry Pi特有のGPIOをコントロールする。 そう言う筆者もここから先は未知の世界。 いろいろ調べながらの執筆となった。 まずは基本。
More often than not, an IoT master device uses the SPI (serial peripheral interface) and I 2 C (inter-integrated circuit) protocols to exchange data with EEPROMs or sensors that are operating in slave ...