Jump to content
Forum sending old emails Read more... ×
william67

TI CC3200 Relay on Pin 39 not working

Recommended Posts

Hi,

 

I have just bought a Grove Base Boosterpack for the LaunchPad C3200 and loaded the example for testing the relay on pin 39 (J14):




#define RELAY_PIN 39


/* the setup() method runs once, when the sketch starts */
void setup() { 
  pinMode(RELAY_PIN, OUTPUT); // initialize the digital pin as an output. 
}


// the loop routine runs over and over again forever:
void loop() {
  digitalWrite(RELAY_PIN, HIGH); // turn the relay on (HIGH is the voltage level)
  delay(1000);   // wait for a second
  digitalWrite(RELAY_PIN, LOW);   // turn the relay off by making the voltage LOW
  delay(1000);   // wait for a second
}


 

In stead of the relay the Yellow Led turns on and off for a second, the other output pins 40,38,37,36.

 

Can someone help me with this, i am new to cc3200 programming?

 

Regards,

 

William

Edited by bluehash
[ADMIN] Please use code tags next time.

Share this post


Link to post
Share on other sites

Looks like a bug.... I don't have a grove boosterpack either but when I run the sketch the yellow LED blinks and I don't get anything on pin 39.

 

Looking at pins_energia.h for the CC3200 LaunchPad shows that pins 9 and 39 are mapped to the same port and pin.

 

Edit: reported on github

Share this post


Link to post
Share on other sites

@@cubeberg, thanks for your reply, move over to pin 38 (J15) does not solve the problem, all the digital pins on the boosterpack are not working, not with the relay, not with a voltmeter.

 

@@Fmilburn, thanks for your replay en reporting it on github.

 

Reagards William

Share this post


Link to post
Share on other sites

Hi William:

     I am meeting the same problem,. Even i connected the J14, the yellow led blink. My code also is same with you , so i want to ask you how you solve this problems.

Regards,

Xu

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×