タグ

RaspberryPiに関するiwwのブックマーク (201)

  • Raspberry Pi の Drive Strength を変更して少し大きめの電流を流す - Qiita

    参考にしたWebページ [1] http://ja.scribd.com/doc/101830961/GPIO-Pads-Control2 [2] http://www.thebox.myzen.co.uk/Raspberry/Understanding_Outputs.html [3] http://raspberrypi.stackexchange.com/questions/9772/how-do-i-change-the-drive-strength-on-gpio GPIOポートのDrive Strengthとは Raspberry PiのGPIOは全体で最大50mAの出力が可能であるということは多くのサイトで見つかります。 例えば以下のページでもGPIOの電流は最大で50mAであることが書かれています。 それでは、GPIOのピン1つからはどれだけの電流を流すことができるでしょう

    Raspberry Pi の Drive Strength を変更して少し大きめの電流を流す - Qiita
    iww
    iww 2024/01/28
    Drive Strength Control
  • Raspberry Pi Documentation - Raspberry Pi hardware

    A powerful feature of the Raspberry Pi is the row of GPIO (general-purpose input/output) pins along the top edge of the board. A 40-pin GPIO header is found on all current Raspberry Pi boards although it is unpopulated on Raspberry Pi Zero, Raspberry Pi Zero W, and Raspberry Pi Zero 2 W. The GPIO headers on all boards have a 0.1-inch (2.54 mm) pin pitch. Any of the GPIO pins can be designated in s

    Raspberry Pi Documentation - Raspberry Pi hardware
  • Raspberry PiのGPIOピンの概要 « osoyoo.com


    Raspberry PiGPIO  Raspberry PiGPIOGPIOGPIOLED  GPIO GPIO GPIOLED GPIO    Raspberry Pi GPIO Raspberry PiGPIO26(A+/B+)GPIO 2 Raspberry
  • 電子工作 その12(ロードセル:HX711の使い方)


    Ideagear Arduino UnoHX711使 w202314 20221228 HX7113060020/   ()()(0~20
    電子工作 その12(ロードセル:HX711の使い方)
  • 『猫の体重管理。』


    100k  10    IoT IT ()    使  GPS
    『猫の体重管理。』
  • Raspberry PiのI2Cをコマンドラインでセットアップ - Qiita

    modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/5.4.79+/modules.dep.bin' modprobe: FATAL: Module i2c-dev not found in directory /lib/modules/5.4.79+

    Raspberry PiのI2Cをコマンドラインでセットアップ - Qiita
    iww
    iww 2024/01/07
    raspi-config を非対話で使う
  • raspberry piとhx711を使った重量測定器(TkinterでGUI表示) - Qiita

    これまた仕事で重量測定と重量に応じた結果表示のニーズが出てきたので、プロトタイプを作ってみました。 1. タッチパネルディスプレイのセットアップ 表示だけならHDMI接続のディスプレイでも無機質なCLIでもいいのですが、使用する対象は自分のようななんちゃってプログラマーではなく素人です。 なのでGUI表示&タッチパネルを用いた簡単な操作ができるようタッチパネルディスプレイを手配します。 https://www.amazon.co.jp/dp/B075K56C12/ これならGPIOを占有しないので、ロードセル接続に最適ですね! セットアップ方法は先人の方が分かりやすく紹介していただいているので、リンクを貼っておきます。 neuralassemblyのメモ:Raspberry PiのGPIOが引き出せる小型タッチスクリーンが届いたので電子工作に使ってみた https://neuralasse

    raspberry piとhx711を使った重量測定器(TkinterでGUI表示) - Qiita
  • Raspberry Piでスイッチ入力


     GPIOGPIO2 L5  [TOC]  Raspberry Pi 4 B 使  3   (-)     OK 36GroundGPIO
    Raspberry Piでスイッチ入力
    iww
    iww 2024/01/06
  • GPIOのアクセス方法

  • RasberryPi 4BでGPIOのシリアル通信を有効にするメモ - Qiita

    raspi-configが起動したら、以下のような画面になるので、 Interfacing options Serial Port 「いいえ」 ハードウェアポートをアクティブ化するかどうかの質問に「はい」 「了解」 デバイスの確認 $ dmesg | grep PL011 [ 0.038572] Serial: AMBA PL011 UART driver [ 1.431030] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 14, base_baud = 0) is a PL011 rev2 $ ls -al /dev/ttyAMA0 crw--w---- 1 root tty 204, 64 12月 28 19:44 /dev/ttyAMA0

    RasberryPi 4BでGPIOのシリアル通信を有効にするメモ - Qiita
  • Raspberry PiのGPIOピン配置を確認する - BioErrorLog Tech Blog


    Raspberry PiGPIO   Raspberry PiGPIO pinout     Raspberry PiGPIO 調 調 [] www.bioerrorlog.work  Raspberry Pi 2/3/4 GPIO(40) Raspberry Pi 1 Model B+(26) Prior to the Pi 1 Model B+ (2014), boards comprised a shorter 26-p
    Raspberry PiのGPIOピン配置を確認する - BioErrorLog Tech Blog
    iww
    iww 2024/01/06
  • 第24回 Raspberry PiのGPIOを制御する(コマンド編) | ツール・ラボ

    今回の説明内容 今回はターミナル上のコマンドプロンプトを使ってRaspberry PiのGPIOピン制御をしてみます。 これからターミナル上でコマンドを入力してGPIOを制御しますが、やり方は何通りかあります。この記事では代表的な2通りの制御方法を説明します。言葉の意味はあとで詳しく説明しますが、一つは「echoコマンド」を使う方法、もう一つは「gpioコマンド」を使う方法です。2通りのやり方を通して、GPIOの制御に少しずつ慣れていきましょう。 また、GPIO制御の内容としては「LEDの点灯/消灯の制御」と「スイッチの状態読み取り」を行います。 今回の説明内容は以下になります。 ブレッドボードの確認 GPIO制御方法概要 echoコマンドによるLED点滅制御方法 gpioコマンドによるLED点滅制御方法 catコマンドによるスイッチ状態読み取り方法 gpioコマンドによるスイッチ状態読み

    第24回 Raspberry PiのGPIOを制御する(コマンド編) | ツール・ラボ
  • bullseyeベースのRaspberry Pi OSからWiring Piが無くなった、その対処方法(raspi-gpio コマンド) - Qiita

    $ raspi-gpio help WARNING! raspi-gpio set writes directly to the GPIO control registers ignoring whatever else may be using them (such as Linux drivers) - it is designed as a debug tool, only use it if you know what you are doing and at your own risk! The raspi-gpio tool is designed to help hack / debug BCM283x GPIO. Running raspi-gpio with the help argument prints this help. raspi-gpio can get an

    bullseyeベースのRaspberry Pi OSからWiring Piが無くなった、その対処方法(raspi-gpio コマンド) - Qiita
    iww
    iww 2024/01/06
    無くなったということは標準ではなくなったということなので、gpioコマンドは忘れてよさそう
  • Raspberry Pi で gpio readall ができない場合 | プログラミングコンテストを楽しもう!


    LXTterminal  Oops    unable to determine board type  model:  17 Wiring Pi GPIO 2LXTerminal  
    iww
    iww 2024/01/06
  • ラズパイのGPIOの初期状態を調べる | 電子工作の環境向上

    TOPに戻る 電子工作をするMakerたちの生活環境を快適にするために PCの利用方法、周辺機器、ネットワーク、Wi-FiNAS、クラウドの利用 オーディオ、ビジュアル機器、料理のツール、キットの製作などを取り上げます。 ラズパイのGPIOの初期状態を調べる ■初期状態はGPIOのピンによっていろいろ I2C-1のSDAとSCL信号は1.8kΩのプルアップ抵抗が入っているのでHighです。I2C-0はプルアップ抵抗は入っていないので、HighかLowかはわかりません。SPIのCE0、CE1は負論理なので、初期状態ではHighです。 特別なI/Oになっていない普通のGPIOは初期状態ではHighでしょうかそれともLowでしょうか。負論理のリレーをつなぐと、初期状態がLowのリレーだと電源が入った時点でONになってしまいます。 ●GPIOの状態を表示 gpio readallでGPIOの状態

    ラズパイのGPIOの初期状態を調べる | 電子工作の環境向上
    iww
    iww 2024/01/06
  • Raspberry Pi GPIO Pinout

    Legend Orientate your Pi with the GPIO on the right and the HDMI port(s) on the left. GPIO (General Purpose IO) SPI (Serial Peripheral Interface) I2C (Inter-integrated Circuit) UART (Universal Asynchronous Receiver/Transmitter) PCM (Pulse Code Modulation) Ground 5v (Power) 3.3v (Power) Pinout! The Raspberry Pi GPIO pinout guide. This GPIO Pinout is an interactive reference to the Raspberry Pi GPIO

    iww
    iww 2024/01/06
    ラズパイのピン配置は 2,3,4 で同じらしい
  • Raspberry Pi 5をUSBメモリや外付けSSDからブートする手順&低電力時の警告画面をスキップする方法まとめ

    Raspberry Pi 5はmicroSDカードだけでなくUSBメモリや外付けSSDなどからのブートにも対応しているので、USBブートの手順をまとめてみました。また、5V/3A出力の電源アダプターを使っている場合は起動時に警告画面が挟まるため、警告画面をスキップする方法もまとめています。 Raspberry Pi 5 – Raspberry Pi https://www.raspberrypi.com/products/raspberry-pi-5/ Raspberry Pi Documentation - Raspberry Pi 5 https://www.raspberrypi.com/documentation/computers/raspberry-pi-5.html ◆技適についての前置き 今回使うRaspberry Pi 5はRaspberry Pi財団からGIGAZINE

    Raspberry Pi 5をUSBメモリや外付けSSDからブートする手順&低電力時の警告画面をスキップする方法まとめ
    iww
    iww 2023/11/09
    『警告画面が表示された場合でも、Raspberry Pi 5の電源ボタンを1回押せば警告を無視して起動できます。』 物理で押さないとダメなんだ・・・
  • 猫トイレ監視システムの作り方1:MZ工房


     Raspberry Pi Zero使 OS使   raspberryPi/RaspberryPi Zero//HX711//////IoT/
    猫トイレ監視システムの作り方1:MZ工房
  • 体組成計とスマホ間のBluetooth通信をハッキングしてみる - Qiita


    2    湿  Bluetooth (Raspberry Pi 3)Bluetooth  調PythonBluetooth  DI
    体組成計とスマホ間のBluetooth通信をハッキングしてみる - Qiita
  • Raspberry Pi 4 Model B(UD-RP4Bシリーズ) | Raspberry Pi 4 | アイ・オー・データ機器 I-O DATA


    Raspberry Pi 4UD-RP4B4Raspberry Pi Raspberry Pi 3 Model B +UD-RP3BP4KmicroHDMI2CPUUSB 3.0Bluetooth 5.0 2GB4GB8GB Raspberry Pi1 OShttps://www.raspberrypi.org/ Raspberry Pi Raspberry Pi Raspberry Pi is a trademark of the Raspb