Changes

Jump to navigation Jump to search
Add info from gx1400's data_dfm_RE repo, clean up formatting, add new graphics and new repo for T/H measurement
*Bandwidth: ~10 kHz (Website lists <12)
*Frequency range: 400 - 405.99 MHz
*Modulation: GFSK@ 1250 bits/s
*TX Power: ~100mW
*Error Correction: Code-spreading, interleaving
*GPS: U-Blox MAX-M8C-0-10
*Transmitter: Si4063
*Optional:
**XDATA interface (24 bytes/s)
**NFC ground check
**Barometric pressure sensor.
==Peripheral attachment points==
*LED_R = PB12
====uBlox GPS (USART_2)- U11====
*PA3(RX) = GPS TXD (Pin 2)
*PA2(TX) = GPS RXD (Pin 3)
*PB8 = GPS 1pps (Pin 4) (LED next to flex cable connector)
*PC14 = RESET
====UART via USB Port (USART_1)====
*PA9(TX) = USB D+
*PA10(RX) = USB D-
*PC2 = GND/VBus Pin?
====Si4063 (SPI_1)- U10====
*PB2 = CS/nSEL (Pin 15)
*PA4 = GPIO3 (Pin 20)
'''NFC/RFID 4k EEPROM''' ====XDATA Header (2x2 pin unpopulated)====
*PC13 PB11 = RF WIP/Busy (Pin 7)3*PB6 PB10 = SCL (Pin 2**Pads need solder bridge or 0 ohm links. Pin 1 or 4 can be bridged to act as GND. I suspect the SOT23-6)footprint is populated when xdata is in use. Unknown where the xdata perhipheral would get VCC.*PB7 (''needs confirmed<gallery>File:Xdata_pinout_dfm17.jpg|alt=xdata interface pinout|XDATA interface pinout, signal routes under STM)'' numbered for clarity. Not official.</gallery> ==IC Attachment Points== SDA (Pin 5)
'''===STG719 (DPST) - U2'''===
*PC11 = IN (Pin 1)
'''===STG719 (DPST) - U3'''===
*PD2 = IN (Pin 1)
'''===STG719 (DPST) - U4'''===
*PB5 = IN (Pin 1)
'''===STG719 (DPST) - U5'''===
*PB4= IN (Pin 1)
'''===DG636 (Dual DPST) - U6'''===
*VDD = ENABLE (always HIGH) (Pin 2)
*PA10 PA11, PB0, PA1 = A0 (Pin 1)*''UnknownPin#1'' (routes under STM) PC10 = A1 (Pin 14)
'''===STG719 (DPST) - U7'''===
*''UnknownPin#1'' PC10 (routes under STM) = IN (Pin 1)
'''===SN74LV4053 (Triple 2Ch Mux/Demux) - U8'''===
*PB13 & PB14 = A (Pin 11)
**STM pins connected by trace? ''Why? Read back?''
*''UnknownPin#1'' (routes under STM) PC10 = B (Pin 10) & C (Pin 9)
**IC pins connected by trace
'''===LMV761 (Comparator) - U9===*PA12 & PB15 = OUT (Pin 4 via cap) ===Analog Inputs to STM2'''STM32=== *PA0 - Vbatt/Power supply voltage (needs confirmation, V measured at pin is VCC)*PB1 - Vbatt/Power supply current monitor (needs confirmation, V measured at pin seems to match 1V = 1A)
*PA0 - Vbatt/Power supply voltage (''needs confirmation)''*PB1 - Vbatt/Power supply current monitor (''needs confirmation)''===Battery Management IC===
'''Battery Management IC'''*PC0 - Hold high to prevent BMS from removing battery power after boot up
*===NFC/RFID 4k EEPROM - U12===
*PC13 = RF WIP/Busy (Pin 7)*PB6 = SCL (Pin 6)*PB7 = SDA (Pin 5)*PC0 - Hold high connected to prevent BMS from removing battery power after boot upPin 1 (Vout)** NFC antenna pads are below left side 3 pins of uBlox module
<br />
|4BEB 8150
|[https://www.st.com/resource/en/datasheet/m24lr04e-r.pdf STMicroelectronics]
|''Needs verification. DFM-17 does not boot when removed; I suspect the Stores configuration of serial ports, sonde serial(?), calibration, and calibration is stored in the EEPROM here - Trevor229measurement sequences''
|-
|U13
|-
|U16
|???|???|???|???
|AL
W24___
|
|''In-line with battery power, need more information; chip marking''
|-
|U17
|???|???|???|???|???|???
|''Connected to USB data lines, likely a UART, isolation, and/or level shifter''
|}
* Do note these reference designators are not official and are here for us to keep track. The PCB has no markings.
<br />
 
==Photos==
<gallery>
File:V719 and others removed.jpg|V719 SOT-23-6 packages removed as well as 636EE (SPDT Switch) and LW053A (Mux/Demuxer)
File:Stalk pinout mapping.png|Mapping of the pins on the sensor stalk to the connector and their corresponding IC/IO lines. '''''<u>Top of sensor stalk corresponds to bottom of pictured connector!</u>'''''
File:Dfm back pcb no batteryDfm17_barepcb_back_traces.jpg|Back of the DFM Bare PCB without CR123A battery holdersmajor ICs on it and rear traces colored in purple. Any other via goes directly to main groundplane.
</gallery>
 
==Disassembly==
==Hardware modifications==
====SMA Port to replace antenna & SWD header:====The DFM-17 DFM17 antenna section has solder pads sized for an SMA port and a connector (likely leftover from development). Any board edge mount conector should work. ====SWD Header====To program the DFM, you will need to connect to the SWD header. An If you want to do it properly, an [https://adafru.it/4048 Adafruit Skinny SWD SMT] connector will fit. You can also 3D print [https://www.printables.com/model/594752-dfm17-swd-programming-jig-clip-thing this model] by trickv to clamp the connector to the pads for a solderless approach. I suggest also ordering [https://www.adafruit.com/product/1675 this ribbon cable] and a generic SMA connected was used in the photo[https://www.adafruit.com/product/2743 this breakout] to be able to attach to your STLink much easier.
Do note that if you wish to put the PCB back in the styrofoam housing, you will need to slice away some of the inside to allow the connector to fit. Approximately 40mm or so. You will need to do this if you attach pin headers for xdata as well. ====Minimizing transmit range:====As amateurs we are not licensed to transmit in the 400-406MHz band, so for testing purposes one should perform this mod. Unsolder If you have an appropriate SMA connector, solder it in place of the antenna wire and connect a 50 ohm dummy load to it (reminder that the power is approx 100mW). If no connector is available, unsolder the antenna wire and take two 100 ohm resistors and twist them in parallel, then solder them to the center pad and one of the side pads on the SMA footprint. This creates a 50 ohm dummy load for the Si4036 to transmit into. The range is reduced to a couple tens of feet.  <u>'''Also if you are running a radiosonde_auto_rx instance, don't forget to turn it off during testing to avoid feeding erroneous data to Sondehub!'''</u><gallery>
File:Modified DFM-17 Radiosonde.jpg|MrARM's modified DFM-17 with a SWD connector and an SMA antenna port
File:Dfm 17 swd and resistors.jpg|Trevor229's DFM with ST-Link SWD pins connected to debug interface and 50 ohm dummy load mod.
</gallery>
==Developing for and Programming the board==[[File:DFM-17 SWD Port pinoutDfm17_swd_pinout_pretty.pngjpg|thumb|A very crude diagram showing Pinout of the standard SWD pinout overlaid onto the DFM-17 boardPort]]
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 and 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. You can also try using a [https://www.printables.com/model/594752-dfm17-swd-programming-jig-clip-thing 3d printed jig] to hold a connector on the board for solderless programming.
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.
The most mature looking effort is [https://github.com/mikaelnousiainen/RS41ng RS41ng] which has experimental support.
 
There is now a repository that uses code from RS41ng to run the sampling circuitry and read from the original temperature and humidity sensors [https://github.com/robots/radiosonde_dfm17 here.]
<references />

Navigation menu