Testing was done on Windows 11 and Manjaro Linux(Vulcan 23.1.3)
- Install the Arduino IDE https://www.arduino.cc/en/software
- My Version is 2.2.1
- On an Arduino Uno connect pin 7 to the output(middle) pin of the DHT22 sensor then connect the 5 volt power pin to the positive(left) pin and the GND pin to the negative(right) pin.
- Connect the board to your computer using a USB cable
- Then in the IDE open the file in this directory arduino/SensorTest called SensorTest.ino
- Verify that the IDE is pointing to the connected board in the dropdown menu in the top left
- Click the arrow going to the right to upload the file to the board
- Missing Library
- Linux device permission denied
- Add the current user to either the dialout or uucp group depending on your distrobution and restart
- After that is finished you can open Serial Monitor which is located in the top right to see the output from the board.
- Install Golang on your system
- https://go.dev/dl/
- My Go version is go1.21.6 windows/amd64
- Inside of a terminal navigate to the web directory and run the command 'go run main.go'
- This will start the web server on local host port 8000
- Use Control + C to stop the process(Or Command + Shift + C on mac)