Jump to content
43oh

SixSixSevenSeven

Members
  • Content Count

    134
  • Joined

  • Last visited

  • Days Won

    1

Reputation Activity

  1. Like
    SixSixSevenSeven got a reaction from ofer in VCC OUT   
    If you are not confident with using a transistor (the perfect solution in this case) then you could use a relay. Some smaller relays can be driven from an I/O pin and used for switching VCC to your 5v booster on/off, bigger relays sadly need a transistor anyway such as those commonly used in automotive electrical systems.
     
    Decent guide on using a transistor here though: https://learn.adafruit.com/adafruit-arduino-lesson-13-dc-motors/transistors
    That is in the context of a DC motor connected to an arduino uno but could just as easily be your LMR61428 connected to the launchpad.
  2. Like
    SixSixSevenSeven reacted to Rei Vilo in Information to Provide When Asking for Help   
    When you post a question asking for help, please provide minimal information about your configuration, both hardware and software, including:
    model of LaunchPad used and revision number
    model of the MCU used
    model of BoosterPack used or model of the sensor or actuator or screen
    optionally, links to the sensor or actuator or screen data sheet
    name and version of the IDE used 
    OS the IDE is running on
    whenever possible, minimal code to replicate the issue
    optionally, all kinds of measures that may be useful, like logic analyser trace, oscilloscope screen-shots, ...
    Example:
    LaunchPad MSP430G2 revision 1.5 —as there's a LaunchPad MSP430G2 revision 1.4 and a LaunchPad MSP430F5529
    MSP430G2553 —as there're also the MSP430G2452 and the MSP430G2231 for the same LaunchPad MSP430G2
    Anaren CC110L BoosterPack 
    Energia 11 —or Energia 11 framework on Xcode or on CCS 6
    Windows 8.1 64-bit —or the specific Linux distribution or Mac OS X 10.9.1
    The links saves time and provides the reader with direct access to the documentation.
     
    The first test to perform to qualify an issue is to replicate it. So adding code allows the reader to test it and check if the issue is replicated. When an issue is replicated, this is great news! It means you're not alone to face that specific problem.
     
    Providing those details makes the question easier to understand, and improves its probability to be answered and solved!
     
    Thank you.
     
    This is a cross-post with the 43oh forum.
  3. Like
    SixSixSevenSeven got a reaction from Ananthan in What does pulseIn do?   
    Taken from: http://arduino.cc/en/Reference/pulseIn
    Reads a pulse (either HIGH or LOW) on a pin. For example, if value is HIGH, pulseIn() waits for the pin to go HIGH, starts timing, then waits for the pin to go LOW and stops timing. Returns the length of the pulse in microseconds. Gives up and returns 0 if no pulse starts within a specified time out.
     
    duration = pulseIn(PB_0, HIGH);   will indeed tell you how many microseconds PB_0 is high for. duration = pulseIn(PB_0, HIGH, 250); will do the same, but if PB_0 doesnt become high within 250 microseconds it will return 0 rather than waiting any longer, I can't remember the default timeout off the top of my head or if there is one at all.
    unsigned long startTime = 0; unsigned long endTime = 0; while (digitalRead(PB_0) == LOW) { startTime = micros(); } while (digitalRead(PB_0) == HIGH) { endTime = micros() } unsigned long duration = endTime - startTime; This would do the same thing.
  4. Like
    SixSixSevenSeven got a reaction from bluehash in Device not recognised on windows   
    You've linked ez430 uart drivers not launchpad drivers...
     
    I downloaded and unzipped this: http://www.ti.com/lit/zip/slac632
    Then connected the launchpad, went into device manager where I had an unrecognised device, right clicked to update driver software and told it to use a location I specify, stuck it in the unzipped folder, windows did the rest.
  5. Like
    SixSixSevenSeven got a reaction from StefanWxx in How to wake up on keypad press ? [IR-Remote Project]   
    The keypad is a switch matrix.

     
    Yeah thats an arduino not an MSP430, but the circuit still works the same way. Label the top row as buttons 1 to 3, second to 4 to 6 etc. The Keypad library when you call getKey will turn pin 5 on to power the top row of buttons, it will then read pins 7, 8 and 9 to see if button 1, 2 or 3 is being pressed, then it will turn pin 5 off and pin 4 on, then read pins 7, 8 and 9 to see if buttons 4, 5 or 6 are being pressed, then it turns pin 4 off and pin 3 off to check buttons 7, 8 and 9 and finally 3 off and 2 on to check buttons 10, 11 and 12. When the keypad is not in use then none of the buttons will be powered and so there will be no interrupt signal to the MSP430.
     
    I've just checked the source for the Keypad library, it uses the row pins as input pullups and the column pins as outputs. If you manually set all the column pins high before entering sleep mode then you should be able to pick up the falling edge interrupts on the row pins to wake the MSP430 (at which point you should manually set all the column pins low again before letting the library take over)
  6. Like
    SixSixSevenSeven reacted to Rei Vilo in Pin Names - Connected Launchpad   
    Welcome to Energia! 
     
    Energia release 12 supports the Connected LaunchPad. The way pins are numbered on Energia is PN_0 for pin PN0.
      Please find a pre-release of the pins map for the TM4C129 LaunchPad.   Update! Pins map with picture (Click to enlarge, full-sized picture)
  7. Like
    SixSixSevenSeven got a reaction from abecedarian in Unable to use Port E for GPIO   
    Oh we've all done that I think. Go sit in your car, put it in gear, slowly lift up the clutch and apply some throttle and nothing happens... Headbutting of the steering wheel is the only remedy for this
  8. Like
    SixSixSevenSeven reacted to dubnet in OpenOCD support for Hercules LaunchPads   
    Having once worked for a semiconductor company I have experienced the behind the scenes things that go on to protect intellectual property.  It may be less about safety and more about protecting IP from competitors, or in this product line perhaps both.
     
    I agree with you @@spirilis , it seems like a strange product to wrap a Launchpad around.  I guess if they received one decent design win because of it then it would be worth the effort.
×
×
  • Create New...