Search found 7 matches

by muammer
2024年 Aug 6日 18:17
Forum: MCU SDK Development
Topic: The BME280 data sending problem via TYWE3S
Replies: 11
Views: 2193

Re: The BME280 data sending problem via TYWE3S

Yes, I see bme280 data without sketch parts of Tuya on Arduino IDE. When I add the coding related Tuya to the sketch, the codes I see on the Serial Monitor turn into meaningless shapes. When I convert the codes consisting of these meaningless shapes via converter programs they are hexadecimal. I th...
by muammer
2024年 Aug 6日 18:11
Forum: MCU SDK Development
Topic: The BME280 data sending problem via TYWE3S
Replies: 11
Views: 2193

Re: The BME280 data sending problem via TYWE3S

I retyped some parts of code but it doesn't work again. #include <Wire.h> #include <TuyaWifi.h> TuyaWifi my_device; /* bme280 */ #define BME280_I2C_ADDR 0x76 /* Data point define */ #define DPID_PRESSURE_CURRENT 101 #define DPID_TEMPERATURE_CURRENT 102 #define DPID_HUMIDITY_CURRENT 103 #define DPID_...
by muammer
2024年 Aug 6日 18:07
Forum: MCU SDK Development
Topic: The BME280 data sending problem via TYWE3S
Replies: 11
Views: 2193

Re: The BME280 data sending problem via TYWE3S

yangjie 2024年 Aug 6日 17:56
muammer 2024年 Aug 6日 17:50

Or I don't know which is the correct '.h' bme280 library for Tuya.

What does startMeasurement do?

It's a start measurement cycle part of pocketBME280.h

by muammer
2024年 Aug 6日 17:50
Forum: MCU SDK Development
Topic: The BME280 data sending problem via TYWE3S
Replies: 11
Views: 2193

Re: The BME280 data sending problem via TYWE3S

Or I don't know which is the correct '.h' bme280 library for Tuya.

by muammer
2024年 Aug 6日 17:45
Forum: MCU SDK Development
Topic: The BME280 data sending problem via TYWE3S
Replies: 11
Views: 2193

Re: The BME280 data sending problem via TYWE3S

Yes, I see bme280 data without sketch parts of Tuya on Arduino IDE. When I add the coding related Tuya to the sketch, the codes I see on the Serial Monitor turn into meaningless shapes. When I convert the codes consisting of these meaningless shapes via converter programs they are hexadecimal. I thi...
by muammer
2024年 Aug 2日 18:33
Forum: MCU SDK Development
Topic: The BME280 data sending problem via TYWE3S
Replies: 11
Views: 2193

Re: The BME280 data sending problem via TYWE3S

There is same problem.. This is the program I typed. #include <Wire.h> #include <TuyaWifi.h> #include <pocketBME280.h> TuyaWifi my_device; pocketBME280 mySensor; #define BME280_I2C_ADDR 0x76 #define DPID_PRESSURE 101 #define DPID_TEMPERATURE 102 #define DPID_HUMIDITY 103 #define DPID_BATTERY 104 #de...
by muammer
2024年 Aug 1日 19:01
Forum: MCU SDK Development
Topic: The BME280 data sending problem via TYWE3S
Replies: 11
Views: 2193

The BME280 data sending problem via TYWE3S

Hello, I have BME280 I2C (0x76) + TYWE3S + Arduino Pro Mini. I created an UI on Tuya IOT according TYWE3S had PID. It's working and there is no debugging error. So there is a STH30 sketch on Arduino IDE Library. I tryed some config many times. My module is connecting my smart phone and I'm seeing ri...