1.1 QuickStart 1. Connect the SQM-LU meter to the computer with the supplied USB cable. Wait for any device drivers to automat- ically load (if required). You may have to visit www.FTDIchip.com to get the latest VCP drivers if they do not get installed automatically.
Page 9
1.1 QuickStart CCDAutoPilot FITS4Win2 uses the MPSAS keyword for sorting and filtering image files. Unihedron SQM-LU Operator’s Manual - 20170728...
2 Measurements The SQM-LU provides readings in Magnitudes per square arcsecond, abbreviated as: mpsas, and written mathematically arcsec Mpsas is a logarithmic measurement which means that large changes in sky brightness correspond to relatively small numerical changes. A difference of 5 magnitudes is a factor of 100 times the intensity. Therefore a sky brightness 5.0 arcsec darker corresponds to a reduction in photon arrival rate of a factor of 100.
Airglow is light produced by various phenomenon in the atmosphere which prevent the sky from being totally dark. Effects of the magnetic poles of the Earth may cause airglow to be brighter near the poles. Unihedron SQM-LU Operator’s Manual - 20170728...
The Milky Way As one goes to sites with darker surface brightnesses, the fraction of the total light received by the SQM-LU which can be attributed to the Milky Way bulge increases and so the “offset” in mpas will be larger (due to the Milky Way.) The northern view of the Milky Way contributes about 0.10 mpsas under 21.5 mpsas (moonless) skies.
3 Theory of operation 3.1 Light measurement The SQM-LU measures the darkness of the night sky to provide readings of magnitudes per square arc second through a USB connection, and is capable of internally recording readings. A light sensor (TSL237) provides the micro-controller with a light level, and readings from the temperature sensor are used to compensate the light sensor readings through the range of operating temperatures.
USB FTDI VCP driver, serial port emulator at 115200baud. Physical Size 3.6” x 2.6” x 1.1” Meter precision Each SQM-LU is factory-calibrated. The absolute precision of each meter is believed to be 10% ( 0.10 mag/arcsec ). The difference in zero-point between each calibrated meter is typically 10% ( 0.10 mag/arcsec...
5 Hardware connections The SQM-LU requires one connection to a USB hub or a PC for configuring the device and recovering the readings as shown in Figure 5.1. Figure 5.1: Wired connection The maximum length cable per the USB specification is 15ft (3m). USB extenders exist on the market, some work up...
2. Data commands are sent to the SQM-LU, and it responds with a string of characters. 3. Close the serial port so that other programs can access the SQM-LU. Note: Only one connection can be made to the SQM-LU at a time. Therefore leaving a connection open constantly prevents other connections from being made.
The UDM program contains many examples of finding the SQM devices and reading data from them. It is open source and written in Lazarus/FreePascal. The source files for UDM are available here: unihedron.com/projects/darksky/cd/udm/ . Unihedron SQM-LU Operator’s Manual - 20170728...
Setup and retrieve data from datalogging meters. Continuously log data from connected meters. 7.1 Getting UDM UDM is supplied on the CD that shipped with the SQM-LU. The latest version of UDM is available at the Unihedron website at this location www.unihedron.com/projects/darksky/cd/ 7.2 Installation...
USB device listing for your operating system. These USB devices should appear as a COMM port. Also, check the troubleshooting notes in section 13 on page 62 for possible solutions. 7.3.2 Main screen The main screen of UDM consist of the following sections: Unihedron SQM-LU Operator’s Manual - 20170728...
The file menu is used for: opening files, finding newly attached devices, and quitting the program as shown in Figure 7.2. Figure 7.2: File menu File : Open The “File : Open” menu item is used to open up previously stored log files or calibration reports. Unihedron SQM-LU Operator’s Manual - 20170728...
Click on “View : Simulation” to toggle visibility of the “Simulation” tab. The Simulation tab can be used to send requests to the SQM-LU to simulate conversions of frequency and period to light meter values. See page 36 for more details.
UDM and stored at the displayed “TZ database path”. This path is not changeable. The Time Zone database is taken from: http://www.twinsun.com/tz/tz-link.htm Firmware files path The firmware for the SQM-LU can be updated or reverted using UDM. These firmware files are stored at the displayed firmware files path. This path is not changeable.
View : DL Header shows the Data-logger header editing page. See the information at www.darksky.org/measurements for a detailed description of each field. Figure 7.7: Data logging header DL : Position can be changed by pressing the Edit button which calls up the following dialog: Unihedron SQM-LU Operator’s Manual - 20170728...
The “Local timezone region” and “Local timezone name” are required by UDM to calculate local times of the recorded data before storing to disk. UTC timestamps are stored in the SQM-LU. The cover offset is a text only field that indicates what offset was used on the calibration data of the SQM-LU. 7.3.5 Tools menu Tools : old log to dat The “old log to dat”...
Press the “Select ...” button shown in Figure 7.10 to select the file and start the conversion process. Tools : Comm terminal The “Comm terminal” is a communication terminal window used for sending manual commands and viewing the response of the selected (from the found devices window) device. Unihedron SQM-LU Operator’s Manual - 20170728...
Help : Cmdline Info shows the commands that can be used when starting UDM from the command line. Help : Version Info shows the detailed version information for the UDM software. Help : About displays a simple screen with the version identifier. Figure 7.13: Help : About Unihedron SQM-LU Operator’s Manual - 20170728...
The default port number for the SQM-LE is 10001. See Figure 7.17. Figure 7.17: Ethernet connection details The RS232 fields are editable so you may enter your own port and baud rate. The baud rate for the SQM-LR is 115200. See Figure 7.18. Unihedron SQM-LU Operator’s Manual - 20170728...
file can be accessed later from the “File : Open” menu. 7.5 Log Continuous The “Log continuous” function allows data from the connected SQM device to be logged repetitively as shown in Figure 7.20. Unihedron SQM-LU Operator’s Manual - 20170728...
5. Press “Close” when done with the continuous logging feature. Threshold setting A threshold for recording readings can be set before starting recording. Any reading greater or equal to this threshold value will be recorded in the log file. Unihedron SQM-LU Operator’s Manual - 20170728...
Without “Synchronized” checked, the hotkey will immediately trigger a record log, and the associated annotation text will be appended to that triggered record. GPS UDM will read the data produced from an externally connected USB or serial GPS receiver. Unihedron SQM-LU Operator’s Manual - 20170728...
The location, speed, time, and status information is displayed as it is received. If the GPS is enabled before logging, then the logfile is forced to ”MOVING” platform mode, and five fields (latitude, longitude, elevation, speed, number of satellites in view) are appended to each record. Unihedron SQM-LU Operator’s Manual - 20170728...
3. The value is sent to the SQM, and then confirmed in the right side box (Actual values column). Note that temperatures set in to the SQM use their own resolution and may not be reflected as the same value entered. For example. 24.7 C might read back as 24.8 C. Unihedron SQM-LU Operator’s Manual - 20170728...
Report threshold is measured in Magnitudes per square arcsecond (mpsas), a larger positive value is darker. 7.8 Firmware tab In a case where new firmware is supplied by Unihedron to correct bugs or add features, use this tab to select and load firmware in to the SQM-LU.
The “Configuration tab” shows the factory-set calibration values. Calibration is performed at the Unihedron factory. A new calibration using a calibrated light source and darkroom can be performed by following the instructions on the right side of the screen. The calibration report can be logged to a data file and also printed out from this screen.
The “Simulation” tab allows the simulation of raw light sensor values for experimentation purposes. The “Start” button initiates feeding the range of values to the internal formulas of the SQM-LU and results are displayed on this tab. Raw temperature conversions are detail in Eq: 8.1 and 8.2. The simulation will stop once all the steps are complete or when the “Stop”...
7.10.1 Simulation from file The “From file” button sends csv data from simin.csv (in the log file directory) to the SQM-LU in simulation mode and puts the output into simout.csv. The format of the csv is shown in Table 7.2: Table 7.2: simin.csv field description...
C humidity sensors that have been tested; HIH8120, and HYT939. The selection can be made with the drop down combo-box on this tab. Enabling this sensor allows the SQM-LU to poll the sensor once per second to gather a reading which can be requested later with the A1x command.
Table 7.5: Select device command line parameters Parameter Description Do not search for devices at startup. This cuts down startup time, the user must press the Find button to find devices. Display plotter window. Unihedron SQM-LU Operator’s Manual - 20170728...
8 Commands and responses The SQM-LU accepts a sequence of characters as a command, then executes those commands and usually provides a response of a sequence of characters. The following details are useful when programming your own interface to send data to and receive data from the SQM-LU.
8.2 Response details 8.2.1 Reading request The “Reading” request “rx” or “Rx” commands the SQM-LU to provide the current darkness value as well as all variables used to generate that result. Readings produced by this request are averaged internally by using the last 8 readings and shifting those values through an 8 cell buffer then summing and dividing by 8.
Protocol number (8 digits). This will always be the first 8 char- 00000002 acters (after the “i,” response). This value indicates the revision number of the data protocol to/from the SQM-LU. The protocol ver- sion is independent of the feature version. 11-18 Model number (8 digits).
0123456789 123456789 123456789 123456789 123456789 1234567 8.3.2 Light calibration command Calibration of the SQM-LU is done at the factory in a controlled light and temperature environment. Executing the Light calibration command “zcalAx” arms the light calibration mode. A calibrated light source of approximately 13.5fc is supplied to the sensor.
L = Locked; Wait for unlock before calibrating after Arm command, firmware upgrades are disabled. U = Unlocked; Calibrate immediately after Arm command, Enable firmware upgrade. Carriage return (0x0d), Line feed (0x0a). An example of the response is: zxdL 012345 Unihedron SQM-LU Operator’s Manual - 20170728...
The “Dark calibration time period” is the amount of time that has elapsed for the light sensor to make one cycle while in complete darkness. The meter sets a time limit of 300 seconds on this value. Unihedron SQM-LU Operator’s Manual - 20170728...
Description Calibration response is being returned. Manual Set Dark Calibration temperature. Value that was set into EEPROM 019.0C 10-11 Carriage return (0x0d), Line feed (0x0a). An example of the response is: z,8,019.0C 0123456789 1 Unihedron SQM-LU Operator’s Manual - 20170728...
8.4 Accessories commands Some I C accessory devices can be connected to the SQM-LU when using firmware feature version 44 and above. These devices are connected by way of retrofitted wiring inside the unit or a future back panel connector.
C 4-digit 7-segment display made by Sparkfun (model COM-11441) can be connected. All commands (seen in table 8.15) to this accessory result in a response (seen in table 8.16). Readings that are too bright for the SQM-LU will show up as . Readings that are too dark for the meter will show up as Table 8.15: Display accessory command summary...
8.4 Accessories commands 8.4.3 LED accessory For purposes of troubleshooting, an LED with series resistor can be connected to an internal pin of the SQM-LU. All commands (seen in table 8.17) to this accessory result in a response (seen in table 8.18).
8.4.4 Relay accessory A Solid State Relay (SSR) accessory may be connected to the SQM-LU for generic use or for purposes of implementing a dew-heater control. All commands (seen in table 8.19) to this accessory result in a response (seen in table 8.20).
= Continuous reporting disabled. C = Ideal crossover firmware code enabled. c = Ideal crossover firmware code disabled. P = Continuous reporting compression enabled. p = Continuous reporting compression disabled. Table continued on next page ... Unihedron SQM-LU Operator’s Manual - 20170728...
Page 52
Table 8.23 – continued from previous page Column Example value Description U = Continuous reporting un-averaged readings enabled. u = Continuous reporting un-averaged readings disabled. Carriage return (0x0d), Line feed (0x0a). An example response is: YrCpu 01234 Unihedron SQM-LU Operator’s Manual - 20170728...
8.6 Setting Interval reporting parameters For firmware feature 13, the SQM-LU is capable of sending timed interval reports. Each interval report is the same as the reading request report except that the serial number (feature 14) is attached at the end so that numerous reporting SQM-LUs can be distinguished from each other.
Threshold value that was set into EEPROM. 00000017.60m 39-50 Threshold value that was set into RAM. 00000017.60m 51-52 Carriage return (0x0d), Line feed (0x0a). An example response is: I,0000000360s,0000000360s,00000017.60m,00000017.60m 0123456789 123456789 123456789 123456789 123456789 12 Unihedron SQM-LU Operator’s Manual - 20170728...
When using the Simulation mode of the SQM-LU, make sure that nothing else interrupts the sequence of readings such as external programs reading from the SQM-LU, or settings of Interval reporting inside the SQM-LU. To read the internal simulation values, issue the “sx” command, the response is shown in table 8.26: Table 8.26: Response of request for internal simulation values...
Calculated period from counts. 0000000.204s, 86-92 Temperature used for calculation. 029.0C 93-94 Carriage return (0x0d), Line feed (0x0a). An example response is: S,0000094000c,0000000000f,0000000245t,r, 18.04m,0000000000Hz,0000094000c,0000000.204s, 029.0C 0123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 1234 Unihedron SQM-LU Operator’s Manual - 20170728...
Source of scrylic domes: www.globalplastics.ca/domes.htm 9.1.2 Cover calibration Since the meter is not weather-proof, it must be protected in some way from the elements. The Unihedron meter housing or a plastic dome is recommended. This will reduce the incoming light (approximately 15-20%).
The SQM-LU contains an FTDI USB interface module. The FTDI interface has not been altered from its default. There should be no reason to alter the FTDI chip settings. The baud rate is defined by the VCP driver side when a terminal program connects to the SQM-LU.
11 Firmware upgrade See the UDM “Firmware tab” section on page 34 for instructions on updating the firmware in the SQM-LU. 11.1 Details The SQM-LU contains a micro-controller that is equipped with a boot-loader mechanism which is enabled for a few seconds after reboot/reset.
A fluorescent light or green LED is used to simulate the spectrum that the meter would see during the night sky. A light meter is used to adjust the light reading to 13.5 fc at the place of the SQM-LU. The light calibration routine inside the SQM-LU expects to see this value.
Microsoft Edge has protections in place to hide file lists on remote drives. Solution Use the File Manager to navigate the CD to the Windows directory then install from there. Or, get the latest Windows version of UDM from the Unihedron website: unihedron.com/projects/darksky/cd/Windows/ Table 13.4: Driver not found...
Remove any other USB devices attached to the system to troubleshoot this problem. Try to reassign the SQM-LU to another COM port using the Windows Device Manager. For example, it the SQM-LU is assigned to COM1, then try to assign it to a free COM port number. Table 13.6: Recording stops...
7. Let this run for at least 1000 records and watch that are no “Records missed”. Table 13.8: Meter cannot be found by Windows operating system Problem The windows computer cannot identify the SQM-LU, and re-installing the FTDI device drivers does not help. Cause The Windows FTDI driver installation may be storing old attempts at installing drivers that should have been cleared out.
The Serial Number is printed on the bottom of the unit. The above will identify which COM port the SQM-LU has been assigned. If the SQM-LU is plugged in, the active COM port will show up in this list: HK LOCAL MACHINE...
This type of memory has a limited write/erase cycle as well as a lifetime for data retention. In the SQM-LU, the parameters in the micro-controller can be written 1 million times and last for 100 years.
Page 67
[4] Olof Carlin, Nils. About Bradley E. Schaefer, Telescopic limiting Magnitudes, Web page discussion of brightness in Schaefer (1990) and Clark (1994). http://w1.411.telia.com/ ~ u41105032/visual/Schaefer.htm(accessed7/ 2003) [5] NELM Converter, K. Fisher fisherka@csolutions.net Rev. 8/2006 http://unihedron.com/projects/darksky/ NELM2BCalc.html [6] Moon Phase Pascal code in UDM is from the public domain library: Moon.pas Copyright 1997-2001 Andreas H¨...
Need help?
Do you have a question about the SQM-LU and is the answer not in the manual?
Questions and answers