Search found 176 matches

by yangjie
2024年 Feb 19日 11:46
Forum: TuyaOS-Networked Device Development
Topic: Readings not updating in Tuya app
Replies: 5
Views: 123

Re: Readings not updating in Tuya app

Open the product you want to develop:

PixPin_2024-02-19_11-38-40.png

click edit:

PixPin_2024-02-19_11-38-19.png

This means: -100.0 to 100.0.

by yangjie
2024年 Feb 19日 09:33
Forum: TuyaOS-Networked Device Development
Topic: Readings not updating in Tuya app
Replies: 5
Views: 123

Re: Readings not updating in Tuya app

You can only report when the report value has changed by calling the mcu_dp_update interface. You also need to ensure that the size of the data you report is within the range set on the tuya iot platform. You can print out the reported data and have a look at it.

by yangjie
2024年 Feb 7日 16:53
Forum: TuyaOS-Networked Device Development
Topic: Looking for someone for MCU SDK Porting
Replies: 7
Views: 213

Re: Looking for someone for MCU SDK Porting

So, should I be using the "start" from the "Examples" and then add the files (attached), to the same folder of the ino file and then upload it? Sorry, I am confused.. You don't need to use these files, the functionality of these files is already implemented in the arduino Tuya_W...
by yangjie
2024年 Feb 7日 16:08
Forum: TuyaOS-Networked Device Development
Topic: Looking for someone for MCU SDK Porting
Replies: 7
Views: 213

Re: Looking for someone for MCU SDK Porting

Thanks a lot.. I will check connecting the debugging assistant. Regarding the library, I downloaded the Tuya_WiFi_MCU_SDK and when I try to compile he code in Arduino IDE, I get below errors #error "Please call uart_receive_input(value) in the serial port receive interrupt. The serial port dat...
by yangjie
2024年 Feb 7日 15:50
Forum: TuyaOS-Networked Device Development
Topic: Looking for someone for MCU SDK Porting
Replies: 7
Views: 213

Re: Looking for someone for MCU SDK Porting

First of all, you need to ensure that Tuya WBR3 Module has burned generic firmware. If you can interact with Tuya module debugging assistant, it means that the firmware in the available module is generic firmware. Otherwise, universal docking cannot be used. About Tuya module debugging assistant: ht...
by yangjie
2024年 Feb 2日 18:06
Forum: TuyaOS-联网单品开发
Topic: BK7231N 延时问题
Replies: 9
Views: 216

Re: BK7231N 延时问题

建议使用下硬件定时器 0 或 1 硬件定时器0 用这个tuya_timer_init吗,这个我试过,一样存在延时误差 这个误差是多少。我看上面你其实调用了 *(volatile unsigned long *)(0x00802000 + 0x11 * 4) &= 0xFFFFFFFD; 只是将 fiq 中断给屏蔽了。然后使用 while(i--) 的方式进行延时的,但是这种延时方式可能会被其他硬件中断或调度给打断的,这种方式也不是很靠谱的。建议使用硬件定时器的来进行 io 反转功能,这种方案在 ms 级别要比 while(i--) 更准确稳定的。但 T34 是一款具有 WiFi 功能...
by yangjie
2024年 Feb 2日 17:28
Forum: TuyaOS-联网单品开发
Topic: BK7231N 延时问题
Replies: 9
Views: 216

Re: BK7231N 延时问题

建议使用下硬件定时器 0 或 1

by yangjie
2024年 Feb 1日 09:28
Forum: TuyaOS-联网单品开发
Topic: 7231N SDK开发 打开禁用的RX2
Replies: 3
Views: 310

Re: 7231N SDK开发 打开禁用的RX2

RX2 被用作了 RF 校准使用,上电 RX2 为低的时候会进入 RF 自动校准模式。进入校准模式后就不能当普通串口接收数据使用了吗 可以用做普通串口使用的,在 vendor/func/bk7011_cal/bk7231N_cal.c 文件中的 rwnx_cal_load_user_rfcali_mode() 函数内使用 RX2 读取 IO 高低电平之后就可正常使用该 GPIO 了。再次之前对这个 io 进行操作,会在执行到 rwnx_cal_load_user_rfcali_mode() 时将 RX2 脚初始化为 gpio 输入使用,导致在此之前的配置无用。所以需要在 RX2 读取 IO ...
by yangjie
2024年 Jan 30日 16:30
Forum: TuyaOS-联网单品开发
Topic: 【已解决】TuYAOS跑电量统计demo,读不到输入电压
Replies: 9
Views: 158

Re: 【求助】TuYAOS跑电量统计demo,读不到输入电压

demo有点问题: example_drv_ele_energy.c 需要进行以下修改: /** * @file example_drv_ele_energy.c * @author www.tuya.com * @brief example_drv_ele_energy module is used to * @version 0.1 * @date 2022-11-10 * * @copyright Copyright (c) tuya.inc 2022 * */ #include "tal_log.h" #include "tal_system.h"...