nodejs-esp8266-analog-read
所属分类:Websocket编程
开发工具:C++
文件大小:0KB
下载次数:0
上传日期:2020-11-29 17:26:49
上 传 者:
sh-1993
说明: 这是一个简单的Arduino项目,使用ES通过WebSocket将A0输入引脚的电压状态发送到NodeJS应用程序...
(This is a simple Arduino project to send voltage status of A0 input pin to NodeJS application over WebSocket using ESP8266 on vemos d1 board.)
文件列表:
arduino/ (0, 2020-11-29)
arduino/project/ (0, 2020-11-29)
arduino/project/project.ino (2194, 2020-11-29)
package.json (100, 2020-11-29)
src/ (0, 2020-11-29)
src/app.js (546, 2020-11-29)
yarn.lock (324, 2020-11-29)
# NodeJS ESP8266 WebSocket
This is a simple Arduino project to send voltage status of A0 input pin (connected to potatiometer) to NodeJS application over WebSocket using ESP8266 on vemos d1 board.
## Requirements
- NodeJS 10 or higher
- Yarn (Optional)
- Git
- Arduino IDE
## Installation
1- Starting WebSocket Server
```bash
git clone https://github.com/matinzd/nodejs-esp8266-analog-read.git
cd nodejs-esp8266-analog-read
npm i
npm start
```
2- Starting Arduino Project
Open file below with the Arduino IDE:
```bash
arduino/project/project.ino
```
3- Assembly
Connect second pin of potantiometer to A0 pin and connect two other pins to 5V and GND.
4- Start your device.
近期下载者:
相关文件:
收藏者: