+Capt. Obvious Posted February 14, 2013 Author Share Posted February 14, 2013 I just ordered a bunch of proto type board, smaller pieces PM me if you want some. We will need this(or at least make it easier) for the base to put the relays on. I'd love some, since I am on a very tight schedule this week, I will be going pre-fab with an 8 channel relay board for the tutorial as well as throwing in a little freebie tutorial on my pico build later tonight Link to comment Share on other sites More sharing options...
+olaggie01 Posted February 14, 2013 Share Posted February 14, 2013 Cool. I'll order the due then. Link to comment Share on other sites More sharing options...
dshel1217 Posted February 14, 2013 Share Posted February 14, 2013 I just ordered a bunch of proto type board, smaller pieces PM me if you want some. We will need this(or at least make it easier) for the base to put the relays on. I'd love some, since I am on a very tight schedule this week, I will be going pre-fab with an 8 channel relay board for the tutorial as well as throwing in a little freebie tutorial on my pico build later tonight Sure thing I'll hit you up when they come in Link to comment Share on other sites More sharing options...
+olaggie01 Posted February 14, 2013 Share Posted February 14, 2013 Can you repost the first episode? I can't seem to view it Link to comment Share on other sites More sharing options...
+olaggie01 Posted February 14, 2013 Share Posted February 14, 2013 Is this the right rtc? http://www.ebay.com/itm/DALLAS-SEMICONDUCTOR-DS1307Z-64-X-8-SERIAL-REAL-TIME-CLOCK-61852-/190612084399?pt=LH_DefaultDomain_0&hash=item2c615d96af Waterproof temp probe http://www.ebay.com/itm/Waterproof-Digital-Thermal-Probe-or-Sensor-DS18B20-Length-1M-/170821333658?pt=LH_DefaultDomain_0&hash=item27c5beb29a And temp probe http://www.ebay.com/itm/DS18B20-Digital-Temperature-Sensor-TO92-DS18S20-DS1820-/150560391947?pt=LH_DefaultDomain_2&hash=item230e19430b Link to comment Share on other sites More sharing options...
dshel1217 Posted February 14, 2013 Share Posted February 14, 2013 you probly want a waterproof one. This is the one I got One Meter Waterproof Digital Temperature DS18B20 Link to comment Share on other sites More sharing options...
+Capt. Obvious Posted February 14, 2013 Author Share Posted February 14, 2013 Is this the right rtc? http://www.ebay.com/itm/DALLAS-SEMICONDUCTOR-DS1307Z-64-X-8-SERIAL-REAL-TIME-CLOCK-61852-/190612084399?pt=LH_DefaultDomain_0&hash=item2c615d96af Waterproof temp probe http://www.ebay.com/itm/Waterproof-Digital-Thermal-Probe-or-Sensor-DS18B20-Length-1M-/170821333658?pt=LH_DefaultDomain_0&hash=item27c5beb29a And temp probe http://www.ebay.com/itm/DS18B20-Digital-Temperature-Sensor-TO92-DS18S20-DS1820-/150560391947?pt=LH_DefaultDomain_2&hash=item230e19430b Both temp probes are correct, the rtc is not Link to comment Share on other sites More sharing options...
+olaggie01 Posted February 14, 2013 Share Posted February 14, 2013 Thanks. I wasn't too sure about the rtc. I'll look again Link to comment Share on other sites More sharing options...
+Capt. Obvious Posted February 14, 2013 Author Share Posted February 14, 2013 You want a pre-fab rtc (should have a button cell battery on it...see my pico build parts list) Link to comment Share on other sites More sharing options...
+Capt. Obvious Posted February 14, 2013 Author Share Posted February 14, 2013 Was able to cram in a tutorial before I hit the road...pardon my fumbling around in the middle, I eventually get it right... This is what happens when I rush things (this is why we can't have nice things) Link to comment Share on other sites More sharing options...
+olaggie01 Posted February 14, 2013 Share Posted February 14, 2013 Is this the right rtc? http://www.ebay.com/itm/DALLAS-SEMICONDUCTOR-DS1307Z-64-X-8-SERIAL-REAL-TIME-CLOCK-61852-/190612084399?pt=LH_DefaultDomain_0&hash=item2c615d96af Waterproof temp probe http://www.ebay.com/itm/Waterproof-Digital-Thermal-Probe-or-Sensor-DS18B20-Length-1M-/170821333658?pt=LH_DefaultDomain_0&hash=item27c5beb29a And temp probe http://www.ebay.com/itm/DS18B20-Digital-Temperature-Sensor-TO92-DS18S20-DS1820-/150560391947?pt=LH_DefaultDomain_2&hash=item230e19430b Both temp probes are correct, the rtc is not Will this one work? http://www.ebay.com/itm/1x-Real-Time-Clock-RTC-for-Arduino-or-Raspberry-PI-with-Battery-Backup-w-DS-1302-/261168122086?pt=LH_DefaultDomain_0&hash=item3cced548e6 Link to comment Share on other sites More sharing options...
+Capt. Obvious Posted February 14, 2013 Author Share Posted February 14, 2013 You want a ds1307 ... Like these http://shop.mobileweb.ebay.com/searchresults?kw=Ds1307&cmd=SREF&fads=All&call=All&sort=BestMatch&mfs=GOCLK&acimp=0&isNewKw=true Link to comment Share on other sites More sharing options...
+olaggie01 Posted February 15, 2013 Share Posted February 15, 2013 You want a ds1307 ... Like these http://shop.mobileweb.ebay.com/searchresults?kw=Ds1307&cmd=SREF&fads=All&call=All&sort=BestMatch&mfs=GOCLK&acimp=0&isNewKw=true Thanks. Will this work for the relay board? http://www.amazon.com/SainSmart-8-Channel-Relay-Module-Arduino/dp/B0057OC5WK/ref=sr_1_fkmr0_1?ie=UTF8&qid=1360885631&sr=8-1-fkmr0&keywords=Opto-Isolated+8+Channel+Relay+Board I get my Due on Monday so I'll be starting to play around with it then. Hopefully I can get some additional components ordered as well. Link to comment Share on other sites More sharing options...
+Capt. Obvious Posted February 15, 2013 Author Share Posted February 15, 2013 Yup, same one I have Link to comment Share on other sites More sharing options...
chark Posted February 16, 2013 Share Posted February 16, 2013 I have a Due and using arduino 1.5 software. When it compiles the one_wire_address_finder there are errors. What do I do? Link to comment Share on other sites More sharing options...
+Capt. Obvious Posted February 16, 2013 Author Share Posted February 16, 2013 Did you extract the libraries properly (there should be 3 files (minimum) in each library file. Also, what is the error Link to comment Share on other sites More sharing options...
dshel1217 Posted February 18, 2013 Share Posted February 18, 2013 how do you wire the relays to the devices (ie heater). I was thinking that the relays would wire to the power strip/ outlet to switch the power on and off. Thanks Link to comment Share on other sites More sharing options...
+olaggie01 Posted February 18, 2013 Share Posted February 18, 2013 Got my Due in today. Breakout boards are coming along with my probes. Besides the resistors, anything else that I can get locally? LEDS for testing? Link to comment Share on other sites More sharing options...
+Jakedoza Posted February 18, 2013 Share Posted February 18, 2013 he he... you said probe... Link to comment Share on other sites More sharing options...
Stephen Posted March 9, 2013 Share Posted March 9, 2013 finally! Can you post your code? I cant read some of it clearly and I'm getting errors. Link to comment Share on other sites More sharing options...
+Capt. Obvious Posted March 9, 2013 Author Share Posted March 9, 2013 I'll post the code tonight, and a video on wiring outlets to the relay Link to comment Share on other sites More sharing options...
+Capt. Obvious Posted March 11, 2013 Author Share Posted March 11, 2013 #include <OneWire.h> #include <DallasTemperature.h> #define TEMP_BUS 3 //declares pin 3 as the onewire bus OneWire onewire(TEMP_BUS); DallasTemperature tsensor(&onewire); //tell dallastemp what bus to use DeviceAddress tank = {0x28, 0x70, 0x69, 0x33, 0x04, 0x00, 0x00, 0x3A}; //change this int highTempLED = 7; int lowTempLED = 8; int normTempLED = 9; void setup() { pinMode(highTempLED,OUTPUT); pinMode(lowTempLED,OUTPUT); pinMode(normTempLED,OUTPUT); Serial.begin(9600);//start usb serial communication tsensor.begin(); } void echoTemptoSerial(DeviceAddress deviceaddress){ float tempF = tsensor.getTempF(deviceaddress); if (tempF < -100.00) {Serial.println("sensor disconnected, please check");} else {Serial.print ("F: "); Serial.print(tempF);} } void loop() { Serial.print("getting temperature from probe...\n\r"); tsensor.requestTemperatures(); Serial.print("current tank temp is: "); echoTemptoSerial(tank); if (tsensor.getTempF(tank) < 78.00 & tsensor.getTempF(tank)>75.01) digitalWrite(normTempLED, HIGH); else digitalWrite(normTempLED, LOW); if (tsensor.getTempF(tank) > 78.00) digitalWrite(highTempLED,HIGH); else digitalWrite(highTempLED, LOW); if (tsensor.getTempF(tank) < 75.00) digitalWrite(lowTempLED,HIGH); else digitalWrite(lowTempLED, LOW); Serial.print("\n\r\n\r"); delay(3000); } Link to comment Share on other sites More sharing options...
+Jakedoza Posted March 17, 2013 Share Posted March 17, 2013 Got me a Uno.. I'll be jumping on the band wagon after I get my BML LEDs. Looking to use it to dim lights and what not. Maybe I'll see about setting it up to control my chiller and calcium reactor and some monitoring.. This will be a fun project. Link to comment Share on other sites More sharing options...
+olaggie01 Posted March 21, 2013 Share Posted March 21, 2013 I'm getting an error when I try and upload the one_wire_sketch. Here is the error. In file included from one_wire_address_finder.pde:7: /Users/mac_mini_office/Documents/Arduino/libraries/OneWire/OneWire.h:77: error: #error "Please define I/O register types here" /Users/mac_mini_office/Documents/Arduino/libraries/OneWire/OneWire.h:84: error: 'IO_REG_TYPE' does not name a type /Users/mac_mini_office/Documents/Arduino/libraries/OneWire/OneWire.h:85: error: ISO C++ forbids declaration of 'IO_REG_TYPE' with no type /Users/mac_mini_office/Documents/Arduino/libraries/OneWire/OneWire.h:85: error: expected ';' before '*' token Any ideas? Link to comment Share on other sites More sharing options...
+Jakedoza Posted March 21, 2013 Share Posted March 21, 2013 looks like you have an error.. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.