Open main menu

Changes

m
=== User Manual ===
including pinout diagram and important data
=== Viewing the Video Stream ===
[[File:Onvif Device Manager ODM.png|thumb|ODM streaming the Thermal view]]
when first connecting it to power and Ethernet, the camera will have 192.168.1.102 as a Static ip.
=== Web Interface ===
[[File:Dali D8X3N web interface.png|thumb|Since browsers cant display RTSP anymore, open in Edge and select IE Compatibility Mode.]]
the web interface can be accessed by opening the camera IP in a browser
<br />
==== OSD ====
there is a debug-login with
user: super pass: 871897
=== Viewing Raw Thermal Data from the Web API ===
there is a hidden endpoint in the stream.so file that could be found while decompiling
we are mainly interessted in Raw thermal data.
====== '''Source''' (Stream Type) ======
* <code>Major</code> - Main video stream (channel 0)* <code>Minor</code> - Sub video stream (channel 1)* <code>MinorAV</code> - Sub video + audio stream* <code>MajorAV</code> - Main video + audio stream* <code>Jpeg</code> - JPEG snapshot stream* <code>Raw</code> - Raw thermal data stream* <code>YUV</code> - YUV raw video stream
====== '''Type''' (Data Format) ======
* <code>H264</code> - H.264 video encoding* <code>JPEG</code> - JPEG image format* <code>RAW</code> - Raw sensor data* <code>QBOX</code> - Custom protocol format* <code>FRAME</code> - Frame-based format
====== '''Mode''' (Transport Protocol) ======
* <code>TCP</code> - TCP streaming (default)* <code>UDP</code> - UDP streaming* <code>MUL</code> - Multicast streaming
====== '''Quality Parameters''' ======
* <code>Quality=[1-100]</code> - Video quality level* <code>Frames=[number]</code> - Number of frames to send* <code>Interval=[ms]</code> - Frame interval in milliseconds
====== '''Network Parameters''' ======
* <code>IPAddr=[ip]</code> - Client IP address for UDP/multicast* <code>Port=[port]</code> - Client port for UDP/multicast* <code>Heart-beat=[Yes/No]</code> - Enable/disable heartbeat
====== '''Snapshot Parameters''' ======
* [[File:Dali D8X3N Raw Thermal viewer.png|thumb|Raw Data Viewer in python]]<code>Snap=[Yes/No]</code> - Enable snapshot mode
=== Getting Root Terminal Access ===
To access the Terminal you need to solder or plug in a UART connection to Connector J7 on the "Glue" board.
<br />
=== (optional) Enabling Telnet access to make patching easier ===
[[File:Upgrade ici dali firmware updater.png|thumb|ICI Firmware updater software with modified firmware loaded]]
=== Patching the Web Server ===
This only works if you also patch the Thermal Camera module flash!
==== to permanently enable Telnet, go to /etc/init.d and edit S90app ====
vi S90app
in vi, move your cursor to the # at #telnetd and press x
<br />
==== patching the decoder and streamer to 640x480: ====
go to /app and edit the mach.cfg
==== (optional) patching app.sh to prevent it from rebooting ====
edit the app.sh in /app and remove all "reboot" occasions to prevent the camera from rebooting if onvifserver, httpd or daliServer arent running for debugging purposes.
=== Patching the Thermal Camera module ===
To patch it, you need to disassemble everything down to the FPGA Board,
<br />
=== Flash Contents ===
a Flash dump of the original downgraded D8X3N can be found [https://archive.org/details/dali-d-843n-flash-dump here]
<br />
=== Flash Binary Analysis ===
The Flash IC is a Winbond 25Q128JV SPI Flash that contains the FPGA Bitstream, Deadpixel and Flatmap, aswell as the Device Settings.
a copy of the SPI Logic Capture at startup can be found [https://archive.org/details/dali-eeprom-capture here], the free software [https://www.dreamsourcelab.com/download/ DSView from DreamSourceLab] is required to view it.
[[File:Dali Thermal Imager SPI Flash capture.png|thumb|SPI Flash access while booting the Thermal Module]]
 
</syntaxhighlight><br />
====== Settings offset 0x200000 ======
The settings are read and written every startup, aswell when you close the OSD, sporadically and when executing the command MSV
<br />
====== Bad Pixel and Flatframe Maps 0x280000 and 0x4C0000 ======
Thermal cameras require a bad pixel and flat frame map to compensate for manufacturing inconsistencies.
=== Dali Commands ===
To control the TIM you can either use Pelco or Dali command set. By default the Dali commandset is used at 38400 BAUD.
Listening to the answer can be done while being in the Linux shell and typing
cat /dev/ttyAMA2 | strings
 
<br />
=== Using the Thermal module without Webserver ===
[[File:Dali D8X3C Breakout board.png|thumb|Breakout board for D8X3C ]]
to use it, you need to interface it directly.
<br />
=== Sensor Pinout ===
[[File:Dali DLD384 Sensor pinout basic.png|thumb|basic pinout of a DLD384]]
the pinout of the thermal sensor havent been analyzes much.