diff --git a/en/device-digitus-dn16048.md b/en/device-digitus-dn16048.md index f0bbe2e..2be8677 100644 --- a/en/device-digitus-dn16048.md +++ b/en/device-digitus-dn16048.md @@ -3,13 +3,13 @@ Pan, Tilt, Focus and Zoom (via command line ssh) ## Flashing OpenIPC: -Opening the case, it turns out, that the SoC is **hi3815cv100**, **16MB** and the camera sensor is **mt9p006**. Install a TFTP server at the PC and follow the installation instructions: https://github.com/OpenIPC/wiki/blob/master/en/installation.md Download the correct image (16MB, Lite) and put it into the directory of the TFTP server (in case the image is not packed, the "unpacking" step can be skipped). Connect a UART adapter to the pins on the SoC board and start a terminal at the PC: +Opening the case, it turns out, that the SoC is **hi3518cv100**, **16MB**, and the camera sensor is **mt9p006**. Install a TFTP server at the PC and follow the installation instructions: https://github.com/OpenIPC/wiki/blob/master/en/installation.md Download the correct image (16MB, Lite) from here https://openipc.org/cameras/vendors/hisilicon/socs/hi3518cv100 and put it into the directory of the TFTP server (in case the image is not packed, the "unpacking" step can be skipped). As described, connect a UART adapter to the pins on the SoC board and start a terminal at the PC: ```sh screen -L -Logfile ipcam-$(date +%s).log /dev/ttyUSB0 115200 ``` -Follow the instructions that are generated by the OpenIPC web page. To access UBOOT, press Ctrl-C immediately after plugging in the power supply: https://openipc.org/cameras/vendors/hisilicon/socs/hi3518cv100 To make the network work later on in Linux: Before the final „reset“ command in UBOOT, enter the following commands, according to: https://github.com/OpenIPC/wiki/blob/master/en/network-perversions.md +Follow the instructions that are generated by the OpenIPC web page. To access UBOOT, press Ctrl-C immediately after plugging in the power supply. To make the network work later on in Linux: Before the final "reset" command in UBOOT, enter the following commands, according to: https://github.com/OpenIPC/wiki/blob/master/en/network-perversions.md ```sh setenv extras 'hieth.phyaddru=3 hieth.mdioifu=0' @@ -22,13 +22,13 @@ Finally enter: reset ``` -Logon to Linux using „root“ and „12345“. In Linux enter: +Logon to Linux using "root" and "12345". In Linux enter: ```sh firstboot ``` -Login to Linux again. The sensor will not be detected automatically. Therfore enter the following commands in Linux on the camera: +Login to Linux again. The sensor will not be detected automatically. Therefore enter the following commands in Linux on the camera: ```sh fw_setenv soc hi3518cv100 @@ -64,7 +64,8 @@ GPIO pin2 of signal for IRcut filter: 0 Video resolution: 1280x720 Video framerate: 10 ``` - +When using RTSP you might want to increase the frame rate at Video0 to 15. Higher frame rates might be possible, but above 15 memory runs low and suddenly the web gui might not be reachable anymore (and probably other unwanted effects will occur). + * RTSP: ``` @@ -110,21 +111,21 @@ Watchdog timeout: 120 ``` ## Test the MJPEG stream: -I.e. browser or Android app "IPCamViewer" (replace ip with your current one). mjpeg has lower latency than rtsp. +For example, using a browser or the Android app "IPCamViewer" (replace IP with your current one). ```sh 192.168.1.188/mjpeg ``` ## Test the RTSP stream: -I.e. "mpv" or Android app "IPCamViewer" (replace the password and ip with your current ones) +For example, using "mpv" on Linux or the Android app "IPCamViewer". When using "IPCamViewer" select "Generic RTSP over UDP" (replace the password and IP with your current ones). ```sh mpv rtsp://root:12345@192.168.1.188:554/stream=0 ``` ## Test pan, tilt, zoom and focus: -It turns out, that the camera uses the pelco-d via the serial port ttyAMA1, so logon to the camera via ssh (use your ip): +It turns out, that the camera uses the pelco-d protocol via the serial port ttyAMA1, so logon to the camera via ssh (use your ip): ```sh ssh root@192.168.1.188 @@ -136,7 +137,7 @@ The serial port can be configured via the following stty command: stty -F /dev/ttyAMA1 2400 ``` -Create the following scripts with the editor "vi" or copy the files via tftp. Use chmod to make the files executeable. I.e: +Create the following scripts with the editor "vi" or copy the files via tftp. Use chmod to make the files executable. For example: ```sh chmod +x ./right @@ -279,10 +280,10 @@ printf '\xFF\x01\x00\x00\x00\x00\x01' >/dev/ttyAMA1 ## Possible further improvements: -- The camera seems to have a PoE board, but it does not seem to work. Maybe there were two versions (one with 12V and one with PoE) that mainly differ from each other by the cable. So maybe the camera could be modified to use the PoE board. +- The camera seems to have a PoE board, but it does not seem to work. Maybe there are two versions (one with 12V and one with PoE) that mainly differ from each other by the cable. So maybe the camera can be modified to use the PoE board. -- There is a SDCard slot (altrough only accessable when opening the case). It does not work at the moment. Although there had been an update for the stock firmware addressing explicity the sdcard functionality, it is not sure whether it ever worked with stock firmware. +- There is a SDCard slot (although only accessible when opening the case). It does not work at the moment. Although there had been an update of the stock firmware addressing explicitly the SDCard functionality, it is not sure whether it ever worked with stock firmware. - The camera has got a Wifi module. Probably this could be activated via OpenIPC. -- The camery has got a zoom and focus board. Documentation for this board exists in Chinese (can be translated via google translate). There seems to be a „factory calibration“ procedure to assign „standard“ focus settings for the zoom levels. +- The camera has got a zoom and focus board. Documentation for this board exists in Chinese (can be translated via google translate). There seems to be a "factory calibration" procedure to assign "standard" focus settings for the zoom levels.