Upgrade to Pro — share decks privately, control downloads, hide ads and more …

WifiRobot - Cutting the Cord

WifiRobot - Cutting the Cord

Quick rundown on the ESP8266 and getting your Nodebot set up to use a simple wifi - serial bridge.

Mark Wolfe

July 25, 2015
Tweet

More Decks by Mark Wolfe

Other Decks in Technology

Transcript

  1. WifiRobot
    Cutting the Cord

    View Slide

  2. ESP8266
    Small Cheap Wireless Module
    3 - 5 dollars
    SDK for native development
    LUA
    Massive community of developers

    View Slide

  3. Wifi
    Access Point
    Home Router
    Client
    Laptop
    Light Globe

    View Slide

  4. WIFI Access
    Host AP Mode
    Private Access Point
    Client Mode
    Join Existing Network

    View Slide

  5. Firmware
    Written while @ajfisher was in China by the makeblock
    team
    Has a small Admin UI
    Needs some work but very close
    @geekscape and I sorted out a few bugs!
    https://github.com/wolfeidau/nodebots_MeWIFI

    View Slide

  6. Wifi Bridge
    Load firmware on your ESP8266 Module
    Connect to the HostAP
    Load the Firmata configured to do 115200 baud
    Connect your robot to the ESP8266 Module
    Serial connection (RX/TX/VCC/GND)
    WIN

    View Slide

  7. The Code

    View Slide

  8. ESP-01 Module

    View Slide

  9. Links
    http://espressif.com/en/products/esp8266/
    https://github.com/wolfeidau/nodebots_MeWIFI
    https://github.com/igrr/esptool-ck
    https://github.com/nodebotsau/simplebot/blob/master/
    examples/network_sb.js
    http://wiki.iteadstudio.com/
    ESP8266_Serial_WIFI_Module

    View Slide

  10. The End
    @wolfeidau on twitter
    https://github.com/wolfeidau
    [email protected]
    http://wolfe.id.au

    View Slide