You will need to get hold of some hardware pieces and download a small software. The hardware:
For the software you will need to download the ykam24cmd software which provides the commands to interact with YKAMELEAN24 boards and the devices connected to it. This software can be downloaded from the product page or from the GitHub repository.
Let's take care of the software first. Download ykam24cmd from YKAMELEAN24 product page or the GitHub repository. If you intend to use a PC with Windows operating system consider the executable file available for download at the YKAMELEAN24 product page.
If using a PC with Linux run the build.sh and install.sh bash scripts on a terminal. Check the software documentation or the README file in the source code package for additional details on building and installing. Once this has been taken care you can start setting up the hardware. Connect the following:
And you are done setting things up. Now the fun part.
Open a terminal in Linux, or the command line (cmd) in Windows, type the following command and press Enter.
This command will print the temperature in Celsius degrees.
If you want it in Fahrenheit use the following command.
For humidity level use the following command.