

StroomMeterACS712
Measure AC power usage using ESP8266 and ACS712
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 22
- Nets
- 35
- Pads
- 84
- Tracks, vias
- 144, 0
- Routed
- Yes
- KiCad
- KiCad 7 (file 20221018)
- Created
- 6 Dec 2022
- Updated
- 6 Jun 2023
Overview
StroomMeterACS712 is an open-source printed circuit board by pappavis, from the pappavis/StroomMeterACS712 repository on GitHub. It is a 2-layer board with 22 parts on 35 nets, routed with 144 tracks and 0 vias.
It is built around the WEMOS D1 MINI, PCF8574AP and BC547, with the WS2812 among its other parts. Its parts include 6 connectors, 4 resistors, 3 switches, 2 ICs and 2 transistors. It belongs with the ESP8266 boards of this library.
Main components
4WEMOS D1 MINI
A mini wifi board with 4MB flash based on ESP-8266EX, hardware version 4.0.0.LolinUncategorisedPCF8574AP
DIP-16-40℃~+85℃ 100kHz 10uA 2.5V~6V 25mA 300uA 8 8 Cascade and address expansion、Built-in LED driver I2C Interrupt Output Quasi-bidirectional output DIP-16 I/O Expanders ROHSHGSEMII/O ExpandersBC547
TO-92Bipolar (BJT)Jiangsu Changjing Electronics Technology (CJ)WS2812
SMD5050-4P1.57mm 1000mcd 110mcd 120us 2kHz 3.7V~5.3V 300ns 320mcd 451nm 523nm 5mm 5mm 623nm 800Kbit/s Built-in power-on reset circuit、Built-in power-on reset circuit Top-mount SMD5050-4P RGB LEDs(Built-in IC) ROHSWorldsemiRGB LEDs(Built-In IC)
README
README.mdMeasure AC power usage using ESP8266 and ACS712
Werk-in-uitvoering!!!
Waarom?
De bedoeling is om een 230V AC middels software te kunnen aan/uitzetten. In principe kunt je dit gebruiken waar je AC stroom willen aan/uitzetten en meten. Het functioneert in principe dezelfde als een Sonoff POW switch.
Hoe werkt het
Wanneer IO-pin HIGH op de ESP32 gaat de voeding aan, aangestuurd door Octoprint, vlak voor starten met printen.
KiCAD schema
Benodigheden
De volgende heb je nodig;
| Aantal | Item | Kosten | Optioneel | Data / info |
|---|---|---|---|---|
| 1x | ESP32 S2 Mini met Bluetooth & WiFi | €2,28 | N | datasheet |
| 1x | ACS712-05 breakout board | €1,11 | N | datasheet |
| 1x | SRD-03VDC-SL-C 10A 250V relay | €2,44 | N | datasheet |
| 1x | I2C Oled 128X32 scherm | €1,38 | J | datasheet |
| 1x | SPDT tuimelschakelaar | €0,10 | N | info |
| 1x | I2C PCF8574P 8-bit expander | €0,20 | N | info |
| 2 | Screw terminals | €0,10 | - | - |
Je kunt van Aliexpress bestellen die in één pakketje worden opgestuurd.
Papier concept versie
TODO: onderstaand schema uitleggen.

Credits: Max50
Geïnspireerd door
heb de kunstje beetje geleend van;
- Deze videoclip.
- OctoPrint psucontrol uitbreiding.
Algemeen foto's
ACS712 breakout board & datasheet:
Tip: PCB gcode voor jouw CNC machine kunt je genereren voor met Flatcam.org
Credit: #easylab4kids
Parts
22| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | Gaatje | MountingHole:MountingHole_2.7mm_M2.5_Pad | H1, H2, H3, H4 |
| 3 | R10K | Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_Horizontal | R2, R3, R4 |
| 2 | BC547 | Package_TO_SOT_THT:TO-92_Inline | Q1, Q2 |
| 1 | 230V_in | Connector_JST:JST_EH_B2B-EH-A_1x02_P2.50mm_Vertical | J6 |
| 1 | ACS712 | Connector_PinHeader_2.00mm:PinHeader_1x03_P2.00mm_Vertical | J2 |
| 1 | HLK-PM01_220V | Converter_ACDC:Converter_ACDC_HiLink_HLK-PMxx | PS1 |
| 1 | OLED1604 | Connector_PinHeader_2.00mm:PinHeader_1x03_P2.00mm_Vertical | J1 |
| 1 | PCF8574A | Package_DIP:DIP-16_W7.62mm | U2 |
| 1 | PWR_5V_jst | Connector_JST:JST_EH_B2B-EH-A_1x02_P2.50mm_Vertical | J5 |
| 1 | PWR_5V_pin | Connector_PinHeader_2.00mm:PinHeader_1x02_P2.00mm_Vertical_SMD_Pin1Right | J3 |
| 1 | R100 | Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_Horizontal | R1 |
| 1 | SRD-03VDC-SL-C_Relay | Relay_THT:Relay_SPDT_SANYOU_SRD_Series_Form_C | K1 |
| 1 | SW_SPDT | Button_Switch_THT:SW_PUSH_6mm | SW2 |
| 1 | WS2812 | Connector_PinHeader_2.00mm:PinHeader_1x04_P2.00mm_Horizontal | J4 |
| 1 | WeMos_D1_mini | Module:WEMOS_D1_mini_light | U1 |
| 1 | btnAanUit | Button_Switch_THT:KSA_Tactile_SPST | SW1 |
Questions
What parts does the StroomMeterACS712 use?
22 parts, built around the WEMOS D1 MINI, PCF8574AP, BC547 and WS2812. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the StroomMeterACS712 KiCad files?
From the pappavis/StroomMeterACS712 repository on GitHub, at the commit this page was made from: the board is PCBs/StroomMeterACS712.kicad_pcb and its schematic PCBs/StroomMeterACS712.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the StroomMeterACS712 design in my own project?
Its repository states no licence, so its author keeps all rights: ask pappavis before reusing the design.
Similar boards
- 2 layers78.8 × 57.9 mm

- 2 layers260 × 318 mm

- 2 layers49.5 × 30 mm

- 2 layers200 × 70 mm

FRL RFiD Box
FREILab/easyVerwaltungHardware
Hardware und Firmware für alle Geräte im Bezug zu easyVerwaltung
65 parts2 - 2 layers49.5 × 54 mm

WLED Controller
chipnotic/WLED-Controller
Controller PCB for WLED, dual strip output, relay power control, option button
24 parts7 - 2 layers35.6 × 105.4 mm

Tagger
CheatingBoy6890/Open-Lasertag-System-Tagger
Build your DIY Lasertag taggers and play where your heart desires with the possibility to connect a vest for even more fun.
24 parts5BSD-3-Clause - 2 layers30.6 × 77.6 mm

- 2 layers155 × 70.1 mm

4S BMS Arduino Shield autor
Aassimrepo/4S-BMS-Proteus-KiCad
Simulation and PCB design of a 4S Battery Management System using Proteus, Arduino and KiCad.
69 parts