A temperature and humidity sensor based on Tuya IOT platform
This project is developed using Tuya SDK, which enables you to quickly develop branded apps connecting and controlling smart scenarios of many devices. For more information, please check Tuya Developer Website.
feature design
##hardware design
STC8A8K64S4A12 is used as the MCU master control. The temperature and humidity sensor SHT30 and the display OLED communicate with the MCU through IIC. The Tuya module WBR3 interacts with the MCU through the serial port.
The problem found so far is that the MCU and Tuya module cannot communicate through hardware serial port 4. It is guessed that there is no external pull-up resistor, so communication can only be done through external serial port 1 via a jumper.
software design
The Vuforia engine is used for object recognition in Unity, and the temperature and humidity information is displayed in the form of AR. (But it's not finished yet)
The current implementation effect (only using Vuforia to identify and display an object, and the Tuya SDK has not yet been transplanted)
The following is a basic function test diagram, that is, after the module is connected to the Internet, the status value is checked through the mobile phone (I use Tuya’s public board, and the app I implemented has not been transplanted and tested yet)
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet