Server and microcontroller client for electromechanical ferry tracker devices
GPL-3.0 License
This is the code for electromechanical "ferry tracker clock" devices. This repository includes both the server, written in Go, and the client, which runs on an ESP8266 microcontroller and is written in C++. There are currently three non-prototype hardware revisions (and many more prototypes). Here are some pictures of the different models we've produced:
Kitty v1 is no longer being sold as a kit.
The code is based upon a client-server model. The client is a small microcontroller that controls actuators and sensors. It communicates over HTTP with a more powerful computer running the server.
The server can provide data for both the miniature and full-sized ferries because the server's behavior should be the same for both. The processing steps are as follows:
The server is written in Go.
The client for the miniature ferries communicates with the server, serves a configuration webpage over a WiFi network it broadcasts, and stores user-provided WiFi credentials across reboots. The client linearly interpolates between two ferry "progress" percentages provided by the server (there two percentages for each boat; two boats are currently supported). This progress percentage is used to actuate the display to the correct position. A variety of hardware is supported from the same codebase. The FERRY TEMPO client software is written in C++. You can read more about the FERRY TEMPO and flashing your board here.