sirri 28 Posted February 6, 2013 Author Share Posted February 6, 2013 Did the buzzermode change? i have tried for all buzzermodes.. same problem. Quote Link to post Share on other sites
Druzyek 36 Posted February 6, 2013 Share Posted February 6, 2013 Hey, This is a neat project! Thanks for sharing it with us. That is quite a lot of code. Are you using an MSP430G2553? I was afraid it wouldn't have enough flash to hold a program I want to write but it looks like you were able to fit a pretty big program in there. Do you know by chance how much space your program takes up on the chip? Quote Link to post Share on other sites
sirri 28 Posted February 7, 2013 Author Share Posted February 7, 2013 Hey, This is a neat project! Thanks for sharing it with us. That is quite a lot of code. Are you using an MSP430G2553? I was afraid it wouldn't have enough flash to hold a program I want to write but it looks like you were able to fit a pretty big program in there. Do you know by chance how much space your program takes up on the chip? Hi Druzyek. Yes i am using MSP430G2553(16KB) and it still has around 6 KB space on cheap (so the above code is around 10 KB).. So i guess i will add one more feature on the main loop that will let me turn the led on and off (without entering the menu), and dimming the led up and down using the up/down buttons on this mode. i want to enter this mode by pressing the set button, say, over 1 seconds. but before that, i want to fix the buzzer sound problem tonight. Quote Link to post Share on other sites
sirri 28 Posted February 7, 2013 Author Share Posted February 7, 2013 trouble every day : / now it is the battery source. please look at the photo :/ Quote Link to post Share on other sites
roadrunner84 466 Posted February 7, 2013 Share Posted February 7, 2013 If you have your programmer attached (the USB cable) have either batteries attached or the jumper named VCC attached, not both! If you do, you're directly connecting the USB power controller to the batteries, one of both will die, for sure. The MSP should draw about 0.3mA/MHz, so that's about 4.5mA at 16MHz. in 48 hours it should have drawn no more than 220mAh, I bet you batteries should last about ten times that timespan. That is, without any low power optimizations. Quote Link to post Share on other sites
sirri 28 Posted February 7, 2013 Author Share Posted February 7, 2013 If you have your programmer attached (the USB cable) have either batteries attached or the jumper named VCC attached, not both! If you do, you're directly connecting the USB power controller to the batteries, one of both will die, for sure. The MSP should draw about 0.3mA/MHz, so that's about 4.5mA at 16MHz. in 48 hours it should have drawn no more than 220mAh, I bet you batteries should last about ten times that timespan. That is, without any low power optimizations. USB was not connected and i know batteries were new.. I have used 2x , AA ordinary batteries(1.5V) maybe it is not right to use these? i have also tried with one 3V coin battery but that didn't lit my display.. :/ Quote Link to post Share on other sites
roadrunner84 466 Posted February 7, 2013 Share Posted February 7, 2013 coincells cannot deliver a lot of current at once. I still edvice disconnecting the VCC jumper when powering externally. I'm not sure what the power circuit of the programmer does when it gets power from the other side. sirri 1 Quote Link to post Share on other sites
sirri 28 Posted February 7, 2013 Author Share Posted February 7, 2013 coincells cannot deliver a lot of current at once. I still edvice disconnecting the VCC jumper when powering externally. I'm not sure what the power circuit of the programmer does when it gets power from the other side. well i have tried it. when i disconnect vcc jumper it doesn't work with batteries at all.. when i plug in back it does. Quote Link to post Share on other sites
sirri 28 Posted February 7, 2013 Author Share Posted February 7, 2013 this video shows the problem with the buzzer. at the first time it works good but then it work discontinued.. thanks. Quote Link to post Share on other sites
mbeals 74 Posted February 7, 2013 Share Posted February 7, 2013 Pull the RST jumper too. There are hold up resistors on the RST line on both sides of the header. So with VCC pulled, the RST line is still holding the emulation side's VCC rail high. sirri and roadrunner84 2 Quote Link to post Share on other sites
roadrunner84 466 Posted February 7, 2013 Share Posted February 7, 2013 It sounds to me like your buzzer is intermittent in the first alarm, then in the second those intermissions are closer tohether. The buzzer "hasn't got the time" to start really making noise. Could it be like this? sirri 1 Quote Link to post Share on other sites
sirri 28 Posted February 7, 2013 Author Share Posted February 7, 2013 Pull the RST jumper too. There are hold up resistors on the RST line on both sides of the header. So with VCC pulled, the RST line is still holding the emulation side's VCC rail high. yeah, now it works.. i will test the battery like this.. In order to re-program launchpad, i will reconnect those RST and VCC jumpers again and disconnect the batteries and then plug in the USB.. this is the correct way i guess? Quote Link to post Share on other sites
mbeals 74 Posted February 7, 2013 Share Posted February 7, 2013 You are correct. sirri 1 Quote Link to post Share on other sites
sirri 28 Posted February 11, 2013 Author Share Posted February 11, 2013 it has passed more than 72 hours and my clock is still working with two AA batteries, yay! and accuracy still good.. Quote Link to post Share on other sites
roadrunner84 466 Posted February 11, 2013 Share Posted February 11, 2013 Awesome, so the programmer part of the launchpad was draining your batteries? Ddi you make any progress on your buzzer problem? sirri 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.