10393 manual
Store/restore parameters
← Older revision Revision as of 17:17, 27 September 2018 (6 intermediate revisions by the same user not shown)Line 223: Line 223: −==<font color="blue">Change parameters</font>==+==<font color="blue">Store/restore configuration</font>== −* http://192.168.0.9/autocampars.php - save/restore/initialize camera/sensor parameters+* http://192.168.0.9/autocampars.php - save/restore/initialize camera/sensor parameters per port. To (re)store parameters access the pages below: +<font size='2'> + http://192.168.0.9/autocampars.php?sensor_port=0 (stores to /etc/elphel393/autocampars0.xml) + http://192.168.0.9/autocampars.php?sensor_port=1 (stores to /etc/elphel393/autocampars1.xml) + http://192.168.0.9/autocampars.php?sensor_port=2 (stores to /etc/elphel393/autocampars2.xml) + http://192.168.0.9/autocampars.php?sensor_port=3 (stores to /etc/elphel393/autocampars3.xml) +</font> [[Autocampars 393|'''More information''']] [[Autocampars 393|'''More information''']] +* All stored parameters are automatically restored at boot +==<font color="blue">Change parameters</font>== * http://192.168.0.9/parsedit.php - read/write parameters: * http://192.168.0.9/parsedit.php - read/write parameters: ** POST request ** POST request Oleg10393 manual
Change parameters
← Older revision Revision as of 16:21, 27 September 2018 (3 intermediate revisions by the same user not shown)Line 224: Line 224: ==<font color="blue">Change parameters</font>== ==<font color="blue">Change parameters</font>== −* http://192.168.0.9/autocampars.php - save/restore/initialize camera/sensor parameters+* http://192.168.0.9/autocampars.php - save/restore/initialize camera/sensor parameters per port. To (re)store parameters access the pages below: + <font size='2'>http://192.168.0.9/autocampars.php?sensor_port=0 (stores to /etc/elphel393/autocampars0.xml) + http://192.168.0.9/autocampars.php?sensor_port=1 (stores to /etc/elphel393/autocampars1.xml) + http://192.168.0.9/autocampars.php?sensor_port=2 (stores to /etc/elphel393/autocampars2.xml) + http://192.168.0.9/autocampars.php?sensor_port=3 (stores to /etc/elphel393/autocampars3.xml)</font> [[Autocampars 393|'''More information''']] [[Autocampars 393|'''More information''']] − +* All stored parameters are automatically restored at boot * http://192.168.0.9/parsedit.php - read/write parameters: * http://192.168.0.9/parsedit.php - read/write parameters: ** POST request ** POST request OlegAutocampars 393
Notes
← Older revision Revision as of 16:08, 27 September 2018 Line 8: Line 8: * The camera system type is stored in the EEPROM of the 10389 extension board and is not reset by software updates * The camera system type is stored in the EEPROM of the 10389 extension board and is not reset by software updates * Depending on the initialized ports the configuration files are stored in '''/etc/elphel393/''': * Depending on the initialized ports the configuration files are stored in '''/etc/elphel393/''': − /etc/elphel393/autocampars0.xml+ http://192.168.0.9/autocampars.php?sensor_port=0 -> /etc/elphel393/autocampars0.xml − /etc/elphel393/autocampars1.xml+ http://192.168.0.9/autocampars.php?sensor_port=1 -> /etc/elphel393/autocampars1.xml − /etc/elphel393/autocampars2.xml+ http://192.168.0.9/autocampars.php?sensor_port=2 -> /etc/elphel393/autocampars2.xml − /etc/elphel393/autocampars3.xml+ http://192.168.0.9/autocampars.php?sensor_port=3 -> /etc/elphel393/autocampars3.xml +* '''Storing parameters is done individually per port (access and hit save 4x times).''' * If the configuration for a port not found on boot but it was initialized - a new default configuration is created * If the configuration for a port not found on boot but it was initialized - a new default configuration is created * If accessed from a browser supports: * If accessed from a browser supports: Oleg10393 manual
Notes
← Older revision Revision as of 18:07, 14 September 2018 Line 65: Line 65: ====Notes==== ====Notes==== * Boot time: ~30s * Boot time: ~30s −* The default boot is from the on-board NAND flash. [[Boot_options_393|More information]] on available boot options and recovery boot.+* The default boot is from the on-board NAND flash. [[Boot_options_393|More information]] on available boot options and recovery boot − +* For development one can boot from the μSD recovery card and use it − ==<font color="blue">Defaults</font>== ==<font color="blue">Defaults</font>== OlegTensorflow with gpu
← Older revision
Revision as of 16:58, 12 September 2018
(2 intermediate revisions by the same user not shown)Line 2:
Line 2:
* Kubuntu 16.04.4 LTS * Kubuntu 16.04.4 LTS
==Setup (guide)== ==Setup (guide)==
−* Just follow [http://www.python36.com/install-tensorflow141-gpu/ '''this guide'''] or this [http://www.python36.com/how-to-install-tensorflow-gpu-with-cuda-9-2-for-python-on-ubuntu/ '''newer one''']+Just follow:
+* [http://www.python36.com/install-tensorflow141-gpu/ '''this guide'''] (Ubuntu 16.04 64-bit, CUDA 9.1, cuDNN 7.1.2, python3) or
+* this [http://www.python36.com/how-to-install-tensorflow-gpu-with-cuda-9-2-for-python-on-ubuntu/ '''newer one'''] (Ubuntu 16.04 64-bit, CUDA 9.2, cuDNN 7.1.4, python3)
==Setup (some details)== ==Setup (some details)==
Oleg
Tensorflow with gpu
Added newer link
← Older revision Revision as of 01:19, 12 September 2018 Line 2: Line 2: * Kubuntu 16.04.4 LTS * Kubuntu 16.04.4 LTS ==Setup (guide)== ==Setup (guide)== −* Just follow [http://www.python36.com/install-tensorflow141-gpu/ '''this guide''']+* Just follow [http://www.python36.com/install-tensorflow141-gpu/ '''this guide'''] or this [http://www.python36.com/how-to-install-tensorflow-gpu-with-cuda-9-2-for-python-on-ubuntu/ '''newer one'''] + ==Setup (some details)== ==Setup (some details)== * Check device * Check device Andrey.filippovTiff file format for pre-processed quad-stereo sets
← Older revision
Revision as of 23:01, 6 September 2018
Line 46:
Line 46:
==<font color='ForestGreen'>TIFF image stacks for ML</font>== ==<font color='ForestGreen'>TIFF image stacks for ML</font>==
[[File:Ml tiff stack imagej.jpeg|thumb|400px|Fig.1 Opened in ImageJ, one of the layers]] [[File:Ml tiff stack imagej.jpeg|thumb|400px|Fig.1 Opened in ImageJ, one of the layers]]
−[[File:Tiff layers.jpeg|thumb|400px|Fig.2 TIFF imagestack layers]]+[[File:Tiff layers.jpeg|thumb|400px|Fig.2 multi-page TIFF layers (or TIFF Image stack in ImageJ's terms)]]
[[File:Ml tiff stack python values.jpeg|thumb|400px|Fig.3 Decoded 'value'-layers]] [[File:Ml tiff stack python values.jpeg|thumb|400px|Fig.3 Decoded 'value'-layers]]
[[File:Ml tiff stack python data layers.jpeg|thumb|500px|Fig.4 Data layers]] [[File:Ml tiff stack python data layers.jpeg|thumb|500px|Fig.4 Data layers]]
Oleg
10393 power
Options
← Older revision Revision as of 17:58, 4 September 2018 (One intermediate revision by the same user not shown)Line 2: Line 2: [[File:10393 power j3 j4.jpeg|thumb|350px|Fig.2 power through J3 connector]] [[File:10393 power j3 j4.jpeg|thumb|350px|Fig.2 power through J3 connector]] [[File:10393 power j4.jpeg|thumb|400px|Fig.3 power through J4 connector]] [[File:10393 power j4.jpeg|thumb|400px|Fig.3 power through J4 connector]] + +==Options== +{| class='wikitable' +!Range +!Power supply +!Power board +|- +|align='left'|'''36-72V''' (default) +| wall adapter (48V) +| 10386 +|- +|align='left'|'''18-75V''' +| wall adapter (48V) +| 10385 +|- +|align='left'|'''12-36V''' +| wall adapter, battery (12V) +| 10385 +|- +|align='left'|'''3.3V''' +| direct, custom +| None +|} ==18-75V (48V)== ==18-75V (48V)== Oleg10393 manual
In the package
← Older revision Revision as of 17:55, 4 September 2018 (One intermediate revision by the same user not shown)Line 12: Line 12: |[[File:10393_boards_assembly.png|thumb|265px|Fig.1b Boards connections (NC393-F-CS)]] |[[File:10393_boards_assembly.png|thumb|265px|Fig.1b Boards connections (NC393-F-CS)]] |} |} −* Power supply wall adapter (options: '''18-75V''' (default) or '''12-36V''' - [[10393_power|more information]])+* Power supply options ([[10393_power|more information]]): +{| class='wikitable' +!Range +!Power supply +|- +|align='left'|'''36-72V''' (default) +| wall adapter (48V) +|- +|align='left'|'''18-75V''' +| wall adapter (48V) +|- +|align='left'|'''12-36V''' +| wall adapter, battery (12V) +|- +|align='left'|'''3.3V''' +| direct, custom +|} * CAT6 network cable * CAT6 network cable * μUSB-to-USB cable * μUSB-to-USB cable Oleg10393 manual
← Older revision
Revision as of 17:53, 4 September 2018
Line 12:
Line 12:
|[[File:10393_boards_assembly.png|thumb|265px|Fig.1b Boards connections (NC393-F-CS)]] |[[File:10393_boards_assembly.png|thumb|265px|Fig.1b Boards connections (NC393-F-CS)]]
|} |}
−* Power supply wall adapter (options: '''18-75V''' (default) or '''12-36V''' - [[10393_power|more information]])+* Power supply options ([[10393_power|more information]]):
+{| class='wikitable'
+!Range
+!Power supply
+|-
+|align='left'|'''36-72V''' (default)
+| wall adapter
+|-
+|align='left'|'''18-75V'''
+| wall adapter
+|-
+|align='left'|'''12-36V'''
+| wall adapter, battery
+|-
+|align='left'|'''3.3V'''
+| direct, custom
+|}
* CAT6 network cable * CAT6 network cable
* μUSB-to-USB cable * μUSB-to-USB cable
Oleg
10393 power
← Older revision
Revision as of 17:17, 4 September 2018
Line 1:
Line 1:
−[[File:10393 power j3 j4.jpeg|thumb|350px|Fig.1 power through J3 connector]]+[[File:10393 boards 10385.png|thumb|350px|Fig.1 power through J3 connector]]
−[[File:10393 power j4.jpeg|thumb|400px|Fig.2 power through J4 connector]]+[[File:10393 power j3 j4.jpeg|thumb|350px|Fig.2 power through J3 connector]]
+[[File:10393 power j4.jpeg|thumb|400px|Fig.3 power through J4 connector]]
==18-75V (48V)== ==18-75V (48V)==
Line 23:
Line 24:
* Without power board * Without power board
{| {|
−|valign='top'|[[File:10393 power33 1.jpeg|thumb|320px|Fig.3 10393 (J1) and cable, see [[10393|schematics]]]]+|valign='top'|[[File:10393 power33 1.jpeg|thumb|320px|Fig.4 10393 (J1) and cable, see [[10393|schematics]]]]
−|valign='top'|[[File:10393 power33 2b.jpeg|thumb|320px|Fig.4 Any side can be used]]+|valign='top'|[[File:10393 power33 2b.jpeg|thumb|320px|Fig.5 Any side can be used]]
−|valign='top'|[[File:10393 power33 3.jpeg|thumb|320px|Fig.5 Power supply]]+|valign='top'|[[File:10393 power33 3.jpeg|thumb|320px|Fig.6 Power supply]]
|} |}
Line 36:
Line 37:
===Example setup and cables for 48V=== ===Example setup and cables for 48V===
−* ANTY BATTERY 48V 4A (ANTY or BOOANT, can be found on AliExpress). Enough to power a single camera for several hours. See Fig.6.+* ANTY BATTERY 48V 4A (ANTY or BOOANT, can be found on AliExpress). Enough to power a single camera for several hours. See Fig.7.
−* Power cable with an inline fuse and a switch, battery connector came with the battery, the outputs are 2.1mm plugs. Is used to power the camera. See Fig.7.+* Power cable with an inline fuse and a switch, battery connector came with the battery, the outputs are 2.1mm plugs. Is used to power the camera. See Fig.8.
−* Cable with a 48-to-12v converter ([https://www.digikey.com/product-detail/en/cui-inc/PYB20-Q48-S12-DIN/102-3224-ND/4477482 CUI INC PYB15-Q48-S12]). It was used to power an extra network switch which might not be needed. See Fig.8.+* Cable with a 48-to-12v converter ([https://www.digikey.com/product-detail/en/cui-inc/PYB20-Q48-S12-DIN/102-3224-ND/4477482 CUI INC PYB15-Q48-S12]). It was used to power an extra network switch which might not be needed. See Fig.9.
* The camera was connected to a laptop running on its own battery. * The camera was connected to a laptop running on its own battery.
<gallery widths=300 heights=200 mode=nolines> <!-- caption="Setting up external tool"--> <gallery widths=300 heights=200 mode=nolines> <!-- caption="Setting up external tool"-->
− File:10393 battery48v 1.jpeg| Fig.6 Battery+ File:10393 battery48v 1.jpeg| Fig.7 Battery
− File:10393 battery48v power cable.jpeg| Fig.7 Power cable+ File:10393 battery48v power cable.jpeg| Fig.8 Power cable
− File:10393 battery48v 48-to-12v converter.jpeg| Fig.8 48-to-12v DC DC converter cable+ File:10393 battery48v 48-to-12v converter.jpeg| Fig.9 48-to-12v DC DC converter cable
− File:10393 battery48v 2.jpeg| Fig.9 48V power setup+ File:10393 battery48v 2.jpeg| Fig.10 48V power setup
− File:10393 battery48v all connected.jpeg| Fig.10 48V and extra 12V for something else+ File:10393 battery48v all connected.jpeg| Fig.11 48V and extra 12V for something else
</gallery> </gallery>
[[Category:393]] [[Category:393]]
Oleg
10393 manual
In the package
← Older revision Revision as of 17:15, 4 September 2018 (3 intermediate revisions by the same user not shown)Line 9: Line 9: * 10393 camera system * 10393 camera system {| {| −|[[File:NC393-CS marked ports.jpeg|thumb|200px|Fig.1 10393 interfaces]]+|[[File:NC393-CS marked ports.jpeg|thumb|200px|Fig.1a 10393 interfaces]] +|[[File:10393_boards_assembly.png|thumb|265px|Fig.1b Boards connections (NC393-F-CS)]] |} |} * Power supply wall adapter (options: '''18-75V''' (default) or '''12-36V''' - [[10393_power|more information]]) * Power supply wall adapter (options: '''18-75V''' (default) or '''12-36V''' - [[10393_power|more information]]) Oleg10393
About
← Older revision Revision as of 17:10, 4 September 2018 Line 2: Line 2: [[Image:10393_top_sm.png|frame|[[Media:10393_top.jpeg|10393 board, top view]]]] [[Image:10393_top_sm.png|frame|[[Media:10393_top.jpeg|10393 board, top view]]]] [[Image:10393_bottom_sm.png|frame|[[Media:10393_bottom.jpeg|10393 board, bottom view]]]] [[Image:10393_bottom_sm.png|frame|[[Media:10393_bottom.jpeg|10393 board, bottom view]]]] +[[Image:10393_boards_assembly.png|thumb|500px|Boards connections]] 10393 is the system board of Elphel NC393 series camera. It is also the core part of the [[Eyesis4Pi_393|Eyesis4Pi 393]], the full-sphere multi-camera system. It has the same physical dimensions as the 10353 (previous generation) and may be used as an upgrade to the previous camera modules. 10393 is the system board of Elphel NC393 series camera. It is also the core part of the [[Eyesis4Pi_393|Eyesis4Pi 393]], the full-sphere multi-camera system. It has the same physical dimensions as the 10353 (previous generation) and may be used as an upgrade to the previous camera modules. Oleg10393 manual
Change parameters
← Older revision Revision as of 21:35, 29 August 2018 (4 intermediate revisions by the same user not shown)Line 219: Line 219: ** GET request - XML response ** GET request - XML response <font size='2'> <font size='2'> − Read: http://192.168.0.9/parsedit.php?immediate&sensor_port=0&PAR1&PAR2+ Read: − Change: http://192.168.0.9/parsedit.php?immediate&sensor_port=0&PAR1=VAL1&PAR2=VAL2+ http://192.168.0.9/parsedit.php?immediate&sensor_port=0&PAR1&PAR2 + Change: + http://192.168.0.9/parsedit.php?immediate&sensor_port=0&PAR1=VAL1&PAR2=VAL2 + Change for multiple ports at once: + http://192.168.0.9/parsedit.php?immediate&sensor_port=0&PAR1=VAL1&*PAR1=MASK1&PAR2=VAL2&*PAR2=MASK2 + + # A port bit mask is set by adding a '''*''' to a parameter name, like '''*PAR1''' - it is individual for each parameter. + # The mask is 4 bits - 1 bit per port, bit[0] = port 0,... bit[3] = port 3, where 1 - enabled, 0 - disabled: + # 0xf - the parameter's new value will be applied to all ports. + # [[Parsedit.php#change_multiple_ports|'''More information''']] </font> </font> + Note 1: if the parameter's value is specified in URL it will be applied. The call can have mixed specified and unspecified parameters. Note 1: if the parameter's value is specified in URL it will be applied. The call can have mixed specified and unspecified parameters. Oleg103891
← Older revision
Revision as of 17:39, 15 August 2018
Line 50:
Line 50:
* [[Media:103891a.pdf|103891 Rev "A" Circuit Diagram, Parts List, PCB layout]] * [[Media:103891a.pdf|103891 Rev "A" Circuit Diagram, Parts List, PCB layout]]
* [[Media:103891a gerber.tar.gz|103891 Rev "A" Gerber files]] * [[Media:103891a gerber.tar.gz|103891 Rev "A" Gerber files]]
+
+[[Category:Boards 393]]
Oleg
Multi camera system operation
scripts for downloading from internal SSD (via eSATA)
← Older revision Revision as of 00:30, 11 August 2018 Line 43: Line 43: * creates a UID (/path/UID) directory, where UID - ID of the SSD * creates a UID (/path/UID) directory, where UID - ID of the SSD * switched the SSD to eSATA port * switched the SSD to eSATA port −Note: Essentially the script does ''dd''. If there is no eSATA cable it's possible to run dd over network.+Note: Essentially the script does ''dd''. If there is no eSATA cable it's possible to run dd over network. Something like: + ssh root@192.168.0.39 "dd if=/dev/sda2 bs=20M count=10 | gzip -1 -" | dd of=image.bin.gz ===scripts for extraction=== ===scripts for extraction=== Oleg10393 manual
Other info
← Older revision Revision as of 23:49, 10 August 2018 Line 399: Line 399: ===Photo finish (linescan mode)=== ===Photo finish (linescan mode)=== [[Photo-finish|Photo Finish]] (works for JP4 image format) [[Photo-finish|Photo Finish]] (works for JP4 image format) + +===Controlling multiple cameras from single GUI=== +* [[Multi_camera_system_operation|Recording]] ==<font color="blue">Known problems</font>== ==<font color="blue">Known problems</font>== OlegMulti camera system operation
scripts for downloading from internal SSD (via eSATA)
← Older revision Revision as of 23:45, 10 August 2018 (4 intermediate revisions by the same user not shown)Line 2: Line 2: Example for 2 cameras (2 X-Cams) - list comma-separated addresses in the GET line: Example for 2 cameras (2 X-Cams) - list comma-separated addresses in the GET line: http://192.168.0.39/multicam/?ip=192.168.0.39,192.168.0.38 http://192.168.0.39/multicam/?ip=192.168.0.39,192.168.0.38 +* tests button to get some diagnostics +* record button - starts recording on raw paritions (camera internal) +* snapshot button - saves a zip archive to host pc + +===Howto=== +====Basic==== +# Power on +# Refresh multicam gui to get camogm started +# Record-button the recording will be started from the '''Current LBA''' (in /mnt/sda1/camogm.disk) + +====Start from the beginning of raw partition==== +# Power on +# Remove /mnt/sda1/camogm.disk on each camera (a new one is created by camogm on recording start) +# Refresh multicam gui to get camogm started +# Record-button + +Note: Steps 2 and 3 can be swapped. Camogms will recreate camogm.disks on recording start. The free space in the multicam gui will also update to correct value on recording start. + ==Download footage== ==Download footage== Line 10: Line 28: Device Start LBA Current LBA End LBA Device Start LBA Current LBA End LBA /dev/sda2 12500992 38196200 250068992 /dev/sda2 12500992 38196200 250068992 −===scripts for downloading===+ +How much is written: + ''(Current - Start)*512/2^30'' GB + +===scripts for downloading from internal SSD (via eSATA)=== +* Get [https://git.elphel.com/Elphel/elphel-tools-x393 int_ssd_download.py]: + ~$ ssh-copy-id root@192.168.0.39 + ~$ ssh-copy-id root@192.168.0.38 + ~$ python3 int_ssd_download.py -h + # Download 100GB from each + ~$ python3 int_ssd_download.py -c root@192.168.0.39 -n 10 /path + ~$ python3 int_ssd_download.py -c root@192.168.0.38 -n 10 /path +This script: +* creates a UID (/path/UID) directory, where UID - ID of the SSD +* switched the SSD to eSATA port +Note: Essentially the script does ''dd''. If there is no eSATA cable it's possible to run dd over network. + +===scripts for extraction=== +* Get [https://git.elphel.com/Elphel/eyesis4pi-393-gui/blob/master/footage_downloader/split_mov_jp4.php split_mov_jp4.php]. It takes channel shift as argv[1] when splitting. Example: + ~$ cd /path/UID-of-192.168.0.39 + ~$ /path-to-script/split_mov_jp4.php 0 + ~$ cd /path/UID-of-192.168.0.38 + ~$ /path-to-script/split_mov_jp4.php 4 [[Category:393]] [[Category:393]] Oleg