Step 10: Soldering the Real-Time Clock

This step covers how to solder the oscillating crystal to the real time clock and how to wire the real time clock to the Arduino.  The data sheet for the DS1307 real-time clock can be found here.

First trim the legs down on the real-time clock so that they don't poke other parts of the watch.
Then solder the 32kHz crystal to X1 and X2

The SCL is soldered to A5 and SDA to A4 as shown in the soldering chart from the "Soldering Connections Diagram" step.  Then solder the power to Vcc and ground to ground.

At this point the Arduino Watch is fully functional for the basic functions, so power it up and test it out!  If the clock doesn't run try power cycling and/or use the reset button on the Arduino.  Sometimes it takes a couple cycles to the the real-time clock going.
<p>I cant access the video</p>
<p>The <br>super richest buy high-end swiss watch like 100K, 200K USD or more <br>will corporate with the frac appreciation very well . I believe Swiss <br>and UK watch makers will survive well as they are the no 1 around the <br>world and nobody can compete with their <br>talent/innovation/precision/delicacy in this field so far, not even <br>close. All the normal / poor quality watches are no longer made in <br>Swiss. They are made in China. In fact there is a option to bild your <br>own watch. The only thing which you have to do Is to buy the parts <br>which you need and also watch biuld kit. Here you can find more <br>information how to do that - <a href="http://www.vintagewatchmaker/" rel="nofollow">http://www.vintagewatchmaker</a><a href="http://www.vintagewatchmaker.com/" rel="nofollow">.</a></p>
<p>Can I just replace the trackball with 4 buttons (up, left, own, right)?</p>
<p>I was wondering, what could be a substitute for the OLED?</p>
<p>Maybe a Nokia 5110 display or you can buy a Monochrome OLED 128X128</p>
<p>How is the battery life?</p>
also what display (specifications)
I am planning on making a smartwatch similar to the same build but I need a board small enough to hold my OS. I also need a good frame. I think mines will resemble a pebble smart watch. any suggestions
I like your project alot, well done ! <br> <br>i have a question i wana ask u plz , im actually planning to do a human steps counter+ hearbeat montitor, do you think i can interface my project easily with this watch ?
and could i use this https://www.sparkfun.com/products/11114 instead of there other arduino. idk if there the same or not <br>
could i use this for the FTDI BAsicbreakout https://www.sparkfun.com/products/9873
would i be able to use Serial Miniature OLED Module - 1.5&quot; (&mu;OLED-128-G2-GFX) (https://www.sparkfun.com/products/11676) instead of the other screens? <br>and how would i be able to add back lights. <br> <br>i'm new to arduino so please help me. this might be my first project. thanks
freaking awesome!!!
Hello pros:) I am a beginner in the use of Arduino in projects like this. I am no engineer or something but could someone post a guide on how to incorporate programs in an Arduino chip (if that's what they call it) or something like a starter's introduction for Arduino projects? <br>Anyway this thing is nice, it suddenly sparked my interests in projects like these.
Can I buy one from you and how much would it cost?
I absolutely love this. I have a few nanos at home myself... can't wait to make my own! I just wish that OLED wasn't so expensive, but the end result is certainly worth it. Good work!
Ah crap, I broke my 4d 128x128 1.5&quot; the other day. It had a dead line so I tried to fix it by messing with the ribbon cable and I screwed it up even worse. I was on the 4D forum and apparently this is a common defect with the 1.5&quot; version. No problem cause I've got a replacement coming in the mail today (the smaller .96&quot; one). Good news is I got your software working with no problem, and even started on some mods for my application. I was wondering why you had the &quot;shut down&quot; option until I started reading up on the oled - apparently they don't like having power removed all willy-nilly. Oops. I'll be sure to remember that with my new one. Fun stuff, thanks again for the instructable! =)
I had a .96&quot; and broke it and then could only get the 1.5&quot; at the time as a replacement. Much of the software I wrote with the .96&quot; in mind so there are only a few variables to change to make it run on the smaller screen. Let me know if you have any question about getting it running and post pictures when you do!
I got the smaller screen in the mail Friday and had no problem getting your software to work.&nbsp; Of course there was a wrapping problem due to the reduced resolution but that was easily solved.&nbsp; I had a few more problems however and decided to go another direction with this.<br> <br> First one was that I'm not happy with the smaller size and resolution so I ordered yet another 4D screen, this time the 1.7&quot; version.<br> <br> The second problem is with the Arduino, and I kind of expected this.&nbsp; The 32k of memory just doesn't give me enough space for all the functionality I would like to add to my project, so I ordered a <a href="http://mbed.org/" rel="nofollow">mbed</a> as well (512k program space, 100mhz =) ).&nbsp; Not only did all the necessary libraries take up a ton of memory on the Arduino but also the annoyances of having limited serial and I2C.&nbsp; I plan on connecting at least one second serial device (probably an xBee) and that wouldn't be possible on an Arduino without having to rely on the buggy SoftwareSerial library.<br> <br> I did write a pretty cool cursor routine for the Arduino platform that will even work on graphic backgrounds (it snapshots the 8x8 section under the cursor before it draws the bitmap so it can erase it before moving) that seems to work well, however I wrote it stand-alone and haven't yet integrated it into your project.&nbsp; Let me know if you'd like that code and I'll post it.&nbsp; I think it would be a cool addition to the main menu.&nbsp; Also I'm using a configurable speed (pixels moved per trackball bit cycle) and increasing that to 2 or 3 seems to make the interface a lot smoother.&nbsp; I just hate having to scroll 4-5 times to move from corner to corner.<br> <br> I'll keep you updated... I have a ton of parts in the mail which should make for a busy weekend.<br>
Got some parts in today and made the band and prototype display bracket.&nbsp; It's still powered by an Arduino (my mbed is on backorder), but I did get one of these in the mail<br> <br> <a href="http://www.mouser.com/connectonenano/?utm_source=home&utm_medium=new+products&utm_campaign=185883736" rel="nofollow">http://www.mouser.com/connectonenano/?utm_source=home&amp;utm_medium=new+products&amp;utm_campaign=185883736</a><br> <br> It's starting to become obvious that space is going to be limited, so I may have to go 2 &quot;layers&quot;, under and over the band.&nbsp; We'll see.<br>
that is realy nice work you likely could make it a bit like a bracer insted so you can set the batery off to the side and save some room. i love the resolution on the screen hmmm i wonder if it could handle the android os.
Nice job! I like that you have the trackball LED powered. You may want to add a material layer between the skin and the components for a more comfortable fit. I'd be interested in seeing the cursor code you mentioned, so go ahead and post it for the community to take a look. Keep up the good work!
Thanks, I'll post the cursor code and updated pics later on. I haven't worked on the software at all but last weekend I made a fully enclosed metal case for the screen and another for the battery out of sheet aluminum. I'm still not sure if I'm happy with the design though - I'm using the screw holes on the OLED module which adds another ~12mm or so to the width. I'm thinking about chopping them off and securing it with hot glue in my second revision to reduce the overall size. I'm switching materials as well from aluminum to brass sheet metal.
Where do I get those mgnifying lenses? They looking really great! :o) <br> <br>greetings Andr&Atilde;&copy;
American Science and Surplus has a set. I don't think they are that nice brass color but it's the same type. <br>Sciplus.com <br>Search: Double Vision. <br>--mk
hey i also found some oled parts ( i'm not able to say where ) online for one cent each ( 7.01 each with tax shipping and handling ) would those work too <br>
hey i'm new at this and i wanted to know a little more about how to program this thing into doing things like radio and radio jamming. Also i'm kind of a newb so i might add some comments later. One other thing i think you should post another version of this that could go under gadgets. <br>The funtions i think should be in there are everything in here, a radio, a radio jammer, a 2 gb memory, a few more games, a word processor, and a calculator. I know it seems like a lot to ask but i'm trying to build something like that with those functions
Also, the DS1338 from Maxim IC is a drop in replacement for this part (DS1307) that will run at 3.3V. Samples are available directly from Maxim.
Nice project and I just ordered the parts to try this on my own but when I was reading over your statement regarding the RTC you say: &quot;If the clock doesn't run try power cycling and/or use the reset button on the Arduino. Sometimes it takes a couple cycles to the the real-time clock going&quot;. How is the clock functioning at all when the power requirements for the DS1307are 4.5V - 5.5V? I assume there is some flexibility in these specifications but I cannot see it being reliable as the 3.7V Battery decreases over time. Have you had issues with this?<br><br>
hi i was wondering what would it take to add bluetooth capability to this or if thats even possible im about to order the parts and would love to just order any bluetooth parts along with it thanks!!!
how would i go about adapting the code for a psp 1000 joystick and 1 button to click?<br><br>(the joystick outputs 2 analog values 0-255 for x and y and the button is just connected to a digital input)
Is there a way to put an MP3 player and headphone jack on this?
Question, do you think it would be hard or easy for someone with no programming knowledge to build one of these? Would appreicate an answer. p.s. amazing job on the watch!!
i think yes if you are good at making things becaus with the programming all you need to do is copy the code then paste it into the uploader then upload it to your arduino
On the software step I have links to the software for the watch, you can run it as is or modify it to suit your needs. Check it out and see. The building part of the watch is soldering, leather cutting, and carving out a case for the screen.
soooooooooooooooooooooooooo cooooooooooooooooooooollllllllllllll!!!!!!!!!!
Can someone post links to the header pins (all), the connector Housings, and the female pins? I cant seem to find all that i need...<br>
it is the best project ever cool
This watch looks absolutely amazing, unfortunately I'm not so great with building anything other than computers. The smaller it is, the worse it comes out. Someone should make one and put it up on ebay, I'm sure it will sell really fast. I know I would buy it. If anyone wouldn't mind making one and me throwing in extra for labor, let me know.
I have looking for an excuse to get an Arduino to play around with, and this may be the one. Absolutely awesome, and I can't wait until I save up enough to get the parts.
what other software could one put on this?<br><br>I would be interested in buying one depending on your answer
Any software for the Arduino can be run on the watch since it is using an Arduino Mini Pro as the brains of the watch.
im in love of hte steampunk arduino &lt;3 XDD i wish could make one for me .... but im a noob on this T.T i wish could learn how to if some one wants to teach me D: and have the patetient to do it :3 or.....dude god of arduino watchs :P could you tell me how it cost one of those wonder things? i really appreciate it.
if you're not using sleep mode on the arduino, you could ditch the rtc and measure the time using just the arduino and save some space in the watch. conversely, if you keep the rtc, you can put the arduino in sleep mode until a button is pressed. (use an interrupt) if you use the battery backed rtc from sparkfun, you could completely disconnect the lipo battery when not in active use and make it last for months. (the rtc will last 9 years without power)
In the software (step 2) it has a sleep mode (the &quot;Shut Down&quot; at the bottom), to get out of sleep mode and turn it back you press the trackball button. The RTC is ready for a backup battery and if you use a RTC board most of them have a backup battery.
i couldn't find the sleep function in the code, what line does it start?
if the sleep mode is the code starting at line 1035, it's not a true sleep mode, which is why i didn't initially recognize it as such. it may power down the trackball and oled, but the arduino is still going, in a loop checking for a button press, still sucking power. the functions in avr/power.h will actually shut off parts of the arduino itself, you can save a lot of power by disabling the adc, spi, and timers. there's some good example code on http://www.arduino.cc/playground/Learning/ArduinoSleepCode i don't have the hardware to test this (yet) but: if {y_pos &gt; item1_corner_y - 1) //shutdown crossline {detachIntrerrupt(1); //disconnect button for power down uoled.SetPowerState(0); //power down oled //begin arduino power down attachInterrupt(1, wakeup, FALLING); //interrupt to wake up set_sleep_mode(SLEEP_MODE_PWR_DOWN); // set powersaving mode sleep_enable(); //little safety put in place, not really necessary, imo sleep_mode(); //put arduino to sleep //code continues here on interrupt(1) detachInterrupt(1); attchInterrupt(1, click, FALLING); // Reattach the interrupt uoled.SetPowerState(1); //Power up the oled x_pos = 48; // reset cursor so it doesn't automatic shutdown again y_pos = 32;} void wakeup() {//dummy, as long as code here is going, everything else, even clocks and, //serial are halted, so it's best not to do anything in here } i don't have the parts for a watch (yet), but i'll test this on a duemilanove board.
Excellent, I had not seen the power.h functions so I was referring to the turning off the OLED as the sleep mode. I'll have to try that out, thanks!
Hello, I really enjoyed seeing your watch, congratulations! I'm planning making one based on this one but I cannot understand everything in the xls file. Actually I don't understand wich pin have to be soldered to the component's pin. I can't recognize the different components and the respective pin in the arduino mini. Somebody could help me understanding the excel file please? Thank you
Ok...now that I saw the datasheet of the trackball and the LCD I started to realize which pin has to be soledered to which one.

About This Instructable




More by Matthew Garten:Arduino Watch Build Instructions 
Add instructable to: