Skip to content

NodeMCU and ZMPT101b VOLTAGE MONITORING WEB SERVER

Notifications You must be signed in to change notification settings

bogdik/NodeMCU-ZMPT101b

Repository files navigation

VOLTAGE MONITORING WEB SERVER USING NodeMCU + ZMPT101b

NodeMCU on Lua firmware

Installation Download Firmware NodeMCU-Lua-3.0.0.0 for NodeMcu Lua on Release page and unpack

  1. Install firmware On Linux or Windows you may use Python via esptool.py
  • python esptool.py --port /dev/ttyUSB0 write_flash -fm qio 0x00000 ./NodeMCU-Lua-3.0.0.0/0x00000.bin (or --port COM1 on Windows)

  • python esptool.py --port /dev/ttyUSB0 write_flash -fm qio 0x10000 ./NodeMCU-Lua-3.0.0.0/0x10000.bin (or --port COM1 on Windows)

On Windows you may use https://github.com/nodemcu/nodemcu-flasher

  1. After install firmware download all .lua files on this repository On Linux or Windows you may use Python and luatool.py
  • python luatool.py --port /dev/ttyUSB0 --src init.lua --verbose --baud 115200 (or --port COM1 on Windows)

.... upload all .lua files to NodeMCU

On Windows you may use java tool ESPlorer https://esp8266.ru/esplorer/

...upload all .lua files to NodeMCU

  1. Connect ZMPT101b to NodeMCU

        ACC      -  3v3
        
        OUT      -  A0
        
        GND      -  GND
    

  1. After upload and connect on first start NodeMCU create AP with name Volt AP connect to this AP and open http://192.168.4.1:888/config

http://192.168.4.1:888/config2

  1. After config you may get information on http://yourip:888/ in JSON format

If need reset to default just push flash button 10 second

P.S: Thanks for start info and source https://www.esp8266.com/viewtopic.php?t=9848

1,2,3 peak voltage methods i get on http://www.arpnjournals.org/jeas/research_papers/rp_2017/jeas_0217_5728.pdf

4 on http://sentroino.blogspot.com/2015/12/measuring-ac-voltage-using-arduino.html?m=1

About

NodeMCU and ZMPT101b VOLTAGE MONITORING WEB SERVER

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages