# GlowBit™ Matrix - 8x8 (CE08033)

**URL:** <https://forum.core-electronics.com.au/t/glowbit-matrix-8x8-ce08033/13714>\
**Category:** Product Questions\
**Created:** [9 April 2022 05:34 UTC](https://forum.core-electronics.com.au/t/glowbit-matrix-8x8-ce08033/13714 "2022-04-09T05:34:28Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Core](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/core/32/57_2.png) [@Core](https://forum.core-electronics.com.au/u/Core)\
**Post date:** [9 April 2022 05:34 UTC](https://forum.core-electronics.com.au/t/glowbit-matrix-8x8-ce08033/13714/1 "2022-04-09T05:34:28Z")

</div>

This is a placeholder topic for [**“GlowBit™ Matrix - 8x8”**](https://core-electronics.com.au/glowbit-matrix-8x8.html) comments.  
  
 ![](https://core-electronics.com.au/media/catalog/product/cache/5ba536955e3e815f4e908e49c1dd8155/g/l/glowbit-matrix-8x8.jpg)  
  
The most powerful GlowBit display! A 64 LED matrix that can be easily tiled to create larger displays.  
  
[**Read more**](https://core-electronics.com.au/glowbit-matrix-8x8.html)

---

<div class="post-metadata">

**Author:** ![Colin75396](https://avatars.discourse-cdn.com/v4/letter/c/ebca7d/32.png) [@Colin75396](https://forum.core-electronics.com.au/u/Colin75396)\
**Post date:** [9 April 2022 05:34 UTC](https://forum.core-electronics.com.au/t/glowbit-matrix-8x8-ce08033/13714/2 "2022-04-09T05:34:29Z")

</div>

Hi. Hooked up a glowbit 8x8 to WLED with a nice 2.4A supply, and an esp32. It sort of works … up to the 47th LED, then nothing. Is there a known problem, or a gotcha here? Or is my 47th LED dead? Any ideas?

---

<div class="post-metadata">

**Author:** ![Colin75396](https://avatars.discourse-cdn.com/v4/letter/c/ebca7d/32.png) [@Colin75396](https://forum.core-electronics.com.au/u/Colin75396)\
**Post date:** [9 April 2022 06:05 UTC](https://forum.core-electronics.com.au/t/glowbit-matrix-8x8-ce08033/13714/3 "2022-04-09T06:05:41Z")

</div>

Ok. I had a spare GlowBit, replaced it. Now it works. Pixel #47 DOA.

---

<div class="post-metadata">

**Author:** ![Liam](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/liam/32/3562_2.png) [@Liam](https://forum.core-electronics.com.au/u/Liam)\
**Post date:** [11 April 2022 00:14 UTC](https://forum.core-electronics.com.au/t/glowbit-matrix-8x8-ce08033/13714/4 "2022-04-11T00:14:41Z")

</div>

Hi Colin,

Welcome to the forum and thanks for making a topic!

Unfortunately, it does sound like the GlowBit Matrix was faulty.  
I’ve just sent an email through to you to hopefully make sure your projects stay on track!

Liam

---

<div class="post-metadata">

**Author:** ![Murray125532](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/murray125532/32/6734_2.png) [@Murray125532](https://forum.core-electronics.com.au/u/Murray125532)\
**Post date:** [4 June 2022 06:29 UTC](https://forum.core-electronics.com.au/t/glowbit-matrix-8x8-ce08033/13714/5 "2022-06-04T06:29:22Z")

</div>

Hi team,  
Do you have a fully dimensioned diagram of the 8x8 matrix showing the spacing of the mounting holes?  
I have found the overall dimensions (61mm x 61mm) on the product page, but nothing found (yet) for the mounting holes.

---

<div class="post-metadata">

**Author:** ![Liam120347](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/liam120347/32/5003_2.png) [@Liam120347](https://forum.core-electronics.com.au/u/Liam120347)\
**Post date:** [4 June 2022 07:09 UTC](https://forum.core-electronics.com.au/t/glowbit-matrix-8x8-ce08033/13714/6 "2022-06-04T07:09:09Z")

</div>

Hi Murray,

All of the design files are open sourced so you can open up KiCAD and measure in there 😃  
Upon opening it up the mounting pattern is 30.48x45.72mm

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/1/1795ed95b9af8385d396917e048190549b41f34f.png)  
(a screenshot of the PCB layout in the [Hardware repo](https://github.com/CoreElectronics/CE-GlowBit-Matrix-8x8))

Come Monday when the folks at Core see your reply the product page should be updated!

---

<div class="post-metadata">

**Author:** ![Murray125532](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/murray125532/32/6734_2.png) [@Murray125532](https://forum.core-electronics.com.au/u/Murray125532)\
**Post date:** [7 June 2022 04:29 UTC](https://forum.core-electronics.com.au/t/glowbit-matrix-8x8-ce08033/13714/7 "2022-06-07T04:29:07Z")

</div>

Hi @Liam120347  
Now loading up KiCAD etc and starting to learn it ( ex-AutoCAD drafting skills to work through )  
Thanks

P.S. will the mounting kit work as ‘front-side’ spacers behind a perspex panel, or will they only fit behind the matrices?

---

<div class="post-metadata">

**Author:** ![Murray125532](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/murray125532/32/6734_2.png) [@Murray125532](https://forum.core-electronics.com.au/u/Murray125532)\
**Post date:** [7 June 2022 04:43 UTC](https://forum.core-electronics.com.au/t/glowbit-matrix-8x8-ce08033/13714/8 "2022-06-07T04:43:52Z")

</div>

New Question …

I note that there is a function to dynamically change the Glowbit rateLimitFPS value at any time within user code (i.e. `stick.updateRateLimitFPS(40)` etc).  
However the brightness value is currently fixed upon initialisation…  
Would this function definition work if added into the glowbit.py library just underneath the updateRateLimitFPS definition?

```auto
## @brief Set a new brightness value
#
# \param newBrightness A new value in range 0(? tbc) - 255
def updateBrightness(self, newBrightness)
  self.brightness = newBrightness

```

Noting that this affects the entire Glowbit object, not individual pixels

p.s. there is a reason for this - being a Lighting engineer, I like LED displays to ‘auto-tune’ the brightness relative to ambient so that a display may be at full power in sunlight, but dims down in the evening and further into the night…

---

<div class="post-metadata">

**Author:** ![Michael](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/michael/32/3545_2.png) [@Michael](https://forum.core-electronics.com.au/u/Michael)\
**Post date:** [7 June 2022 22:59 UTC](https://forum.core-electronics.com.au/t/glowbit-matrix-8x8-ce08033/13714/9 "2022-06-07T22:59:16Z")

</div>

Hey @Murray125532 - the mounting kit will work on the back side only. The screw-head is small enough to fit between LEDs, but the standoff is _just_ too large.

As for your feature request - we’re on it 😃  
Expect a new version of the library to come out soon. (We’ll update you here when it does).

---

<div class="post-metadata">

**Author:** ![Brenton](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/brenton/32/5421_2.png) [@Brenton](https://forum.core-electronics.com.au/u/Brenton)\
**Post date:** [7 June 2022 23:18 UTC](https://forum.core-electronics.com.au/t/glowbit-matrix-8x8-ce08033/13714/10 "2022-06-07T23:18:57Z")

</div>

Hi Murray,

A provisional method has been added to glowbit.py (line 327f: [CE-GlowBit-Python/glowbit.py at main · CoreElectronics/CE-GlowBit-Python · GitHub](https://github.com/CoreElectronics/CE-GlowBit-Python/blob/main/glowbit/glowbit.py)).

The initialisation methods accept [0,255] integers or [0.0, 1.0] floats so the new method has been written to be consistent with that.

It will make its way into a new formal package release once thoroughly tested. For now, feel free to manually use the glowbit.py from the repo.

---

<div class="post-metadata">

**Author:** ![Murray125532](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/murray125532/32/6734_2.png) [@Murray125532](https://forum.core-electronics.com.au/u/Murray125532)\
**Post date:** [8 June 2022 03:27 UTC](https://forum.core-electronics.com.au/t/glowbit-matrix-8x8-ce08033/13714/11 "2022-06-08T03:27:00Z")

</div>

Thanks @Brenton - works great (both with float and integer values) 👏

---

<div class="post-metadata">

**Author:** ![Murray125532](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/murray125532/32/6734_2.png) [@Murray125532](https://forum.core-electronics.com.au/u/Murray125532)\
**Post date:** [8 June 2022 04:59 UTC](https://forum.core-electronics.com.au/t/glowbit-matrix-8x8-ce08033/13714/12 "2022-06-08T04:59:49Z")

</div>

My test script - updated library file named glowbit2.py so I dont mix things up too much

```auto
import glowbit2 # Glowbit stick with new brightness command
from PiicoDev_Unified import sleep_ms # Cross-platform compatible sleep function

stick = glowbit2.stick() # default pin=18, sm=0

#########################################
#
# range() function that works for floats
# https://www.techbeamers.com/python-float-range/
#
#########################################
def frange(start, stop=None, step=None):
    # if set start=0.0 and step = 1.0 if not specified
    start = float(start)
    if stop == None:
        stop = start + 0.0
        start = 0.0
    if step == None:
        step = 1.0
# print("start = ", start, "stop = ", stop, "step = ", step)
    count = 0
    while True:
        temp = float(start + count * step)
        if step > 0 and temp >= stop:
            break
        elif step < 0 and temp <= stop:
            break
        yield temp
        count += 1

#########################################
#
# updateBrightness tests
#
#########################################
print("updateBrightness using float")
print("float","int equiv from glowbit defn",sep="\t")
for f in frange(0.0, 1.01, 0.01):
    print(f, (int(f*255)), sep="\t")
    stick.updateBrightness(f)
    stick.pixelsFill(stick.red())
    stick.pixelsShow()
    sleep_ms(1000)

stick.pixelsFill(0)
stick.pixelsShow()

print("updateBrightness using int")
for i in range(0, 256):
    print(i)
    stick.updateBrightness(i)
    stick.pixelsFill(stick.green())
    stick.pixelsShow()
    sleep_ms(1000)

stick.pixelsFill(0)
stick.pixelsShow()

```

---

<div class="post-metadata">

**Author:** ![Murray125532](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/murray125532/32/6734_2.png) [@Murray125532](https://forum.core-electronics.com.au/u/Murray125532)\
**Post date:** [27 June 2022 02:47 UTC](https://forum.core-electronics.com.au/t/glowbit-matrix-8x8-ce08033/13714/13 "2022-06-27T02:47:14Z")

</div>

Hi @Brenton  
I have a suggested small change in the Stick rainbowDemo function

Original code (line 1232 … in Github)

```auto
    ## @brief Uses the colourMapRainbow() colour map to display a colourful animation
    def rainbowDemo(self, iters = 5):
        while iters > 0:
            for offset in range(33):
                for i in range(8):
                    self.pixelSet(i, self.colourMapRainbow(i,offset, offset+32))
                self.pixelsShow()
            iters -= 1

```

My change causes the rainbow to use all the LEDs in concatenated Sticks

```auto
    ## @brief Uses the colourMapRainbow() colour map to display a colourful animation
    def rainbowDemo(self, iters = 5):
        while iters > 0:
            for offset in range(33):
# for i in range(8): ## mjt 20220627
                for i in range(self.numLEDs):
                    self.pixelSet(i, self.colourMapRainbow(i,offset, offset+32))
                self.pixelsShow()
            iters -= 1

```

---

<div class="post-metadata">

**Author:** ![James94023](https://avatars.discourse-cdn.com/v4/letter/j/e9bcb4/32.png) [@James94023](https://forum.core-electronics.com.au/u/James94023)\
**Post date:** [15 July 2022 00:07 UTC](https://forum.core-electronics.com.au/t/glowbit-matrix-8x8-ce08033/13714/14 "2022-07-15T00:07:58Z")

</div>

I’m programming the GlowBit Matrix 8x8 using rPi’s Thonny editor.

Thankfully in the tutorial it explains that you need to be using Thonny as a “super user” in order to get the GlowBit library to compile (ie “sudo thonny”). This works fine with a direct connection into the rPi.

However, when I set up a standard SSH connection from my laptop to the rPi using PuTTY and VNC Viewer it will not allow me to start Thonny as a super user. It only allows me to use Thonny as a standard user. As such the GlowBit library cannot be used in a program through VNC Viewer. This makes it much harder to use in a classroom situation.

So my questions are:

1. If it isn’t too technical, why does the Glowbit library need Thonny to be accessed in sudo mode?
2. Is there a setting in VNC that would allow me to run Thonny in sudo mode?
3. Depending on the answer to question 1, could it be possible to run parts of the GlowBit library without being a super user. ie perhaps a less feature rich version of GlowBit library?
4. Are there any other considerations I’m not aware of?

---

<div class="post-metadata">

**Author:** ![Michael](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/michael/32/3545_2.png) [@Michael](https://forum.core-electronics.com.au/u/Michael)\
**Post date:** [19 July 2022 02:54 UTC](https://forum.core-electronics.com.au/t/glowbit-matrix-8x8-ce08033/13714/15 "2022-07-19T02:54:29Z")

</div>

Hey @James94023, thanks for bringing this one to the forums.

Answers to your questions:

1. If i recall correctly, Python must have sudo permissions in order to drive the hardware pins, which drive the LEDs.
2. Are you attempting to run thonny from a terminal on the Pi? That is, did you connect via vnc, and then execute `sudo thonny`? What do you see when you try this?
3. I don’t think so - since Python would not be able to drive the hardware pins.

---

<div class="post-metadata">

**Author:** ![Michael](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/michael/32/3545_2.png) [@Michael](https://forum.core-electronics.com.au/u/Michael)\
**Post date:** [19 July 2022 02:56 UTC](https://forum.core-electronics.com.au/t/glowbit-matrix-8x8-ce08033/13714/16 "2022-07-19T02:56:29Z")

</div>

This is great! If you’d like your contribution to count to the project consider opening a Pull Request on the [repo](https://github.com/CoreElectronics/CE-GlowBit-Python).

---

<div class="post-metadata">

**Author:** ![Michael](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/michael/32/3545_2.png) [@Michael](https://forum.core-electronics.com.au/u/Michael)\
**Post date:** [19 July 2022 06:49 UTC](https://forum.core-electronics.com.au/t/glowbit-matrix-8x8-ce08033/13714/17 "2022-07-19T06:49:17Z")

</div>

@James94023 I’m not sure I fully understand what’s going on here:

> [@James94023](#):
>
> However, when I set up a standard SSH connection from my laptop to the rPi using PuTTY and VNC Viewer it will not allow me to start Thonny as a super user. It only allows me to use Thonny as a standard user.

Running thonny with `sudo` _should_ be no different from within a VNC Viewer session - here I’ve attached some screenshots of my workflow.

You can see that I’m running VNC Viewer - the VNC window is against my purple background.  
I open a terminal, execute `sudo thonny` and then I can run my `demo.py` script which is sourced from the tutorial.

Are you doing the same workflow with different results?  
I wouldn’t expect the experience to be any different if you were logging in via SSH…

A couple of other questions to consider:

- What user are you logging in with?
- Does the user have `sudo` permissions?

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/e/e56b0f838b7a7b3f2fa92ab3a7f7cafe91577cc4.jpeg)

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/5/5970d1d53f18a9c7928c70f5dc2b2a2c5cc4dd99.jpeg)

---

<div class="post-metadata">

**Author:** ![Murray125532](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/murray125532/32/6734_2.png) [@Murray125532](https://forum.core-electronics.com.au/u/Murray125532)\
**Post date:** [20 July 2022 10:43 UTC](https://forum.core-electronics.com.au/t/glowbit-matrix-8x8-ce08033/13714/18 "2022-07-20T10:43:13Z")

</div>

This is great! If you’d like your contribution to count to the project consider opening a Pull Request on the [repo](https://github.com/CoreElectronics/CE-GlowBit-Python).

---

<div class="post-metadata">

**Author:** ![Aaron109945](https://avatars.discourse-cdn.com/v4/letter/a/8edcca/32.png) [@Aaron109945](https://forum.core-electronics.com.au/u/Aaron109945)\
**Post date:** [25 August 2022 02:23 UTC](https://forum.core-electronics.com.au/t/glowbit-matrix-8x8-ce08033/13714/19 "2022-08-25T02:23:56Z")

</div>

I got a couple of these panels.

I designed a 3D case, used a beetle esp32 and set it up with WLED.

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/5/520b16c686e09e2f7280a3ff778579a6399ffc48.jpeg)  
 ![image](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/7/73a6a181a21fe51c0e9ae54c62fc76f81dba748b.jpeg)  
 ![image](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/2/2d120af68b462e7717a55cb950560d1eccd04b45.jpeg)

[YouTube video of it running at night.](https://youtu.be/5OuVWU43sQQ)

---

<div class="post-metadata">

**Author:** ![Liam120347](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/liam120347/32/5003_2.png) [@Liam120347](https://forum.core-electronics.com.au/u/Liam120347)\
**Post date:** [25 August 2022 11:02 UTC](https://forum.core-electronics.com.au/t/glowbit-matrix-8x8-ce08033/13714/20 "2022-08-25T11:02:24Z")

</div>

Hi Aaron,

That’s ethereal 😃 I’d be curious to see how it looks behind some defusion acrylic: [Black LED Diffusion Acrylic Panel 12 x 12 - 0.1 / 2.6mm thick | Adafruit ADA4594 | Core Electronics Australia](https://core-electronics.com.au/black-led-diffusion-acrylic-panel-12-x-12-0-1-2-6mm-thick.html)

What program did you have running in the video, that looks siiiick

[Next page](https://forum.core-electronics.com.au/t/glowbit-matrix-8x8-ce08033/13714.md?page=2)
