No description
  • TeX 29.3%
  • JavaScript 28.6%
  • C++ 22.3%
  • Java 10%
  • HTML 7.4%
  • Other 2.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-12-03 18:23:54 +01:00
manual Add Latex manual to this repo 2025-12-03 18:23:54 +01:00
realtime-led Add am2320 sensor support for the esp8266 weather station client 2023-03-07 10:15:55 +01:00
weather-station Add am2320 sensor support for the esp8266 weather station client 2023-03-07 10:15:55 +01:00
.gitignore Add simple Java Swing desktop controller for the realtime LED example 2022-04-12 22:44:36 +02:00
LICENSE Initial commit 2022-04-12 17:17:36 +02:00
README.md Update the README file 2022-11-03 22:48:05 +01:00

Workshop Make your own Blynk

This is a workshop that shows you how you can create your own small IoT system with an ESP8266 or a CC3220SF, a simple website client and a Node.js backend server

The two projects

In this workshop we are going to create two different projects:

  • The first project is a realtime system to control a LED on our ESP with a button on a website and a Java Desktop app
  • The second project is a simple weather station that uses a DHT sensor or a TC74A2 with a microcontroller to send measurements to a server which are then displayed on our website in a realtime chart

Build instructions

This are the instructions that you need to follow to build and run the two examples on your own computer:

Node.js websocket server

  • Install Node.js latest version if you don't have it and add it to your $PATH
  • Go to the right folder cd server
  • Install the packages with npm install
  • Run the server with npm start

ESP8266 micocontroller

  • Install Visual Studio Code if you don't have it
  • Open the right folder in Visual Studio Code esp8266/
  • Install the Platform IO extension and active it in the folder
  • When you are building the Weather Station you need to connect a DHT11 sensor to pin D1 see the Breadboard Scheme
  • Copy the config.cpp.example to config.cpp and fill in your WiFi info and your computer local IP-adress and server port
  • When Platform IO is loaded and everything is downloaded you can build and upload the program with the buttons in the bottom statusbar

CC3220SF microcontroller

  • Install the Energia IDE
  • Install CC3220SF board with the internal Boards Manager
  • When you are building the Weather Station you need to connect a TC74 I2C sensor and a LDR and resistor to pin 60
  • Open the right .ino file
  • Copy the config.cpp.example to config.cpp and fill in your WiFi info and your computer local IP-adress and server port
  • Compile and upload to your device

Website client

  • Just double click the website/index.html HTML file to open it in your browser
  • Or start a integrated web server in Visual Studio Code with the Live Server extention
  • Or use python as a simple HTTP server cd website and python3 -m http.server 5500 then go to http://localhost:5500/

Java Desktop App (only for Realtime LED example)

  • Install Java JDK 8 or higher and add it to your $PATH
  • Install Maven and add it also to your $PATH
  • Go to the right folder cd realtime-led/java-app
  • Use ./build.sh to compile and run the application direct
  • Use ./build.sh release to build a static jar file that you can find in the target/ folder