Controlling Sensirion SHT75 sensors with EK-H4 kit

2 views (last 30 days)
Deo
Deo on 5 May 2017
Hi
My matlab version on my instrumental computer is 2015b. (But I also have another computer having Matlab 2016a version that I can test this issue. Both computers have Windows 7 Service pack 1.)
I have a difficulty to control Sensirion SHT75 RH sensors connecting to sensirion EK-H4 kit with Matlab.
Some people studied about controlling SHT75 (or other sister products) connecting to Arduino board with Matlab, such as https://www.mathworks.com/matlabcentral/fileexchange/44432-arduino-library-for-sensirion-sht1x-humidity-and-temperature-sensors?s_tid=srchtitle
With EK-H4 kit, manufacturer provided example C++ code and Labview files, but not matlab examples.
Here is link for EK-H4 kit: https://www.sensirion.com/en/environmental-sensors/humidity-sensors/evaluation-kit-ek-h4/
Here is link for C++ and labview examples (At the Evaluation kit EK-H4 section and at SHT7X section): https://www.sensirion.com/en/environmental-sensors/humidity-sensors/evaluation-kit-ek-h4/
For the C++ code, I tried to compile with miniGW compiler, but it did not work because I do not have AT89s53.h file for 80C51 microcontroller. I searched about this file and Keil compiler, but I could not understand. Also, people said this Keil compiler is not free, and free evaluation version of it has file size limitation upto 2kb, but the example code is 12 kb.
Because this manufacturer does not provide serial command (it connects with USB cable, but my computer recognize it as COM3 or COM4), I have a difficulty to use instrumental control box too.
"Sending command" section of SHT7X datasheet (manual) pdf file said 00101 is code for measuring RH, etc. But I do not know how to use this command through EK-H4 kit (which may have 80c51 microcontroller.)
Can you help me to solve this problem?
If you need additional information, please let me know.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!