# Running sketch files to LED matrix from MacBook Pro

**URL:** https://discourse.processing.org/t/running-sketch-files-to-led-matrix-from-macbook-pro/13427
**Category:** Electronics (Arduino, etc.)
**Created:** [August 17, 2019, 10:30am UTC](https://discourse.processing.org/t/running-sketch-files-to-led-matrix-from-macbook-pro/13427 "2019-08-17T10:30:20Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![blackdiam\_echo](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/blackdiam_echo/32/6177_2.png) [@blackdiam\_echo](https://discourse.processing.org/u/blackdiam_echo)
#### Post date: [August 17, 2019, 10:30am UTC](https://discourse.processing.org/t/running-sketch-files-to-led-matrix-from-macbook-pro/13427/1 "2019-08-17T10:30:20Z")

</div>

Hello all,

this is my first post here and I am so glad to have discovered Processing and this community. At the same time please excuse my ignorance.

I am looking to run sketch files onto a LED matrix. I can see plenty of literature about how to do this from an Arduino but no solution from a MacBook pro. Is it possible at all?

Thanks in advance.  
DR

---

<div class="post-metadata">

### Author: ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)
#### Post date: [August 18, 2019, 5:36am UTC](https://discourse.processing.org/t/running-sketch-files-to-led-matrix-from-macbook-pro/13427/2 "2019-08-18T05:36:59Z")

</div>

What LED matrix are you using? How are you planning on hooking it up to your Mac?

---

<div class="post-metadata">

### Author: ![blackdiam\_echo](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/blackdiam_echo/32/6177_2.png) [@blackdiam\_echo](https://discourse.processing.org/u/blackdiam_echo)
#### Post date: [August 18, 2019, 3:38pm UTC](https://discourse.processing.org/t/running-sketch-files-to-led-matrix-from-macbook-pro/13427/3 "2019-08-18T15:38:35Z")

</div>

Hello,

for the matrix 64x32 I suppose  
how to hook it up from the mac, it is what I am trying to figure!

---

<div class="post-metadata">

### Author: ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)
#### Post date: [August 18, 2019, 4:10pm UTC](https://discourse.processing.org/t/running-sketch-files-to-led-matrix-from-macbook-pro/13427/4 "2019-08-18T16:10:36Z")

</div>

> [@blackdiam\_echo](#):
>
> matrix 64x32

I think according to the specs those are designed for Arduino or Raspberry Pi.

[https://www.microcenter.com/product/504015/adafruit-industries-64x32-rgb-led-matrix---3mm-pitch](https://www.microcenter.com/product/504015/adafruit-industries-64x32-rgb-led-matrix---3mm-pitch)

Arduino Uno  
Arduino Mega2560  
Arduino Duemeilanove  
Arduino Leonardo  
Arduino Fio  
Arduino Pro  
Raspberry Pi Model B+  
Raspberry Pi Model A+  
Raspberry Pi 2 Model B  
Arduino Uno R3  
Raspberry Pi 3 Model B  
Arduino Uno R4 Plus

Sorry, I’m not actually sure about direct laptop connections for those things – they tend to be designed to interface with a cheap computer as a driver, digital-sign style, like in these tutorials:

- [Overview | RGB LED Matrix Basics | Adafruit Learning System](https://learn.adafruit.com/32x16-32x32-rgb-led-matrix)
- [Overview | Adafruit RGB Matrix + Real Time Clock HAT for Raspberry Pi | Adafruit Learning System](https://learn.adafruit.com/adafruit-rgb-matrix-plus-real-time-clock-hat-for-raspberry-pi)

I’ll let the Arduino / Pi experts answer about direct laptop hookups.

---

<div class="post-metadata">

### Author: ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)
#### Post date: [August 18, 2019, 4:26pm UTC](https://discourse.processing.org/t/running-sketch-files-to-led-matrix-from-macbook-pro/13427/5 "2019-08-18T16:26:52Z")

</div>

I did that once with a PC / Windows

The led grid was on an Arduino

Upload program to Arduino

Run from there

But it’s not quite processing, Arduino has its own IDE with examples

---

<div class="post-metadata">

### Author: ![blackdiam\_echo](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/blackdiam_echo/32/6177_2.png) [@blackdiam\_echo](https://discourse.processing.org/u/blackdiam_echo)
#### Post date: [August 18, 2019, 4:59pm UTC](https://discourse.processing.org/t/running-sketch-files-to-led-matrix-from-macbook-pro/13427/6 "2019-08-18T16:59:40Z")

</div>

So basically, you definitely need an Arduino.

Let me reword the question, if you wanted to run a Processing file onto a LED display similar to theses

[https://en.ledsi.info/](https://en.ledsi.info/)

60 cms by 60 centimeters, how would you do?

---

<div class="post-metadata">

### Author: ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)
#### Post date: [August 20, 2019, 9:37am UTC](https://discourse.processing.org/t/running-sketch-files-to-led-matrix-from-macbook-pro/13427/8 "2019-08-20T09:37:42Z")

</div>

You should install the Arduino IDE on your mac

Before using the LED grid make yourself familiar with this IDE and how to upload a sketch to Arduino via usb and run on Arduino. There are lots of examples and documentation.

Once you got this level of knowledge you can turn to the LED grid.

There is a forum for Arduino. Maybe ask there.

The website of the producer of the LED grid should provide examples

In theory : attach grid to Arduino, load an example in the IDE, upload to Arduino via usb and run on Arduino

I had this one (or similar):

> **[Adafruit Mini 8x8 LED Matrix w/I2C Backpack - Red](https://www.adafruit.com/product/870)**
>
> What's better than a single LED? Lots of LEDs! A fun way to make a small display is to use an 8x8 matrix or a 4-digit 7-segment display. Matrices like these are 'multiplexed' - so to control ...
