Skip to the content
2 layers45 × 45 mmInterior lighting, the printed circuit board in 3D

Prototype project to build an underwater sensor node, powered by and communicating with the surface via Single Pair Ethernet (10BASE-T1L + 802.3cg)

Size
45 × 45 mm
Copper layers
2
Thickness
1.6 mm
Parts
46
Nets
52
Pads
182
Tracks, vias
214, 52
Pours
3
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
31 Jul 2023
Updated
2 Sep 2023

Overview

Interior lighting is an open-source printed circuit board by Scottapotamas, from the Scottapotamas/spe-marine-node repository on GitHub, published under the MIT licence. It is a 2-layer board of 45 × 45 mm with 46 parts on 52 nets, routed with 214 tracks and 52 vias.

It is built around the APA102-2020. Its parts include 24 ICs, 16 capacitors and 6 connectors. It belongs with the lEDs and displays boards of this library.

Main components

1

README

README.md

Underwater Sensor Node with Single Pair Ethernet

Prototype project to build a underwater sensor node, powered by and communicating with the surface via Single Pair Ethernet (10BASE-T1L + 802.3cg Type E Class 10-12).

test-mounted

A more detailed write-up can be read on Electric UI's blog.

Mechanical

test-jetty

Housing

The body of the sensor node is a 2″ acrylic tube (~58mm OD), with a pair of aluminium end-caps. This provides a working volume constrained by the 50 mm internal diameter and ~118 mm maximum gap between caps.

mech-side-view

The top cap/bulkhead has 4×M10 threaded holes for accessories as part of BlueRobotic's hardware ecosystem. The assembled prototype is fitted with:

  • 4.5mm Wetlink penetrator for the tether cable
  • 10m rated pressure sensor
  • White indicator LED
  • Pressure relief/test valve

Whilst this prototype won't see properly deep water, this tube arrangement should be capable of 200m operation, and far deeper if an aluminium sleeve is used.

CAD models and assemblies are in /mechanical/tube/. Off-the-shelf parts are in /mechanical/tube/cots/.

Internal brackets

A pair of 3D printed board mounts use the 4×M3 internal mounting holes in the bulkheads.

mech-pcb-mounts

CAD models and STL files are in /mechanical/tube/.

Mounting

The tube itself doesn't have any features for mounting, so a pair of custom tube clamps were printed with the general goal of providing generic strap or wire mounting points.

Files are in /mechanical/mount/.

Electronics

Compatibility with the Sparkfun MicroMod ecosystem has been maintained where possible - building off of Sparkfun's ADIN1110 function board for bring-up and early software tests.

PCB's were designed with KiCAD 7. Project files, gerbers and schematic PDF's are in /electronics/.

A small collection of calculator spreadsheets were made to help during the design process - these are in /docs and use Open Office .ods format.

Version 1.0 boards do have some minor issues which were tweaked during bench testing, so I'd recommend reviewing things thorough before copying anything into your designs.

Backplane

Acting as the MicroMod 'carrier', providing the processor and function board connections, as well as regulation, I2C headers, and breakout pads for spare/conflicted IO. It also serves as the mounting interface for sensor payloads and custom hardware.

render-backplane-overview

It's a 46×100 mm 1.6 mm 2-layer board with pretty relaxed fabrication requirements.

PD and PSE Function Boards

Both boards implement the ADIN1110 SPE transceiver in a similar manner to Sparkfun's function board, but exist as two variants which improve over the dev-kit by adding:

  • Circuitry to act as a Class 10-12 PoDL power supply aka PSE (pictured below on left).

  • VID circuitry to signal compliance as a Class 10-12 PoDL powered device aka PD (pictured on right).

    render-fn-boards

These boards only provide detection, not classification via SCCP, and as such runs in 'fast-start mode'.

The PCB's are A×B mm, 0.8mm thick, 2-layer boards which can be manufactured with commodity fabs. I just used the raw straight PCB edge-connector without issues, but for best practice and/or frequent insertion cycles the edge-connector should be bevelled.

The blog post describes PoDL circuit behaviour and integration in more detail.

Sensors

The project was designed without assuming any specific sensors would be used, but I used these I2C sensors:

Firmware

I used an ESP32 MicroMod processor board along with the Arduino toolchain. As such, there are external dependencies on the ESP32 Arduino core, electricui-embedded, and Sparkfun packages for their ESP32 boards, LSM6DS0, SHTC3 and ADIN1110 libraries.

I also depend on my own MS5837 library (external to this repo) for working with the pressure sensor.

The /firmware folder has some of the test-sketches written during testing:

  • spe-pse-io - Bench-test PoDL PSE behaviour with a simple state-machine
  • lsm6ds0-fifo-test - Configures and reads IMU samples periodically from the buffer
  • led-io-test - Rough test using Pololu's APA102 library to check the 2×24 LED rings
  • spe-eui-bridge - Transparent proxy of electricui-embedded packets with ADIN1110 raw buffers to serial ports.

These sketches weren't written to act as examples or as reference material, and should be treated accordingly.

The main firmware is actually rather straightforward, running a superloop which runs each sub-system at a defined rate. Sub-systems never block, and are generally only responsible for their own behaviour.

TODO: Cleanup and merge branches/sources into this repo

User Interface

TODO: Cleanup and merge sources into this repo

The user interface is built with Electric UI, and can be built and run by invoking arc start from /interface.

It handles visualisation of data streaming off the sensor node, and provides additional statistics and logging.

ui-screenshot

TODO: Write part 2 post on data processing and visualisation

Additional Notes

If you're planning on replicating this project, or part of it, some additional points of interest:

  • I'm happy to answer questions or help with design changes to suit your ocean research project.
    • I'm also generally open to consulting work!
  • Firmware is pretty specific to my own tooling and relies on external libraries for sensors and the Arduino ESP32 core.
  • Read over BlueRobotics's guides for Wetlink penetrator use, enclosure assembly, pressure testing.
    • Definitely do remember to lubricate o-rings and the tube bulkheads as you slide them into the cylinder. It's very difficult to get them out dry...
  • The tube as designed and pictured is positively buoyant and might need additional ballast weight depending on your application and safety requirements around handling.

Its also worth mentioning that the entire detailed conceptualisation, design, ordering, assembly, testing and writeup occurred in August 2023. There were many late nights, and as a result some design choices were made with simplicity or time-frame in mind.

Parts

46
QtyValueFootprintReferences
24APA102-2020Applidyne_LED:AP102_200X200X90LU1, U2, U10, U11, U12, U13, U14, U15, U16, U17, U18, U19, U20, U21, U22, U23 +8
16100n_X7R_1608MApplidyne_Capacitor:CAPC1608X90LC3, C5, C6, C7, C8, C9, C11, C12, C13, C14, C15, C17, C18, C19, C20, C21
6PAD_SOLDER_2mmApplidyne_Connector:PAD_SOLDER_2mm_SQUAREP1, P2, P3, P4, P5, P6

More from Scottapotamas/spe-marine-node

3
  • 2 layers38 × 65 mmSpe sink, the printed circuit board in 3D

    Spe sink

    Scottapotamas/spe-marine-node

    Prototype project to build an underwater sensor node, powered by and communicating with the surface via Single Pair Ethernet (10BASE-T1L + 802.3cg)

    99 parts34MIT
  • 2 layers38 × 65 mmSpe source, the printed circuit board in 3D

    Spe source

    Scottapotamas/spe-marine-node

    Prototype project to build an underwater sensor node, powered by and communicating with the surface via Single Pair Ethernet (10BASE-T1L + 802.3cg)

    99 parts34MIT
  • 2 layers46 × 100 mmBackplane, the printed circuit board in 3D

    Backplane

    Scottapotamas/spe-marine-node

    Prototype project to build an underwater sensor node, powered by and communicating with the surface via Single Pair Ethernet (10BASE-T1L + 802.3cg)

    65 parts34MIT

Similar boards

  • 2 layers65 × 56.5 mmSuperPower RPi KiCAD, the printed circuit board in 3D

    SuperPower RPi KiCAD

    SensorsIot/SuperPower

    Here you should find the best power supplies for your low-power projects

    122 parts600
  • 2 layers40.2 × 19.6 mmCompact, the printed circuit board in 3D

    Compact

    jgillick/ThunderPack

    A self-contained microcontroller, battery, and power management system that fits in your pocket.

    59 parts44MIT
  • 2 layers35 × 99.5 mmPovslinger, the printed circuit board in 3D

    Povslinger

    Jeija/esp8266-povslinger

    Persistence of vision display using ESP8266 and APA102-2020

    49 parts10
  • 2 layers66.2 × 57.3 mmFidget, the printed circuit board in 3D

    Fidget

    m-byte/fidget-pov

    https://hackaday.io/project/25372-iot-pov-fidget-spinner

    88 parts8GPL-3.0
  • 4 layers155 × 54.5 mmDisplay b r1, the printed circuit board in 3D

    Display b r1

    4lml4/LED_Glasses

    New public repo for work on LED Glasses

    292 parts2
  • 4 layers73 × 57 mmGRID, the printed circuit board in 3D

    GRID

    Lucasmnascimento94/CS-341

    400 parts2
  • 2 layers22.4 × 47.3 mmCuttle2fish, the printed circuit board in 3D

    Cuttle2fish

    tahnok/cuttle2fish

    Something you know (password) and something you have (cuttlefish shaped U2F token)

    26 parts2Unlicense
  • 2 layers12 × 30 mmElectric greetings, the printed circuit board in 3D

    Electric greetings

    electricui/electricui-helloboard

    Cute arduino compatible development board for introducing people to Electric UI

    19 parts1

Questions

How big is the Interior lighting PCB?

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

What parts does the Interior lighting use?

46 parts, built around the APA102-2020. 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 Interior lighting KiCad files?

From the Scottapotamas/spe-marine-node repository on GitHub, at the commit this page was made from: the board is electronics/interior-lighting/interior-lighting.kicad_pcb and its schematic electronics/backplane/backplane.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Interior lighting design in my own project?

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