aidanjohnson / dt7816

Acoustic Array for Tracking Coordinated Flight of Foraging Bats
GNU General Public License v3.0
0 stars 0 forks source link

Laptop-based UI design #14

Open leewujung opened 6 years ago

leewujung commented 6 years ago
aidanjohnson commented 6 years ago

UPDATE (2018-07-18 15h00):

UI includes a function to sync board time to laptop time, which is synced to NIST

I had thought I figured out to address this but my attempt seems to fail. In theory all that is necessary is to create a local network between the laptop and board via Ethernet. Then the laptop can be set as a NTP server for the board to include in its configuration for NTP updating (akin to using time.nist.gov on an Internet connected computer). The laptop can already be synced to NIST and then can share the official US time. Presently, the issue seems to stem from the board failing to connecting to the local network. More on this to come...

UPDATE (2018-07-30 09h00): Issue #16 (above) resolved Thursday, 26 July 2018.

aidanjohnson commented 6 years ago

UI should have options for the mode of recording

@leewujung, what modes specifically? On for 24 hours? Or on after sunset and before sunrise?

UPDATE (2018-08-01 11h00): Modified recorder's main.c to have the option of enabling/disabling the night cycle (sun up and down) feature. (Note: yet to be compiled/built, but was very minor fix. The NIGHT_CYCLE macro was changed to an integer, which is only passed to a sun up/down calculator helper function as an integer originally, so it can be set by a command line flag option.)

UI includes a function to sync board time to laptop time, which is synced to NIST

@funnyabc and I will make a script for performing the local networking and NIST time-sync so all the tedious steps can be automated in the background. See: https://github.com/aidanjohnson/dt7816/wiki/Connecting:-Operation