From 2a36885f5840f340f137334b864fabb649613350 Mon Sep 17 00:00:00 2001 From: Maximilian Stiefel Date: Thu, 11 Mar 2021 19:46:38 +0000 Subject: [PATCH] Adapting settings for prototype --- motioneye/down | 2 +- motioneye/up | 2 +- settings.json | 14 ++++++++++++++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/motioneye/down b/motioneye/down index f378c8c..7732f0e 100755 --- a/motioneye/down +++ b/motioneye/down @@ -1,7 +1,7 @@ #!/bin/bash SAMCAM_HOME=/home/pi/SaMcam_sw SETTINGS_FILE=$SAMCAM_HOME/settings.json -ANGLE=-10 +ANGLE=10 AXIS=elevation export PATH=$SAMCAM_HOME/build/app:$PATH SaMcam --axis $AXIS --settings $SETTINGS_FILE --rotate $ANGLE diff --git a/motioneye/up b/motioneye/up index 7732f0e..f378c8c 100755 --- a/motioneye/up +++ b/motioneye/up @@ -1,7 +1,7 @@ #!/bin/bash SAMCAM_HOME=/home/pi/SaMcam_sw SETTINGS_FILE=$SAMCAM_HOME/settings.json -ANGLE=10 +ANGLE=-10 AXIS=elevation export PATH=$SAMCAM_HOME/build/app:$PATH SaMcam --axis $AXIS --settings $SETTINGS_FILE --rotate $ANGLE diff --git a/settings.json b/settings.json index e8573c3..c070e34 100644 --- a/settings.json +++ b/settings.json @@ -27,6 +27,20 @@ "gpio_step": 13 }, "id": "azimuth" + }, + { + "stepper": { + "gear_reduction": 64.0, + "steps_per_revolution": 32, + "clockwise" : false + }, + "a4988": { + "microsteps": 16, + "gpio_dir": 3, + "gpio_en": 4, + "gpio_step": 2 + }, + "id": "focus" } ] }