概要 小さな赤外線リモコンを作ろうと思ったのだけど、今まで使ってきたArduino PRO MINIでは場所をとりすぎるし電池も2本いるので、小さいAVRマイコンのATtiny85あるいは45を使ってみることにした。8ピンDIPパッケージで周辺素子もほとんど要らないから、ずいぶんと場所が節約できるしコイン電池で動かせるかもしれない。だんだんと工作で使うプロセッサが小さくなってきたような気もする。 Arduino PRO MINIとATtiny85 Arduino PRO MINIも小さいのだけど、8ピンDIPの方が当然小さい。 前回、機能の少ない赤外線リモコン(エアコン用など)を作ったときにはArduino PRO MINI(3.3V、8MHz版)を使ったが、実現できたモノに対してマイコンや電源がオーバースペックに感じた。より小さいなAVRと小容量の電池を使うことで、コンパクトな赤外線リモ
1.概要 AVRISP mkIIとATtiny他の開発環境を組み込んだArduino IDEを連携させた使い方を解説します。 2.用意するもの AVRISP mkII ATtiny他の開発環境を組み込んだArduino IDE 工場出荷状態のATtiny10, ATtiny2313デバイス ブレッドボード / ジャンパー線 LED / 抵抗 330〜1KΩ 3.実験回路 4.使い方 / 動作テスト ATtiny2313 「3.実験回路」のATtiny2313を配線します。 AVRISPコネクタとATtiny2313の同じ名称のISP信号ピン同士を配線接続します。このピン割付表は「資料 Arduino ATtiny/mega ピン割付表」に収容してあります。 重要:AVRISP mkIIのVCCは電源電圧監視用でAVRISP mkII側からは電源供給されませんので外部からブレッドボードに+5
知っている人には当たり前だけど、知らないでいるとソンしちゃうかもっていうArduinoの小ネタを集めてみました。 2015/2/10 追記:Arduino IDE 1.6.0が公開されました。1.5.x Betaからのバージョンアップですが、Betaが取れて今後はこちらがメジャーバージョンになる様です。しかしながら、以下の記事は1.0.x系(最終?バージョンは1.0.6)を対象に書かれている部分も有りますのでご注意下さい。 ◯回路と連動したスケッチ(プログラム)の小ネタ ■アナログ入力ピンはデジタル入出力ピンとしても使える 意外とこれを知らずにArduinoのピンが足りないと悩んでる方が多いんですよね。Arduino Unoの場合、アナログ入力ピンの0〜5番をデジタル入出力ピンの14〜19として使えます。 例えば出力に使いたければ pinMode(14,OUTPUT); と設定して、dig
部屋の環境、快適さを調べるには、温度、湿度、気圧、二酸化炭素の4つのデータが重要であろう。 前回、二酸化炭素濃度センサーについて書いたので、今回は残りの3つをまとめて計測してみよう。 世の中、この3つを同時に計測してくれる、とても小さなセンサーがあるので、入手してみた。 画像は、秋月電子のサイト「BME280使用 温湿度・気圧センサモジュールキット」より拝借 秋月のサイトには、マニュアルとデータシートが用意されている。 Bosch Sensortecには、BME280 Integrated Environmental Unit のページが用意されている そして、ちょっとネットで検索したら、とても懇切丁寧に使い方を書いているページ How to Hookup BME280 Sensor to Arduino using I2C があったので、参考にした。 英語のページだが、英語を読まなくても
こんばんは。 前回記事でも述べましたが、大幅更新された最新版 Arduino – ESP32 が安定してきたので、数か月前から購入していて放置していた、ガス・気圧・温度・湿度センサの BME680 を再び動作させてみました。 そして、BOSCH 純正 BME680 ドライバライブラリを使ってみました。 また、Ambient にも送信して、ブラウザでグラフ表示をさせてみました。 今回は M5Stack で動作させていますが、ESP32-DevKitC や ESPr Developer 32 等の ESP-WROOM-32 開発ボードでも同様に動作させることができます。 今まで、Arduino – ESP32 の I2C ( Wireライブラリ )に不具合があって、イマイチ精度が出なかったのですが、今回の最新版 Arduino – ESP32 の大幅更新で、精度に納得できる BME680 の動
2017/06/09更新 AWS IoTでMQTTブローカーを作り、ArduinoでセンシングしたデータをPub/Sub通信してAmazon SNSでメール通知する手順を示す。 データの流れは以下の通り。 作業の流れは以下のようになる。 Amazon SNS Topic作成 通知先(Email)設定 ArduinoをThingとして登録 センシングデータを処理するルールを設定 ポリシーを作成 デバイス証明書の作成と有効化 ポリシーおよびThingをデバイス証明書にアタッチ ここではAWS IoTの設定はGUI(マネジメントコンソール)を使う。CLIを使った場合の手順は以下に示す。 関連資料・記事 センシング用の回路を作成 Arduinoでセンシングを行いAWS IoT上のMQTTブローカーにPublishするプログラムを用意 テスト 尚ここで使用するArduinoはUNOとするが、直接IP
Arduino Dayの祝賀会で、共同創設者がユーザーに向けて3つの発表を行った。ひとつはArduino MKR1000だ。小型の多機能ボードで、2015年末に発表されていたものだ。それが出荷されることとなった。さらにそれに伴い、より大きなポテンシャルを持つものとして、次世代のコミュニティ・プロジェクト・プラットフォームと、その次世代開発環境を発表した。 Arduino MKR1000 MKR1000は、Arduinoの伝統的なフォームファクターと、その論争を呼んだヘッダーのオフセットから脱却した。 Atmel ATSAMW25をベースに、省電力化のためにCortex-M0+ 32ビット ARMチップを採用。Wi-Fi、LiPo充電回路を搭載し、オンボードの暗号化に対応している。言い換えれば、これは急成長するIoT(モノのインターネット)市場を真っ直ぐに狙ったものだ。 MKR1000は、米
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く