Jump to content
43oh

Dimiric

Members
  • Content Count

    8
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Dimiric reacted to cde in Moving past Blinky   
    LCDs are plentiful. Any common character lcd will do what you want (You want hd44780-compatible, 3.3v preferable, but 5v works fine too). There are also graphic lcds like the nokia displays. The character lcds have a basic controller on them, fairly easy to control directly (but needs a couple of pins), or can be bought with "backpacks", allowing you to control them via i2c, spi, or serial.
     
    The nokia lcds have a PCD8544 (or similar, it always depends on which nokia lcd you get), which is spi controlled.
  2. Like
    Dimiric reacted to oPossum in Volt/Amp/Watt meter   
    This is a simple voltage and current meter that uses the TI INA219 chip. Voltage measurement range is 0 to 26 volts with 4 mV resolution and current measurement range is -4 to +4 amps with 1 mV resolution (when using a 0.01 ohm shunt). The specs are inferior to a pair of quality multimeters, but it is a fraction of the price and shows wattage in addition to voltage and current. The Nokia 5110 display is used so the firmware could be enhanced to do simple graphing. Sending the measurements to a computer could also be done.
     
    Using the INA219 makes for a very simple circuit.

     
    The normal display is three lines with voltage, amperage and wattage.

     
    Pressing the P1.3 switch will show the 6 registers in the INA219 in hex and signed decimal.

     
    The code is written in C++ and uses templates for the LCD, IIC and INA219. Software SPI and IIC is used for maximum portability.
    vam.zip
  3. Like
    Dimiric reacted to mbeals in Moving past Blinky   
    There was an article on hackaday showing how to break out the SBW from the launchpad for other chips. Just search google for using-spy-bi-wire-with-the-msp430-launchpad. It should be the first result.
     
    To mount that chip, you can make your own socket by pressing the chip into some polymer clay to make an impression, baking it to harden it, then using some fine copper wire to make contacts. Glue that on some perf board and run some wires from the contacts to some headers and you have a homebrew socket. For the final project, you will probably want to make a real board, or at least a breakout board with the chip soldered on.
  4. Like
    Dimiric reacted to cde in Moving past Blinky   
    Tssop (tsop) (ssop) to dip adapters are cheap. 2 to 1 dollar on ebay. There is one that's double sided 28 pin soic and ssop, 2 for 2.20. All you need is one that has atleast 24 pins, and 0.65" pitch between pins. Unless you want a zero insert force adaptor.
     
    The other options is a ssop adaptor that has a small prototyping area on it. Kinda useful depending on how much of a circuit you need to build (The pin outlines are long, so doesn't really work well for chips with a center grounding pad) (Oh, and you need machine pins instead of square pins, unless they finally change their supply, or you want to ream them out a bit, not a big hassle)
    Dip Micro has them, or ebay "ssop prototype". Cheaper on ebay actually, even from their ebay store. (Disclaimer, not affiliated, but i've gotten this from them before and I likey)

  5. Like
    Dimiric reacted to gatesphere in Launchpad as external programmer   
    I haven't done this myself, but it seems to me that you have to connect Vcc and GND, and also at least RST and TEST. I'm not sure about TXD (P1.1) and RXD (P1.2), as I think they're only used for UART comm with the host PC. But, it couldn't hurt to attach them, unless you're using them in your circuit.
     
    The easiest way to program a chip in your breadboard from the launchpad would be to simply leave all the jumpers on at the top of the board, and connect to the proper pins of the chip on the breadboard by using jumper wires into the socket on the LaunchPad. The holes might be a bit tough to get jumpers in initially, but they'll eventually go in.
     
    Hope this helps!
  6. Like
    Dimiric reacted to cde in Moving past Blinky   
    Not sure if the msp430afe253 is supported by the programmer (honestly, never knew there was a afe model), but since it has SBW, connect DVCC & AVCC (16 & 5) to Launchpad VCC, DVSS & AVSS (13 & 6) to Launchpad Gnd, and (RST) pin 11 to Launchpad RST, and (TEST) pin 10 to Launchpad RST. Then you should be good to go.
  7. Like
    Dimiric reacted to mbeals in Moving past Blinky   
    to program non-dip 430s you just need the chip on a board with a few pins broken out into a header, and another riser on the launch pad with matching connections and no micro.
     
    as for the led, first make sure the led is rated for the right voltage. a 12v led won't do much off a 3v signal line. Its also a good idea to run a current limiting resistor on there to be safe
  8. Like
    Dimiric reacted to jsolarski-backup in absolute beginner begging for direction!   
    Try energia for linux, It will probably be the easiest to learn, and comes with lots of examples.
    you can find support on this site for it as well.
     
    the teach yourself C for linux is a good place to learn C but not for the msp430 launchpad, after you get familiar with energia the sams book will be a good supplement to learn the rest of C
  9. Like
    Dimiric reacted to zeke in Best information for those new to the MSP430?   
    If you are new to the MSP430 then you're probably drowning in information right now.

    It's true that there are a zillion configurations to make before the 430 will do what you want it do do.

    So I'm betting that you are asking yourself "Where do I start?"

    I humbly suggest the following TI application notes and books that will get you going in the right direction:

    1. slaa294: MSP430 Software Coding Techniques

    This application report covers software techniques and topics of interest to all MSP430
    programmers. The first part of the document discusses the MSP430 standard
    interrupt-based code flow model, recommended for the vast majority of applications.
    The next part discusses a handful of techniques that should be considered by any
    developer that sets out to develop an MSP430 application. Using these methods can
    greatly reduce debug time and/or provide additional robustness in the field. They
    include initialization procedures, validation of supply rails before performing
    voltage-sensitive operations, and use of special functions. Code examples are
    provided.

    2. : MSP430 32-kHz Crystal Oscillators

    Selection of the right crystal, correct load circuit, and proper board layout are important
    for a stable crystal oscillator. This application report summarizes crystal oscillator
    function and explains the parameters to select the correct crystal for MSP430
    ultralow-power operation. In addition, hints and examples for correct board layout are
    given. The document also contains detailed information on the possible oscillator tests
    to ensure stable oscillator operation in mass production.

    3. MSP430 Microcontroller Basics by John H. Davies

    The best thing I can say about this book at this time is that it describes well how to make use of the clocking system of the MSP430. This book should be in your personal library or at least on your wishlist.

    Once you digest the information above then you will be in good shape for success in working with the msp430.

    Have something to add?
    Then post up your valuable sources of knowledge.
  10. Like
    Dimiric reacted to zeke in Best information for those new to the MSP430?   
    As you progress in your development of an embedded system based upon the MSP430, you will eventually have to cut your dependency on your dev board. When you do this, you will have to give your system the ability to be programmed.
     
    Whether by JTAG or by Spy-Bi-Wire, you will have to assimilate and understand the information inside this document. Otherwise, you will have a brick coming off the assembly line.
     
    Do want to make a million bricks or a million dollars?
     
    Knowing this information will save you time, money and prevent ulcers!
     
     
    4. slau320: Programming via the JTAG Interface
     
    This document describes the functions that are required to erase, program, and verify the memory module
    of the MSP430
  11. Like
    Dimiric got a reaction from bluehash in Hi from Eugene! (Russia, Omsk)   
    Welcome to the 4-3-Oooooh!
     
    Hope you find it as useful as I am!
  12. Like
    Dimiric reacted to gordon in Greetings from South Carolina   
    Nice, but you have spent about $165140 more than would have been necessary for a quick start . The AFE253 can conveniently be programmed with the $4.30 LaunchPad, AFE253 is ~$6-ish in one-off. Not saying the UIF will not do you good, it just wasn't strictly necessary. The difference would have better been spent on The Book.
     
    Anyway, your best friends will be [tipdf]SLAU144[/tipdf] and the device-specific datasheets. Most of the stuff you find regarding the LaunchPad and the G2452/G2553 will basically apply as they are part of the same family.
     
    This should get you going.
×
×
  • Create New...