The block diagram shows main hardware, firmware and software components and their connections.
Hardware components are symbolized by a box while firmware and software components are symbolized by a cloud and connections by arrows
Web page comes from a local web server.
A background peer-to-peer UDP application sends continuously slope info to Arduino UDP peer application in order to drive electromagnetic brake.
Direct connection between web client and Arduino microcontrollor is not possible owing to security limitations of browser technology.
Arduino microcontrollor performs three main tasks:
- pedaling cadence sampling
- conversion of pedaling cadence into mouse click inter-times.
- Receiving of slope info and driving of electromagnetic brake