T1-2S 模组的ADC 通道是多少呢

Wi-Fi 设备、蜂窝设备、WuKongAI、开发板、TuyaOS 移植等


Post Reply
Jaoki
Posts: 90

目前使用的是T1-2S模组,SDK:T1-CHL_TuyaOS-3.11.35。使用tkl_adc.c 中的测试代码:tkl_adc_unit_test。 模块将ADC接地之后,读取的ADC电压还有3200mV。看T1-2S-NL的规格书显示,该模组的ADC-P1-Pin17. T1-U模组的ADC-P20-Pin13。这个ADC引脚对应的ADC通道号在哪里可以查到呢?


Tags:
Jaoki
Posts: 90

Re: T1-2S 模组的ADC 通道是多少呢

有大佬帮忙看下这个问题吗?模块也换过了,上电测试都是3200mV左右。ADC脚是接到GND的。

Code: Select all

[01-01 00:00:05 ty D][437b][netcfg_module.c:116] start 0x10020 ret:0
[01-01 00:00:05 ty D][437b][pegasus_netcfg.c:20] pegasus netcfg start
[01-01 00:00:05 ty D][437b][wifi_netcfg_frame_transporter.c:285] ----netcfgType:0x10080
[01-01 00:00:05 ty D][437b][wifi_netcfg_frame_sniffer.c:45] ----register netcfgType:0x10080
[01-01 00:00:05 ty D][437b][wifix_thread_cb: volt 3213
_netcfg_frame_sniffer.c:104] ----start netcfgType:0x10080
[01-01 00:00:05 ty D][437b][wifi_netcfg_frame_transporter.c:332] ----start netcfgType:0x10080
[01-01 00:00:05 ty D][437b][netcfg_module.c:116] start 0x10080 ret:0
x_thread_cb: volt 3211
x_thread_cb: volt 3195
x_thread_cb: volt 3210
[01-01 00:00:07 ty D][4306][app_led.c:87] network_is_connected: 0
x_thread_cb: volt 3130
x_thread_cb: volt 3211
x_thread_cb: volt 3204
x_thread_cb: volt 3215
[01-01 00:00:09 ty D][4306][app_led.c:87] network_is_connected: 0
x_thread_cb: volt 3210
x_thread_cb: volt 3212
x_thread_cb: volt 3206
x_thread_cb: volt 3215
[01-01 00:00:11 ty D][4306][app_led.c:87] network_is_connected: 0
x_thread_cb: volt 3213
x_thread_cb: volt 3214
adc ddev_open error:1
x_thread_cb: volt 3214
mm_reset MM_GOING_TO_IDLE->MM_IDLE
x_thread_cb: volt 3216
[01-01 00:00:13 ty D][4306][app_led.c:87] network_is_connected: 0
x_thread_cb: volt 3214
cal_bias!
cal dpll!
temp_code:-39 - adc_code:399 - adc_trend:[15]:243->[5]:343
x_thread_cb: volt 3154
x_thread_cb: volt 3217
cal_bias!
cal dpll!
temp_code:37 - adc_code:236 - adc_trend:[5]:343->[15]:243
x_thread_cb: volt 3209
[01-01 00:00:15 ty D][4369][tuya_devos_health.c:71] feed watchdog
[01-01 00:00:15 ty D][4306][app_led.c:87] network_is_connected: 0
x_thread_cb: volt 3213
x_thread_cb: volt 3213
x_thread_cb: volt 3213
temp_code:38 - adc_code:235 - adc_trend:[15]:243->[16]:233
x_thread_cb: volt 3213
[01-01 00:00:17 ty D][4306][app_led.c:87] network_is_connected: 0
x_thread_cb: volt 3215
x_thread_cb: volt 3213
x_thread_cb: volt 3216
x_thread_cb: volt 3213
[01-01 00:00:19 ty D][4306][app_led.c:87] network_is_connected: 0
x_thread_cb: volt 3209
x_thread_cb: volt 3215
x_thread_cb: volt 3214
x_thread_cb: volt 3213
[01-01 00:00:21 ty D][4306][app_led.c:87] network_is_connected: 0
x_thread_cb: volt 3214
x_thread_cb: volt 3215
x_thread_cb: volt 3216
x_thread_cb: volt 3209
[01-01 00:00:23 ty D][4306][app_led.c:87] network_is_connected: 0
x_thread_cb: volt 3215
x_thread_cb: volt 3215
x_thread_cb: volt 3213
x_thread_cb: volt 3215
[01-01 00:00:25 ty D][4306][app_led.c:87] network_is_connected: 0
x_thread_cb: volt 3213
x_thread_cb: volt 3210
x_thread_cb: volt 3213
x_thread_cb: volt 3215
[01-01 00:00:27 ty D][4306][app_led.c:87] network_is_connected: 0
x_thread_cb: volt 3211
x_thread_cb: volt 3210
x_thread_cb: volt 3213
x_thread_cb: volt 3213
[01-01 00:00:29 ty D][4306][app_led.c:87] network_is_connected: 0
x_thread_cb: volt 3213
x_thread_cb: volt 3216
x_thread_cb: volt 3215
Post Reply