Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


piglet last won the day on September 29 2013

piglet had the most liked content!

About piglet

  • Rank

Profile Information

  • Gender
    Not Telling
  • Location
    South of England
  1. Hmmm - I don't know how else I can do it! I'm very new to this. I thought msp430->shift register->darlington array as sink was an OK way to be able to turn on or off sets of 3 of 4 leds I'm not surprised that ebay is a dumping ground for sub-par components. I'd have thought a seller specialising in LEDs wouldn't want the bother of the -ve feedback on duff things though.
  2. Do white LEDs die fairly quickly? I've had some running in my word clock for some months now, and the ones which are always on are becoming more yellow, and there is more variation in colour in some of the other than I'd like. One is starting to flicker occasionally, when others parallel in the same circuit are not. The LEDs were these. I'm running them @ 5v with 120 ohm resistors which should be more than enough.
  3. Where's ground connected if you do that? I interpreted the original post as needing the entire launchpad powered. It's got to be easier to do that than to put 1.8->3.6v to the launchpad side.
  4. You can supply 5v & ground to the test points TP1 and TP3 beside the USB socket. If you really don't want to power from the USB then you might have to doctor the micro-usb cable to remove the +5v pin (or cut the wire). The only time I've had to do that was on a Raspberry pi - to prevent a badly regulated powered USB hub from back-powering the Pi.
  5. Do you get them to learn first in raw C to get the concepts, before moving on to the libraries where the lower level register settings are hidden?
  6. I'm also in the UK. Noob class tinkerer. http://forum.43oh.com/topic/4418-my-first-ever-electronics-or-micrcontroller-project-radio-word-clock/ I'm currently making the code for the clock better and integrating a
  7. Thanks. I saw a capacitor (bigger than I expected), and a transistor which appeared to be be linked (maybe for debug reasons) to P1.5. I couldn't see where the transistor collector pin went, and then I noticed the LED & the resistor which looked like it wasn't connected...and I gave up!
  8. I'm sure your photo is enough for more experienced people than me, but I can't quite see what's going on on the breadboard. Do you have a diagram? Thanks.
  9. Thanks all. I forgot the most important part from the parts list: One of the MSP430's from the launchpad! I started off with the 2553, but swapped it for the 2452 because I have lots more to explore on the 2553
  10. I'm mostly a lurker on this forum, and watch in somewhat bemused awe at the things you folks manage to create. I'm right at the bottom of a massive learning curve with very little time to climb up it. Still, I'm very happy with my first ever electronics or microcontroller project. It's a word clock inspired by an image of a commercial product I bumped into on the internet. Parts list: 1) A cheap frame from our local hobby shop 2) An http://www.pvelectronics.co.uk/index.php?main_page=product_info&products_id=2'>
  11. Thank you. I went back through the project manually and corrected all the corruptions, finding a few lines I'd removed previously were now back in. Some lines changed and duplicated as I put the cursor on them which was rather worrying. I guess Code Composer had got into a real muddle. When I tried to compile it kept highlighting lines which weren't in error, with spurious error messages. project->clean, restart composer, move a few lines around and then back where they'd been in the first place and it compiled OK. Hurrah. Now to carry on with the real logic I wanted in the firs
  12. Thank you all - much appreciated. I really don't know what I did wrong, but my code was very close to these examples and didn't work as I was expecting. With these pointers I got it working...if only for a few seconds... Using code composer I did a load of control-z to step back to see what I changed to try and let you know what I'd done that broke it, then stepped forward again by holding control-y to get the latest and it left the code completely muddled up and not working. *mutter*. Now I'm left with a corrupted project I didn't take a copy of when it was working! Oh the joys of
  13. MSP430G2553 Sorry for what is probably a very basic question - but I've been trying over and over to get MCLK to 16MHz and the TIMERA using SMCLK on external clock crystal. Whatever I seem to do with the control registers I always seem to get the TIMERA on the higher frequency. I'm probably not understanding the user guide, and I can't find anything similar in code using google. Please could someone take pitty on me and paste me a C snippet to do this?
  14. Thank you. Yes - that works very nicely - but only after a change: from UCB0BR0 |= 0x04; // 1:4 - 16MHz/4 = 0.25us to UCB0BR0 |= 0x03; // 1:3 - 16MHz/3 = 0.1875us I guess this is because these WS2811 LEDs need it a little faster. Hmmm. I've never used SPI before. I'm still very new to this and have only done bit-banging in C using the timers. I've got some reading to do. My next challenge is to be able to put these LEDs into a particular state depending on time of day, while keeping accurate time using an external 32768Hz crystal. If this code needs 16MHz
  15. I tried the code in the first post in this thread last night on some of these, and the correct number of LEDs became active. The first LED in the chain cycled through the colours perfectly, but the rest of the lit LEDs flickered and didn't cycle the colours as expected. The chain works Ok with the "mini 3keys smart pixel controller" which I got with it, so it looks like a timing issue from the MSP430. It's a shame the seller doesn't provide a link to the data sheet.... Do you have any pointers for how best to tweak the timing for these WS2811's, or is there some later code I should
  • Create New...