Imaging solutions with Free Software & Open Hardware

Who's online

There are currently 0 users online.

Subscribe to Wiki Recent Changes feed
Track the most recent changes to the wiki in this feed. MediaWiki 1.28.0
Updated: 2 min 24 sec ago

Using camogm with Elphel393 camera

Tue, 05/31/2016 - 20:52

1.:

← Older revision Revision as of 02:52, 1 June 2016 Line 53: Line 53: ====1.==== ====1.==== * channel '''2''' (0-3) * channel '''2''' (0-3) -* mount point '''/mnt/sda1'''+* mount point '''/mnt/sda1''' (also works for a micro SD card partition, rootfs partition, USB or mounted NFS partition but the recording speed is slower than for an SSD) * max duration = '''10''' min (new file every 10 mins or other limit) * max duration = '''10''' min (new file every 10 mins or other limit) * max size = '''1GB''' (new file every 1GB or other limit) * max size = '''1GB''' (new file every 1GB or other limit) Oleg

Tmp manual

Tue, 05/31/2016 - 18:50

Video recording:

← Older revision Revision as of 00:50, 1 June 2016 (4 intermediate revisions not shown)Line 42: Line 42: channel 4: http://192.168.0.8:2326/noexif/img channel 4: http://192.168.0.8:2326/noexif/img -==<font color="blue">Recording</font>==+==<font color="blue">Video recording</font>== -[[Using_camogm_with_Elphel393_camera|More info]]+Example (command line): - + -Example:+ <font size='2'> <font size='2'> -* '''/dev/sda1''', '''1GB''' or '''10min''' files whichever occurs first+* channel '''2''', '''/dev/sda1''', file prefix='''test_''', '''1GB''' or '''10min''' files whichever occurs first ** start recording : ** start recording : -  echo "format=mov;prefix=/mnt/sda1/;duration=600;length=1073741824;start" > /var/volatile/camogm_cmd2+  echo "format=mov;status=/var/tmp/camogm2.status;prefix=/mnt/sda1/test_;duration=600;length=1073741824;start" > /var/volatile/camogm_cmd2 ** stop recording: ** stop recording:   echo "stop" > /var/volatile/camogm_cmd2   echo "stop" > /var/volatile/camogm_cmd2   sync   sync </font> </font>  +  +[[Using_camogm_with_Elphel393_camera|More info]] ==<font color="blue">Change parameters</font>== ==<font color="blue">Change parameters</font>== Oleg

Using camogm with Elphel393 camera

Tue, 05/31/2016 - 18:27

1.:

← Older revision Revision as of 00:27, 1 June 2016 Line 56: Line 56: * max duration = '''10''' min (new file every 10 mins or other limit) * max duration = '''10''' min (new file every 10 mins or other limit) * max size = '''1GB''' (new file every 1GB or other limit) * max size = '''1GB''' (new file every 1GB or other limit)  +* format = '''mov'''  +* status updates: '''/var/tmp/camogm2.status''' start recording: start recording: <font size='2'> <font size='2'> -  echo "prefix=/mnt/sda1/;duration=600;length=1073741824;start" > /var/volatile/camogm_cmd2+  echo "format=mov;status=/var/tmp/camogm2.status;prefix=/mnt/sda1/;duration=600;length=1073741824;start" > /var/volatile/camogm_cmd2 stop recording: stop recording: Oleg

Tmp manual

Tue, 05/31/2016 - 18:24

Get images:

← Older revision Revision as of 00:24, 1 June 2016 Line 41: Line 41: channel 4: http://192.168.0.8:2326/noexif/img channel 4: http://192.168.0.8:2326/noexif/img  +  +==<font color="blue">Recording</font>==  +[[Using_camogm_with_Elphel393_camera|More info]]  +  +Example:  +<font size='2'>  +* '''/dev/sda1''', '''1GB''' or '''10min''' files whichever occurs first  +** start recording :  + echo "format=mov;prefix=/mnt/sda1/;duration=600;length=1073741824;start" > /var/volatile/camogm_cmd2  +** stop recording:  + echo "stop" > /var/volatile/camogm_cmd2  + sync  +</font> ==<font color="blue">Change parameters</font>== ==<font color="blue">Change parameters</font>== Oleg

Using camogm with Elphel393 camera

Tue, 05/31/2016 - 18:16

← Older revision Revision as of 00:16, 1 June 2016 Line 49: Line 49: Note, that ''camogm'' is under development and not all features of the previous version have been ported to new camera. As for now, geo tagging and exif specific commands are not implemented. Watch for updates on our [https://github.com/Elphel github page]. Note, that ''camogm'' is under development and not all features of the previous version have been ported to new camera. As for now, geo tagging and exif specific commands are not implemented. Watch for updates on our [https://github.com/Elphel github page].  +  +===Example===  +====1.====  +* channel '''2''' (0-3)  +* mount point '''/mnt/sda1'''  +* max duration = '''10''' min (new file every 10 mins or other limit)  +* max size = '''1GB''' (new file every 1GB or other limit)  +start recording:  +<font size='2'>  + echo "prefix=/mnt/sda1/;duration=600;length=1073741824;start" > /var/volatile/camogm_cmd2  +  +stop recording:  + echo "stop" > /var/volatile/camogm_cmd2  + sync  +'''NOTE:''' ''sync'' is important if you power off the camera w/o proper unmounting of the media  +</font> Oleg

Tmp manual

Tue, 05/31/2016 - 13:13

Serial console access:

← Older revision Revision as of 19:13, 31 May 2016 (4 intermediate revisions not shown)Line 1: Line 1: -==Connections==+==<font color="blue">Connections</font>== * Connect [[FPC_cables|sensors to system board]] - FPC cables are not symmetrical * Connect [[FPC_cables|sensors to system board]] - FPC cables are not symmetrical * Ports: * Ports: Line 5: Line 5: |[[File:NC393-CS marked ports.jpeg|thumb|200px]] |[[File:NC393-CS marked ports.jpeg|thumb|200px]] |} |} -==Defaults==+==<font color="blue">Defaults</font>== -IP addr: 192.168.0.8+IP addr: <b>192.168.0.8</b> user / pwd: root / <empty> user / pwd: root / <empty> Line 12: Line 12: * The address is set in the ''init_elphel393.sh'' script on the card's FAT32 partition. * The address is set in the ''init_elphel393.sh'' script on the card's FAT32 partition. -==init_elphel393.sh==+==<font color="blue">init_elphel393.sh</font>== * Before boot set SENSOR_TYPE: * Before boot set SENSOR_TYPE: ** SENSOR_TYPE=5 - for 5MPix sensors ** SENSOR_TYPE=5 - for 5MPix sensors Line 19: Line 19: * Change the default IP address * Change the default IP address -==Boot==+==<font color="blue">Boot</font>== * on power-on boots from NAND flash: u-boot, device tree and kernel. * on power-on boots from NAND flash: u-boot, device tree and kernel. devicetree has "chosen = ...root=/dev/mmcblk0p2..." - rootfs is on the micro SD card second partition. devicetree has "chosen = ...root=/dev/mmcblk0p2..." - rootfs is on the micro SD card second partition. -==Command line access==+==<font color="blue">Command line access</font>== ssh root@192.168.0.8 ssh root@192.168.0.8 -==Serial console access==+==<font color="blue">Serial console access</font>== -* Use microUSB-USB cable to connect to PC - the cable's end should be thin enough otherwise interferes with the micro SD card.+* Use a ''microUSB-USB cable'' to connect to PC - the cable's end should be thin enough otherwise interferes with the micro SD card. -* Terminal: '''minicom -c on'''+* Linux: '''minicom -c on''' -(setup the device and speed - default settings might just work: /dev/ttyUSB0, 115200 8N1, No for hardware/software flow control)+** likely device: <b>/dev/ttyUSB0</b>  +** settings: <b>115200 8N1, no</b> for hardware/software flow control -==Get images==+==<font color="blue">Get images</font>== channel 1: http://192.168.0.8:2323/noexif/img channel 1: http://192.168.0.8:2323/noexif/img Line 41: Line 42: channel 4: http://192.168.0.8:2326/noexif/img channel 4: http://192.168.0.8:2326/noexif/img -==Change parameters==+==<font color="blue">Change parameters</font>== * http://192.168.0.8/controls.html - previews and basic parameters: * http://192.168.0.8/controls.html - previews and basic parameters: ** Exposure - the values are in the sensor lines. ** Exposure - the values are in the sensor lines. Line 58: Line 59: |} |} -==Temperature monitor==+==<font color="blue">Temperature monitor</font>== * http://192.168.0.8/hwmon.html: * http://192.168.0.8/hwmon.html: ** T<sub>shutdown</sub> - automatic shutdown temperature level ** T<sub>shutdown</sub> - automatic shutdown temperature level Line 65: Line 66: |} |} -==Proper shutdown==+==<font color="blue">Proper shutdown</font>==   shutdown -hP now   shutdown -hP now -==Firmware image==+==<font color="blue">Firmware image</font>== * [http://community.elphel.com/files/393/20160526/ 20160526 (new)] * [http://community.elphel.com/files/393/20160526/ 20160526 (new)] * [http://community.elphel.com/files/393/20160524/ 20160524 (old)] * [http://community.elphel.com/files/393/20160524/ 20160524 (old)] * [http://community.elphel.com/files/393/20160519/ 20160519 (old)] * [http://community.elphel.com/files/393/20160519/ 20160519 (old)] -==Known problems==+==<font color="blue">Known problems</font>== * Vertical artifacts in jpegs. Images are ok at 100% quality. Fixed, testing. * Vertical artifacts in jpegs. Images are ok at 100% quality. Fixed, testing. * http://192.168.0.8:232x/noexif/mimg - multipart jpeg displays corrupted frames from time to time. Reason: network bandwidth? * http://192.168.0.8:232x/noexif/mimg - multipart jpeg displays corrupted frames from time to time. Reason: network bandwidth? Oleg

Using camogm with Elphel393 camera

Tue, 05/31/2016 - 12:56

← Older revision Revision as of 18:56, 31 May 2016 Line 47: Line 47: Alternatively, the status information output can be redirected to a file as described in [[Camogm#Sending_Commands_to_camogm|Sending commands to camogm]]. Alternatively, the status information output can be redirected to a file as described in [[Camogm#Sending_Commands_to_camogm|Sending commands to camogm]].  +  +Note, that ''camogm'' is under development and not all features of the previous version have been ported to new camera. As for now, geo tagging and exif specific commands are not implemented. Watch for updates on our [https://github.com/Elphel github page]. Mikhail

Tmp manual

Tue, 05/31/2016 - 12:55

← Older revision Revision as of 18:55, 31 May 2016 Line 1: Line 1: ==Connections== ==Connections== -* [[FPC_cables|sensors to system board]]+* Connect [[FPC_cables|sensors to system board]] - FPC cables are not symmetrical * Ports: * Ports: {| {| Oleg

Using camogm with Elphel393 camera

Tue, 05/31/2016 - 12:33

Created page with "Elphel 393 series cameras can be equipped with m.2 SSD drive used for images and video recording. The camera equipped with a drive should be configured in a way that the drive ca..."

New page

Elphel 393 series cameras can be equipped with m.2 SSD drive used for images and video recording. The camera equipped with a drive should be configured in a way that the drive can be accessible from Linux operating system. This is normally done with a configuration script which is executed during system boot. The script is usually located in the root directory on microSD card and called ''init_elphel393.sh''. These is a set of parameters in the beginning of the script and one of them is responsible for SATA controller configuration and driver loading:

SATA_EN=1

Make sure this parameter is set to 1 if your camera is equipped with SSD drive. You should see the following messages in system log after successful initialization and auto-mounting:

[ 30.587212] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 30.594510] ata1.00: ATA-9: SanDisk SD8SMAT128G1122, Z2320000, max UDMA/133
[ 30.601426] ata1.00: 250069680 sectors, multi 1: LBA48 NCQ (depth 0/32)
[ 30.616091] ata1.00: configured for UDMA/133
[ 30.620669] scsi 0:0:0:0: Direct-Access ATA SanDisk SD8SMAT1 0000 PQ: 0 ANSI: 5
[ 30.629879] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 30.630011] sd 0:0:0:0: [sda] 250069680 512-byte logical blocks: (128 GB/119 GiB)
[ 30.630987] sd 0:0:0:0: [sda] Write Protect is off
[ 30.631106] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 30.637003] sda: sda1 sda2
[ 30.646115] sd 0:0:0:0: [sda] Attached SCSI disk

The disk model and the number of partitions(sda1 and sda2) in the example above correspond to a test platform and they may not be the same in your camera. <code>/dev/sda2</code> in this example is not partitioned and not mounted:

~# mount
/dev/root on / type ext4 (rw,relatime,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=449540k,nr_inodes=112385,mode=755)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /var/volatile type tmpfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
/dev/mmcblk0p1 on /mnt/mmc type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda1 on /mnt/sda1 type ext2 (rw,relatime,errors=continue)

The program for video/images recording is called ''camogm''. Its full description for previous series of Elphel cameras is available on [[Camogm]] wiki page. Current version of the program supports four sensor channels and has the same command set as the previous version, but commands can be sent to each channel separately. The program can be started the same way as described in [[Camogm#Starting_camogm|Starting camogm]] section, but now it will create four command pipes instead of one and each pipe will have channel number appended to the name provided on command line:

~# ls -l /var/volatile/
prwxr-xr-x 1 root root 0 May 31 16:55 camogm_cmd0
prwxr-xr-x 1 root root 0 May 31 16:55 camogm_cmd1
prwxr-xr-x 1 root root 0 May 31 16:55 camogm_cmd2
prwxr-xr-x 1 root root 0 May 31 16:55 camogm_cmd3
drwxr-xr-x 2 root root 180 May 31 16:54 log
drwxrwxrwt 2 root root 160 May 31 16:54 tmp

''camogm'' is started from ''init_elphel393.sh'' script by default and its output is may not be visible on your console. You can stop current instances of the program and restart it from you terminal if the output should be visible:

~# for i in `seq 0 3`; do echo "exit" > /var/volatile/camogm_cmd$i; done
~# camogm /var/volatile/camogm_cmd

Alternatively, the status information output can be redirected to a file as described in [[Camogm#Sending_Commands_to_camogm|Sending commands to camogm]]. Mikhail

SDK 10393

Mon, 05/30/2016 - 19:09

New page

==SDK==
===Firmware (FPGA)===
* [https://eclipse.org Eclipse IDE] + [https://github.com/Elphel/vdt-plugin VDT-Plugin]
* [http://www.xilinx.com/products/design-tools/vivado.html Vivado WebPACK Edition]
* [http://iverilog.icarus.com/ IVerilog]
* [http://gtkwave.sourceforge.net/ GTKWave]
===Software (Drivers and Applications)===
* [https://eclipse.org Eclipse IDE]
* [https://www.yoctoproject.org/tools-resources/projects/poky Yocto Poky]
===Sources===
* [https://github.com/Elphel GitHub/Elphel]

[[Category:393]] Oleg

Elphel Software Kit for Ubuntu

Mon, 05/30/2016 - 19:03

← Older revision Revision as of 01:03, 31 May 2016 Line 334: Line 334: When you'll update the source files, you 'll need to re-run "Compile and run...". meanwhile just use the item in Plugins->ImageJ-Elphel menu. When you'll update the source files, you 'll need to re-run "Compile and run...". meanwhile just use the item in Plugins->ImageJ-Elphel menu. --> -->  +  +[[Category:353]] Oleg

Main Page

Mon, 05/30/2016 - 18:51

← Older revision Revision as of 00:51, 31 May 2016 Line 49: Line 49: | '''[[Tutorials]]'''<br> for Developers | '''[[Tutorials]]'''<br> for Developers |- |- -| '''[[Images and videos examples|Image und Video Examples]]'''<br>created using Elphel hardware  +| '''[[Images and videos examples|Image & Video Examples]]'''<br>created using Elphel hardware   | '''[[Elphel Software Kit for Ubuntu]]'''   | '''[[Elphel Software Kit for Ubuntu]]'''   | '''[[Hacking the hardware]]'''<br>Hacking and debugging Elphel's hardware   | '''[[Hacking the hardware]]'''<br>Hacking and debugging Elphel's hardware   Oleg

Imgsrv

Mon, 05/30/2016 - 18:33

← Older revision Revision as of 00:33, 31 May 2016 Line 77: Line 77: |- |- |} |}  +  +[[Category:353]] Oleg

PHP Examples

Mon, 05/30/2016 - 18:32

← Older revision Revision as of 00:32, 31 May 2016 Line 37: Line 37: By setting the table of weights the higher/lower frequencies (edges) can be filtered. By setting the table of weights the higher/lower frequencies (edges) can be filtered.  +  +[[Category:353]] Oleg

Client Software List

Mon, 05/30/2016 - 18:32

← Older revision Revision as of 00:32, 31 May 2016 Line 8: Line 8: '''[[Using_gstreamer | Gstreamer]]''' <br>Gstreamer is very suited to live video and audio processing, notably for live decoding/encoding, audio muxing. '''[[Using_gstreamer | Gstreamer]]''' <br>Gstreamer is very suited to live video and audio processing, notably for live decoding/encoding, audio muxing.  +  +[[Category:353]] Oleg

Poky 2.0 manual

Mon, 05/30/2016 - 18:31

Setup:

← Older revision Revision as of 00:31, 31 May 2016 Line 76: Line 76:   git clone https://github.com/Elphel/elphel393.git   git clone https://github.com/Elphel/elphel393.git   cd elphel393   cd elphel393 -  ./setup.sh+  ./setup.sh dev   cd poky   cd poky   . ./oe-init-build-env   . ./oe-init-build-env Oleg

Main Page

Mon, 05/30/2016 - 16:16

← Older revision Revision as of 22:16, 30 May 2016 Line 10: Line 10: | '''[[10393|Latest Model: 393 Cameras]]'''<br>Released Spring 2016 | '''[[10393|Latest Model: 393 Cameras]]'''<br>Released Spring 2016 | '''[[Previous Models]]'''<br> old products   | '''[[Previous Models]]'''<br> old products   -<!--| '''[[Camera Timeline]]'''<br>overview of all camera models and release dates -->+|<!--| '''[[Camera Timeline]]'''<br>overview of all camera models and release dates --> -| '''[[Wishlist|Camera Wishlist]]'''<br>for future models+|<!--| '''[[Wishlist|Camera Wishlist]]'''<br>for future models--> |- |- | <!--'''[[Features|Features and Applications]]'''--> | <!--'''[[Features|Features and Applications]]'''--> Line 21: Line 21: ! colspan="4" | <h2 id="mp-itn-h2" colspan="1" style="margin:0; background:#f2d7ce; font-size:120%; font-weight:bold; border:1px solid #a3b0bf; text-align:left; color:#000; padding:0.2em 0.4em;">Software</h2> ! colspan="4" | <h2 id="mp-itn-h2" colspan="1" style="margin:0; background:#f2d7ce; font-size:120%; font-weight:bold; border:1px solid #a3b0bf; text-align:left; color:#000; padding:0.2em 0.4em;">Software</h2> |- |- -| '''[[Software List]]'''<br>of software running on the camera  +| '''[[Software List|Software List (353)]]'''<br>of software running on the camera   -| '''[[Client Software List]]'''<br>of software running on client (viewer) computer+| '''[[Client Software List|Client Software List (353)]]'''<br>of software running on client (viewer) computer |} |} Line 28: Line 28: {| width="100%" cellspacing="5" cellpadding="2" style="vertical-align:top; background:#faf5ff;" {| width="100%" cellspacing="5" cellpadding="2" style="vertical-align:top; background:#faf5ff;" |- |- -! colspan="5" | <h2 id="mp-itn-h2" colspan="1" style="margin:0; background:#ddcef2; font-size:120%; font-weight:bold; border:1px solid #a3b0bf; text-align:left; color:#000; padding:0.2em 0.4em;">User Documentation</h2>+! colspan="5" | <h2 id="mp-itn-h2" colspan="1" style="margin:0; background:#ddcef2; font-size:120%; font-weight:bold; border:1px solid #a3b0bf; text-align:left; color:#000; padding:0.2em 0.4em;">User Documentation (353)</h2> |- |- | '''[[Elphel 353 series quick start guide|Quick Start Guide]]'''<br>for 353 Series Cameras   | '''[[Elphel 353 series quick start guide|Quick Start Guide]]'''<br>for 353 Series Cameras   Line 42: Line 42: {| width="100%" cellspacing="5" cellpadding="2" style="vertical-align:top; background:#f5fffa;" {| width="100%" cellspacing="5" cellpadding="2" style="vertical-align:top; background:#f5fffa;" |- |- -! colspan="4" | <h2 id="mp-itn-h2" colspan="4" style="margin:0; background:#cef2e0; font-size:120%; font-weight:bold; border:1px solid #a3b0bf; text-align:left; color:#000; padding:0.2em 0.4em;">Development</h2>+! colspan="4" | <h2 id="mp-itn-h2" colspan="4" style="margin:0; background:#cef2e0; font-size:120%; font-weight:bold; border:1px solid #a3b0bf; text-align:left; color:#000; padding:0.2em 0.4em;">Development (353)</h2> |- |- -| '''[[UserProjects|User Projects]]'''<br>using Elphel Cameras  +| '''[[UserProjects|User Projects (353)]]'''<br>using Elphel Cameras   | | | '''[[Roadmap]]'''<br>   | '''[[Roadmap]]'''<br>   Oleg

Category:393

Mon, 05/30/2016 - 15:54

Created page with "10393 related pages"

New page

10393 related pages Oleg

10393

Mon, 05/30/2016 - 15:54

← Older revision Revision as of 21:54, 30 May 2016 Line 83: Line 83: ** Inter-camera module synchronization with a 4-conductor flex cables. ** Inter-camera module synchronization with a 4-conductor flex cables. ** Two of the 10-conductor flex cable ports that carry 3.3VDC, 5.0VDC, USB, i2c and GPIO, compatible with existing [[103695|103695 IMU adapter]] and [[103696|103696 GPS adapter]] boards. ** Two of the 10-conductor flex cable ports that carry 3.3VDC, 5.0VDC, USB, i2c and GPIO, compatible with existing [[103695|103695 IMU adapter]] and [[103696|103696 GPS adapter]] boards.  +  +[[Category:393]] Oleg

Category:353

Mon, 05/30/2016 - 15:52

Created page with "10353 related articles"

New page

10353 related articles Oleg

Pages