Go to Post try to be careful and follow good safe practices. - meaubry [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Spotlight this post!  
Unread 03-12-2014, 17:15
Ferrous Knight Ferrous Knight is offline
Registered User
FRC #4645
 
Join Date: Dec 2014
Location: chicago
Posts: 4
Ferrous Knight is an unknown quantity at this point
Re: Help with Andymark LED strip

Sorry for the very late response but here is the code i am using:

#include "FastLED.h"
#define NUM_LEDS 5
#define DATA_PIN 6
#define CLOCK_PIN 13

CRGB leds[NUM_LEDS];

void setup() {
FastLED.addLeds<WS2801, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);

}

void loop() {
// First slide the led in one direction
for(int i = 0; i < NUM_LEDS; i++) {
// Set the i'th led to red
leds[i] = CRGB::Red;
// Show the leds
FastLED.show();
// now that we've shown the leds, reset the i'th led to black
leds[i] = CRGB::Black;
// Wait a little bit before we loop around and do it again
delay(30);
}

// Now go in the other direction.
for(int i = NUM_LEDS-1; i >= 0; i--) {
// Set the i'th led to red
leds[i] = CRGB::Red;
// Show the leds
FastLED.show();
// now that we've shown the leds, reset the i'th led to black
leds[i] = CRGB::Black;
// Wait a little bit before we loop around and do it again
delay(30);
}
}

We are using the andymark micro-controller and have arduino Ethernet selected on the program. The five files attached are photos of our setup disconnected from the robot. Just imagine the wago connector piece is connected to the robot. The black block has all of the negative connections on it having them go back through the wago to the robot, the equivalent of the terminal block in the original schematic. The blue clock wire is connected to the 13th pin and the green data wire is connected to 6. The led strip was shortened to 5 leds to see if length was a problem (it didn't help ). The dc-dc converter is has the red + wire connected to the wago and in turn the robot, both black - wires are connected to the block, and the yellow + wire is going to the strip whose black - wire is connected to the block as well. All wires are connected to pins, wago connectors, or wrapped in a wire nut and electrical tape. We have tested with another arduino and have recieved the same results. The full model number of the chip is WS280ISOXW140110. We have also sent an email to AndyMark for help but they have not responded.
Attached Thumbnails
Click image for larger version

Name:	20141203_154702.jpg
Views:	94
Size:	215.9 KB
ID:	17542  Click image for larger version

Name:	20141203_154712.jpg
Views:	58
Size:	275.3 KB
ID:	17543  Click image for larger version

Name:	20141203_154729.jpg
Views:	51
Size:	204.8 KB
ID:	17544  Click image for larger version

Name:	20141203_154739.jpg
Views:	57
Size:	245.0 KB
ID:	17545  Click image for larger version

Name:	20141203_154755.jpg
Views:	51
Size:	257.0 KB
ID:	17546  

 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:26.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi