Files
time-lapse_ARES_DESY/README.md

55 lines
2.0 KiB
Markdown

# Introduction
This project describes a Raspberry Pi - time-lapse setup for the ARES beam line building project at DESY.
**Installation**:<br>
`git clone http://inetsrv.no-ip.org:3000/mwio/time-lapse_ARES_DESY.git`
# ARES project setup status
**Part I**:<br>
![preview:](/Image-0753.jpg?raw=true "Part I")
**Part II**:<br>
![preview:](/IMG_20201019_121511__01.jpg?raw=true "Part II")
**Raspberry Pi Setup**:<br>
- Raspberry Pi ... Model
- Raspberry Pi Gehäuse
- Camera Module (standard version)
- 16GB Samsung Pro microSDHC I Karte
__Installation des Betriebsystems auf dem Raspberry Pi__:<br>
<a href="https://www.raspberrypi.org/documentation/installation/installing-images/README.md" target="_blank">Introduction: Installing operating system images on the Raspberry Pi</a>
![preview:](/2020-10-17_18-282.png?raw=true "Raspberry Pi and Camera Module connected.")
# Cronjob
<a href="https://www.stetic.com/developer/cronjob-linux-tutorial-und-crontab-syntax/ " target="_blank">Introduction: Crontab Syntax und Tutorial in Linux</a>
**Crontab Syntax**:<br>
◦ &nbsp; ◦ &nbsp;◦ &nbsp;◦ &nbsp;&nbsp;◦ &nbsp; &nbsp; auszuführender Befehl<br>
┬ ┬ ┬ ┬ ┬<br>
│ │ │ │ │<br>
│ │ │ │ └──── Wochentag (0-7, Sonntag ist 0 oder 7)<br>
│ │ │ └────── Monat (1-12)<br>
│ │ └──────── Tag (1-31)<br>
│ └────────── Stunde (0-23)<br>
└──────────── Minute (0-59)<br>
**1) Used code for the ARES-time-lapse-crontab - Playing audio Message**:<br>
`59 14 * * * /time-lapse_ARES_DESY/src/ARES_FotoText.wav` <br>
Jeden Tag um 14:59 Uhr wird das Audiofile "ARES_FotoText.wav" abgespielt.
**2) Used code for the ARES-time-lapse-crontab - Taking a photo**:<br>
`* 15 * * * /time-lapse_ARES_DESY/src/ARES_...sh` <br>
Jeden Tag um 15:00 Uhr, wird die Datei "ARES_...sh" abgespielt, um ein Foto zu schießen.
# ToDo's
- [X] Add the right Cronjob file and description.
<!--- - [ ] {{{color(red, Warning example.)}}} ) -->
<!--- - [-] Half-checked. ) -->