Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
toh:d-link:dcs-930l [2024/02/12 08:58] – external edit toh:d-link:dcs-930l [2024/09/10 18:10] – [IR LED support (932L only)] stokito
Line 3: Line 3:
 {{section>meta:infobox:432_warning#infobox_for_dataentries&noheader&nofooter&noeditbutton}} {{section>meta:infobox:432_warning#infobox_for_dataentries&noheader&nofooter&noeditbutton}}
  
-D-Link DCS-930L/932L IP Camera+The D-Link DCS-930L, DCS-932L and DCS-933L are IP cameras and WiFi repeaters based on custom Linux distribution.\\   
  
 +^ DCS-930L  ^ 933L (932L similar) ^
 +| {{:media:dlink:dcs-930l:side.jpg?direct&400|}} | {{:media:dlink:dcs-933l:front.jpg?direct&400|}} |
  
 ===== Supported Versions ===== ===== Supported Versions =====
Line 18: Line 20:
  
 ===== Hardware Highlights ===== ===== Hardware Highlights =====
 +
 +The 932L and 933L versions have built-in infrared LEDs for night vision. It allow for night time viewing of up to 5 meters (16 feet).\\
 +
 <!-- ToH: { <!-- ToH: {
   "source": "json",   "source": "json",
Line 27: Line 32:
 } --> } -->
  
-^ Model           ^ H/W   ^ CPU                     ^ Ram    ^ Flash   ^ Network          ^ USB                ^ Serial   ^ JTag   ^ 
-| DCS-933L        | A1    | RaLink RT3050@400MHz    | 64MB   | 8MB     | 1 x 10/100MBit   | No/Internal Only   | Yes      | No?    | 
-| DCS-933L*       | B1    | RaLink RT3352F@400MHz   | 64MB   | 8MB     | 1 x 10/100MBit   | No/Internal Only   | Yes      | No?    | 
  
-The DCS-93xL cameras are IP cameras by D-Link with a custom Linux distribution.\\    +The DCS-933L is similar to 932L but it's stock firmware started to support streaming in H.264 codec in addition to MJPG
-A USB camera modules is attached internally to the system.\\ +933L has double RAM and FLASH. Official webpage says that it only has 32 MB ram, however boot log and ''free'' suggests that its at least double of that amount.  
-The 932L version has additional support for infrared LEDs (night vision).\\ +Note: The DCS-933L B1 is not compatible with the 930L rom, so don't flash it (yet).
-933L has double RAM and FLASH. Official webpage says that it only has 32 MB ram, however boot log and "freesuggests that its at least double of that amount. +
  
-  * The DCS-933L B1 is not compatible with the 930L rom, so don't flash it (yet).+^ Model           ^ H/W Ver ^ CPU                     ^ Ram    ^ Flash   ^ Network          ^ USB                ^ Serial   ^ JTag   ^ 
 +DCS-933L        | A1      | RaLink RT3050@400MHz    | 64MB   | 8MB     | 1 x 10/100MBit   | No/Internal Only   | Yes      | No?    | 
 +| DCS-933L*       B1      | RaLink RT3352F@400MHz   | 64MB   | 8MB     | 1 x 10/100MBit   | No/Internal Only   | Yes      | No?    | 
 + 
 + 
 +Other models:
   * The DCS-935L is based on a Realtek SoC and will not be supported   * The DCS-935L is based on a Realtek SoC and will not be supported
   * The DCS-942L is based on a Grain Media GM8126 SoC and also incompatible   * The DCS-942L is based on a Grain Media GM8126 SoC and also incompatible
  
 +A USB camera modules is attached internally to the system.
 ===== Installation ===== ===== Installation =====
 <!-- ToH: { <!-- ToH: {
Line 51: Line 58:
  
 -> [[docs:guide-user:installation:generic.flashing|Install OpenWrt (generic explanation)]] -> [[docs:guide-user:installation:generic.flashing|Install OpenWrt (generic explanation)]]
 +
 +
 +**Note:** Currently the instruction bellow doesn't work. Check the [[https://forum.openwrt.org/t/support-for-the-d-link-dcs-930l-webcam/89212/|forum topic]].
  
  
 You do not need serial console to install OpenWrt. \\ You do not need serial console to install OpenWrt. \\
 There is an emergency web interface, which has to be used to flash OpenWrt. \\ There is an emergency web interface, which has to be used to flash OpenWrt. \\
-Uploading via the regular web interface does not work.+Uploading via the regular web interface doesn'work
 + 
 + 
 +  * Turn off the camera by removing the power cord. 
 +  * Press and hold the Reset button. 
 +  * Plug the power cord back into the device while holding down the Reset until the blue LED goes out (about 8-10 seconds). 
 +  * Release reset. 
 +  * The camera will boot and therefore the web interface for emergency recovery will default to IP 192.168.0.20 
 +  * Connect your computer to the camera with an Ethernet cable. 
 +  * Configure your computer to a static IP 192.168.0.10 with subnet mask 255.255.255.0 (/24). 
 +  * Now you need to upload your new firmware in the emergency web interface. 
 +  * Open in a web browser the emergency web interface on http://192.168.0.20 
 + 
 +You should see the following message: "The browser you are using may have difficulty receiving images and video. If you experience any issues viewing this page, we suggest using Internet Explorer."
 + 
 +The old camera mainly used ActiveX from IE to show a player in a browser. So it checks if the User-Agent of a browser to determine the browser. But the restriction mistakenly also applied for the emergency interface. 
 + 
 +To bypass this limitation you can install the [[https://webextension.org/listing/useragent-switcher.html|User Agent switcher]] extension and select the Internet Explorer and Windows. Or you can upload the firmware directly from a command line with curl or wget like: 
 +<code> 
 +curl -F firmware=@/tmp/openwrt-ramips-rt305x-dcs-930-squashfs-factory.bin http://192.168.0.20/ 
 +</code> 
 + 
 +Wait until end of upload procedure and the camera will reboot. This can take up to 5 minutes. 
 +After bootup, OpenWrt is reachable at 192.168.1.1 via LAN. 
 +Do not forget to reconfigure your network interface on the computer back to DHCP. 
 +By default, OpenWrt hands out IP addresses on this interface.
  
-  * Disconnect Power 
-  * Press and hold "Reset", connect Power and hold Reset until the blue LED goes out (about 8 seconds). 
-  * Release reset 
-  * Configure your computer to 192.168.0.x 
-  * Fire up a web browser and connect to 192.168.0.20 
-  * Upload your new firmware in the emergency web interface 
  
-After bootup, OpenWrt is reachable at 192.168.1.1 via LAN. Do not forget to reconfigure your network interface on the computer to DHCP. By default, OpenWrt hands out IP addresses on this interface. 
  
 ===== IR LED support (932L only) ===== ===== IR LED support (932L only) =====
  
-The IR LEDs and the IR cutoff filter can be controlled via 3 GPIO lines. A userspace daemon that reads the light sensor and control the circuitry can be found at [[http://www.aboehler.at/hg/lightSensor-daemon]]. Makefiles for OpenWrt are also included, but you have to compile the package yourself for now. +The IR LEDs and the IR cutoff filter can be controlled via 3 GPIO lines. Use the [[https://gitlab.aboehler.at/andreas/lightsensor-daemon|lightSensor-daemon]] which is a user space daemon that reads the light sensor and control the circuitry. Makefiles for OpenWrt are also included, but you have to compile the package yourself for now. 
-After installing lightSensor-daemon, the sensor is polled for light changes and the filter and IR LEDs are controlled accordingly. It seems to react faster to changes in lightning than the original firmware does.+After installing the ''lightSensor-daemon'', the sensor is polled for light changes and the filter and IR LEDs are controlled accordingly. It seems to react faster to changes in lightning than the original firmware does.
  
 ===== Motion Detection support ===== ===== Motion Detection support =====
Line 81: Line 109:
  
 mjpg_streamer works flawlessly and with very little CPU usage. Recently, I replaced the motion setup on my cameras by mjpg_streamer and put motion on my (more powerful) main router.  mjpg_streamer works flawlessly and with very little CPU usage. Recently, I replaced the motion setup on my cameras by mjpg_streamer and put motion on my (more powerful) main router. 
 +
 +===== Stock firmware =====
 +
 +The original firmware provides the http://camera_ip/vjview.htm to see the camera from a browser with Java applet. This is not supported nowadays but you may try to use IcedTea.
 +
 +You may watch the stream directly with VLC player or MXPlayer.
 +Here are some links that should work:
 +
 +  * /video/mjpg.cgi
 +  * /mjpeg.cgi
 +  * /mjpeg.cgi?user=[USERNAME]&password=[PASSWORD]&channel=[CHANNEL]
 +  * /video.cgi
 +  * /video.cgi?resolution=vga
 +  * /audio.cgi
 +  * /Image.jpg
 +  * /image/jpeg.cgi
 +
 +For the VLC or MXPlayer use a URL like ''http://admin:your_pasword@camera_ip/''.
 +
 +Usually the video delay is about a second over a cord and about 3 seconds over WiFi.
 +
 +Use the command to merge two streams of video and audio:
 +<code>
 +ffmpeg -f mjpeg -i http://1:1@192.168.1.9/mjpeg.cgi -i http://1:1@192.168.1.9/audio.cgi -ar 16000 /home/stivali/$FILENAME.avi
 +</code>
 +
  
 ===== Hardware ===== ===== Hardware =====
 +
 ==== Opening the Device ==== ==== Opening the Device ====
  
Line 125: Line 180:
   * JP2 is the serial port 57600 8n1   * JP2 is the serial port 57600 8n1
   * PCB is marked B1, exterior case is marked "H/W Ver.: A1". Which one should be considered?   * PCB is marked B1, exterior case is marked "H/W Ver.: A1". Which one should be considered?
-  * U6 is RT3352F (although according to this wiki H/W Ver.A1 should be another chip)+  * U6 is RT3352Falthough according to this wiki H/W Ver.A1 should be another chip RT3050. The RT3352F should be for Ver. B1.
   * U7 is M14D5121632A, 64 MiB DDR2 SDRAM.   * U7 is M14D5121632A, 64 MiB DDR2 SDRAM.
   * U11 with ID "OV00780-L28G" is the "Omnivision Technologies IC IMAGE SENSOR" or "Omnivision OV780 H.264 video encoder chip"   * U11 with ID "OV00780-L28G" is the "Omnivision Technologies IC IMAGE SENSOR" or "Omnivision OV780 H.264 video encoder chip"
Line 141: Line 196:
   * 12: IR_LED_OUT_1   * 12: IR_LED_OUT_1
   * 13: WPS_LED: Blue Power LED   * 13: WPS_LED: Blue Power LED
-  * 14: IR_LED_OUT_2: IR Cut-off filter controler+  * 14: IR_LED_OUT_2: IR Cut-off filter controller
   * 17: OV780_SPI_OUT   * 17: OV780_SPI_OUT
   * 18: OV780_SPI_IN   * 18: OV780_SPI_IN
  • Last modified: 2024/09/10 18:42
  • by stokito