From 7164193af971608b879a25af640e7a0f8818077a Mon Sep 17 00:00:00 2001 From: df8oe Date: Thu, 15 Jun 2017 14:33:32 +0200 Subject: [PATCH 1/4] beginning of reverse engineering of temperature and humidity sensors --- docs/infos_for_sensors.txt | 73 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 docs/infos_for_sensors.txt diff --git a/docs/infos_for_sensors.txt b/docs/infos_for_sensors.txt new file mode 100644 index 0000000..863ee67 --- /dev/null +++ b/docs/infos_for_sensors.txt @@ -0,0 +1,73 @@ +DF8OEs investigations about sensor access +------------------------------------------ + + + +Temperature and humidity sensor directly goes to STM. There is no interface +chip to handle them - all is done by software. + + + +Pinout of sensor boom: +---------------------- +1 - GND +2 - temperature sensor (1) +3 - GND +4 - +5 - GND +6 - +7 - GND +8 - +9 - +10 - GND +11 - +12 - GND +13 - temperature sensor (2) +14 - GND +15 - GND +16 - GND +17 - GND +18 - GND +19 - GND +20 - GND + +Counted from left to right if you position flexsensor in front of you, pins near +to you, sensor away from you, copper upside + + + +All connections leading to sensor boom do have corresponding test points on PCB: +-------------------------------------------------------------------------------- +Position PCB in front of you, flatconnector upside, sensor boom showing away from +you, TX antenna leading to you. I draw connector as a row of "+++". Testpoints are +small round copper isles (numbers correspond to sensor boom, G == GND, ? == unknown): + + + + + 11 + +++++++++++++++++++++++ + + G 4 + + + 8 6 2 + + + 13 ? 9 + + +Investigations about temperature sensor: +---------------------------------------- +Temperatrue sensor is resistance-based. If you insert a resistor between +pin2 and pin13 of flatconnector, the following telemetry is transmitted: + +330R --> -168° +560R --> -113° +820R --> -52° +1K --> -4.1° +1.5K --> 121° +2.2K --> 319° + + +2 be continued \ No newline at end of file From 1fbdc87354df12c2ced136986bad13ab7e22470b Mon Sep 17 00:00:00 2001 From: df8oe Date: Thu, 15 Jun 2017 14:51:12 +0200 Subject: [PATCH 2/4] next part of reverse engineering of temperature and humidity sensors --- docs/infos_for_sensors.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/infos_for_sensors.txt b/docs/infos_for_sensors.txt index 863ee67..5bfedce 100644 --- a/docs/infos_for_sensors.txt +++ b/docs/infos_for_sensors.txt @@ -13,16 +13,16 @@ Pinout of sensor boom: 1 - GND 2 - temperature sensor (1) 3 - GND -4 - +4 - humidity sensor1 (1) 5 - GND -6 - +6 - humidity sensor1 (2) 7 - GND -8 - -9 - +8 - heater humidity sensor +9 - heater humidity sensor 10 - GND -11 - +11 - humidity sensor2 (1) 12 - GND -13 - temperature sensor (2) +13 - temperature sensor (2) and humidity sensor2 (2) 14 - GND 15 - GND 16 - GND From 1224f01da67b607d15885ddf0f3878e1b6ba34a2 Mon Sep 17 00:00:00 2001 From: df8oe Date: Thu, 15 Jun 2017 19:16:27 +0200 Subject: [PATCH 3/4] and next part of reverse engineering of temperature and humidity sensors --- docs/infos_for_sensors.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/infos_for_sensors.txt b/docs/infos_for_sensors.txt index 5bfedce..c9822ff 100644 --- a/docs/infos_for_sensors.txt +++ b/docs/infos_for_sensors.txt @@ -70,4 +70,13 @@ pin2 and pin13 of flatconnector, the following telemetry is transmitted: 2.2K --> 319° +Pressure sensor module: +----------------------- + +This module is connected to SPI2 of STM. It uses SPI_NSS and only data output +from module - SPI output from STM is not connected to module. So I think it is +a kind of polling. + + + 2 be continued \ No newline at end of file From b0d7e0a5e2e05ea4d085b2f8c2bc963826156294 Mon Sep 17 00:00:00 2001 From: df8oe Date: Fri, 16 Jun 2017 08:56:55 +0200 Subject: [PATCH 4/4] corrected Readme, fixed typo --- README.md | 1 - docs/infos_for_sensors.txt | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 949ddd6..3cd7bd0 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,6 @@ make # Configuration All configs in ```config.h``` -Shift 450Hz * ```CALLSIGN``` RTTY callsign * ```APRS_CALLSIGN``` APRS callsign, 6 characters. If your callsign is shorter add spaces diff --git a/docs/infos_for_sensors.txt b/docs/infos_for_sensors.txt index c9822ff..db8d396 100644 --- a/docs/infos_for_sensors.txt +++ b/docs/infos_for_sensors.txt @@ -59,7 +59,7 @@ small round copper isles (numbers correspond to sensor boom, G == GND, ? == unkn Investigations about temperature sensor: ---------------------------------------- -Temperatrue sensor is resistance-based. If you insert a resistor between +Temperature sensor is resistance-based. If you insert a resistor between pin2 and pin13 of flatconnector, the following telemetry is transmitted: 330R --> -168°