General

Wattmeter with micro:bit

userHead Pas.VERG 2025-07-02 21:51:43 145 Views1 Replies

Hello, I would like my students to use the wattmeter (Gravity: I2C Digital Wattmeter SKU: SEN0291) to measure electrical power as part of their project. My school is equipped with micro:bit boards and we use the makecode site to program by blocks. But I can't find an extension that allows me to have the wattmeter programming blocks! Can you help me?

2025-07-03 14:39:06

The Gravity: I2C Digital Wattmeter (SKU: SEN0291) from DFRobot is based on the INA219 or INA260 chip (depending on the version). Unfortunately, DFRobot has not officially published a MakeCode extension for this sensor. If your version of the wattmeter is based on the INA260, you may need to write or adapt a MakeCode JavaScript extension yourself or use basic I2C communication blocks (advanced).

userHeadPic ahsrab.rifat