-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSystemDesignNotes.txt
44 lines (36 loc) · 2.55 KB
/
SystemDesignNotes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
TO DO:
- when audio only mode, display the file name on screen
- Low priority, Add CLI to build the Arduino project
DONE
- add a function to go to next video automatically -- Done (October 24th, 2023)
- auto sleep after x minutes of no button press -- Done (October 17th, 2023)
- Super Long Press and Previous Media -- Done (October 16th, 2023)
- Loop Function -- Done (October 16th, 2023)
- Design 3d printed Case -- URGENT -- Done (October 15th, 2023)
- Added QR Code to link in OTA -- Done (October 13th, 2023)
- OTA update -- Done (October 13th, 2023)
- Detect battery or plugged in mode. -- Done (October 12th, 2023)
- Prompt user when low battery -- Done (October 12th, 2023)
- make a visual representation of battery based on the percentage -- Done (October 12th, 2023)
- Force overwrite ffmpeg in ConvertVideos program. -- Done (October 11th, 2023)
- Driver for LCD Backlight and Probably a MOSFET to EN battery volt. -- Done (October 11th, 2023)
- Script to automate python building process for the EXEs -- Done (October 11th, 2023)
- Timestamping the firmware -- Done (October 10th, 2023)
- Audio/Video only Playback added (- just videos / audio mode so mp3 or mjpeg only mode) -- Done (October 10th, 2023)
- Added way to retrieve last known battery measurement used preferences(Save Last Battery Info on SD Card) -- Done (October 10th, 2023)
- Automate Video file conversion with GUI and make an EXE -- Done (October 10th, 2023)
-------------------DESIGN NOTES--------------------------
main task:
-manages the other tasks : button info, battery management and video playing.
-button inputs: single tap: start/stop the video file.
-if a notification from button task is received then store and acto accordingly.
-routinely checks battery. if a long tap is received and video is paused then display battery info.
-if battery info falls below a threhold, then force on battery charge
-if a single tap is received then send the videotask a queue notification to start/stop the video playback.
-if a double tap is received then send the video task a queue notification to go to next item.
videoPlaying task:
-manages mjpeg play and mp3 play
-repeats the file
-checks if received a new queue object which tells whether to play/pause or go to next file.
-transfering data from the video player task
make a structure and let it contain the values