You are reading a single comment by @Gustav and its replies. Click here to read the full conversation.
  • Is there anyway i can use a very short strip of WS2812B (9 leds) with the MDBT42Q module i see it doesn't have SPI, but can i send a signal any other way ?

  • Sat 2019.07.06

    ' i see it doesn't have SPI'

    Hi @Gustav, a little puzzled by your comment,

    as 7/8 down the page, "Note: The nRF52 port has one available I2C, SPI and USART (and infinite software SPI and I2C). Unlike other Espruino boards, these peripherals can be used on any pin."

    http://www.espruino.com/MDBT42Q

    On the MDBT42Q breakout board, I use the code from:

    http://www.espruino.com/WS2811



    Note that you will need a separate supply for the WS2812B strip as the onboard regulator won't be able to drive that many, 9 x ~60ma or roughly half an amp at full on white.

    Although it doesn't appear to be stated on that page, I believe the regulator is the same as the one used on the Pixl:

    the 5v pin will be connected to regulated 3.3v power (note: max power draw is 150mA)
    http://www.espruino.com/Pixl.js#-vin-pin­s

    Also note that pinMode has given some bewildering pondering.

    http://forum.espruino.com/conversations/­324269/

About

Avatar for Gustav @Gustav started