Skip to the content
PCBKitNew board
2 layers31.7 × 68.3 mmMainPCB, the printed circuit board in 3D

:ocean: 3D-printed, open-source suspended sediment sensor for river network monitoring (prototype 3.0)

Size
31.7 × 68.3 mm
Copper layers
2
Thickness
1.6 mm
Parts
23
Nets
24
Pads
115
Tracks, vias
323, 0
Pours
5
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
22 Aug 2022
Updated
10 Oct 2023

Overview

MainPCB is an open-source printed circuit board by rivertechlabs, from the rivertechlabs/suspendedsedimentsensor repository on GitHub, published under the AGPL-3.0 licence. It is a 2-layer board of 31.7 × 68.3 mm with 23 parts on 24 nets, routed with 323 tracks and 0 vias.

It is built around the PCF85263ATT/AJ, 2N7002LT1G and HSMH-C190. Its parts include 7 resistors, 4 capacitors, 3 ICs, 2 connectors and 1 transistor. It belongs with the sensors and measurement boards of this library.

Main components

3

README

README.md

:ocean:Ötz-T: suspended sediment sensor

A note on versions:

This sensor is prototype 3.0 (or "version Ötz-T"). The previous prototype 2.0 (or "first version") is found in this repo (new repo because I consider the two versions different enough).

News!

This sensor was published in HardwareX! Read Ötz-T: 3D-printed open-source turbidity sensor with Arduino shield for suspended sediment monitoring.


Improvements on this version:

  • :sleeping: Low-power Arduino MRK WAN 1310 microcontroller
  • :stuck_out_tongue_winking_eye: Entirely 3D printed design, so no need to beg a technician for help
  • :racehorse: Longer battery life
  • :dash: Turbidity, temperature and pressure sensor
  • :recycle: Programmed with Arduino IDE
  • :dancers: Custom printed circuit board (PCB) as an Arduino shield for an easier and cleaner assembly with a more durable design

A 3D-printed, open-source suspended sediment sensor for river network monitoring.

Introduction

This repo is dedicated to the open-source turbidity sensor. More info can be found here:

This repo contains several items to build the current prototype of the open-source turbidity sensor including:

  • The code needed to upload to the microcontroller
  • 3D printing files
  • PCB files
  • CAD files

Code

There are two codes in the Code folder: main.ino and set_time.ino. Please follow the instructions in set time.ino about changing the date in the program. After the program has flashed, every time the Arduino restarts (disconnect and reconnect to power) it will restart the RTC time to the original compile time of the set time.ino program. To mitigate this issue, the next program, main.ino, can be immediately flashed without disconnecting power or set time.ino can be re-flashed after commenting-out line 79 (“setPCF85263();”). Follow by flashing main.ino onto the Arduino. Please note that additional libraries may need to be downloaded and added to your library (e.g. the MS5803-05 external library). The main.ino program was written to take a measurement every hour (one measurement is an average of 15 measurements) to conserve battery, but this can be changed in the code if you require higher temporal resolution to capture larger variability e.g. from flushing of sediment from a dam.

3D printing files

Here you will find the printer files (.gcode) and the PrusaSlicer files (.3mf). The CAD files were exported as .stp and imported into the PrusaSlicer program (free). See the .3mf files to understand the settings we used in PrusaSlicer for optimal printing. The main settings were:

  • Avoid crossing perimeters [enabled]: so that there was less material to clean after printing
  • 5 perimeters, 5 bottom solid layers, and AT LEAST 0.15mm layer height for all components (on the thread and cap to ensure they were waterproof, see this article)
  • The lens inserts ("zapfen") have an even smaller layer height
  • The "teeth" have variable layer height (ranging from 0.07-0.15mm to ensure that the zapfen fit into the teeth)

The .3mf files were exported as .gcode files and then printed on a Prusa I3 Mk3 and/or Mk3S Filament Printer.

PCB

We have provided the Gerber files to directly order the PCBs. Alternatively, the .PcbDoc and .SchDoc files can be opened in Altium (the eductional license can be obtained for free) where you can export your own Gerber files. Finally, the schematic and PCB files were also provided as KiCad files so that they can be viewed and edited without Altium.

CAD

In this folder we have the original CAD files (as STEP) so that they can be downloaded and adjusted for your project.

Contact

For questions, please email me at droujko@ifu.baug.ethz.ch or @rivertechjess on Twitter :bird:

Parts

23
QtyValueFootprintReferences
410kVault:RESC2013X60X35NL10T20R1, R2, R4, R5
2100nFVault:CAPC2013X140X50NL20T25C1, C2
210pFVault:CAPC2013X115X51NL20T26C3, C4
2CommentC:_Users_Public_Documents_Altium_AD21_Library_Miscellaneous Devices.IntLib_AXIAL-0.3Designator1, Designator2
12N7002LT1GVault:ONSC-SOT-23-3-318-08_VQ1
132.768KHZVault:FP-ABS05-MFGY1
1330RVault:RESC2013X60X40NL20T25R3
1330RVault:RESC2013X60X35LL10T20R7
1473521001Vault:MOLX-473521001_VSD1
161002221121Vault:61002221121J1
1AL5809-50P1-7Vault:DIOD-POWERDI123-2_B_VU1
1Arduino MKR 1310SwS.PcbLib:ArduinoMKRU2
1HSMH-C190Vault:AVAG-HSMX-C190_VDS1
1Jumper_2WSwS.PcbLib:2w_JumperJ2
1LR621Vault:FP-2998-MFGBT1
1PCF85263ATT/AJVault:FP-SOT505-1-IPC_BU3
1n.c.Vault:RESC2013X60X35NL10T20R6

Questions

How big is the MainPCB PCB?

It measures 31.7 × 68.3 mm and has 2 copper layers, 1.6 mm thick.

What parts does the MainPCB use?

23 parts, built around the PCF85263ATT/AJ, 2N7002LT1G and HSMH-C190. 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 MainPCB KiCad files?

From the rivertechlabs/suspendedsedimentsensor repository on GitHub, at the commit this page was made from: the board is PCB/MainPCB/MainPCB.kicad_pcb and its schematic PCB/IRDiode/IR_Diode_PCB.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the MainPCB design in my own project?

Its repository publishes it under the AGPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

More from rivertechlabs/suspendedsedimentsensor

3
  • 2 layers11.7 × 11.2 mmPressureSensor, the printed circuit board in 3D

    PressureSensor

    rivertechlabs/suspendedsedimentsensor

    :ocean: 3D-printed, open-source suspended sediment sensor for river network monitoring (prototype 3.0)

    7 parts12AGPL-3.0
  • 2 layers10 × 10 mmLightSensor, the printed circuit board in 3D

    LightSensor

    rivertechlabs/suspendedsedimentsensor

    :ocean: 3D-printed, open-source suspended sediment sensor for river network monitoring (prototype 3.0)

    3 parts12AGPL-3.0
  • 2 layers6.9 × 12.3 mmIRDiode, the printed circuit board in 3D

    IRDiode

    rivertechlabs/suspendedsedimentsensor

    :ocean: 3D-printed, open-source suspended sediment sensor for river network monitoring (prototype 3.0)

    2 parts12AGPL-3.0

Similar boards

  • 2 layers40 × 60 mmSTM8003f3p development board, the printed circuit board in 3D

    STM8003f3p development board

    niksrajendra/stm8-bootloader-extended

    STM8 bootloader designed to work with any available communication interface and configure for different feature like secure, unsecure bootloader.

    131 parts
  • 2 layers196.7 × 31.5 mmClock, the printed circuit board in 3D

    Clock

    Matir/hacks

    Miscellaneous Hacks

    90 parts18BSD-2-Clause
  • 2 layers85.6 × 54 mmNrf card, the printed circuit board in 3D

    Nrf card

    dossalab/random-pcbs

    Random PCBs I have at my disposal

    64 parts
  • 4 layers48 × 33 mmWatch, the printed circuit board in 3D

    Watch

    eshazen/watch

    DIY smart watch

    26 parts
  • 2 layers58.5 × 85 mmUnisense, the printed circuit board in 3D

    Unisense

    mburger82/unisense

    121 parts
  • 2 layers229.7 × 135.6 mmMorse mesh v2, the printed circuit board in 3D

    Morse mesh v2

    eihli/morse-mesh

    This is the current hardware source for future Morse Mesh revisions. It is a professionally reviewed redraw of the frozen, fabricated v1 board, not a pin-compatible replacement: notably, KEYIN moved from v1 PA0 to v2…

    75 parts1
  • 4 layers86 × 145 mmCopper layers, the printed circuit board in 3D

    Copper layers

    JCastel358/Eltec406mca

    code for industrial automation process

    206 parts1
  • 4 layers100 × 150 mmPCB336, the printed circuit board in 3D

    PCB336

    marcorispoli/PCB336

    (Z275) PCB-25-336 Scheda Filamento Z275

    256 parts1