Jump to content

abecedarian

Members
  • Content Count

    1,711
  • Joined

  • Last visited

  • Days Won

    23

Reputation Activity

  1. Like
    abecedarian got a reaction from RROMANO001 in New toys on June 10th!   
    @@RROMANO001 - I can't speak with regards to TI's sites' quality. I did alter the wiki page you pointed at and added the LAUNCHXL2 boards. Maybe if more people participated, there would be less error? TI, if I remember correctly, has been going through major website changes trying to bring all the products they supply together in to a common presentation, so I will give some sympathy to them.
     
     
    Also, I think discussion about Hercules and if it is appropriate for hobby / casual users should be a different topic. Maybe start something in the "General" section in this area of http://43oh.com?
  2. Like
    abecedarian reacted to rockets4kids in Why does this code's iF statement not work   
    The simple solution is to always place the constant on the left hand side.  This will always force an error if you use = instead of ==
  3. Like
    abecedarian got a reaction from simalrow in Why does this code's iF statement not work   
    Try

    if (buttonState == 0)Further advice:- use code tags when posting code. You can do that with the button labeled "<>" in the toolbar above.
  4. Like
    abecedarian got a reaction from RROMANO001 in New toys on June 10th!   
    That is funny... sort of.
     
    I didn't make that error but now it's fixed.
  5. Like
    abecedarian got a reaction from AmirulAshraf in MSP430F5418A   
    You need decoupling capacitor(s), RESET resistor, and some way to load the code.
     
    PIR, I think can be connected to any particular pin that is interrupt capable, but you might need a pull-up/down resistor for a stable signal.
     
    NRF will need appropriate signals between itself and the MCU, probably SPI.
     
     
    What MSP430 pins you choose to use for these will depend on how you want to do things.
  6. Like
    abecedarian reacted to spirilis in Controlling LED Driver TLC5971 with Atmega1284p   
    Probably won't find much info on this site, try avrfreaks or arduino.cc?
     
    Sent from my Galaxy Note II with Tapatalk 4
  7. Like
    abecedarian reacted to jazz in MSP430F5418A   
    MSP430F518A already have internal RESET resistor.
  8. Like
    abecedarian reacted to Fred in Mailbag   
    I'm not sure if this quite counts as "mailbag" as it's a bit big, but this was delivered recently. A nice new workshop for the end of the garden that I'm currently busy kitting out with workbenches, power, ethernet, etc. It obviously also required the purchase of some more power tools to do the job.
     

  9. Like
    abecedarian got a reaction from roadrunner84 in Energia AttachInterrupt   
    @@roadrunner84
     
    Same animal; different ways to skin it.
  10. Like
    abecedarian reacted to roadrunner84 in Energia AttachInterrupt   
    @@abecedarian yeah, that could be possible too, not what I had in mind though
    One approach is to count timer ticks while a certain line is visible, as you suggest. What I was thinking was to have two timers running, and have one be clocked from the square wave generated by the lines, the other will be internally timed (the watchdog for example). Then when the watchdog triggers, sample the value of the timer that is timed by the lines, and as such you know that, for example, there are 4021 lines per second.
  11. Like
    abecedarian reacted to spirilis in WIZwiki-W7500 Free Sample   
    I don't think this is WiFi btw.  Looks like Ethernet only.
  12. Like
    abecedarian reacted to bluehash in WIZwiki-W7500 Free Sample   
    You have to fill a form.
    http://www.shopwiznet.com/bookmark/free-sample
     
    See quoted text.
  13. Like
    abecedarian reacted to rohit7gupta in Wire Library Not working when Launchpad powered externally   
    Thanks guys ! So foolish of me to not suspect the power source ! It was the power adapter in fact and was insanely noisy. I replaced it with a Li-Ion battery (to remove all doubts of stability) and it has started rhyming again.
     
     
    I have shared the code and video in a github repo if anyone needs it.
    https://github.com/IndianTinker/FM430 
     
    Thanks!
  14. Like
    abecedarian reacted to zeke in The Marquee Clock   
    As far as the processor goes, I was thinking of using this module for fun.
     

     
     
  15. Like
    abecedarian reacted to zeke in The Marquee Clock   
    @@abecedarian
     
    Yes, Good idea.  I pondered that as well over the weekend. 
     
    But then I realized that I could buy a 144 per meter APA102 LED strip, cut them apart, then solder them back together with the spacing that I desire (9.7mm between LEDs).
     
    I'll probably do this for prototyping.
     
     
     
     
     
     
     
     
  16. Like
    abecedarian got a reaction from zeke in The Marquee Clock   
    What if instead of having the LED's facing 'forward', they were wrapped around a tube of sufficient diameter, and faced 'outward' or perpendicular to the center of the clock, and had a ring of Lucite or other acrylic that directed the light towards the face of the clock?
     Something like:

    c |\ l f | \ o a | \ c c | \ k e | \ ^^^^^^ LED ------ tubeSeems it'd be easier / cheaper to make the Lucite / plexiglass ring than to do multi-segment PCB's.
  17. Like
    abecedarian reacted to bluehash in Unmerged Usernames   
    I think he means that he got registered ok, but failed in get the 5529 up and running,
    I misread it too.
  18. Like
    abecedarian got a reaction from cubeberg in Unmerged Usernames   
    Yeah, I'd agree that since one can post they must be registered.
  19. Like
    abecedarian reacted to L.R.A in MSP432 Timer32 use   
    Checked the datasheet and they are very similar to Tiva timers. Didn't check the reference manual for further details.

    They are 32bit timers which can be split each one into two 16bit timers. My guess is they have signals (PWM, capture, etc) but only when used in split timer mode. In 32bit mode they can be used in periodic mode at least (could also have one-shot mode and other modes that don't require a signal).
    That's my bet
  20. Like
    abecedarian reacted to L.R.A in Software PWM vs. Servo Library   
    If I am not mistaken the servo library does use software PWM.

    You could make hardware PWM though I am not sure it would be able to get down to 50Hz at full clock speed (at 16Mhz), I am not familiar with the MSP430 timers. Give it a try, as abecedarian said, the board has plenty of PWM outputs.
  21. Like
    abecedarian got a reaction from dubnet in Blinking LED in a random interval   
    This doesn't require any 'while' loops be used since the "void loop()" structure will loop indefinitely on its own.
     
    My suggestion would be check if there's a character available in the serial buffer and if so, read it. Then based on what that character is, either '1' or '2', set your delay variable accordingly, then toggle the output pin as desired. If the character isn't '1' or '2', don't do anything other than keep toggling the pin.
     

    int togglePin = 2; // pin to toggle int incomingByte = '1'; // for incoming serial data, default to 'slow' blink int randomDelay; // stores random slow blink rate, will change later /* Setup system */ void setup() { Serial.begin(9600); // opens serial port, sets data rate to 9600 bps pinMode(togglePin, OUTPUT); // set toggling pin to output mode } /* Main program loop */ void loop() { if (Serial.available()) { // Character in serial buffer? incomingByte = Serial.read(); // get the character Serial.print ("The incomingByte value is: "); Serial.println (incomingByte, DEC); // Output what was typed to the user } if (incomingByte == '1'){ // Was the character a '1'? randomDelay = random(500,1000); // generate a "slow" random delay Serial.print ("Now disrupting in slow mode with delay: "); Serial.println(randomDelay); // Output delay interval to the user incomingByte = '0'; // set to '0' so we don't jump back in here later } if (incomingByte == '2'){ // Was the character a '2'? randomDelay = random(100,500); // generate a "fast" random delay Serial.print ("Now disrupting in fast mode with delay: "); Serial.println(randomDelay); // Output delay interval to the user incomingByte = '0'; // set to '0' so we don't jump back in here later } /* toggle the pin according to the randomDelay value determined above */ digitalWrite(togglePin, HIGH); delay(randomDelay); digitalWrite(togglePin, LOW); delay(randomDelay); } // loop over and over.
  22. Like
    abecedarian got a reaction from BruteForce in Blinking LED in a random interval   
    This doesn't require any 'while' loops be used since the "void loop()" structure will loop indefinitely on its own.
     
    My suggestion would be check if there's a character available in the serial buffer and if so, read it. Then based on what that character is, either '1' or '2', set your delay variable accordingly, then toggle the output pin as desired. If the character isn't '1' or '2', don't do anything other than keep toggling the pin.
     

    int togglePin = 2; // pin to toggle int incomingByte = '1'; // for incoming serial data, default to 'slow' blink int randomDelay; // stores random slow blink rate, will change later /* Setup system */ void setup() { Serial.begin(9600); // opens serial port, sets data rate to 9600 bps pinMode(togglePin, OUTPUT); // set toggling pin to output mode } /* Main program loop */ void loop() { if (Serial.available()) { // Character in serial buffer? incomingByte = Serial.read(); // get the character Serial.print ("The incomingByte value is: "); Serial.println (incomingByte, DEC); // Output what was typed to the user } if (incomingByte == '1'){ // Was the character a '1'? randomDelay = random(500,1000); // generate a "slow" random delay Serial.print ("Now disrupting in slow mode with delay: "); Serial.println(randomDelay); // Output delay interval to the user incomingByte = '0'; // set to '0' so we don't jump back in here later } if (incomingByte == '2'){ // Was the character a '2'? randomDelay = random(100,500); // generate a "fast" random delay Serial.print ("Now disrupting in fast mode with delay: "); Serial.println(randomDelay); // Output delay interval to the user incomingByte = '0'; // set to '0' so we don't jump back in here later } /* toggle the pin according to the randomDelay value determined above */ digitalWrite(togglePin, HIGH); delay(randomDelay); digitalWrite(togglePin, LOW); delay(randomDelay); } // loop over and over.
  23. Like
    abecedarian reacted to energia in How exactly Energia MT handles single threads?   
    When you run a single Sketch it will still use TI-RTOS. The beauty of it is that when you call delay, it will yield, since there is nothing else to run at that point, it will execute the idle thread and go into low power mode. Full blown low power when idle is not yet in the current release but will be in the next due early May. This release will also include Energia MT support for CC3200. We have also done a lot of optimizations which has slashed the size of the base (e.g. empty Sketch) in almost half!
  24. Like
    abecedarian reacted to L.R.A in New Hercules LP's in bound   
    I heard it can be twice as powerful as their predecessors. *hides*
  25. Like
    abecedarian got a reaction from spirilis in New Hercules LP's in bound   
    New TMS570 and RM5 boards. From what I gather, a definite step up from the latest ones.
×
×
  • Create New...