Arduino meets Processing via Wifi (DD-WRT)


 


DD-WRT 化した FON のルータ La Fonera を踏み台にして Arduino Diecimila と Processing を通信させて見た。


  1. デモ・ビデオ


    このビデオにはYuTubeのアノテーションが付加されています。

  2. 概要図

    diagram

  3. 接続図

    Schematics

    FON2100内部シリアル端子


    FON2200内部シリアル端子


    DD-WRT オフィシャルサイト(外部リンク)
    FON まとめ wiki (外部リンク)

  4. 接続写真

    client_photo

  5. ソースコード

    Server Side (Processing)


    Client Side (Arduino-0011)

  6. The Arduino sketch

    It's sending characters over serial to a command line on the Fonera router.

    1. It's doing is responding to "Username" and "Password" prompts with "root" and "admin", so it's logging in to the fonera as the root user.
    2. It's running the "telnet" command to connect to the PC running a server written in Processing via wifi.
    3. It's sending the value from an analogRead of a pin with potentiometer constantly.
    The Processing sketch

upload 2008.08.20

Creative Commons License


[もどる]