Go to file
Nicolas Bertrand 90bb0e69c0 Add button 2025-10-10 01:51:15 +02:00
src/nenuscanner Add button 2025-10-10 01:51:15 +02:00
ts Cleaning 2024-11-19 15:29:16 +01:00
.gitignore Update preview 2025-09-18 10:33:55 +02:00
Makefile Update makefile 2024-11-21 15:44:30 +01:00
Readme.md WIP 2025-09-03 22:19:03 +02:00
capture-image.py WIP 2025-09-03 22:19:03 +02:00
nenuscanner.service Systemctl 2024-11-22 09:46:12 +01:00
package-lock.json Update makefile 2024-11-19 16:00:28 +01:00
package.json Update makefile 2024-11-19 16:00:28 +01:00
pyproject.toml Clean 2024-11-19 18:34:43 +01:00
requirements.txt Fix bugs 2024-11-19 17:49:16 +01:00
stream.sh Update preview 2025-09-18 10:33:55 +02:00
tsconfig.json Typescript 2024-06-22 15:45:44 +02:00

Readme.md

NenuScanner

Lancer l application flask depuis la racine

Intall local de l applcation

Avoir un venv

puis

pip install -e .

dans src/nenuscanner

cp config.local.py dans config.py

Lancer l'application

flask --app . run --debug

resoudre dependance si besoins genre:

pip install gpiod==2.1.3

GPIO

Cablage des LEDs existantes de la salle noire

| GPIO | ID LED salle noire | | GPIO 17 | LED 2 | | GPIO 18 | LED 3 | | GPIO 27 | LED 5 | | GPIO 23 | LED 6 | | GPIO 23 | LED 6 |

Appareil photo

Réglages EOS 7D

Prise de photo:

 gphoto2 --capture-image-and-download

Format image

Télécharger RAW et JPEG

  gphoto2 --set-config imageformat=10
   #Choice: 10 RAW + Small Fine JPEG

Liste des formats:

gphoto2 --get-config imageformat

Capture target

Stock sur la mémoire interne ou SD de l'apparail

Sur la mémoire innterne, au download c'est toujours le mêm fichier (écrasement)

gphoto2 --get-config capturetarget                                                                                              0 ↵

Label: Capture Target
Readonly: 0
Type: RADIO
Current: Memory card
Choice: 0 Internal RAM
Choice: 1 Memory card

En prod choix 0 : on ne conserve pas les photos sur l'appareil Et test choix 1 : on conserve sur l'appareil

Exemple choix 1:

gphoto2 --set-config capturetarget=1

ISO

ISO 100

gphoto2 --set-config iso=1

réglages objectif

| Ouverture | aperture | gphoto2 --set-config aperture=14 | Ouverture f/10 | | temps de pose | shutterspeed | gphoto2 --set-config shutterspeed=35 | Vitesse 1/100 s | | Picture Style | picturestyle | gphoto2 --set-config picturestyle=0 | Standard | | Exposition | aeb | gphoto2 --set-config aeb=0 | 0 |

Hardware

LED

LED COB, Cree LED, série CXA2, 90CRI, 2700K Blanc, CXB1512-0000-000N0UK427G 22W

https://fr.rs-online.com/web/p/led-cob/8847355

Connecteur

VsAT ID TE connectivity 2-2154857-2

Arrow: https://www.arrow.com/en/products/2-2154857-2/te-connectivity

Dissipateur

MeachaTronix LED heatsink series LPF_ZHC and LPF_ZHP

LPF6768-ZHP-B

https://www.elpro.org/gb/mechatronix-lpfzhc-and-lpfzhp-series/106105-lpf6768-zhp-b.html