Giter VIP home page Giter VIP logo

autobahn-arduino's Introduction

Autobahn-Arduino

Requirement

This README assumes that Arduino IDE is already installed in your PC.

Install ESP32 toolchain

Follow the instruction as shown in the link. https://github.com/espressif/arduino-esp32/blob/master/docs/arduino-ide/debian_ubuntu.md ############################# Info from the link ################################### sudo usermod -a -G dialout $USER &&
sudo apt-get install git &&
wget https://bootstrap.pypa.io/get-pip.py &&
sudo python get-pip.py &&
sudo pip install pyserial &&
mkdir -p ~/Arduino/hardware/espressif &&
cd ~/Arduino/hardware/espressif &&
git clone https://github.com/espressif/arduino-esp32.git esp32 &&
cd esp32 &&
git submodule update --init --recursive &&
cd tools &&
python2 get.py ###############################################################################

Install dependancy

After installing the esp32 toolchain, open the Arduino IDE and install the dependancies for Autobahn as instructed below.

Sketch->IncludeLibraries->Manage Libraries Select Arduinojson by Benoit Blachon version 5.13.2 (Note that beta 6 version will not work) Select Websocket by Markus sattlet version 2.1.1

Dowload the Autobahn source:

git clone https://github.com/codelectron/autobahn-arduino

Install Autobahn:

mkdir -p $HOME/Arduino/libraries/Autobahn/

cp -a autobahn-arduino/src/* $HOME/Arduino/libraries/Autobahn/

Examples:

Open the .ino file from the Arduino IDE, Configure the Wifi credentials, IP address, port and realm of your Crossbar.io instance and flash it in your esp32 board.

https://github.com/codelectron/autobahn-arduino/tree/master/examples/esp32

autobahn-arduino's People

Contributors

codelectron avatar

Watchers

 avatar  avatar

autobahn-arduino's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.