Skip to content
Browser-based 6 channel DVM using #Arduino + #RaspberryPi
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
LICENSE-websocket
README.md
dvm.ino
index.html
read-dvm.py
websocketd

README.md

WebDVM

A low-cost Digital Volt-Meter (DVM) using an Arduino and Raspberry Pi zero with a browser interface.

You can find websocketd here. Yiou can download the latest release here

I've described the project in a series of three blog posts. Start here.

Hardware required

  1. An Arduino Uno. (Other models would work; I've tested it with a Nano.)
  2. A Raspberry Pi zero W or a full-size Pi, with Raspbian Stretch and WiFi set up or a wired (Ethernet) connection.
  3. A cable or cables to connect the Arduino to the USB port on the Pi.
  4. A power source for the Pi and a cable to connect it.
  5. A computer with a browser connected to the same network as the Pi.

Installation

  1. On the Arduino, install dvm.ino from this repository
  2. On the Pi,
    1. Download the zip file from GitHub.

      wget https://github.com/romilly/WebDVM/archive/master.zip

    2. Unzip it: unzip master.zip

    3. Change to the newly created directory: cd WebDVM-master

    4. If you've changed the Raspberry Pi's hostname, edit index.html to reflect the current hostname.

    5. Run ./websocketd --port=8080 --staticdir=. ./read-dvm.py

  3. In your browser, open raspberrypi:8080 (or use whatever hostname you chose for the Pi)

Have fun!

If you hit problems, please raise an issue on GitHub.

If you have questions, I'm @rareblog on Twitter.

You can’t perform that action at this time.