ホームページで用意しきれない情報をウィキにまとめています。
RaspberryPi に Samba をインストールしてファイルサーバ化(NAS化)する手順を紹介します。 Samba はファイルサーバを構築するためのオープンソースのソフトウェアです。WindowsのPCからアクセスできる共有フォルダを作成することができます。 今回はUSB接続の外付けハードディスクを接続し、RaspberryPiをファイルサーバ化するまでの手順を紹介します。 用意するもの Raspberry Pi 3 本体 microSDカード:容量4GB以上 CLASS10のもの 外付けハードディスク:USB2.0対応のもの。容量はお好みで。USBメモリでも構いません。 OS:RASPBIAN JESSIE LITE 準備 OSイメージを用意します。 Raspbian Jessie Lite のOSイメージファイルを入手する microSDカードに上記のOSイメージを書き込みます。
下記コマンドでインストールします。他の必要なモジュールも一緒にインストールされます。 $ sudo apt-get update $ sudo apt-get install supervisor Supervisorをインストールしたら、「/etc/supervisor/conf.d/」ディレクトリの下に新しくmotion用の設定ファイルを作成します。 $ sudo vi /etc/supervisor/conf.d/motion_sv.conf [program:motion] command=/usr/bin/motion ; 起動コマンド numprocs=1 ; 起動するプロセス数 redirect_stderr=true ; エラー出力を標準出力にリダイレクト stdout_logfile=/var/log/motion.log ; 標準出力ログのファイル名 user=pi ;
本連載「マイクラで始めるプログラミング入門」では、子どもたちに大人気のゲーム「Minecraft(マインクラフト、マイクラ)」を題材にYouTube実況動画付きで「プログラミング」を学んでいく。具体的には、小型PC端末Raspberry Pi(ラズベリーパイ、ラズパイ)上でビジュアルプログラミング環境である「Scratch(スクラッチ)」からMinecraftを操作する方法を解説する(図1)。 Scratchを使ったMinecraftプログラミングでできることは、ほとんどがブロックの操作なので、「変数」「乱数」「座標値」「イベント」「繰り返し」の使い方の勉強になるはずだ。 初回である本稿では、MinecraftとRaspberry Piの概要を紹介し、Minecraftを動かすまでのチュートリアルを実況動画付きでお届けする。 大人でも知っておきたい、Minecraftとは 今、子どもたちの
いままで当研究所の計測系はいろいろな既製品のつみかさねで、結果として何でもかんでも1台のPCに処理をさせていました。すこし、分散処理をめざし負荷分散の方向で動くこととしました。米国のフォーラムではArduinoというマイコンを使用している例が多いですが、UNIXの勉強を兼ね、Raspberry Pi という手のひらサイズのコンピュータを使ってみました。とりあえず完成したのは、ガイガーカウンタGM-10用のインターフェーサ、とホコリセンサです。引き続き、トライしていきたいと思っています。(2014/07/0修正) Raspberry Pi(ラズベリーパイ)は、ラズベリーパイ財団によって英国で開発されたARMプロセッサを搭載したシングルボードコンピュータで、小さいながらスマホに使われている最新のハードで、最近とみに人気のようです。写真の「GPIO HEADERS」にGPIO(General P
使ったもの Raspberry Pi TypeB 外部接続用のPC(Mac) シフトレジスタ(74HC595) LED5本(5個しか無かった...) 抵抗8本 ブレッドボード シフトレジスタって何? シリアル → パラレル変換や、その逆を行う回路 例えば、RaspberryPi で、8個のLEDを個別にチカらせたい場合、何も考えないと、GPIOのピンを8個使うことになる けど、シフトレジスタ(シリアル → パラレル変換)を使えば、1つの出力からのデータ(シリアル)を複数の出力(パラレル)に変換できる パラレル → シリアル変換ならば、複数の入力を1つの入力に変換できる シフトレジスタ(74HC595)の使い方 以下のPin Assignment について解説 http://html.alldatasheet.com/html-pdf/214419/TOSHIBA/TC74HC595AP_0
2013年10月23日17:28 [コラム] 第9回『1-wire温度センサーで部屋の温度を測定しよう』 カテゴリコラムRaspberry Pi victory7com Comment(5) Raspberry PiのGPIOポートには、シリアルポートのほか、I2CやSPIといった電子デバイスと通信するための機能を持ったインターフェースがあります。そのインターフェースに対応したセンサーを取り付ければ、Raspberry Piからセンサーの値を読み取ることができます。 今回実験するのは1-wire接続のデジタル温度センサー DS18B20 です。1-wireとは1本の信号線だけで、低速なデータの送受信と電力供給ができる規格です。バス接続のため複数のデバイスを接続することもできます。 Raspbian OSでは1-wire用のモジュールをロードするだけで1-wireデバイスにも対応し、ファイル
シングルボードコンピュータ Raspberry Pi を活用して,Unix (Linux) が動作する小型パソコンをカスタマイズします.この応用編では,ハードウェア入出力の基礎を学び,またカラー液晶ディスプレーの接続に挑戦します. Raspberry Pi の P1 および P5 端子群(上の写真で矢印の先)には,外部の電子回路と信号をやりとりするための入出力端子(+電源端子)が並んでいます.右図は,P1 端子群のピン配列,P5 端子群のピン配列を表したものです.いずれも1番ピンは,Raspberry Pi 基板上に白いシルク印刷で四角いマークがついています.(P5 端子群は基板裏側から見てください.) これら端子は,シリアル通信などの特定の機能をもつものもありますが,基本的にすべてが汎用ディジタル入出力端子(GPIO: General Purpose I/O)で,たとえば LED を点滅
Raspberry Pi のカメラモジュールの最新情報 (2020-05-01) この記事を書いてから7年近く経過して、今日調べてみると13万ページビューにもなっています。更新していなくて申し訳ないです。 その間に Camera Module v2 (8MP) が発売され、さらに最近 High Quality Camera(12.33MP) が発売されました。 raspistill と raspivid のコマンドは今でも使用できるようですが、オプションなどが追加されています。 新しい情報は公式サイトのCamera Module または MagPi Camera Guide を参照して下さい。 Raspberry Pi のカメラモジュールの使い方 (2013/07/26, 2013/12/01) 5月22日頃に発注したラズベリーパイ専用のカメラモジュールが届きました。 今回は RSオンライ
キャラクタ端末上で動作する簡単なプログラムから始めます.パソコン(Mac・Windows など)から SSH で Raspberry Pi にログインし,Raspberry Pi 上で vncserver を立ち上げてください.あとは logout して構いません. mac$ ssh pi@192.168.0.199 pi@192.168.0.199's password: ******** Linux raspberrypi 3.6.11+ #456 PREEMPT Mon May 20 17:42:15 BST 2013 armv6l ... raspberrypi:~$ vncserver :1 -geometry 1024x768 -depth 24 raspberrypi:~$ logout パソコン上で VNC クライアントを起動し,Raspberry Pi のデスクトップを画
概要 Raspberry Pi(以下、RPi)を使って、家全体の消費電力を表示するサーバを製作した。 単相200Vのブレーカにクランプメータを接続して電流を計測し、100Vコンセントから 電圧を計測して、両者の積和から電力を算出し、Rubyで書いたCGIで表示する。 PCはもちろん、iPadやiPhoneから閲覧可能。 電流と電圧のレベルは、オペアンプで0-3.6Vにレベル変換し、ADコンバータMCP3204で デジタル化した値をSPI通信によりRPiへ転送する。RPiまで来てしまえば、今回のように CGIで表示しても良いし、定期的にcronで計測して1日、1年の変動データを取得する ことも可能。 配電ブレーカの電流からiPhoneの画面表示まで、データが駆け上がって行く様を体感できる一品。 回路図 画像だけ表示すれば、少し大きく表示されます。 電流計測部 電流センサCTL-10-CLSを
Raspberry Pi(ラズベリー パイ)は、ARMプロセッサを搭載したシングルボードコンピュータ。イギリスのRaspberry Pi 財団(非営利組織)とRaspberry Pi Ltd(営利組織)によって開発されている。日本語では略称としてラズパイとも呼ばれる[4]。 2012年の立ち上げ当初は教育で利用されることを想定して制作された。IoTが隆盛した2010年代後半以降は、安価に入手できるシングルボードコンピュータとして趣味や業務(試作品の開発)等としても用いられるようになった。その後 Raspberry Pi Compute Module を商品に組み込む用途まで広がっていき、2023年は売上の72%が産業・組み込み市場となっている[5][6]。 Raspberry Piは、かつてイギリスで教育用コンピュータとして普及したエイコーン社の「BBC Micro(1981年)」の再来と
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く