
ESP32CanBoard
ieb/CanDiagnose
Small firmware to run on an ESP32 and diagnose devices and messages on a canbus.

An open source bilge water level alarm system
OpenBilgeAlarm is an open-source printed circuit board by Miceuz, from the Miceuz/OpenBilgeAlarm repository on GitHub, published under the Apache-2.0 licence. It is a 2-layer board of 115 × 45 mm with 59 parts on 63 nets, routed with 93 tracks and 5 vias.
It is built around the SP3481CN-L, 74HC595 and LM7805CT. Its parts include 19 resistors, 10 capacitors, 10 diodes, 4 transistors and 3 ICs. It belongs with the AVR (ATmega, ATtiny) boards of this library.
An open source bilge water level alarm system
It is important to comply with the regulations in SOLAS (International Convention for the Safety of Life at Sea), which means:
The system will work under moist conditions. The microcontroller can be located in the navigation room. Simple protection against dust and moisture will be sufficient. It is a dry and warm space. No need for any special casing. I would try to make it as a panel to be integrated into the board of all the other technical devices there. Ambient T is 10°C to 30°C. Humidity is rather high. Shock is low but may occur if some part may break and move inside the bilge (that is why I suggest having a cage around the sensor. i'll try to make a sketch or picture). Corrosion is high.
For our ship. I would count 35-40 meters of the bus backbone to the furthest sensor. From the backbone each sensor will need about 6-8 meters of cable. We have a cable channel along the side wall of the ship, where it will run along. Since the deepest parts of the sections will always be near the section walls, the backbone will be intersected there with the T-connectors. So the furthest sensor should have something like 45m cable at max.
The ship runs on 24V DC batteries, which are charged and maintained externally. There is also a 220V AC inverter, but I prefer using the 24V DC and have a little converter for our needs. The maximum voltage we may have to consider is 29V in cases of charging with the generator. The minimum can get as low as 22.5V in case we are running really low on voltage.
But having a backup-battery will be a good idea anyways in case anything goes wrong with the other supplies?
| Qty | Value | Footprint | References |
|---|---|---|---|
| 8 | 330 | Resistors_SMD:R_0603_HandSoldering | R2, R4, R10, R12, R16, R17, R18, R19 |
| 6 | 100k | Resistors_SMD:R_0603_HandSoldering | R3, R5, R7, R9, R13, R14 |
| 6 | C | Capacitors_SMD:C_0603_HandSoldering | C5, C6, C7, C8, C9, C10 |
| 5 | D_TVS | Diodes_SMD:SOD-323 | D2, D7, D8, D9, D10 |
| 4 | Mounting_Hole | Mounting_Holes:MountingHole_3.2mm_M3 | MK1, MK2, MK3, MK4 |
| 3 | 1k | Resistors_SMD:R_0603_HandSoldering | R8, R11, R15 |
| 2 | 1u | Capacitors_SMD:C_1210_HandSoldering | C1, C4 |
| 2 | CP | Capacitors_ThroughHole:CP_Radial_D5.0mm_P2.50mm | C2, C3 |
| 2 | Q_NMOS_GSD | TO_SOT_Packages_SMD:SOT-23_Handsoldering | Q1, Q4 |
| 1 | 10R | Resistors_SMD:R_2512 | R1 |
| 1 | 10k | Resistors_SMD:R_0603_HandSoldering | R6 |
| 1 | 16V | Diodes_SMD:D_SOD-323_HandSoldering | D4 |
| 1 | 24V | Diodes_SMD:Diode-SMA_Handsoldering | D3 |
| 1 | 48V | Diodes_SMD:Diode-SMB_Handsoldering | D1 |
| 1 | 74HC595 | Housings_SOIC:SOIC-16_3.9x9.9mm_Pitch1.27mm | U1 |
| 1 | ARDUINO_NANO | SHIELD_ARDUINO:ARDUINO_NANO_2_CONTOUR_ELL | SH1 |
| 1 | CONN_01X02 | smalsiukas-footpints:TerminalBlock_5.08-2pol | J1 |
| 1 | CONN_01X04 | smalsiukas-footpints:TerminalBlock_5.08-5pol | J2 |
| 1 | LCD16X2 | Displays:WC1602A | DS1 |
| 1 | LED | LEDs:LED_D5.0mm | D6 |
| 1 | LED_ARGB | LEDs:LED_D5.0mm-4 | D5 |
| 1 | LM7805CT | TO_SOT_Packages_THT:TO-220_Vertical | U2 |
| 1 | POT | Potentiometers:Potentiometer_Trimmer_ACP_CA6v_Horizontal | RV1 |
| 1 | Polyfuse | Resistors_THT:R_Box_L8.4mm_W2.5mm_P5.08mm | F1 |
| 1 | Q | TO_SOT_Packages_SMD:TO-252-2Lead | Q3 |
| 1 | Q_PMOS_GSD | TO_SOT_Packages_SMD:SOT-23_Handsoldering | Q2 |
| 1 | Rotary_Encoder_Switch | bilge-alarm-parts:Encoder_Bourns_PEC12R-4xxxF-Sxxxx | SW1 |
| 1 | SP3481CN | Housings_SOIC:SOIC-8_3.9x4.9mm_Pitch1.27mm | U3 |
| 1 | SW_SPST | Buttons_Switches_SMD:SW_SPST_EVPBF | SW2 |
| 1 | Speaker_Crystal | Buzzer_12x9.5RM7.6 | LS1 |

ieb/CanDiagnose
Small firmware to run on an ESP32 and diagnose devices and messages on a canbus.





ThomasVDD/SmartSupply
SmartSupply is a digital battery powered lab powersupply. It is Arduino compatible and can be controlled via PC over USB.


EleonoreMizo/pedalevite
Pédale Vite — DIY multi-FX pedalboard for guitar/bass/etc.
It measures 115 × 45 mm and has 2 copper layers, 1.6 mm thick.
59 parts, built around the SP3481CN-L, 74HC595 and LM7805CT. 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.
From the Miceuz/OpenBilgeAlarm repository on GitHub, at the commit this page was made from: the board is OpenBilgeAlarm.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the Apache-2.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).