You are browsing as a guest. Sign up (or log in) to start making projects!

2h 26m logged

🌌 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:

  1. Clock Mode: Pulls precision hours and minutes from the DS3231 RTC chip via I2C.
  2. Timer Setup Mode: Reads the analog position of the potentiometer and maps it dynamically from $0\text{–}60$ minutes.
  3. 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.

0
2

Comments 0

No comments yet. Be the first!