Skip to product information
1 of 5

Upbeat Labs

Dr. Wattson Energy Monitoring Board V2

Regular price $80.00 USD
Regular price Sale price $80.00 USD
Sale Sold out
Shipping calculated at checkout.

We currently have 66 in stock

 What is Dr. Wattson?

Dr. Wattson is an Energy Monitoring Module from Upbeat Labs that allows you to easily incorporate high quality AC energy monitoring & measurements in your next project! It is coupled with easy to use Arduino & Python libraries that make getting quality AC energy data – like RMS Current, RMS Voltage, Power Factor, Line Frequency, Active/Reactive/Apparent Power – a breeze, with just a couple of lines of code.

The unit comes pre-calibrated, enabling you to start taking quality measurements from 90-240v, at either 50 or 60 Hz, and for currents up to 15AYou don't need any additional CT/VT or other components.

Dr. Wattson is based on the MCP39F521, a single-phase power monitoring chip from Microchip.

If you're familiar with the MCP39F521 you can also use Dr. Wattson as a breakout board for the MCP39F521

Measure Big. Or Small

With a 4000:1 Dynamic Range and capable of 0.1% accuracy, the MCP39F521 is a versatile chip that allows great flexibility with measurements. Dr. Wattson takes that flexibility and makes it easy to use - it comes calibrated to measure currents from 5mA all the way up to 15A.

[If you want to measure lower currents like standby current usage, Dr. Wattson can be recalibrated to work with a lower range by changing the burden resistors and recalibrating the board to that range (for e.g. 1mA to 4A). Periodically, we will release burden resistor settings & calibration constants to support such ranges, with instructions being provided!]

Arduino & Python Libraries

Comprehensive, yet easy-to-use Arduino & Python libraries allow you to easily integrate Dr. Wattson into your application of choice – your favorite flavor of Arduino (Uno, Mega, Nano, etc!), or single-board computer like Raspberry Pi or BeagleBone Black.

Dr. Wattson caters to both the novice and advanced user! The libraries are intuitive and easy to use for the common use-case and yet are very comprehensive and allow for advanced usage.

Ample code examples

There are quite a few code samples to get you started or serve as inspiration, such as:

  • Getting energy data (VRMS, IRMS, Line Frequency, Power Factor, Active Power, Reactive Power, Apparent Power)

  • Energy Accumulation (turn on energy accumulation to track energy consumption (and generation) in the background without intervention, allowing your microcontroller/single-board-computer to go to sleep or do other stuff!)

  • Events (get notified when Voltage Sag/Surge happens, or Over-Power/Over-Current conditions happen using external interrupts and using the library to easily read which triggering event condition happened)

  • Write to/Read from EEPROM (The MCP39F521 has 256 16-bit words of EEPROM that is organized in 32 pages for a total of 512 bytes. Convenience methods in the library let you write to and read from this memory easily!)

  • ZCD (Get Zero Cross Detection notifications via external interrupts. This is useful, for example, for controlling a dimmer switch (and reporting the energy saved by dimming!))

and more advanced examples such as

  • Integration with AWS IOT - build your own internet-connected energy monitor!

  • Energy data logger - log data to an SD card with log rotation

  • Energy monitor with OLED screen - monitor energy and display information on an OLED screen

Quality Construction

Dr. Wattson comes with an environmentally friendly and high-quality ENIG finish (lead-free) with lead-free solder, and quality components! The isolated sensor design using current and voltage sensing transformers ensures that the board itself is not in the path of the high current load, for safer usage and development.

It includes 4 mounting holes (M2.5) to enable you to put it into a safe enclosure. We also offer an optional enclosure (coming soon!).

Configurable I2C addressing

Solder jumpers on the board enable you to pick from 4 possible I2C addressing schemes to help avoid conflicts with other devices. It also allows you to control 4 of these boards from a single MCU using the same I2C bus - monitor energy consumption & usage from 4 different loads for example.

ZCD & Event pins

Use the Zero Cross Detector (ZCD) output to orchestrate any synchronization like firing a Triac for dimming.

The Event pin gives you output indication on the presence of configured events of interest, like voltage surge/sag, over-current, over-power.

Configure the events of interest you would like to monitor for via the Arduino/Python library, and get notifications by connecting these pins to any externally interruptible pin in your MCU. Using the library, you can then query the board to find out which event occurred.

Use with 5v & 3.3v MCUs & SBCs

While the board is powered by 3.3v, it uses bi-directional level shifting on all IO pins, so you can use both 3.3v and 5v systems without any modifications or need for level shifting. Just set the Vin pin on the Dr. Wattson board to your MCU/SBC logic level voltage and Dr. Wattson will take care of everything else.

Dimensions

2.38 in x 2.25 in x 0.93 in

What you will need

You are purchasing the Dr. Wattson Energy Monitoring Board. In addition, you will need the following:

  • enclosure to put the Dr. Wattson Energy Monitoring Board in, so the rest of your project is shielded from high voltage connections. We have an optional enclosure kit for sale (coming soon), or you can make your own.
  • micro-controller (MCU) or single-board-computer (SBC). Dr. Wattson comes with an Arduino library and Python library for Raspberry Pi and BeagleBone Black. You can use any MCU or SBC you are comfortable with.
  • While we may port our code to other platforms in the future, the entire source code of the library is open source, so feel free to port them to your platform of choice (we would appreciate it if you can contribute your changes back to the open source library, so others can benefit!)

Why did you make it?

I worked on a Smart Outlet project called BuffI the Ampere Slayer (see my presentation from Maker Faire 2017 in San Mateo, CA - https://youtu.be/LzQakUzzlg4). Part of the work that was done on that project was to enable quality energy monitoring, including the ability to measure small standby power consumption.

I thought that a well-calibrated breakout board/module that provides quality energy monitoring as a subcomponent that can be easily integrated into other systems/projects with would be very useful to the Maker community. I decided to create the Dr. Wattson board and its associated libraries to help facilitate that.

-Sridhar Rajagopal (creator of Dr. Wattson)

What makes it special?

  • High quality ENIG (lead-free) finish and lead-free solder
  • Calibrated to get quality measurements right off the bat
  • Isolated design with current and voltage sensing transformers makes it safer and easier to work with the AC mains
  • Works with 5v and 3.3v MCUs/SBCs without any modifications or need for additional level shifting
  • Configurable I2C addressing allows you to pick the I2C address to help resolve conflicts with other systems
  • Connect up to 4 energy monitors with configurable I2C addressing
  • Arduino and Python libraries for easy use
  • Ample examples with full source code - Basic energy data, Energy Accumulation, Events, Writing to/Reading from EEPROM, ZCD, and more advanced examples such as integration with AWS IOT, Energy data logger, Energy monitor with OLED screen and more!
  • Available optional enclosure kit - coming soon!

Other Resources

How to build an Arduino Energy Logger & plot the data

Easy Energy Monitoring with Arduino and Dr. Wattson - presentation at MakerFaire Bay Area 2018

Internet-connected Energy Monitoring with Raspberry Pi, Dr. Wattson & AWS

Get the libraries

Documentation