The hardest problem was noise, and most of it came down to the electrodes.
I was in charge of the connection between the student and the sensor: the electrodes, and the wiring that runs to the Myoware muscle sensors.
The teachers wanted non-stick electrodes, so I led the troubleshooting to find ones that would work. I made a spreadsheet of a lot of different electrode types and set aside money in our budget so we could actually buy and test them. Nothing non-stick gave us a clean signal. Only stick-on electrodes did. So we found a washable, reusable version, and the teachers don't have to keep buying new ones.
To keep noise out of the cables, I soldered the connections between the electrodes and the sensors and made sure every joint was solid. We ran the wires through a nylon braided cover to protect them.
We originally planned to use an ESP32. We switched to an Arduino Uno because it was easier to code and to connect over USB to the custom program on our laptop.
At the end, a student used it in class, and it worked. The teachers were very happy. It was an emotional moment.