Giter Club home page Giter Club logo

nodemcu-osc's Introduction

nodeMCU-OSC

Transform your nodeMCU into an OpenSoundControl device

Setup Instructions:

  1. Copy all these source files to a folder in your computer

  2. Only for MAC OSX and Windows users:

  1. Run Arduino. Go to Sketch > Include Library and install the "WiFi (Built-in)"

  2. If it is the first time you work with a nodeMCU board and Arduino:

    Open Arduino IDE Open Preferences Add http://arduino.esp8266.com/stable/package_esp8266com_index.json to Additional Boards Manager URLs. Save Restart Arduino IDE Go to Tools > Boards > Boards Manager Scroll down and click on esp8266 by ESP8266 Community (This contains ESP8266wifi.h) Click install Click close Restart Arduino IDE Select your board from Tools > Board > NodeMCU 1.0 (ESP-12E Module)

  3. Open the .ino file at your folder

  4. When you Save or Compile your project, Arduino needs to copy your .ino file into a folder of the same name but it does not copy the files you downloaded from this respository. Please copy or move all the .h and .cpp files downloaded from this repository to the new folder created by Arduino (namely common.h, osc.cpp, osc.h).

  5. Select your Port at Tools > Port (OSX users it will be something like cu.SLAB_USBtoUART)

  6. Compile and Upload to your nodeMCU board. Wait until the uploading process has finished (look at Arduino's text terminal and wait until it reaches [ 100% ] )

Notes:

By default, with this source code, nodeMCU creates an access point with no password and name "nodeMCU-OSC &&&". Now you can connect another Wifi device to the MCU. By default, nodeMCU will have the IP: 192.168.4.1 and your device will have the IP: 192.168.4.2

As you will see in the source code, the example transmits OSC data to 192.168.4.2 (port 9999) which is the IP of the first device connected to the nodeMCU.

Thus if you type http://192.168.4.1 into your browser you will be able to configure a bit your nodeMCU (still in process).

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.