サービス終了のお知らせ いつもYahoo! JAPANのサービスをご利用いただき誠にありがとうございます。 お客様がアクセスされたサービスは本日までにサービスを終了いたしました。 今後ともYahoo! JAPANのサービスをご愛顧くださいますよう、よろしくお願いいたします。
お疲れ様です。高橋です。 突然ですがiPhoneでルンバを操作したいと思います。 前に、Arduinoをルンバのシリアルポートに接続してスピッツを鳴らすことは出来ました。しかし、ルンバの主たる機能である「動き」は一切使っていません。 完成イメージ 完成イメージは下記のような感じです。 ルンバのAPI使って音の演奏、スポット清掃、移動は出来る事はわかってるので、どうやってルンバに命令を与えるかが問題なのですが。 少し前に、技適認証済みのwi-fiモジュール ESP-WROOM-02を買ったので、フル無線でiPhoneから操作出来れば面白いと思いました。iPhoneの傾きをjavascriptで取得し、その値をそのままWROOM-02上のhttpサーバで解釈し、ルンバへのAPIコールに使う感じです。 要素技術 iPhoneでの傾き取得は、おそらく「iPhoneのsafariで傾きとか取得してみ
JavaScriptエンジニアへのIoTのすすめ:Node.jsとArduinoでスマートデバイスのプロトタイプをしてみよう Tomomi Imura(Slack) ここ、HTML5Experts.jpでも今年になって IoTやWoT関連の話題がことかかず、みさなんも関心を持ち始めていることかと思われます。 私もフロントエンド・エンジニアではありますが、もともと関心があったことと、去年からデータ・ストリームのPaaS (platform as a service) 会社であるPubNubで働いていることもあって、IoTを避けずには通れなくなり、電子工作を始めるようになりました。 そこで、最近東京・渋谷で行われた、東京Node学園で登壇した際に話したテーマ、Hardware Hacking for JavaScript Developers から、ArduinoとNode.jsを使ってプロト
ESP8266モジュール単体でミニ四駆をワイヤレス化!(技適済みWi-Fiモジュール「ESP8266」で始めるIoT入門) 「ESP8266」で始めるIoT入門シリーズはこちらからお読みいただけます ブレイクアウトボード実装編 Arduinoでワイヤレススイッチ作成編 ESP8266モジュール単体でミニ四駆をワイヤレス化! スマホで操作できるIoTミニ四駆の仕組み(ワークショップ開催) みなさんこんにちは、Cerevoで回路設計を担当している押切という者です。 今回は予告通りモジュール単体で動作させてみます。作例もミニ四駆を無線操縦するなど動きものを作ったのでご期待下さい。 開発環境はいろいろありますが、ArduinoIDEを拡張するのが手軽ですので、まずはその手順を解説します。バージョンは.ccの方の1.6.5をインストールして下さい。(オープンソースハードウェアの立て役者が2つに分かれ
お疲れ様です。高橋です。 iPhoneから流す音と電子ピアノから流す音を合成するミキサーを試作しました。 一応成功したように思えます。 課題 課題1. ブレッドボードが狭い。 抵抗やらコンデンサやらジャンパー線が飛び交いまくりで、たまに抵抗同士でショートしてしまいます。少しでも動かしてしまうとまた位置から配線に問題ないかどうか確認する必要があります。 課題2. 2連可変抵抗器に繋げるみのむしクリップが邪魔。 1つの可変抵抗器に6本の線が伸びる。合計12本。とても邪魔。 今回初めてACアダプタを使った給電を行いましたが、とても簡単でした。が、ブレッドボードに刺したジャックがすぐにスポンと抜けてしまうため、ガッチリ挿しておく必要性を感じる。 とりあえず大丈夫そうなので、ユニバーサル基板に半田付けしてみようと思います。 以上、よろしくお願い致します。 - 電子工作
gyazo.com ESP8266環境向上委員会でやりとりされている情報をベースに、情報を自分なりにまとめた記事です。正しいかどうか保証できないので、ここ違うとかあればコメントしてもらえると嬉しいです。 ESP8266 is 何 直にスクリプトを書き込めちゃうWi-Fiモジュールの、コアになるチップ みんながワイワイ使ってるのは多分、ESP-WROOM-02? 以降、ESP-WROOM-02に関する話 kwsk 普通のWi-Fiモジュールは、Wi-Fiでの通信をして、送られてきたデータをUART(Serial)で流してくれる。 通信の窓口をするのが仕事。 他のロジック回りとか、あれこれはArduinoとか別のチップが担当していた。 ESP8266は、それもできるし、ESP8266本体がロジック回りを担当することが出来る。 例えばセンサーを取り付けて、その値をサーバーとかに上げまくるとかがワ
はじめに 本日のAWS re:Invent 2015 Keynote 2にて、AWS IoTが登場しました! 【速報】新サービス「AWS IoT」 登場! #reinvent 早速AWS re:Invent 2015のセッションにAWS IoT関連セッションが追加されたのですが、参加するとAWS IoT Buttonがもらえます。 AWS IoT Buttonを使うと、AWS IoTがすぐ体験できます。ということで、早速動かしてみました! やってみた 設定する AWS IoT ButtonのWebサイトにアクセスし、[Sign in to AWS Console]をクリックします。 AWS管理コンソールのAWS IoT画面が開きます。[AWS IoT Button DSN]にAWS IoT Buttonの背面に書いてあるDSNを、[Activation code]にAWS IoT Butt
担当者変更により変則的になっています。講義の内容等はこのページに随時アップしていきます。 成績が不安な人は個別に対応しますので連絡ください。 ハッシュタグ: #robosys2015 テスト robosys2015test 各回の内容 第十四回 インターネットとロボットの接続を扱います。 事前学習 ロボットとインターネットの連携の例を調査する。 スライド
ESP-WROOM-02ことESP8266を使ってみる…ようやくギテキが通って日本でもESP8266が使えるようになった。ESP8266ってなーに?というと…この子すね。 ESP-WROOM-02 ザックリ的な感じだと、WiFi(2.4GHz)が使えて、低消費電力、32bit MPU付きで4Mbyteのフラッシュが付いている。NWとCPUとちょっとしたストレージ付きの極小PCといった感じで使える。実際、海の向こうだとこの子の上で、 Arduino-compatible IDE with ESP8266 support: Arduino IDEが使える!! NodeMCU : Luaが動く!! MicroPython : そのまんまPython動く とか動いていて盛んに使われている。LuaについてはNodeMCUを動かしてみたけど便利でビビる。さらに、ちょっと自分も関わっているW3CのWeb
1. Xamarin.Formsで 鉄道模型を制御してみた 2015年10月3日 綾瀬 ヒロ Twitter @ayasehiro 第6回 Japan Xamarin User Group Conference 東京 2015/10/3 1All rights reserved. Copyright(C) 2015 AYASE Hiro 2. 目次 1. 自己紹介 2. 事例紹介(本業) 3. 事例紹介(趣味) ・Xamarin.Formsで作った鉄道模型制御アプリ ・デモ 2015/10/3 2All rights reserved. Copyright(C) 2015 AYASE Hiro
■追記9/16■ ファームウェアのダウンロード先が違っていました。またコマンドラインなどの表示が崩れていました。ご迷惑をおかけして申し訳ありませんでした。 なお、後日、もう一枚のESP-WROOM-02を組み立てたら、コマンドやArduino IDEファームウェアの書き込みはできるものの、起動してすぐにexceptionやコアダンプの山が出てくる状態になりました。 原因は電源でした(ESP-WROOM-02の電源はかなりシビア?)。某林さんを初め、この現象で悩んでいる方は少なくないようですので、ご参考になれば幸いです。 ■お礼■ facebookで某林伸夫さんから教えてもらって、仕事帰りにaitendoに駆け込み入手しました。2個入りとボード2枚で1320円。情報ありがとうございました。 ■準備■ さっそくハンダ付け。何も考えずにピンヘッダ付けちゃいましたけど、幅が広いのでブレッドボードで
ESP-WROOM-02 は単体で Arduino として使用できます。 Arduino のWireライブラルを使用すると I2C 制御が簡単にできるので紹介します。 回路図 必要なもの ESP-WROOM-02 私は926円で買いました。安い! FT232RL USBシリアル変換モジュール AE-UM232R http://akizukidenshi.com/catalog/g/gK-01977/ ESP-WROOM-02 と Arduino をシリアル通信するために使用します I2C接続小型キャラクタLCDモジュール 8x2行 AE-AQM0802 http://akizukidenshi.com/catalog/g/gP-06669/ このデバイスを I2C で制御します I2C接続小型LCDモジュール用ピッチ変換基板 http://akizukidenshi.com/catalog
技適済み格安高性能Wi-FiモジュールESP8266をArduinoIDEを使ってIoT開発する為の環境準備を10分でやる方法JavaArduinoIoTESP8266ESP-WROOM-02 最近話題になっている、安いから取りあえずポチったけど「ESP8266」どうやって開発したら良いのか良く分からないと言うアナタ! コレを見れば、仕事が手に着かなくなる事間違いなしの開発環境の整備の仕方を解説します。 ESP8266の使い方(概略) Arduinoに繋いでATコマンドで制御しようとしている方も多いと思います。 しかし、ESP8266は単体でCPUや大きなプログラムメモリを持っているので、ArduinoなしでESP8266自体にプログラムを書き込んで動作させることが出来ます!! ココ重要なのでもう一度書きます。 「Arduinoなしで、ESP8266は単体でプログラムを実行できます」 これ
講義のために調査。公開を前提に無料でArduinoを使った回路を組んでシミュレーションできるサービスだそうです。あ、タイトルに反映してませんでしたが、ウェブ上のサービスです。 サイト https://123d.circuits.io/ です。 サインアップ 右上の「Sign up」から。私はFacebookのアカウントがあるので(学生は持ってない人もいる)、Facebookのアカウントで作成。ない人はメールアドレス等を入れるらしい。しかし、案内が日本語ですね・・・。 サインアップ後はいくつかメニューが出てきますが、「Open Electronics Lab Hub」を使えばいいんじゃないかとなんとなく分かったのでこれをクリック。使うかビデオを見るか案内が出ますが、初めてなので「Watch introduction video」を選択。 その後、Open Electronics Lab Hu
340ドルロボットアーム uARM 小型のロボットアーム uARM をちょっとお借りできたのでテスト。uARMはもともとクラウドファンディング(Kickstarter)で作られた卓上の小型アームです。詳細は以下の記事が詳しいです。 セットアップ 以下のサイトで、「uArm Client」をダウンロード。 http://evol.net/download-center あとは、上記サイトの「getting started Users Guide」の通りにセットアップ。 動作テスト uArm Clientで動作テスト iPhone6plusも持ち上げられました。 uARMをRaspberry Piから制御 PCから制御もよいですが、Raspberry Pi2から制御できると色々楽しそうですね。uArmはArduino Unoベースのマイコンで組み込まれているので、以前やったRaspberry
Arduino言語 Arduino言語はC/C++をベースにしており、C言語のすべての構造と、いくつかのC++の機能をサポートしています。また、AVR Libcにリンクされていて、その関数を利用できます。 setup() loop() 制御文 if if else switch case for while do while break continue return goto 基本的な文法 ; (セミコロン) {} (波カッコ) コメント #define #include 算術演算子 + - * / % (剰余) = (代入) 比較演算子 == != < > <= >= ブール演算子 && (論理積) || (論理和) ! (否定) ビット演算子 ビット演算子は変数をビットのレベルで計算するためのものです。ビット演算子によって、広範囲なプログラミング上の問題を解決することができます。 &
さあ、ガジェット創りを楽しみましょう ”がじぇっとるねさすプロジェクト”がお送りするSAKURAボード、Webコンパイラを使って、ガジェット(面白い小物)創りを一緒に楽しみましょう。SAKURAボードにはマイコンという小さなコンピュータが乗っています。真ん中にある黒くて平たいものです。このマイコンにプログラムを書き込むと色々な光を灯したり、音を出したり、ものを動かしたりできます。 まずは、SAKURAボードに光を灯してみましょう SAKURAボード上にある4つの青色LEDを光らせてみましょう。SAKURAボードとUSBケーブルを準備してくださいね。LEDは見つけられましたか?大丈夫です、光らせてみればすぐに分かります。Web Compilerへのログインはこちらから。 Web Compilerにログインすると最初に新規プロジェクト作成画面が出てきます。GR-SAKURAを使用する場合、テン
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く