Skip to the content
2 layers62.2 × 95.6 mmDiyBMS CurrentVoltage ADS1115, the printed circuit board in 3D

DiyBMS CurrentVoltage ADS1115

ff0000wire/diyBMS_CurrentVoltage_ADS11153

Isolated current and voltage sensor for up to 850V based on ADS1115 and attiny1614

Size
62.2 × 95.6 mm
Copper layers
2
Thickness
1.6 mm
Parts
51
Nets
44
Pads
229
Tracks, vias
320, 42
Pours
4
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
5 Aug 2023
Updated
15 Aug 2024

Overview

DiyBMS CurrentVoltage ADS1115 is an open-source printed circuit board by ff0000wire, from the ff0000wire/diyBMS_CurrentVoltage_ADS1115 repository on GitHub. It is a 2-layer board of 62.2 × 95.6 mm with 51 parts on 44 nets, routed with 320 tracks and 42 vias.

It is built around the ATTINY1614-SSN, MEE1S0505SC and ADS1115IDGS, with the SMAJ5.0A among its other parts. Its parts include 17 resistors, 16 capacitors, 8 connectors, 5 ICs and 3 diodes. It belongs with the sensors and measurement boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

4

README

README.md

diyBMS_CurrentVoltage_ADS1115

Isolated current and isolated voltage sensor for up to 850V & 200A based on ADS1115 and attiny1614 with isolated RS485 / MODBUS. (based on https://github.com/stuartpittaway/diyBMS-CurrentShunt)

Current / Voltage measurement

The current measurement uses an ACS758ECB-200B hall-effect based current sensor IC.

The voltage measurement is isolated using an ACPL-C870 Precision Optically Isolated Voltage Sensor.

The analog signal from both measurements are converted using a ADS1115 16 bit ADC.

Coulomb calculation takes place in using an attiny1614 and communication uses isolated RS485 / MODBUS.

Basis

The project is based on https://github.com/stuartpittaway/diyBMS-CurrentShunt and was created to allow using high voltage batteries for diyBMSv4.

BOARD

The schematics and board are in the directory KiCad.

CODE / FIRMWARE

The firmware in the directory code is losely based on Stuard Pittaway's diyBMS CurrentShunt. It uses the same MODBUS RTU registers.

Coulomb calculation

The charge that goes in and out is calculated by sampling the current 128 times per second using the ADS1115 and measuring the time beween each sample. These are then integrated first to mA*ms (uAs) and then every second to mAh (milliamphours).

Voltage measurement

The voltage is measured every 1 second as it's irrelevant for charge calculation but interesting for power calculation and over/undervoltage checks.

MODBUS registers

See MODBUS Registers.md

Maximum compatibililty to diyBMS-CurrentShunt should be maintained to allow using the diyBMS4 ESP32 code unmodified.

Please note that due to compatibility the double registers are in mixed endian (floats compromised of 2 16bit registers in little endian, but individual 16 bit registers are big endian) BUT the 32bit integers are big endian.

Use read-modbus.sh # code/read-modbus.sh to read the modbus registers.

WARNING

This is a DIY product/solution so don’t use this for safety critical systems or in any situation where there could be a risk to life.

This board was designed to work with high DC voltages which are notoriously dangerous to work with and are a risk to life. Please make sure you have the appropriate knowledge and always use fuses specified for DC.

There is no warranty, it may not work as expected or at all.

The use of this project is done so entirely at your own risk. It may involve electrical voltages which could kill - if in doubt, seek help.

The use of this project may not be compliant with local laws or regulations - if in doubt, seek help.

License

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.0 UK: England & Wales License.

https://creativecommons.org/licenses/by-nc-sa/2.0/uk/

You are free to:

  • Share — copy and redistribute the material in any medium or format
  • Adapt — remix, transform, and build upon the material The licensor cannot revoke these freedoms as long as you follow the license terms.

Under the following terms:

  • Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • Non-Commercial — You may not use the material for commercial purposes.
  • ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
  • No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.

Notices: You do not have to comply with the license for elements of the material in the public domain or where your use is permitted by an applicable exception or limitation.

No warranties are given. The license may not give you all of the permissions necessary for your intended use. For example, other rights such as publicity, privacy, or moral rights may limit how you use the material.

Parts

51
QtyValueFootprintReferences
7100nCapacitor_SMD:C_0805_2012MetricC2, C3, C5, C11, C13, C14, C15
5402kPP:PP | R_MELF_MMB-0207 | 0805 CompatibleR1, R2, R3, R4, R5
410uCapacitor_SMD:C_0805_2012MetricC1, C4, C7, C16
3100nFCapacitor_SMD:C_0805_2012MetricC8, C9, C10
310kResistor_SMD:R_0805_2012MetricR7, R8, R17
2330RResistor_SMD:R_0805_2012MetricR12, R13
24k7Resistor_SMD:R_0805_2012MetricR10, R11
29x9 PIN connectorTerminalBlock_Wuerth:Wuerth_REDCUBE-THR_WP-THRBU_74650194_THRJ4, J5
1100KResistor_SMD:R_0805_2012MetricR9
1100n 100VCapacitor_SMD:C_0805_2012MetricC12
110KResistor_SMD:R_0805_2012MetricR15
1120RResistor_SMD:R_0805_2012MetricR16
11nCapacitor_SMD:C_0805_2012MetricC6
1470RResistor_SMD:R_0805_2012MetricR14
14k7PP:PP | R_MELF_MMB-0207 | 0805 CompatibleR6
1ACPL-C870Package_SO:SSO-8_6.8x5.9mm_P1.27mm_Clearance8mmU1
1ACS758xCB-200B-PFFSensor_Current:Allegro_CB_PFFU3
1ADM2483xRWPackage_SO:SOIC-16W_7.5x10.3mm_P1.27mmU5
1ADS1115IDGSPackage_SO:TSSOP-10_3x3mm_P0.5mmU2
1ATtiny1614-SSPackage_SO:SOIC-14_3.9x8.7mm_P1.27mmU4
1Conn_01x10_MountingPinConnector_PinHeader_2.54mm:PinHeader_1x10_P2.54mm_VerticalJ1
1Debug/UPDIConnector_PinHeader_2.54mm:PinHeader_1x09_P2.54mm_VerticalJ2
1GREENLED_SMD:LED_0805_2012MetricD2
1MEE1S0505SCConverter_DCDC:Converter_DCDC_Murata_MEE1SxxxxSC_THTPS1
1PA3/PA4Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ8
1REDLED_SMD:LED_0805_2012MetricD3
1SMAJ5.0ADiode_SMD:D_SMAD1
1Screw_Terminal_01x02TerminalBlock:TerminalBlock_bornier-2_P5.08mmJ6
1Screw_Terminal_01x02TerminalBlock_MetzConnect:TerminalBlock_MetzConnect_Type703_RT10N02HGLU_1x02_P9.52mm_HorizontalJ7
1Screw_Terminal_01x04TerminalBlock_MetzConnect:TerminalBlock_MetzConnect_Type086_RT03404HBLC_1x04_P3.81mm_HorizontalJ3
1SolderJumper_2_BridgedJumper:SolderJumper-2_P1.3mm_Bridged_Pad1.0x1.5mmJP1

Similar boards

  • 4 layers100 × 100 mmDMX servo controller hardware, the printed circuit board in 3D

    DMX servo controller hardware

    flavioamieiro/dmx_servo_controller

    This source describes Open Hardware and is licensed under the CERN-OHL-S v2. You may redistribute and modify this source and make products using it under the terms of the CERN-OHL-S v2.

    63 parts1
  • 2 layers91.5 × 91.5 mmTrigger led box, the printed circuit board in 3D

    Trigger led box

    nippoo/lawrence-button-two

    This repository contains the STL files, KiCad design and Gerber files, and Arduino code used in building the Lawrence Button Two.

    28 parts1
  • 2 layers180 × 180 mmAv3, the printed circuit board in 3D

    Av3

    enzomedeiros0109/Mega2560-PLC

    Este projeto consiste no design de uma Placa de Circuito Impresso (PCB) voltada para aplicações de controle, automação e desenvolvimento.

    120 parts
  • 2 layers115.3 × 137.1 mmFraiseiver2panel, the printed circuit board in 3D

    Fraiseiver2panel

    MetaluNet/Fraise-cad

    Fraise-cad is the repo for Fraise boards design files

    186 partsGPL-3.0
  • 2 layers80 × 45.7 mmStlinkv2, the printed circuit board in 3D

    Stlinkv2

    alekseibutiaev/electronics

    91 parts
  • 4 layers40 × 45 mmPulser ctrl, the printed circuit board in 3D

    Pulser ctrl

    xy-kasumi/Spark-pulser

    WIP "Pulser" EDM board

    32 parts
  • 2 layers91.5 × 57.5 mmZPool v2.0, the printed circuit board in 3D

    ZPool v2.0

    a-bulcke/zpool

    Capteurs Zigbee pour gestion de piscine

    61 parts3Apache-2.0

Questions

How big is the DiyBMS CurrentVoltage ADS1115 PCB?

It measures 62.2 × 95.6 mm and has 2 copper layers, 1.6 mm thick.

What parts does the DiyBMS CurrentVoltage ADS1115 use?

51 parts, built around the ATTINY1614-SSN, MEE1S0505SC, ADS1115IDGS and SMAJ5.0A. 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 DiyBMS CurrentVoltage ADS1115 KiCad files?

From the ff0000wire/diyBMS_CurrentVoltage_ADS1115 repository on GitHub, at the commit this page was made from: the board is hardware/V1/diyBMS_CurrentVoltage_ADS1115.kicad_pcb and its schematic hardware/V1/diyBMS_CurrentVoltage_ADS1115.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the DiyBMS CurrentVoltage ADS1115 design in my own project?

Its repository states no licence, so its author keeps all rights: ask ff0000wire before reusing the design.