---
title: Mussel-driven voting system

date: 2025-04-23

toc-depth: 2

format:
  stylish-report-pdf:
    pdfversion: "2.0"
    pdfstandard: [A-4f, UA-2]
    pdftestphase: latest

metadata-files:
  - _actors.yml
keywords:
  - voting
  - bioindicator
  - Arduino

breaks: false

---

# Abstract

TODO

# Introduction

A system in Poland to monitor water treatment plants
uses mussels as bioindicators
[@FerreiraRodriguez2023].
The system, SYMBIO,
measures once per second the opening level of 8 freshwater mussels
by way of a magnet glued to each mussel
[@Prote2024].
If either half of the mussels close rapidly
or one of them remains closed for longer time,
an alarm is triggered and further laboratory tests are done
[@Nazaruk2016].

This project will implement mechanisms like the polish system.

# Project Planning

TODO

# Analysis and Design

TODO

# Description of the Program

TODO

# User Guide

TODO

# Testing

TODO

# Discussion

TODO

# Conclusion

TODO

# Bibliography {.appendix}

\begingroup
\raggedright
::: {#refs}
:::
\endgroup

\appendix

# Arduino example code {.appendix}

## ESP32 → BLE → iBeacon

```{.c include="iBeacon/iBeacon.ino" code-line-numbers="true"}
```

# Arduino project code {.appendix}

## mussel 1

```{.c include="mussel1/mussel1.ino" code-line-numbers="true"}
```

## mussel 2

```{.c include="mussel2/mussel2.ino" code-line-numbers="true"}
```

## mussel 3

```{.c include="mussel3/mussel3.ino" code-line-numbers="true"}
```

## mussel 4

```{.c include="mussel4/mussel4.ino" code-line-numbers="true"}
```

## mussel 5

```{.c include="mussel5/mussel5.ino" code-line-numbers="true"}
```
