homeAutomation

Timer based high voltage controller

Components

Live video

How to use

Compile and upload

Check your arduino port with arduino-cli board list and replace /dev/cu.usbmodem144101 with your port

arduino-cli board list
# or
ls -l /dev/*.* | grep usb
arduino-cli compile --profile mega
arduino-cli upload --port /dev/cu.usbmodem144101 --profile mega
arduino-cli compile --profile uno
arduino-cli upload --port /dev/cu.usbmodem144101 --profile uno

NOTE: All dependencies are installed automatically

Manual step by step

Compile

Prerequisites:

NOTE: The board can be changed to any other board that is supported by the arduino-cli

arduino-cli compile -b arduino:avr:mega high-voltage-timer.ino

Upload

arduino-cli upload -p /dev/cu.usbmodem144101 -b arduino:avr:mega high-voltage-timer.ino

NOTE: The port can be changed to the port that the arduino is connected to (/dev/cu.usbmodem144101 is the port for my arduino)