π Mission Log: NASA Stardance Space Clock
Engineering Log 02: Solo Flight, Code Completion & Prototype Alpha
Date: June 2026 | Crew Update: Mohammed Ibrahim (Solo Mission)
π§ 1. Mission Update: Going Solo
Every space mission faces unexpected variables. Due to a sudden change in crew availability, Dhanvir has stepped down from the project. While losing a co-pilot changes the timeline dynamics, the launch parameters remain exactly the same.
The NASA Stardance Space Clock is officially a solo flight operation. I have taken over 100% of the hardware routing and code execution to bring this prototype to life.
π» 2. Software Architecture & Code Completion
The core codebase is officially written and compiled! Because controlling a 5416AS 4-digit 7-segment display manually requires a lot of heavy lifting, the software is structured around two critical engineering pillars:
β±οΈ High-Frequency Multiplexing
A 4-digit display shares its segment pins (A-G) across all digits. To display a 4-digit number like 1 2 : 0 0, the code flashes each individual digit one at a time at microsecond intervals. Because it happens so incredibly fast, the human eye perceives it as a solid, unified display face with zero flickering.
π The State Machine Loop
The code is built around a non-blocking millis() timing loop that continuously tracks three operational states:
- Clock Mode: Pulls precision hours and minutes from the DS3231 RTC chip via I2C.
- Timer Setup Mode: Reads the analog position of the potentiometer and maps it dynamically from $0\text{β}60$ minutes.
- Countdown Mode: Decrements time sequentially and checks if the system needs to flag the alarm state.
π 3. Prototype Alpha: The First Physical Run
With the code fully written, I completed the physical test bench wiring.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.