Triaxial Numechron Clock - custom scripts with Bluetooth control (09/07/24 update)
thingiverse
For microcontroller with appropriate support (ex: ESP32), this sketch adds serial Bluetooth support for a (limited) control of the Numechron clockIt implements three commands permitting to center the minute digit position (in case it becomes badly centered), allowing setting the appropriate number for this digit after bootup (avoid repeated action on the reset switch), and handling when the minute switching occurs For issuing the commands, a serial Bluetooth terminal is neededFirst command: mXYmove minute digit from X position (displayed one) to Y (target one)ex: m17 request move from 1 to 7Second command: aNmove position of the minute digit N seconds forward (N between 1 and 99 seconds)not intuitive, but convenient after a few tryex: a5 move digit position 5 second forward (1/12 ot the total movement between two successive digits)Once the minute digit is in the appropriate position, 10 min and hour should be tuned by handThird command: rResync the time movement. Next minute move will occur 60 sec after passing this command (and then every minute)Additionaly, the h command displays an help message (added 15/02/24)The script implements two possible strategies for handling Bluetooth:The first (and simplest) one uses Classic Bluetooth (when BT_CLASSIC is defined)Commands are sent using a Serial Bluetooth terminal (tested with "Serial Bluetooth Terminal" from K Morich on Android)The Bluetooth Id is "Numechron-BT"The second (and more complex) one uses Bluetooth Low Energy - BLE (when BT_BLE is defined)Commands are sent using a BLE terminal (tested with "BLE Terminal Free" from edodm85 on Android)The Bluetooth Id is "Numechron-BLE"The URL "https://www.aranacorp.com/fr/communication-ble-avec-esp32/" indicates how to communicate using BLE.Basically:Search BT devices, select the appropriate one, and connectAfter the first connection, an error is reportedSelect the appropriate service characteristic (Write and Read); once done, reconnectThe Numechron service and characteristic keys begin by "deadbeef"Now ready to send commandsSome chipsets (ex ESP32-C3) only support BLE; that justifies the second variant The settings in this script (see Custom section) match the Numechron remix described in “Triaxial Numechron Clock - box and instructions for using ESP32-C3 mini”However, they can easily be modified to match other controllers / other use cases09/07/2024 fixed a compile error now appearing as "conversion from 'String' to non-scalar type 'std::string'"(dummy.stl only here to please Thingiverse)
With this file you will be able to print Triaxial Numechron Clock - custom scripts with Bluetooth control (09/07/24 update) with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Triaxial Numechron Clock - custom scripts with Bluetooth control (09/07/24 update).