home.social

#neopixel — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #neopixel, aggregated by home.social.

  1. Finally found some time to bring my #NeoPixel Heart PCBs into a usable state and add some documentation. The #sourcecode is hosted on @Codeberg at codeberg.org/rommudoh/NoisyMcH and works for both variants (big and small).
    I think I'll publish the #KiCad files soon, too.
    Thanks to #platformio I can use the same code for both hardware variants.
    #led #rgbled #ws2812b #diyelectronics #pcbdesign #codeberg #programming

  2. Спасаем ARGB: Как я заменил сгоревший китайский хаб на ESP32 с веб-интерфейсом

    Год назад я собрал систему с пятью бюджетными ARGB вентиляторами Aigo AR12 с 6-pin разъёмами. В комплекте шёл хаб AR12-2012 — типичная китайская плата с 5 портами для вентилей, SATA питанием и выходом на материнку для синхронизации подсветки. Всё работало. Красиво светилось. Но ровно год . Однажды утром вентиляторы крутились, а подсветка — нет. Хаб умер. Покупать новый за $15-20 не хотелось, тем более что я знал: внутри этих вертушек сидят обычные адресные светодиоды (WS2812/SM16703-совместимые). А раз адресные, значит можно управлять с ESP32 .

    habr.com/ru/articles/973472/

    #ESP32 #ARGB #RGB_контроллер #WS2812 #вебинтерфейс #DIY #NeoPixel #Aigo_AR12 #микроконтроллер #домашняя_автоматизация

  3. STM32 Tutorial #69 - WS2812 USB HID Controller (Neopixel RGB LED)

    In this video we will combine earlier videos using USB HID to control the programmable RGB WS2812 Neopixels.

    #STM32 #GettingStarted #Tutorial #STM32CubeIDE #STM32CubeMX #USB #HID #WS2812 #NeoPixel #STM32World

    youtube.com/watch?v=gc_AD8k0PCI

  4. #MuesliTech

    It’s time for new projects. Like this small version of the Space Clock as an LED matrix.
    It opens up even more possibilities.

    #haxko #ESP32 #ESP32c3 #MicroPython #WS2812B #NeoPixel #Paw

  5. CIS-4 Is a Monkish Clock Inside a Ceiling Lamp - It’s always clock time at Hackaday, and this time we have an interesting hack of a... - hackaday.com/2025/07/04/cis-4- #cistercianclock #clockhacks #attiny85 #neopixel

  6. Forbidden Planet “Krell” Display – MIDI CC Controller – Part 2

    This revisits my Forbidden Planet “Krell” Display – MIDI CC Controller using my Forbidden Planet “Krell” Display PCB with a Waveshare RP2040 to create more of a “all in one” device.

    Warning! I strongly recommend using old or second hand equipment for your experiments.  I am not responsible for any damage to expensive instruments!

    If you are new to Arduino, see the Getting Started pages.

    Parts list

    PCB

    This requires a built of the Forbidden Planet “Krell” Display PCB with the following:

    • 2 potentiometers
    • MIDI IN and OUT

    I’ve used potentiometers that are their own knob, as they only poke through the casing by around 5mm or so.

    If it you are able to get longer shaft pots, then that would probably be worthwhile.

    Updated 3D Printed Case

    This requires the following from the Krell Display 3D Printed Case:

    This requires the following options in the OpenSCAD code:

    show_frame = 1;
    show_quadframe = 0;
    show_insert = 1;
    show_support = 0;
    show_quadsupport = 0;
    show_eurorack = 0;
    show_eurorack_support = 1;

    alg_pot1 = 1;
    alg_pot2 = 1;
    alg_cv = 0;

    The frame does not really take into account the PCB at present, but I’ve reached the “good enough I want to do something else” stage, so I’ve just added a couple of small cut-outs (using a hacksaw) for the two MIDI sockets, and am content that the components stick out a bit from the back.

    This cutout has to be 10.5mm from the end, 6mm wide, and 5mm deep.

    At some point I might go back and design a deeper frame that has the cut-outs included and some kind of snap-on back to make it a self-contained box.

    But for now, this is left as an exercise for, well, anyone else 🙂

    Construction

    I’ve used four brass 6mm spacers to screw into the mounting holes in the frame. Then the PCB can be inserted, taking care to squeeze in the 3D printed support around the LEDs and pots, and fixed with 20mm spacers which will also act as “legs”.

    The Code

    I’ve used a Waveshare Zero RP2040 and Circuitpython for this build. This is a combination of some of the test code used for the Forbidden Planet “Krell” Display PCB but with added MIDI.

    The code supports both Serial and USB MIDI.

    I wanted an equivalent of the Arduino map() and constrain() functions and didn’t immediate spot them in Circuitpython so wrote my own:

    def algmap(val, minin, maxin, minout, maxout):
    if (val < minin):
    val = minin
    if (val > maxin):
    val = maxin
    return minout + (((val - minin) * (maxout - minout)) / (maxin - minin))

    This allows me to map the analog read values (0 to 65535) down to MIDI CC values (0 to 127) whilst also allowing for some inaccuracies (I’ve treated anything below 256 as zero for example):

    alg1cc = int(algmap(alg1_in.value,256,65530,0,127))

    I’ve used the Adafruit MIDI library, which I’m still not really a fan of, but I wanted to include MIDI THRU functionality to allow the controller to sit inline with an existing MIDI stream. But it doesn’t seem to work very well.

    I was already only updating the LEDs/MIDI CC if the pot values had changed, to cut down on the number of Neopixel writes required.

    I experimented with changing the scheduling of the analog reads and MIDI but that didn’t seem to help very much. In the end I made sure that all MIDI messages queued up in the system would be read at the same time before going back to checking the pots.

        msg = midiuart.receive()
    while (msg is not None):
    if (not isinstance(msg, MIDIUnknownEvent)):
    midiuart.send(msg)
    msg = midiuart.receive()

    It will do for now. Moving forward, I might try the Winterbloom SmolMIDI library. If that still doesn’t give me some useful performance then I might have to switch over to Arduino C.

    Find it on GitHub here.

    Closing Thoughts

    The MIDI throughput is disappointing, but then I’ve never really gotten on with the Adafruit MIDI library. I use it as USB MIDI on Circuitpython is so easy, so will need to do something about that.

    I’m still deciding on the PCB-sized supports too. The original seemed to have nicer diffusion of the LEDs, but that could have been the difference between 5mm SMT neopixels and these THT APA106s which seem more directional in the first place.

    And I really ought to finish the 3D printed case properly too.

    So this is “that will do” for now, but I ought to come back and finish it off properly at some point.

    Kevin

    #APA106 #circuitpython #ForbiddenPlanet #Krell #midi #midiController #NeoPixel #potentiometer #rp2040 #WaveshareZero

  7. Hey fellow Neopixel/WS2812 fans: know of any in-production versions of smaller LED rings using 3535- or 2020-sized WS2812/SK6812 LEDs? (as opposed to the standard 5050 sizes most rings use) Seems like it’d be a great solution for putting around pots/encoders. I can’t find any on Ali
    #ws2812 #sk6812 #rgbled #neopixel

  8. What you can’t see in the above picture are the extra cavities for the LED controller and batteries which will allow me to power these custom neopixel carrier boards I have designed to go inside the hexagonal holes. PCBs are a couple of weeks away from delivery but I’m excited to see this project glow! #rgbled #neopixel #ws2812

  9. CW: selfie, ec

    I've been enjoying the increased activity over here of late 👋

    I've been quiet here over the weekend because I was too busy with activities. There'll be more on that when I get the footage processed, but here's a quick behind-the-scenes shot from Saturday...

    #wearables #LED #neopixel #ibal234

  10. Parts Shortage Forces Creativity for this Recursive Clock of Clocks - We’ve been seeing a lot of metaclocks lately — a digital clock whose display is fo... - hackaday.com/2021/07/25/parts- #clockhacks #lightpipe #metaclock #neopixel #digital #analog #clock #meta

  11. I took the time to document the operations I implemented for my control software WAvrVM. That is a little VM that runs in an #arduino with an instruction set to calculate and set the pixel colors in an #neopixel #ws2812 RGB LED strip. Joined with the bluetooth module HC-05 a #raspberrypi3 or #raspberrypi3 can then upload new animations or just change the colors.

    #rgbled #diy #maker #programming #arduino #arduinouno #arduinonano #electronics #electronicsprojects #electronicsproject #opensource

  12. Camera Zero Looks Cool, Runs Cool - Security cameras are a commodity item these days, but that doesn’t mean [edgett’s]... - hackaday.com/2021/04/10/camera #neopixelring #raspberrypi #neopixel #arducam #camera

  13. Clock-of-Clocks Adds Light-Pipe Hands for Beauty and Function - We’ve gotten used to seeing “meta clocks,” clocks that use an array of analog clock faces and piece ... - hackaday.com/2021/03/19/clock- #clockhacks #lightpipe #metaclock #neopixel #acrylic #stepper #clock #pmma #rgb

  14. Slim RGB Matrix Puts LEDs Inside The PCB - Sometimes all that’s required to build something interesting is to put the same old pieces togethe... - hackaday.com/2020/12/07/slim-r #pcbassembly #ledmatrix #ledhacks #neopixel #ws2812b

  15. A Face Mask That’s Functional and Hacker-Certified - [splat238] needed a mask for going out in public, but wanted something that fit his personal style... more: hackaday.com/2020/07/27/a-face #wearablehacks #coronavirus #leddisplay #dotmatrix #ledhacks #neopixel #esp8266 #ws2812b #covid