Git Product home page Git Product logo

tomekness / pipeline_esp8266-blynk-phonkapp Goto Github PK

View Code? Open in Web Editor NEW
1.0 0.0 0.0 4.56 MB

A simple way for prototyping physical interaciotns with prototyping boards (NodeMCU (ESP8266)) and mobile phones (android phones running phonk.app ).

License: GNU General Public License v3.0

blynk arduino eps8266 nodemcu nodemcu-esp8266 nodemcu-arduino blynk-iot-platform blynk-mobile blynk-arduino phonk esp8266-phonk nodemcu-phonk phonk-app

pipeline_esp8266-blynk-phonkapp's Introduction

pipline demo --> ESP8266-bynk-phonk.app

A simple way for prototyping physical interaciotns with prototyping boards (NodeMCU (ESP8266)) and mobile phones (android phones running phonk.app ).

NodeMCU/blynk/phonk.app

This Repository contains an Basic introduction on how to use NodeMCUs (ESP8266) (programmed using the Arduino IDE) and connecting them to the IOT plattform blynk.io. And further more on how to use webhooks in blynk to enable an interacitons between the ESP8266 and phonk.app running on an Android phone.

Addtionally you will find collection of simple examples to get stated.

This Repo is part of a workshop for the UltraTool - Project by the weißensee kunsthochschule Berlin (schon of art and design) and the Imperial Collage.

preparation

NodeMCU (ESP8266) Pin-Out

NodeMCU PinOut

Digial InPins D1 (Pin 5), D2 (Pin 4), D4 (Pin 2), D5 (Pin 14), D6 (Pin 12), D7 (Pin 13), D8 (Pin 15), D9 (Pin 3), D10 (Pin 1) onboard LED --> D0 / Pin 16 | onboard LED 2 --> D4 (Pin 2) onboard Button --> D3 / Pin 0

Analog Output pin 0–15 --> analogWrite(pin, value) | value --> 0–1023 set new value range analogWriteRange(new_range) WM frequency is 1kHz by default. set new frequency --> analogWriteFreq(new_frequency)

Analog Input ADC pin --> analogRead(A0) | value --> 0–1023

Blynk

Blynk Architecture

"Blynk is a hardware-agnostic IoT platform with white-label mobile apps, private clouds, device management, data analytics, and machine learning." --> https://blynk.io

check blynk documentation --> https://docs.blynk.cc/

and blynk example browser --> https://examples.blynk.cc/

change blynk-server in blynk.app and arduino sketch --> https://github.com/blynkkk/blynk-server#app-and-sketch-changes

Phonk

Phonk Editor

"Phonk is a Self-contained Creative scripting toolbox for new and old Android devices." --> https://phonk.app/

check out the documentation --> https://phonk.app/docs/1_step_installation

Example 01 - onBoard Button and LED

Simple example showing the onBoard Button value (GPIO 0) in a display and a graph in Blynk. Remotecontroll the GPIO 16 (onBoard LED) with an virtuell-Button and dimming GPIO 2 (another onBoard LED) with an Slider

Blynk Example 01

Example 01 Folder --> https://github.com/tomekness/pipeline_esp8266-blynk-phonkApp/tree/master/examples/01_onBoardButtonAndLED

  • Get blynk project by scanning the QR code in the example Folder
  • Get Device Auth Token send by Mail from Blynk.app
  • Open Arduino code from example Folder
  • Adjust Wifi settings and Auth Token
  • Upload Arduino code to your NodeNCU
  • Run Blynk App

Example 02 - Sensor Input

Read in Light Sensor via the ADC pin and dsiplay the data in Blynk

Breadboard Setup - Anaog Input

Example 02 Folder --> https://github.com/tomekness/pipeline_esp8266-blynk-phonkApp/tree/master/examples/02_SensorInput

  • Get blynk project by scanning the QR code in the example Folder
  • Get Device Auth Token send by Mail from Blynk.app
  • Open Arduino code from example Folder
  • Adjust Wifi settings and Auth Token
  • Setup Analog Sensor on Breadboard
  • Upload Arduino code to your NodeNCU
  • Run Blynk App

Example 03 - controll servo motor from Blynk

Remote-Controll a Servo Motor from Blynk servo setup

Example 03 Folder --> https://github.com/tomekness/pipeline_esp8266-blynk-phonkApp/tree/master/examples/03_ServoControll

  • Get blynk project by scanning the QR code in the example Folder
  • Get Device Auth Token send by Mail from Blynk.app
  • Open Arduino code from example Folder
  • Adjust Wifi settings and Auth Token
  • Setup Servo on Breadboard
  • Upload Arduino code to your NodeNCU
  • Run Blynk App

Example 04 - onBoard Button and LED

Simple example showing the onBoard Button value (GPIO 0) in a display and a graph in Phonk. Remotecontroll the GPIO 16 (onBoard LED) with an virtuell-Button and dimming GPIO 2 (another onBoard LED) with an Slider

Example 04 Folder --> https://github.com/tomekness/pipeline_esp8266-blynk-phonkApp/tree/master/examples/04_onBoardButtonAndLED_Phonk

  • Get blynk project by scanning the QR code in the example Folder

  • Get Device Auth Token send by Mail from Blynk.app

  • Arduino Todos

  • Open Arduino code from example Folder

  • Adjust Wifi settings and Auth Token

  • Upload Arduino code to your NodeNCU

  • Phonk Todos:

  • Copy Phonk js file to your Phonk-editor

  • Adjust Auth Token

  • Run Blynk and Phonk App

Example 05 - Sensor Input from NodeMCU and Phonk

Read in Light Sensor from NodeMCU (via ADC pin) and from your Phone (via Phonk). Displaying both values in Blynk and Phonk

Example 05 Folder --> https://github.com/tomekness/pipeline_esp8266-blynk-phonkApp/tree/master/examples/05_SensorInput_FromNodeMCUandPhonk

  • Get blynk project by scanning the QR code in the example Folder

  • Get Device Auth Token send by Mail from Blynk.app

  • Arduino Todos

  • Open Arduino code from example Folder

  • Adjust Wifi settings and Auth Token

  • Setup Analog Sensor on Breadboard

  • Upload Arduino code to your NodeNCU

  • Phonk Todos:

  • Copy Phonk js file to your Phonk-editor

  • Adjust Auth Token

  • Run Blynk and Phonk App

Example 06 - Servo Controlled by Phone Tilt

Remote-Controll a Servo Motor by tilting your Phone

Example 06 Folder --> https://github.com/tomekness/pipeline_esp8266-blynk-phonkApp/tree/master/examples/06_ServoControlledByPhoneTilt

  • Get blynk project by scanning the QR code in the example Folder

  • Get Device Auth Token send by Mail from Blynk.app

  • Arduino Todos

  • Open Arduino code from example Folder

  • Adjust Wifi settings and Auth Token

  • Setup Servo on Breadboard

  • Upload Arduino code to your NodeNCU

  • Phonk Todos:

  • Copy Phonk js file to your Phonk-editor

  • Adjust Auth Token

  • Run Blynk and Phonk App

pipeline_esp8266-blynk-phonkapp's People

Contributors

tomekness avatar

Stargazers

 avatar

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.