-
• #2
Wed 2019.08.21
Q: Is each matrix panel a 8 x 8 grid of Neopixels then?
Hello @user102638 and welcome to Espruino.
Short answer, all the Espruino boards should work, although I personally have not driven Neopixels using the Puck.
Easiest to work with
Tons of pin accessibility
Access via web pages and WiFi
Bluetooth BLE option
4 Button LCD screen - Limited memory, but does work - see the images in #4 post
http://forum.espruino.com/conversations/329625/
http://www.espruino.com/Pixl.js
Code snippets to get startedhttp://www.espruino.com/Individually+Addressable+LEDs
http://www.espruino.com/WS2811
http://www.espruino.com/ws2811_led_clock
This reference will provide links to level shifters that may (most likely) will be requiredhttp://forum.espruino.com/conversations/330713/#comment14615115
You WILL NEED a SEPARATE power supply to drive the Neopixels.
I'm searching for the @allObjects forum post with sample graphics library code along with matrix output that is well explained . . . . -
• #3
Any Espruino board is perfectly fine for that...
For communication you can chose:
- USB (serial over USB) using Espruino Web IDE - tethered
- Wifi
- BLE (Bluetooth Low Energy)
For projects that needed control from outside I preferred so far Wifi... because I create a Web server and need only a browser on a device w/ WiFi access...
With Wifi, Espruino-WiFi is a convenient way to have all done. Espruino Pico combined some ESP8266 board for the Wifi works as well.
I do not know what you have to display on your 11x6 (?) matrix on each of the sides - I assume numbers? - or graphics? Both of them are easy to implement by smartly arranging and wiring your pixel strings.
Board choices in respect to communication:
- USB: Espruino Pico, Espruino Original, Espruino-Wifi (can also use USB for control)
- Wifi: Espruino-Wifi, Espruino Pico or Espruino Original w/ a ESP8266 for WiFi
- BLE: Espruino MDBT42Q BLE Breakout, Espruino Pixl, Espruino Puck
All boards have the capability and capacity to do the job
Take a look at these conversations:
- Retro Horse Derby Game Board with Neopixels showing Reaction Game Status
- Large Display: x by y w/ 24 bpp Graphics buffer visualized with neopixel string in zig-zag layout
In the first example I used custom coding of the pixl strings. In the second I used Espruino's Graphics object and related printing/drawing functions. Latter makes it much easier to get the job done.
Applying the Graphics object for your case would mean that - assumed you have 11x6 matrix on each of the U sides - you place 6 rows of each 33 (3 x 11) pixl string zig-zag connected around your U sides and look at your graphics as a 33 cols x 6 rows dot graphic display (You could also create three (3) 11x6 graphics objects... pros and cons can be discussed at a later point in time).
Coordinates
- 0,0 to 10,5 represents the first (left) side
- 11,0 to 21,5 represents the second / front / bottom 'side'
- 22,0 to 32,5 represents the third (right) side
Writing/drawing then happens by positioning into the respective area, for example (with an appropriate 6x6 font:
g.setColor(...); g.drawString("00", 0+0, 0)
- show "00" on left
-g.setColor(...); g.drawString("XY", 22+0, 0)
- show "XY" on right
Drawing writes into a graphics buffer. A change or schedule triggered background 'process' then pushes the graphics buffer out onto 'the' string. All code is available in second linked example.
Btw, to consider simplicity and legibility for what ever you plan t display, choose enough LEDs... I would go for a 36 (=3x12) x 6..8 setup... it's an additional 80 pixels, but buying them by the meter as single string is very affordable. Cutting them into as many rows you need and wiring them accordingly is what I suggest.
For controlling via Web Server on display / Web Page in Browser using WiFi, take a look at this conversation about Espruino-Wifi controls a STOKYS robot train engine, G Scale. Not a very elaborate UI, but you get the pic...
Can you share a little more about the technical details, such as layout, content to display, colors used, frequency of updates, control / user interface, control actions?...
Btw, what is you JS literacy and in what application / biz filed - if I'm allowed to ask?
- USB (serial over USB) using Espruino Web IDE - tethered
Hello,
I have a project in which I must realize an individually addressable led wall wih ws2811 leds. the wall has 3 sides in the format of U, and each side contains a matrix of 66 pixels. globaly i will have 66 * 3 leds that I must control individually by program communicating with the controller leds by usb port (serial port).
I wonder if an Espruino card allows me to realize this project if yes which I can use.
NB: i don't know any thing about Espruino cards