- Python code for the two-room testbed. Don't need to open up instacal.
- Got the base code to use the MCC DAQ from their website
- If you want to run the file, make sure to change the filename to your path on line 114
- First, make sure all connections are plugged in for the DAQ, Raspberry Pi, Kasa Smart Plugs/Camera, and the Arduino.
- Open up Visual Studio and open up the file called “TC Temperature Reader”.
- Turn on the Wi-Fi connection to the network called “HVAC Lab”, if not turned on, the code will run an error.
- Turn on the DAQ system, if it is not turned on, the code will run an error as well.
- Turn on the power supplies.
- From this point, click the “Output” button on the power supplies to allow the voltage and current to run.
- The code can now be ran and will run for 60 hours, the data will be saved to your specific file path written in the code.
- While the test runs for 60 hours, to be able to step away from the experiment, click on OBS and start streaming. Note: A Twitch account is needed for this step. IF you don’t have Twitch, YouTube can be used as well, however, a one day waiting period is needed to set-up the account.
- After, the 60 hour test is completed. Switch off the power supplies, Arduino, Smart Plugs/Camera, and Raspberry Pi.
- The data will be saved to the direct path you created in the code.