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 ...
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.
上のコードをそれぞれbmetest_spi.py、bme280_spi.pyというファイル名で保存してRaspberry Pi Picoに送り、Thonny上でbmetest_spi.pyを実行したところI2C接続の時と同様に温度と気圧のデータが表示されました。 ではコードの解説に入ります。bmetest_spi.pyではI2Cの時と同様に ...
Raspberry Pi 4 でJupyterLabを実行し,PCからJupyterLabを利用するための設定をまとめておきます。ここでのゴールは,PCからJupyterLabでPythonコードを開発して,RaspberryPiのGPIOに接続した外部機器(LEDやDCモータ)を制御することです。 Raspberry Pi 4 や Raspberry Pi Zero では ...
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 ...
This is more for my own memory aid than any serious coding. I am not a python or micro/embedded systems programmer by a very long way! This is a small set of Circuit Python files to get a TFT screen ...
2023年9月に発表された「Raspberry Pi 5」が、日本でも2月から発売となった。すでに手にしている方も多数いると思われるが、「まだ迷っている」、「これから」という方に、Raspberry Pi 5の特徴や性能、どう活用したら良いかについて解説したい。 ハードウェア ...
ラトックシステム株式会社(本社:大阪府大阪市浪速区、代表取締役:岡村周善、以下ラトックシステム)は、Raspberry Piと接続し、アナログ信号を入力・デジタル変換を可能にする拡張ボード「RPi-GP40T」および「RPi-GP40M」を、それぞれ2018年4月下旬より出荷 ...
Raspberry Pi財団は、子ども向けの教育用エディター「Code Editor」のベータ版を無償で公開したと発表した。Pythonのコードをブラウザー中のエディターで編集でき、設定などをせずにすぐ利用することが可能で、直感的な操作ができるという。コードを「Raspberry ...