- Arduino UNO
- w5100 Ethernet shield
- 2 x DS18B20 temperature sensor
- Screw shield
- 4 channel relay board
- Dupont wire jumpers male-female, female-female
- and(or) Sensor shield (for easier connecting and following instructions)
Required hardware without connected DS18B20 temperature sensors.
DOWNLOAD LINUX UBUNTU(17.04 , 32bit)
Entire project does not require soldering, all connections are made with wires and shields.
Arduino Control Center zipped file, unpack and run the application, portable no installation.
Configure Arduino Uno with Ethernet shield for use:- Select Arduino board type
- Select firmware for Arduino board type
- Select communication serial port
- Upload Arduino compiled sketches (firmwares) with built in uploader, no Arduino IDE required
- Test uploaded firmware, read messages
- Generate Arduino ID number, required
- Find your PC IP address, required for network shield setup
- Set Arduino PC IP address, has to be within your LAN (local network) range. DHCP for Arduino UNO is disabled!
- Generate Arduino MAC address, required! Must be unique in LAN!
- Set UDP (Arduino server) IP address - this is YOUR PC IP address in this example!
- Upload ID and network configuration
- View Arduino board configuration
- Finish Arduino configuration and add device to the ACC system
- Click on checkbox in the list in order to open serial communication
- VOILA! You are ready to configure Inputs and Outputs!
- Double click on pin list (or right click-Configure pin) and add DS18B20 sensor (2 times, pin D6 and D7
- Double click on pin list (or right click-Configure pin) and add relays (4 times, pins A0-A3, see image)
- Right click on relay and set the triggering rule for thermostat
- Triggering rule preview
- If you relay board (like in this example) trigger relay with LOW, you can INVERT output in order to show real relay status
Required hardware with connected DS18B20 temperature sensors and relay board:
- Relay board: A0-A3, analog pins will be set as digital outputs when you set pin as DIGITAL
- DS18B20 data pin(DQ): First D6, second D7
VCC and GND for sensors connect to sensor shield V and G contacts (if you use sensor shield, or depends of what kind of hardware you use).
Setup and start HTTP and UDP servers:- Open servers page
- Set UDP and HTTP port( default 8082 and 80)
- Start servers
- If setup is ok you should see your Arduino IP address
- If you relay board (like in this example) trigger relay with LOW, you can INVERT output in order to show real relay status.
- Right click on output(relay) and click on "Rule editor" menu item
- Create rule with available DS18b20 sensors
- Rule mark on output(relay) image
- Login to web page
- Web preview for created configuration
- Toogle relays over network. If Arduino device has serial and network connection, serial connection has higher priority
Comments