I have a very interesting interface card - Longan Nano and a LED stripe WS2815 (12V). As far as I understand, I need to connect to DI pin of the LED stripe some pin from SPI output of the card. As the SPI connector has 6 pins as follows:

  • MISO - Master in / Slave Out
  • VCC
  • SCK, shift clock
  • MOSI - master Out / Slave In
  • SS - slave select
  • GND

and the LED stripe gets SPI data commands...

Am I right that I need to use a Master Out / MOSI pin (i.e. B5 or A7 on the board) to connect with the LED Stripe DI pin?

Thank you for any advice, Vlad.

  • That isn't the same as an Arduino Nano. The only thing they have in common is the name. They're completely different animals. – Delta_G Sep 16 '20 at 23:36
  • It may depend on what library you’re using (I have idea what LED libraries work with the Longan Nano), but as far as I know you should be able to connect any output pin to an addressable LED string. It looks like the Longan Nano is a 3.3V device and the 2815 expecta 5V signals so you might need to use a level converter for the most reliable operation. – StarCat Sep 18 '20 at 6:30
  • Can you share any idea about the LED library? – Vlad Sep 18 '20 at 19:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.