0xFFFF

  • *
  • 11
Hello,

I'm 90% sure I'm right but wanted to be 100% sure before I start purchasing stuff...

If I attached a WS2812B LED strip consisting of 8 LEDS to FlexiIO_pin3 (or 4), all of the LEDs attached to this port would display the 'LED codes'. Right?
« Last Edit: August 03, 2016, 01:10:34 pm by 0xFFFF »


0xFFFF

  • *
  • 11
Re: Clarification of the WS281x LED setup on Revolution...
« Reply #2 on: June 30, 2016, 03:40:00 am »
Awesome. Thank you :)

0xFFFF

  • *
  • 11
Re: Clarification of the WS281x LED setup on Revolution...
« Reply #3 on: July 13, 2016, 02:12:10 pm »
I finally got around to attaching a WS2812B LED board to the Revo.

http://www.ebay.com.au/itm/8Bit-LED-Ring-WS2812B-5050-RGB-LED-Drivers-For-Arduino-Circular-Light-/182125609400?hash=item2a678841b8:g:YFMAAOSw60lXMWU6

In LibrePilot under HwSettings > WS2812LED_Out I have set the the output to FlexIOpin3 (blue). And saved it.
Using my DSO, I probed the flexIO pins but there wasn't anything there. Both flexIO lines are held high.

What am I doing wrong?

FYI-
GCS v15.09
Revo firmware - Revolution, 6, bu_revolution.opfw
Everything else ESCs, GPS, telemetry,... is working fine.
« Last Edit: July 14, 2016, 01:39:13 am by 0xFFFF »

0xFFFF

  • *
  • 11
Re: Clarification of the WS281x LED setup on Revolution...
« Reply #4 on: July 31, 2016, 08:34:30 am »
Bump!

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Clarification of the WS281x LED setup on Revolution...
« Reply #5 on: July 31, 2016, 09:31:11 am »
What board do you use ?

A Revolution full sized or Revolution Mini ?

Not a CC3D because refers to another board, only Chinese use "Revolution" for marketing purposes.

hwh

  • *
  • 1018
Re: Clarification of the WS281x LED setup on Revolution...
« Reply #6 on: July 31, 2016, 11:15:00 pm »
If you're talking about the "mini revo" shown below count the pins on the connector.  :(   There are supposed to be 10.  To save on costs the Chinese replaced the 10 pin connector with an 8 pin one and skipped connecting the original revo's pins 3 and 4.  After pin 2 their pin numbers are 2 off.  You could find the pins on the cpu and wire directly but it might be easier to use one of the servo out connectors if you have one free.

0xFFFF

  • *
  • 11
Re: Clarification of the WS281x LED setup on Revolution...
« Reply #7 on: August 03, 2016, 01:10:13 pm »
Sorry for not replying sooner. I forgot to subscribe to my own thread    :o
And sorry for not clarifying earlier (I'm terrible at that).

I'm using a full sized Revolution purchased from HobbyKing.
Firmware tag: 15.09
Firmware date: 2015-10-21 19:14
Git commit hash: c3f2fd0b

No matter what I do I can't get pins 3 or 4 of the flex port to work as the WS2811LED_Out.

I managed to get it working though!
For some reason WS2811LED_Out worked on ServoOut6, no worries at all.
I'm glad I got it going but it might be worthwhile if someone else with a full Revolution could verify this and perhaps update the Librepilot documentation accordingly?

Mateusz

  • *
  • 808
Re: Clarification of the WS281x LED setup on Revolution...
« Reply #8 on: August 03, 2016, 01:22:36 pm »
I'm using a full sized Revolution purchased from HobbyKing.

God have mercy. No such thing as "Revolution". It's either CC3D or Revolution, unless you use both at the same time. Looks like HK is not clear what they're selling, maybe you pay for Revo and get one board randomly ? :)

0xFFFF

  • *
  • 11
Re: Clarification of the WS281x LED setup on Revolution...
« Reply #9 on: August 03, 2016, 01:58:45 pm »
God have mercy. No such thing as "Revolution". It's either CC3D or Revolution, unless you use both at the same time. Looks like HK is not clear what they're selling, maybe you pay for Revo and get one board randomly ? :)

...oh.  :(
So this is not a legitimate Revolution?

Where should I get a Revolution from? (I'm in Australia BTW)

@marc

  • *
  • 152
  • Ask me about LibrePilot2Go on Android.

Mateusz

  • *
  • 808
Re: Clarification of the WS281x LED setup on Revolution... [SOLVED]
« Reply #11 on: August 03, 2016, 03:23:40 pm »
I would not bother about getting genuine OpenPilot Revolution. As you might know, OpenPilot does not exist anymore, and people who produced hardware stopped doing that long before fork happened. Because this hardware is so successful, Chinese started producing those boards, and they're now easier to get than in the past. Some of them might follow original design, some might be derivatives, but the Revolution firmware should work on them.

0xFFFF

  • *
  • 11
Re: Clarification of the WS281x LED setup on Revolution... [SOLVED]
« Reply #12 on: August 03, 2016, 11:29:43 pm »
Ah OK. Good to know.
Thanks people :)