Difference between revisions of "DFM-17 Radiosonde"

From RECESSIM, A Reverse Engineering Community
Jump to navigation Jump to search
m (Provide clarification on swd power)
(Add modified board photo, edit serial protocol type.)
Line 66: Line 66:
  
  
The board will communicate with the official GRAWMET software using this approach. Reverse engineering of the port's protocol is underway, however it is believed to use a similar, if not the same protocol the DFM-09(prior generation) uses. A document partially covering this protocol can be found [https://github.com/nickoe/dfm09_hacking/blob/master/fingers-welt/fingers-welt.txt here]
+
The board will communicate with the official GRAWMET software using this approach. Reverse engineering of the port's protocol is underway, however it is believed to use a similar, if not the same protocol the [https://www.graw.de/products/radiosondes/ps-15/ PS-15] uses.
  
 +
== Hardware modifications ==
 +
[[File:Modified DFM-17 Radiosonde.jpg|thumb|332x332px|MrARM's modified DFM-17 with a SWD connector and a SMA antenna.]]
 +
The DFM-17 has solder pads for an SMA port and a SWD header.
 +
 +
An [https://adafru.it/4048 Adafruit Skinny SWD SMT] connector and a generic SMA connected was used in the photo.
 +
 +
 +
 +
 +
 +
 +
 +
<br />
 
==Developing and Programming the board==
 
==Developing and Programming the board==
 
[[File:DFM-17 SWD Port pinout.png|thumb|A very crude diagram showing the standard SWD pinout overlaid onto the DFM-17 board]]
 
[[File:DFM-17 SWD Port pinout.png|thumb|A very crude diagram showing the standard SWD pinout overlaid onto the DFM-17 board]]

Revision as of 01:54, 27 November 2021

The DFM-17 is a balloon-launched radiosonde manufactured by GRAW Radiosondes GmbH & Co. KG, and used for meteorological sounding.

The label side view of a DFM-17 Radiosonde


Overview

The DFM-17 radiosonde succeeds the DFM-09 radiosonde. Graw began a contract with NOAA in the US to provide radiosondes. As of Late 2021, several sites have made the transition as part of NOAA’s Operational Test and Evaluation (OT&E) program. 45 CONUS sites are expected to use these radiosondes in early 2022. [1]

Specs [2]

  • Weight: 63g
  • Size: 90 x 67 x 44 mm
  • Power supply: 2 CR123A batteries
  • Estimated runtime: ~240 minutes
  • Transmission rate: 1 packet/sec
  • Bandwidth: ~10 kHz (Website lists <12)
  • Frequency range: 400 - 405.99 MHz
  • Modulation: GFSK
  • TX Power: ~100mW
  • Error Correction: Code-spreading, interleaving
  • SoC: STM32F100R8T6B, 24MHz, 8KB RAM, 64KB Flash
  • GPS: Ublox MAX-M8C-0-10
  • Transmitter: Si4063


Photos

Disassembly


  1. Examine rope, parachute and parachute rigging lines for viability. Neatly organize the flight rigging if usable. Discard if not viable for reuse.
  2. Cut the zip tie surrounding the Styrofoam from the top portion by the rope loop.
  3. Pull the rope loop out, there should be little to no resistance.
  4. Make a slice in the sticker[3] where the two pieces of Styrofoam meet.
  5. Pull apart the two Styrofoam pieces to reveal the circuit board.
  6. Pull the circuit board out. There will be some resistance.
  7. The board is now separated from the Styrofoam shell, reuse if desired.
  8. Pull the two CR123A batteries out, keep or discard them. The board can run off USB power. Batteries are not necessary for development on this board.

Reassembly

  1. Insert two fresh CR123A batteries into the board.
  2. Line up the board to the IO cutouts in the Styrofoam, begin to push into the slots. Make sure the antenna wire comes through.
  3. Press the top piece of Styrofoam into place.
  4. Tape or apply another sticker onto the back label. (Optional)
  5. Insert the plastic rope loop piece.
  6. zip tie the shell together, the zip tie end should end up on the edge nearest to the power button.
  7. Rope on a balloon/drone/kite/etc.. to the rope loop.
  8. Power on the device by pressing and holding the button, you will see a yellow light blink, hold until the light turns solid.

Mini USB Port

The mini USB port on the board does not use the USB protocol for communication, it is a UART bus. However using USB to power the board should not harm the board in theory.

In order to use it, splice a USB cable and wire up a USB<->TTL adapter with the following pins:

  • VBUS: 5 Volts DC
  • D-: TX
  • D+: RX
  • GND: GND


The board will communicate with the official GRAWMET software using this approach. Reverse engineering of the port's protocol is underway, however it is believed to use a similar, if not the same protocol the PS-15 uses.

Hardware modifications

MrARM's modified DFM-17 with a SWD connector and a SMA antenna.

The DFM-17 has solder pads for an SMA port and a SWD header.

An Adafruit Skinny SWD SMT connector and a generic SMA connected was used in the photo.





Developing and Programming the board

A very crude diagram showing the standard SWD pinout overlaid onto the DFM-17 board


When lab testing, you can power the board from the USB header. It also appears to run fine supplying 3.3V to the SWD port(STLink clones do this).


The board uses a STM32, and requires a ST-Link to program. The process used to upload code to the MCU is the same as the Vaisala RS41 radiosonde, you will need to solder and connect the VTRef(3.3V), Ground, SWDIO, SWDCLK and RST pins to your ST-Link.

The board can run without external power being supplied when programming. This board has read-out protection enabled similar to the RS41 and this must be disabled before you can flash firmware to the board.