This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

  • Resolved

Connecting relay to MSP430 + boosterpack

Prodigy 20 points

Replies: 6

Views: 659

Currently, I have an MSP430 launchpad in conjunction with the ADS1118 thermocouple booster pack. I want to connect a relay to the MSP430 so I can control the relay for automation purposes. I was just wondering if this is possible or if there will be issues between the booster pack and the relay being connected to the same pins on the MSP430?

  • Your best bet would be to read though the booster pack doc (sbau207) and view the schematics. See which pins are used and which are free. Failing that, perhaps someone here already knows and will tell you.
  • Hi Kyle!

    You did not say anything about the hardware you are using and about the relay you plan to use, so here is one example. This uses a 5V relay that will be connected to the MSP-EXP430G2 LaunchPad. 5V are accessible at TP1 on the board:

    Then your relay would be connected like this:

    This may look different for other types of realys, of course. Which type of load do you plan to control with it?

    Dennis


  • The schematic in the 430BOOST-ADS1118 User's Guide shows that the only unused header pins on the G2553 LaunchPad are XIN/XOUT/TEST/RST, and P1.1 (TXD), P1.2 (RXD), and P1.3 (S2).

  • This helped. I know exactly how to hook it up. Could someone please help me with the coding? I'm a beginner and really have no idea how to do it. I need the relay to turn on when I send it a "1" through the MSP430 and turn off when I send it a "0". Please please please help!
  • In reply to Kyle Sinclair:

    Show your existing code, and tell us which pin you're using.
  • In reply to Clemens Ladisch:

    We tried a couple different setups and this was the most recent one. We have no interest in using the alarm buzzer on the ADS1118 so we are connecting a wire to the P1.0 pin on the 430. This is a small part of a much larger where everything works fine except this one part

    signed int v=0;
        v=uart_getchar();
        uart_txstr(itoa(v,j));
        uart_txc(',');


        if (v==0)
        {
            BUZZ_OFF;
        }


        if (v==1)
        {
            BUZZ_ON;
        }

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.