一位个人开发者记录并展示了其自制模拟“日光时钟”及配套时空控制盒的开发过程,该装置旨在提供环境化的时间流逝提醒 1。这款时钟的核心功能是基于经纬度计算并可视化当前纬度下的日照时长变化,其中午夜位于底部,正午位于顶部 1。硬件方面,设备采用了 Adafruit Feather RP2040 微控制器、48 颗 Neopixel 灯珠以及实时时钟(RTC)模块 1。在软件实现上,开发者使用 CircuitPython 和 asyncio 库编写程序,并移植了 Charles 开发的 Rust 版 NOAA 太阳计算器代码 1。
用户可通过配套的控制盒调整显示参数,具体交互方式包括:旋钮用于按周调整日期,滑块用于改变纬度,开关则用于切换经度位置(东/中/西)1。该项目的灵感源自朋友 Charles 的数字日光时钟,意在通过物理结构展现不同地理位置下的日照时长变化 1。外壳制作利用了 Cuttle.xyz 进行 3D 建模,并在图书馆免费创客空间通过激光切割工艺完成 1。整个项目涵盖了从灵感来源、物理结构设计、硬件选型到软件编程及最终调试与回顾的全流程技术细节 1。
A personal developer has designed and built a DIY analog "Daylight Clock" that visualizes the daily span of sunlight based on geographical coordinates. 1 The device calculates daylight duration in real time according to the user's latitude, displaying midnight at the bottom and noon at the top of a circular interface. 1 Inspired by a digital version created by a friend named Charles, this project aims to provide an ambient reminder of the passage of time through light. 1
The clock’s hardware relies on an Adafruit Feather RP2040 microcontroller paired with 48 Neopixel LEDs and a Real-Time Clock (RTC) module. 1 Software implementation utilizes CircuitPython and the asyncio library, featuring a port of Charles’s Rust-based NOAA sun calculator code to handle astronomical computations. 1 The physical structure was modeled using Cuttle.xyz and fabricated via laser cutting at a free public makerspace in a local library. 1
Interaction with the system is managed through a dedicated control box equipped with three specific inputs: a knob for adjusting the date week by week, a slider for setting the latitude, and a switch to select longitude positions among East, Central, or West zones. 1 These controls allow users to manipulate both temporal and spatial parameters to observe how daylight patterns shift under different conditions. 1
评论
还没有评论,欢迎留下第一条。