Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Reputation Activity

  1. Like
    abecedarian reacted to Fred in MSP430 and Java?   
    I'm a C# and Java developer by trade, and I would still say "Java sux"!
    I know it's possible to code some ARM microcontrollers on Java, but not tried it myself. I don't think it's possible on the MSP430.
  2. Like
    abecedarian reacted to spirilis in Tooth brushing minder.   
    Good work, I just did a bunch of 0603 crap today and it wasn't until the 0.8mm pitch resistor arrays + 0.65mm pitch MSP430F5172 that I busted out the magnifier visor . I guess that is bragging though. SMD iz phun!
    Sent from my Galaxy Note II with Tapatalk 4
  3. Like
    abecedarian got a reaction from spirilis in Tooth brushing minder.   
    In other news... this caused me to finally solder the LED's and resistors spririlis' nrf24 needs.
    I only have 2.5X reading glasses and a 30W RS soldering iron at my disposal; no tweezers.
    Sorry, no pictures- my camera is missing its battery charger, but the DVM says the LED's are in properly and I got the resistors in without bridging the pads.
    I used 0805 components and I suppose it could've gone worse.
  4. Like
    abecedarian reacted to bluehash in Tooth brushing minder.   
    How is it powered? Will an adafruit neopixel be a good idea for this project? For the dancing LEDs?
    or you can get a WS2812 and flash different colors with one LED unit.
  5. Like
    abecedarian reacted to gwdeveloper in Tooth brushing minder.   
    Cool.  Are you involving him in the project? 
    Also, have you thought about adding a parental alert system?  Something simple that sounds an alarm when, for example, said nephew is actually planking between the tub and sink with the toothbrush hanging idly from his mouth instead of brushing.  Or maybe that's only my kid...
  6. Like
    abecedarian reacted to bluehash in Tooth brushing minder.   
  7. Like
    abecedarian got a reaction from energia in MSP430 - Change PWM Frequency   
  8. Like
    abecedarian reacted to spirilis in Odd glitch using analogWrite with LED's   
    Confirmed with your sketch on an MSP430G2 v1.5 LaunchPad w/ G2553 using Saleae Logic16.
    Saleae Logic software trace log: http://spirilis.net/junk/msp430/energia/issue372/abecedarian_ledfade_issue_372_confirmed.logicdata (requires Saleae Logic software to view)
    Pic of "smoking gun" pulse:

    Brown line (channel #1), long glitchy pulse that is way out of line with the previous pulse on that same line.
  9. Like
    abecedarian reacted to spirilis in Odd glitch using analogWrite with LED's   
    Opened this as issue# 372 - https://github.com/energia/Energia/issues/372
  10. Like
    abecedarian reacted to TI_Trey in Quadcopter BoosterPack   
    Here's a little more information on how its setup:
    4x TMS320F28027F + DRV8312 make up the ESC.  That is the bulk of what is on the board which you can see on the first post.
    1x C2000 LP acts as the brain.  This board decodes the control signals and sends torque commands to each of the ESCs via a PWM signal.  This LaunchPad runs the open source AeroQuad firmware on top of Energia...which also means other LaunchPads could be used as the brain.
    Control Inputs come via a standard RC 2.4GHz radio and receiver.  Because the LaunchPad doesn't have 1 million capture inputs I am using a receiver which supports S.Bus.
    3 axis accelerometer, gyro, magnetometer, barometer and GPS
    I agree that for efficiency it would be better to integrate the "brain" microcontroller on board and do away with the headers, but part of the cool factor of this is the open source nature and the ability to share boosterpacks between the different LaunchPads.
    I'll post some pictures of the boards when I get them next week.
  11. Like
    abecedarian reacted to greeeg in 120 LED Ring Clock   
    Update for users that have requested controller boards.

    They've all be soldered up, and they all program fine.
    I just want to make sure that the accelerometers work, and that these boards can actually drive LEDs
    I hit a wall with my demo program, and the i2c code I was using, it didn't support repeated start, which this accelerometer needs to read from any registers other than accelerometer data.
    I only made progress when I started using an ez430-rf2500 board, hooked upto a sensor board, (both MSPs have UCB0 for i2c), using my scope I finally got some code to work.
    Unfortunately as I'm a full time uni student, I might not have enough time (during business hours) to post the boards off tomorrow. But it will happen later this week.
    I think others mentioned they've measured current, but I couldn't find their results.
    I don't have any high powered +5v sources (except maybe some PC ATX power supplies hmmmm)
    So 3 LEDs max brightness (r,g,b ), measured 0.28A @ 5.0v
    so, following that logic, all 120LEDs would come to 0.28 * (120/3) = 11.2A, which is about 56W
    If you wanted to run them at that brightness they do start to generate heat. But it is a possibility
  12. Like
    abecedarian reacted to B@tto in Adding CC430 support   
    Some good news :

    With this simple code :
    #include <display.h> char str[]="    ENERGIA    "; void setup() {   lcd_init();   display_symbol(LCD_ICON_HEART ,SEG_ON);   display_chars(LCD_SEG_L2_5_0," ROCKS",SEG_ON_BLINK_ON);  } void loop() {      for(int i =0;i<12;i++) {      display_char(LCD_SEG_L1_3,str[i],SEG_ON);      display_char(LCD_SEG_L1_2,str[i+1],SEG_ON);      display_char(LCD_SEG_L1_1,str[i+2],SEG_ON);      display_char(LCD_SEG_L1_0,str[i+3],SEG_ON);      delay(400);   } } I have to clean the library : I just made a bulk transfer from TI firmware and it's not very clean as I haven't understand everything yet.
    It was an important step for me because serial debuging is not possible (I have to solder wires to do that and I don't want to for now).
    I looked RTC_A peripheral and it seems a piece of cake to get it working (strangely, TI don't use it in his firmware and use classic timer ).
    Finally everything I could tried like analogRead() digitalRead() and digitalWrite() worked. I have to test PWM, i2c and SPI now
  13. Like
    abecedarian reacted to pabigot in How slow can MSP430 run?   
    Probably as slow as you can find a clock to feed it. Without hardware modifications, selecting VLOCLK as the source for MCLK would put it about 10kHz. Haven't tried that personally.
    It's not likely to be useful, though. The slower it runs, the longer it takes to do the work. The optimum speed for least power for a given task is almost certainly not going to be the slowest speed, even if that produces the lowest-power per unit time. You'd have to calculate based on duty cycles, durations of tasks, and a bunch of other application-specific information.
  14. Like
    abecedarian reacted to igor in Had an idea for a clock, not sure how to do it.   
    Just ran across this again and had a thought - one of my relatives used to have a clock in the shape of a cat
    the tail was a pendulum, and the eyes would swing back and forth.
    A quick search turns up the Kit-Cat Klock, which appears similar in concept, although the one I remember was a bit classier (if that is the right term), 
    the body was made of stained wood, showing the grain.
    You could consider offering an animation mode, where the eyes go back and forth to show the seconds, etc.
    At some point maybe the eyes could fade away, leaving just the grin (a la the Cheshire Cat).
  15. Like
    abecedarian reacted to superbrew in RGB Matrix slot machine game   
    I have made some updates to this project. I have limited the colors to 3, so that I can 'win' once in a while. Once I figure out to calculate odds and probabilities a little better, I will add some more colors. I also used one of the on board switches to initiate a spin. 

  16. Like
    abecedarian got a reaction from abc in UART and alternatives   
    F5529LP has RTS/CTS. Look at the headers that separate the LP from ICDI and you should see two missing jumpers. Those are RTS/CTS for the on-board back channel serial emulation but they're not implemented.
  17. Like
    abecedarian reacted to traxman in 43oh_RFID booster pack NFRC522   
    Hi, I would like introduce my last boosterpack - 43Oh_RFID.
    I use very popular chip -> NFRC522 (energia library was posted at: http://forum.43oh.com/topic/4028-energia-library-nfc-card-reading-with-energia-mf-rc-522/).
    Schematic diagram

    Element placement:

    PCB files (zipped traxmaker/protel 2.0)
    and mounted boosterpack

  18. Like
    abecedarian got a reaction from bluehash in What are you doing right now..?   
    Home made chocolate ice cream with vanilla wafers.
  19. Like
    abecedarian reacted to Rei Vilo in Pin Names - Connected Launchpad   
    Yes, but first some cleaning on today's pins map and more important, some playing with this great LaunchPad
  20. Like
    abecedarian reacted to greeeg in 120 LED Ring Clock   
    I've been working on the code for the control board. Here is a quick demo.

    I've ordered a few more parts (accelerometer, regulator, levelshifter) which my board is running without currently.
    Here is a BOM (not including LEDs)
    Accel (MMA 8453) $1.31 level converter       $0.26 resistor/caps    14x $0.003 regulator         $0.60 32.768kHz crystal  $0.726 MSP430g2553  $2.73 Total: $5.40
    Since the BOM is quite low, I would have no issue populating some of these board for other members, (I would make this a donation to cover BOM+time.) but how about a flat $10USD
    If you'd like to DIY, I can ship the bare PCBs for free to members of the group-buy.
    Also, if you'd like a controller, but don't have any LEDs left, I have a few left.
    @@pyrosster @@dubnet @@t0mpr1c3 have already expressed interest, if you all drop me a PM, that would be much appreciated.
  21. Like
    abecedarian reacted to chicken in [Energia Library] MSTimer2   
    You added a new function, digitalRead. Replace that with the boolean and you're back to 917 (or maybe 2 bytes less as using the RED_LED directly instead of an extra int)
  22. Like
    abecedarian reacted to DrWizard in Pin Names - Connected Launchpad   
    Success!  Thanks guys!  I was using Energia ver 11, which I downloaded about 3 weeks ago when I actually ORDERED my board.  Went and got v12, updated the pin names, and viola!
    Update: I got Code Composer working, sort of.  I started over again from scratch with the install, configuration, and setup.  I must have flubbed something on the first go round.  The "Blinky" project made the LED blink!  But with the "Project 0" the buttons don't seem to be working and I get no output to the terminal.  I'm still troubleshooting...
    (Note to TI: install and initial setup (having to import a bunch of projects) is a bit involved.   Since the installer asks which board at the beginning, why not have the installer import the proper projects, including the examples that already come with it anyway)
    I'm looking forward to working with this board.  My Arduino projects have been getting bigger and more complex, and I'm starting to overwhelm it.  I'm working on a clock which also calculates sunrise, sunset, moonrise/set/phase, tides and a bunch of other astro stuff.  Way too much floating point math for the regular Arduino.  I moved up to an Uno32 and it's been handling it pretty well, but this TI board is even more powerful and costs less!
  23. Like
    abecedarian reacted to Rei Vilo in Stellaris Project Template   
    Please find a new template I’ve created for my projects, where I can note how I use the different pins.

  24. Like
    abecedarian reacted to grahamf72 in Probably dumb question regarding timers   
    If you need to emulate a missing tooth I think you will have to do it with interrupts and counters.
  25. Like
    abecedarian reacted to enl in sampling frequency   
    As low as you want.
    General idea is: set up timer to provide periodic interrupt. If not low enough freq, count the interrupts and do what is needed every n interrupts. Put processor to sleep.
    On interrupt, or after n interrupts, start ADC conversion. Set for interrupt on completion. Let processor go back to sleep.
    When conversion is done, interrupt wakes it back up so you can read value and do what you will with it.
    I have a device that has been going for over a year on a set of AA batteries using a 32KHz crystal for moderately precise timing, waking up every 8sec (max that the process will allow... could go longer) to do its thing. Most of the time, it is just counting and going back to sleep, for a period of roughly 5 min, but the period does vary, so the count is varied as needed.
    If major processing is needed from the ADC value, leave that in your main loop, and force full wake up when ADC is complete, so that the processing can be done. Then go back to sleep.
  • Create New...