Arduino Component Restarter With Temp Output Using Cayenne

This could be used to turn anything off for 10seconds and then back on automatically. As for the temp sensor the DS18B20 temp sensor is really cheap so you could use it to measure ambient temperature or make sure something in your network closet does not overheat.
ORIGINAL POST
By MakrToolbox
components
Hardware Components
Arduino UNO
X 1
Relay
X 1
Arduino 5100 Ethernet Shield
X 1
DS18B20 Temp Sensor
X 1
4.7k Resistor
X 1
Uno power supply
X 1
Software Apps and online services
Arduino IDE
Cayenne
details

2.jpg

Step 1: Gathering Your Materials

Gathering Your Materials
  1. Arduino UNO –Amazon $10 OR EBAY ABOUT $5
  2. Relay- I used This one because i had it and it has outlets- Amazon has them for $20
  3. Arduino 5100 Ethernet Shield –Amazon $10
  4. DS18B20 Temp Sensor —Amazon 5 for $12!
  5. 4.7k Resistor x 1
  6. Uno power supply — any 5v to 9v power supply should work, or u can purchase a specially made arduino power supply.
  7. Arduino IDE
  8. Cayenne ——- Cayenne is a free service that allows easy Internet Of Things programming and monitoring. If you have never used it, it is very easy to start using with either a raspberry pi or arduino.

Step 2: Prepare the Hardware

Prepare the Hardware

  1. solder the 4.7k resistor between the data (yellow on mine) and the positive (red on mine). Leave enough of a lead on the end so we can solder it to the arduino(or you can breadboard it).
  2. Solder the temp sensor to the uno, red to 3.3v, black to ground, yellow to digital 3 (D3)
  3. Solder the relay leads to the uno, one lead to ground and one to digital pin 2 (D2). If you are using a different relay that requires dc voltage you will need to connect a lead to the 3.3v or the 5v depending on the relay. But the data pin is the same.
  4. Attach the network shield to the uno.
  5. Connect the completed uno to the computer by USB.
  6. Find your Port # for your arduino. We will need the port # to connect to it later. This is done by going to the device manager in windows (see pictures).

Step 3: The Cayenne Dashboard

The Cayenne Dashboard

Step 4: Add Your Arduino to Your Cayenne Dashboard (The Arduino IDE Part)

Add Your Arduino to Your Cayenne Dashboard (The Arduino IDE Part)

Step 5: Finish on Cayenne (Almost Done)

Finish on Cayenne           (Almost Done)

2.jpg

Step 1: Gathering Your Materials

Gathering Your Materials
  1. Arduino UNO –Amazon $10 OR EBAY ABOUT $5
  2. Relay- I used This one because i had it and it has outlets- Amazon has them for $20
  3. Arduino 5100 Ethernet Shield –Amazon $10
  4. DS18B20 Temp Sensor —Amazon 5 for $12!
  5. 4.7k Resistor x 1
  6. Uno power supply — any 5v to 9v power supply should work, or u can purchase a specially made arduino power supply.
  7. Arduino IDE
  8. Cayenne ——- Cayenne is a free service that allows easy Internet Of Things programming and monitoring. If you have never used it, it is very easy to start using with either a raspberry pi or arduino.

Step 2: Prepare the Hardware

Prepare the Hardware

  1. solder the 4.7k resistor between the data (yellow on mine) and the positive (red on mine). Leave enough of a lead on the end so we can solder it to the arduino(or you can breadboard it).
  2. Solder the temp sensor to the uno, red to 3.3v, black to ground, yellow to digital 3 (D3)
  3. Solder the relay leads to the uno, one lead to ground and one to digital pin 2 (D2). If you are using a different relay that requires dc voltage you will need to connect a lead to the 3.3v or the 5v depending on the relay. But the data pin is the same.
  4. Attach the network shield to the uno.
  5. Connect the completed uno to the computer by USB.
  6. Find your Port # for your arduino. We will need the port # to connect to it later. This is done by going to the device manager in windows (see pictures).

Step 3: The Cayenne Dashboard

The Cayenne Dashboard

Step 4: Add Your Arduino to Your Cayenne Dashboard (The Arduino IDE Part)

Add Your Arduino to Your Cayenne Dashboard (The Arduino IDE Part)

Step 5: Finish on Cayenne (Almost Done)

Finish on Cayenne           (Almost Done)

COMMENTS

Please Login to comment
  Subscribe  
Notify of