Check out my first novel, midnight's simulacra!

InaMORAta: Difference between revisions

From dankwiki
No edit summary
Line 9: Line 9:
==Communication==
==Communication==
We'll want to report RPMs to the controlling host, and probably take PWM and RGB orders from it. We might use [[LoRa]] for this later. For now, we'll use MQTT over WiFi from the Heltec.
We'll want to report RPMs to the controlling host, and probably take PWM and RGB orders from it. We might use [[LoRa]] for this later. For now, we'll use MQTT over WiFi from the Heltec.
===MQTT topics===
* <tt>mora3/pwm</tt> desired PWM, integer 0–255, published by controller, subscribed by Heltec
* <tt>mora3/therm</tt> temperature in celsius, published by Heltec, subscribed by controller
* <tt>mora3/rpm</tt> rpm extrapolated from the most recent second (i.e., multiplied by 60), Heltec->controller


==Powering the system==
==Powering the system==