MeepNand Posted August 27, 2013 Author Share Posted August 27, 2013 I'm starting on the DS1037 now. Update in one hour. Quote Link to comment
MeepNand Posted August 28, 2013 Author Share Posted August 28, 2013 Good news! The DS1037 works as expected! I had to remove a pin header, the one over 20 and 21, but it works fine. I only had to change 4 lines of code. 1. Commented out the declaration of the DS1302 2. Added "#include <DS1307.h>" 3. Added in a declaration of DS1307 4. Commented out "rtc.writeProtect" line. Quote Link to comment
Reefed419 Posted August 28, 2013 Share Posted August 28, 2013 OK meep glad to hear that you have gotten it to work. Looks like I will have to order one now. Got a place to recommend I order from? Also I have no idea what any of that coding talk means 1 Quote Link to comment
MeepNand Posted August 28, 2013 Author Share Posted August 28, 2013 Ebay. That's where I get everything. Shipping takes some time, but you can check the box marked "location: US" and get it in a few days. I heard from a friend that sparkfun is having a 20% off sitewide sale, but I haven't been there in a while. Quote Link to comment
Zeadon Posted August 28, 2013 Share Posted August 28, 2013 whats the difference between ds1302 and ds1307? 1 Quote Link to comment
MeepNand Posted August 28, 2013 Author Share Posted August 28, 2013 whats the difference between ds1302 and ds1307? The DS1307 is more widely used, and has a two-wire interface. The wires MUST be connected to the SDA and SCL pins, though, so it is harder to use in tight spaces. However, most people have one due to their widespread usage. The DS1302 is not used often, but still has a couple libraries for it. It has a built-in battery charger that will charge the coin cell. This is not as useful as I thought; the battery can last 10 years or so on a full charge anyway. It has a three wire interface, but the three wires can be anywhere you want. Henning Karlson has libraries for both clocks. They use the same basic commands, so I only need to change a few lines to swap them out. I wish I had gone with the DS1307 from the start. The two-wire interface saves 3 more wires for pump control and heaters. 1 Quote Link to comment
Dmantz1 Posted August 28, 2013 Share Posted August 28, 2013 Meep I just saw a PCB on RC that houses 4 LDD's and a meanwell SWC05c-12 DC/DC converter for fans. 1 Quote Link to comment
MeepNand Posted August 28, 2013 Author Share Posted August 28, 2013 Meep I just saw a PCB on RC that houses 4 LDD's and a meanwell SWC05c-12 DC/DC converter for fans. As I told you before, I make my own drivers. Quote Link to comment
disaster999 Posted August 30, 2013 Share Posted August 30, 2013 looks like my light upgrade would be put on hold for another 2 months...my LEDs are still not here, click here if you want to know why http://www.nano-reef.com/topic/332421-people-are-aholes/ in other news, i tried plugging in my controller into a usb wall charger and my controller fired right up. 1 Quote Link to comment
MeepNand Posted August 30, 2013 Author Share Posted August 30, 2013 Great! Do you have a DS1307, or would you like to keep the DS1302? I will have both versions posted up in a week or two. Sory for the long wait, but I am looking for my other temperature probe and temperature screen. Quote Link to comment
disaster999 Posted August 30, 2013 Share Posted August 30, 2013 the DS1302 is working fine for me so I guess ill keep it. take your time with the code, i wont be using it anytime soon haha. 1 Quote Link to comment
Reefed419 Posted August 30, 2013 Share Posted August 30, 2013 Gonna take me a week to get my 1307, so in no super urgent need, but my wife bitches everyday that I spent all this money on new leds and controller and haven't gotten them up yet. I keep telling her another week and I will get them up. 1 Quote Link to comment
Reefed419 Posted August 30, 2013 Share Posted August 30, 2013 Hey guys got a question about the controller. When I power it on via the computer the time keep fine. I am wondering if i could solder my incoming 5v line to the bottom of the computer into plug. If I was to try this which spots should I solder too? Also do we know what kind of power the computer is running to the device? 1 Quote Link to comment
MeepNand Posted August 30, 2013 Author Share Posted August 30, 2013 The computer is just running regular 5v. I don't understand your question; are you asking if you could run an extension to the Arduino from the computer? You could, but that would eat up power. Quote Link to comment
Reefed419 Posted August 30, 2013 Share Posted August 30, 2013 Not I am talking about using the wall wart to power the Arduino, But instead of soldering to the normal jack I would solder it where the computer plugs into the Arduino. Just thinking out loud. Let me know if I need to explain it better... 1 Quote Link to comment
MeepNand Posted August 30, 2013 Author Share Posted August 30, 2013 Oh, I see. I think it would work, but in that case, just use a Wall-to-USB power supply instead (5v) and just use the USB cable to plug it in. Quote Link to comment
Zeadon Posted August 31, 2013 Share Posted August 31, 2013 is there a way of powering the temperature probe without using a separate power supply? 1 Quote Link to comment
MeepNand Posted August 31, 2013 Author Share Posted August 31, 2013 You can power it from the 5v output on the Arduino. Quote Link to comment
Horerczy Posted September 2, 2013 Share Posted September 2, 2013 http://www.amazon.com/dp/B006J4FZW4/ref=wl_it_dp_o_pC_nS_ttl?_encoding=UTF8&colid=F2HIGQ9GHCDQ&coliid=IG3NCBQ0H0YVJ Is this the time chip you speak of. there's a few others on amazon. or is it something more like this bugger http://www.amazon.com/SHANHAI-Tiny-RTC-DS1307-Shield/dp/B00A6J9010/ref=sr_1_6?ie=UTF8&qid=1378084085&sr=8-6&keywords=ds1307 1 Quote Link to comment
MeepNand Posted September 2, 2013 Author Share Posted September 2, 2013 http://www.amazon.com/dp/B006J4FZW4/ref=wl_it_dp_o_pC_nS_ttl?_encoding=UTF8&colid=F2HIGQ9GHCDQ&coliid=IG3NCBQ0H0YVJ Is this the time chip you speak of. there's a few others on amazon. or is it something more like this bugger http://www.amazon.com/SHANHAI-Tiny-RTC-DS1307-Shield/dp/B00A6J9010/ref=sr_1_6?ie=UTF8&qid=1378084085&sr=8-6&keywords=ds1307 Both will work. The basic layout of the DS1307 breakouts are pretty similar. Quote Link to comment
Horerczy Posted September 2, 2013 Share Posted September 2, 2013 K I'll get one sooner or later then. 1 Quote Link to comment
Zeadon Posted September 2, 2013 Share Posted September 2, 2013 http://www.amazon.com/dp/B006J4FZW4/ref=wl_it_dp_o_pC_nS_ttl?_encoding=UTF8&colid=F2HIGQ9GHCDQ&coliid=IG3NCBQ0H0YVJ Is this the time chip you speak of. there's a few others on amazon. or is it something more like this bugger http://www.amazon.com/SHANHAI-Tiny-RTC-DS1307-Shield/dp/B00A6J9010/ref=sr_1_6?ie=UTF8&qid=1378084085&sr=8-6&keywords=ds1307 those are quite expensive though, if your willing to wait for it why not get one from china/hong kong from ebay? much cheaper. here is the one i ordered: http://www.ebay.co.uk/itm/290964144275?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649 1 Quote Link to comment
Horerczy Posted September 2, 2013 Share Posted September 2, 2013 those are quite expensive though, if your willing to wait for it why not get one from china/hong kong from ebay? much cheaper. here is the one i ordered: http://www.ebay.co.uk/itm/290964144275?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649 i shop on Amazon a lot so i can usually cash in on free shipping. Certainly wouldn't buy the one with the pins. No need to spend $25 just because of a few right angle headers. 1 Quote Link to comment
Reefed419 Posted September 6, 2013 Share Posted September 6, 2013 Meep got my Ds1307 in today. Wondering how to connect it... in which pin on the arduino does the SCL, SDA pins on the ds1307 go to? Also what/where are the changes I need to make in the code to get this up and running. Looking forward to your answer 1 Quote Link to comment
MeepNand Posted September 6, 2013 Author Share Posted September 6, 2013 Oh, I'll update the code right now then. I wanted to see if I could get the second temperature probe in tomorrow, but that's fine. I'll just add it next time. Pump control, new display, and lighting stuff has been changed. It will merit a 2.0 heading. I'll upload it immediately. Wait about half an hour and I should have the bugs worked out. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.