Can't get LED Strip Driver to work...

Grove is a modulated, ready-to-use tool set.
Much like Lego, it takes a building block approach to assembling electronics.

Moderators: lily.li, violet, jeremy882, crail.lyu969

Post Reply
neillt
Pre-kindergarten
Pre-kindergarten
Posts: 2
Joined: Sun Dec 02, 2018 12:01 pm

Can't get LED Strip Driver to work...

Post by neillt » Tue Jun 11, 2019 6:18 am

Hi everyone,

I am trying to use the Grove LED Strip Driver with a Seeeduino v4.2.

I uploaded the example single strip color sketch just fine, and even added some debugging to make sure it was looping properly.

However, the LED strip driver doesn't seem to be responding. The LEDs just stay on full on all 3 colors.

So far I have tried using both I2C Grove ports on the Seeeduino, and changed the pins listed in the sketch to 4 for Data, and 5 for Clock.

Am I doing something insanely wrong to make this work? There is very little help or documentation other than the example sketch.

Thanks!

neillt
Pre-kindergarten
Pre-kindergarten
Posts: 2
Joined: Sun Dec 02, 2018 12:01 pm

Re: Can't get LED Strip Driver to work...

Post by neillt » Tue Jun 11, 2019 8:16 am

Figured it out.

The LED Strip Driver is NOT an I2C device, even though that's not really explained out.

Once I saw the code was bit banging out on the digital pins specified, I just wired it up to those pins. Shame that the Seeeduino doesn't have a digital grove connector, or that there isn't an addressable I2C LED Driver.

bill.yu
Elementary-5
Elementary-5
Posts: 537
Joined: Mon Apr 02, 2018 11:05 am

Re: Can't get LED Strip Driver to work...

Post by bill.yu » Thu Jun 13, 2019 1:50 pm

Hi there~,

It is not I2C interface, includes 4 pins, GND, VCC, DIO, CLK. We can connect DIO and CLK to any digital pin. You can define different pins as below. thanks.

Code: Select all

#include "RGBdriver.h"
#define CLK 2//pins definitions for the driver        
#define DIO 3
RGBdriver Driver(CLK,DIO);

Post Reply