Skip to main content

AMSKY01 Sensor Data Viewer - Real-time visualization of sensor data

Project description

AMSKY01: Sky Quality & Cloud Detection Sensor

AstroMeters Logo

AMSKY01 is a specialized sensor for astronomers and observatories. It combines two essential measurements in one device:

  • Sky Quality Meter (SQM) - measures sky brightness for light pollution assessment
  • Cloud Detector - uses thermal IR sky temperature measurement to detect cloud coverage

With both USB (CDC serial) and RS485 interfaces, AMSKY01 integrates easily into observatory automation systems, building management systems, or connects directly to computers for monitoring and data logging.

Product page: https://astrometers.eu/products/AMSKY01/
Documentation: https://astrometers.eu/docs/AMSKY01/

Key Features

  • Sky Quality Measurement (SQM) - Real-time readings in magnitudes per square arcsecond (mag/arcsec²) for objective sky brightness assessment
  • Cloud Coverage Detection - Thermal IR sky temperature sensor for fast and reliable cloud detection
  • Dual Interface - USB-C (CDC serial) and RS485 for flexible connectivity
  • Open Protocol - Documented protocol for custom integration and automation
  • Weatherproof Design - Rugged enclosure for permanent outdoor installations

Applications

  • Light pollution monitoring and sky quality documentation
  • Automated cloud detection for remote and robotic observatories
  • Integration into observatory automation and building management systems via RS485
  • Sky monitoring networks for astronomy research
  • Citizen science projects

Where to Get It

To purchase AMSKY01 or for more information, contact us at info@astrometers.eu

Communication Protocol

AMSKY01 outputs data via USB CDC serial at 115200 baud in CSV format. All data messages start with $ prefix. Lines starting with # are comments/debug messages for human readability and should be ignored by parsing software.

Startup Messages

# AMSKY01A
# Serial Number: <serial_number>
# FW Version: <version>
# Git Hash: <hash>
# Git Branch: <branch>
#
$HELLO,AMSKY01A,<serial_number>,<fw_version>,<git_hash>,<git_branch>

The $HELLO message contains structured device identification for automated parsing:

  • serial_number - Unique 16-character hex ID from RP2040 chip (e.g., E6614103E7452D2F)

Data Output (every 2 seconds)

Sky Quality (SQM) Data:

$light,<lux>,<full_raw>,<ir_raw>,<gain>,<integration_time>,<sqm>
  • lux - Normalized lux value (2 decimal places)
  • full_raw - Raw full spectrum sensor reading
  • ir_raw - Raw infrared sensor reading
  • gain - Current sensor gain setting
  • integration_time - Current integration time
  • sqm - Sky quality in mag/arcsec² (2 decimal places)

Cloud Detection Data:

$cloud,<tl>,<tr>,<bl>,<br>,<center>
  • tl, tr, bl, br - Corner temperatures in °C (top-left, top-right, bottom-left, bottom-right)
  • center - Center sky temperature in °C

Environmental Data:

$hygro,<temperature>,<humidity>,<dew_point>
  • temperature - Ambient temperature in °C
  • humidity - Relative humidity in %
  • dew_point - Dew point temperature in °C

Cloud Sensor Metadata:

$cloud_meta,<vdd>,<ta>
  • vdd - Sensor supply voltage
  • ta - Ambient temperature from thermal sensor

Serial Commands

Send commands via serial (115200 baud) to configure the device:

Thermal Map:

  • thrmap_on - Enable full 16×12 thermal map output
  • thrmap_off - Disable thermal map output

When enabled, device outputs:

$thrmap,<pixel0>,<pixel1>,...,<pixel191>

192 temperature values in °C (16×12 array)

Configuration:

Configuration is stored persistently in EEPROM and survives power cycles.

  • config_show - Display current configuration
  • config_save - Save current configuration to EEPROM
  • config_reset - Reset configuration to factory defaults

SQM Calibration:

  • set sqm_offset <value> - Set SQM calibration offset (default: 8.5265)
    • This value combines the standard mag zeropoint (12.58) and solid angle correction for the 10° FOV lens
    • Adjust this value to calibrate against a reference SQM meter
    • The calculation uses fixed Pogson's ratio (-2.5) from the magnitude scale

Alert Configuration:

The device has a hardware alert output (GPIO 27) that can trigger on cloud detection and/or light levels.

  • set alert_enabled <0|1> - Enable (1) or disable (0) alert output
  • set alert_cloud_temp <value> - Cloud temperature threshold in °C (default: -10.0)
  • set alert_cloud_below <0|1> - Alert when temp < threshold (1) or > threshold (0)
  • set alert_light_lux <value> - Light threshold in lux (default: 10.0)
  • set alert_light_above <0|1> - Alert when light > threshold (1) or < threshold (0)

Device Settings:

  • set device_label <text> - Set custom device label/location (max 31 chars)

Example Usage:

set alert_enabled 1
set alert_cloud_temp -15.0
set alert_cloud_below 1
config_save

This enables alerts when sky temperature drops below -15°C (indicating clouds).

Firmware

Pre-built firmware binaries are available:

Firmware files:

  • *.uf2 - For flashing via USB bootloader (drag & drop)
  • *.bin - Binary for advanced flashing methods
  • *.elf - Debug symbols

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

amsky01-1.0.1.dev20260104003813.tar.gz (30.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

amsky01-1.0.1.dev20260104003813-py3-none-any.whl (31.5 kB view details)

Uploaded Python 3

File details

Details for the file amsky01-1.0.1.dev20260104003813.tar.gz.

File metadata

File hashes

Hashes for amsky01-1.0.1.dev20260104003813.tar.gz
Algorithm Hash digest
SHA256 be43722d87fa5412c693b33cd9e91b6c699faa1708f4e7728171585c83bedf1d
MD5 e442965b6df2f080566f4ea9223d6dc8
BLAKE2b-256 b3a76d4020b644d559fd5c16d775e1f0e098130bd804ca516c11ccd50fb6147b

See more details on using hashes here.

Provenance

The following attestation bundles were made for amsky01-1.0.1.dev20260104003813.tar.gz:

Publisher: publish-dev-to-testpypi.yml on roman-dvorak/AMSKY01

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file amsky01-1.0.1.dev20260104003813-py3-none-any.whl.

File metadata

File hashes

Hashes for amsky01-1.0.1.dev20260104003813-py3-none-any.whl
Algorithm Hash digest
SHA256 3336e925bf5e9b0c18e2f729c5b7d20481895cff6060d9ea85a7405807083c95
MD5 534eef7a4f039b9316ed2eff8326dad2
BLAKE2b-256 df0527682c9ce5a590640854748b7c0f8277b9af30c230be545e7d98f38bbe89

See more details on using hashes here.

Provenance

The following attestation bundles were made for amsky01-1.0.1.dev20260104003813-py3-none-any.whl:

Publisher: publish-dev-to-testpypi.yml on roman-dvorak/AMSKY01

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page