1. Arduino nano+Tuya wb3s module implements Tuya smart temperature and humidity meter, and integrates OLED to display temperature and humidity.
2. I have the nrf24l01 module on hand. If I add nrf24l01, I can change it to a 2.4G spectrum analyzer.
3. The wb3s module has the same size as the esp8266-1 module, so an esp8266-1 pin header is defined.
2010-02-20
(1) Since the Tuya module also uses serial port communication, the arduino upload program needs to be pulled out from the baseboard.
(2) At first, the rest pin of SHT30 was not connected directly to the ground, causing the temperature and humidity reading to fail. Fortunately, the circuit board can be cut off. Shorting the rest pin to 3.3V can still work normally. Normally, a 10K resistor needs to be connected to 3.3v. The circuit has been updated correctly
https://github.com/ControlEverythingCommunity/SHT30/tree/master/Arduino This is the code of sht30. Directly compiling the serial port can input temperature and humidity normally.
Next, let’s debug the oled and Tuya modules.
(3) I wanted to debug the software during the Chinese New Year, but it turned out that the domestic arduino nano could not be programmed after several times of programming. There was no way to use Uno to re-program the bootloader of the nano during the holidays and revive it.
(4) At present, the code for sht30 and oled display has been copied and pasted (it is difficult to write the code, the original copyright is still there, I do not retain any copyright, you can use it if it suits you, the code file sht30_oled.ino)
Tuya Unicom doesn't have time to do it right now, it's too busy with work. There is no way to catch up on the Tuya homework. I will continue to complete it when I have time. Thank you Tuya for the coupons and Lichuang for the coupons.
(5) Follow-up updates are continuing. .
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