cubeberg 540 Posted January 22, 2013 Author Share Posted January 22, 2013 Yes, i have the PLCC version and instead of 68uH I've used a 100uH choke. I don't know why the code with xtal doesn't work but works without it (~10 min delay per day ) The clock runs smoothly, no heat at all. And I'm not sure if temperature is correct. Cool - glad you got it working. Doc had a lot of trouble with his xtal as well - did you try out the TI code to test the crystal? I think the boost IC throws off the temperature sensor a bit. I've been meaning to do some testing - but in my office it regularly reads over 80F which would be extremely warm. It's using the old inductor which makes the boost IC run a little warmer. That could probably be addressed by moving the sensor above the board a bit. I made the leads on mine as short as possible. Quote Link to post Share on other sites
kff2 22 Posted January 29, 2013 Share Posted January 29, 2013 I assembled my kit today. It works beautifully. Many thanks to Cubeberg for designing the board, sourcing the components, and making the booster pack available to all of us. I managed to compile the source code for the clock with mspgcc. If anyone is interested, I only had to make a few changes to the original code: 1) Change isr declarations: //#pragma vector=TIMER0_A0_VECTOR //__interrupt void TIMER0_A0_ISR(void) ISR(TIMER0_A0, ISR1) //#pragma vector=USCIAB0RX_VECTOR //__interrupt void USCI0RX_ISR(void) ISR(USCIAB0RX, ISR2) //#pragma vector=TIMER1_A0_VECTOR //__interrupt void TIMER1_A0_ISR(void) ISR(TIMER1_A0, ISR3) You will need to include for the ISR macro. 2) Replace the two occurrences of _delay_cycles with __delay_cycles (note the extra underscore). 3) Since there is no _bcd_add_short() intrinsic in mspgcc, I added one manually to time.h: static inline unsigned short _bcd_add_short(register unsigned short bcd_a, register unsigned short bcd_ { __asm__( " clrc \n" " dadd %[bcd_b],%[bcd_a] \n" : [bcd_a] "+ro" (bcd_a) : [bcd_b] "g" (bcd_); return bcd_a; } 4) In write(), send1 and send2 variables need to be unsigned char instead of char. Otherwise the line send1 = 1<<(7 -digit); causes an overflow for the first digit (PM dot always stays on). To compile: msp430-gcc -mmcu=msp430g2553 -oS -o clock.elf main.c You can then upload the binary with mspdebug rf2500 "prog clock.elf" Hope this helps somebody. bluehash and cubeberg 2 Quote Link to post Share on other sites
cubeberg 540 Posted January 29, 2013 Author Share Posted January 29, 2013 Hope this helps somebody. Thank you very much kkf2! I've already had one person ask, so I'm absolutely sure this will be helpful. I'll have to see about getting this into Github. A simple define should take care of switching between the two. Quote Link to post Share on other sites
cubeberg 540 Posted March 1, 2013 Author Share Posted March 1, 2013 Just a quick FYI - I've worked up a new version of the main board that has better placement for the new inductor style. I sent them off to Elecrow - I'll post another update when it's ready. Also - I've been working on the wiki page off and on. Next piece is putting in the tube - need lots of pictures, and probably a video for that one. Quote Link to post Share on other sites
cubeberg 540 Posted March 26, 2013 Author Share Posted March 26, 2013 Update added to GIT - https://github.com/cubeberg/Clock/tree/master/IV-18-ClockProject The clock now accepts a time setting via serial. $THHMMSS; The T indicates you're setting the time (looking into adding additional functionality later). HH = hours in military, MM = minutes, SS = seconds. Looking into GPS support now as well - my daughter's clock keeps getting unplugged and she complains that it's off all the time bluehash 1 Quote Link to post Share on other sites
roadrunner84 466 Posted March 29, 2013 Share Posted March 29, 2013 I was just looking at your tindie selling place and notices some weird arrow on the board. It looks like you encoded something in it using a code similar to PostBar.I even tried decoding it, but I got no sense out of it.Best I could get uo with was the numbers 213, 112, 59, 0, 15. This seems not enough related to the version number (1.2) or the design date (2.15.2013). So, I'm curious, what do the arrows mean? [] Quote Link to post Share on other sites
cubeberg 540 Posted March 29, 2013 Author Share Posted March 29, 2013 So, I'm curious, what do the arrows mean? I'm surprised someone noticed it http://en.wikipedia.org/wiki/Ogham It's called Ogham - it spells "Cube" (the > at the beginning indicates the start). I was fooling around with ideas for logos for my PCBs. I actually have a tattoo of my wife's name in Ogham on my arm which is what gave me the idea. Still looking for a good design to use on my boards though - not fully satisfied with that one. roadrunner84 1 Quote Link to post Share on other sites
roadrunner84 466 Posted March 29, 2013 Share Posted March 29, 2013 Another riddle solved ;-) Oh wow, something screwed up my former post, (mid) half of the first line is missing, I did write something abot tindie and how I tried to figure out what the arrow meant, somehow that text is gone. cubeberg 1 Quote Link to post Share on other sites
cubeberg 540 Posted April 10, 2013 Author Share Posted April 10, 2013 Elecrow kits came in - I made a timelapse video of me and my daughter building the main booster. Enjoy! (And ignore my horrible soldering on the SMD chip ) bluehash 1 Quote Link to post Share on other sites
cubeberg 540 Posted April 10, 2013 Author Share Posted April 10, 2013 Also - here's a quick .Net app (requires .Net Framework 4.5) that will send the current time to your clock. You just need to select the serial port that the clock is running on. It's just a quick sample app for now - I'm hoping to build a configuration UI - similar to what TI did for the Chronos watch. If anyone is interested in the source (all 5 lines for now ) - let me know. SerialTime_Compiled.zip SerialTime_Source.zip GeekDoc 1 Quote Link to post Share on other sites
GeekDoc 226 Posted April 10, 2013 Share Posted April 10, 2013 As a .Net programmer, I'd be interested in the source. Sent from my Galaxy Note 2 using Tapatalk 2 Quote Link to post Share on other sites
cubeberg 540 Posted April 10, 2013 Author Share Posted April 10, 2013 Done! @@GeekDoc - Didn't know you were a fellow .Net developer **Edit - code moved to orginal post bluehash 1 Quote Link to post Share on other sites
bluehash 1,581 Posted April 10, 2013 Share Posted April 10, 2013 Elecrow kits came in - I made a timelapse video of me and my daughter building the main booster. Enjoy! (And ignore my horrible soldering on the SMD chip ) Good job! Thanks a lot for the timelapse. I'll set up a pre-order for the kits soon. She's soldering pretty well Also - here's a quick .Net app (requires .Net Framework 4.5) that will send the current time to your clock. You just need to select the serial port that the clock is running on. It's just a quick sample app for now - I'm hoping to build a configuration UI - similar to what TI did for the Chronos watch. If anyone is interested in the source (all 5 lines for now ) - let me know. Could you add a screenshot cube. Quote Link to post Share on other sites
GeekDoc 226 Posted April 10, 2013 Share Posted April 10, 2013 Done! @@GeekDoc - Didn't know you were a fellow .Net developer Yep! I do web app development for the USAF (civil-service). At least for now... Just got notice that I'm probably getting cut due to the budget shenanigans. Ironic that I wanted a civil-service job because I thought it would be so stable. Sent from my Galaxy Note 2 using Tapatalk 2 Quote Link to post Share on other sites
cubeberg 540 Posted April 10, 2013 Author Share Posted April 10, 2013 Could you add a screenshot cube. Screen shot added here Good job! Thanks a lot for the timelapse. I'll set up a pre-order for the kits soon. She's soldering pretty well Thanks - making the timelapse was kind of fun My wife said I was making nerd porn. Yep - she's pretty good - I'll have to teach her SMD soon. My 6 year-old is asking to be taught too - so I'll have to teach her on the relay boards I'm putting together - nice fat pins. bluehash 1 Quote Link to post Share on other sites
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.