~~HERO-IMAGE ~~ ~~HERO-SUBTITLE A quirky customisable digital display for your desk~~
April 2020 - Phil Gullberg, Applied Creativity
We acknowledge Aboriginal and Torres Strait Islander peoples and their continuing connection to land and as custodians of stories for millennia. We respectfully acknowledge the land on which we all meet today, and pay our respects to elders past, present and emerging.
Participants will create an electronic display for their workplace/desk. The display uses a programmable 8×8 LED Matrix display, an Arduino Nano and an acrylic laser-cut stand. Participants will be able customise the scrolling text as well as still, low resolution, images.
The workshop will be split into two 40 min sessions with a 10-20 min break in between.
Session 1:
Session 2:
Need help setting up Arduino Create or troubleshooting your Arduino? Go to the Arduino Create wiki page. If you're looking for the older version of the workshop please visit the Deskduino page.
Material | Quantity | Cost | Supplier |
---|---|---|---|
Arduino Nano v3 | 1 | $3.40 | AliExpress |
MAX7219-dot-matrix-module | 1 | $2.10 | AliExpress |
Short USB Cable - USB-A to Micro USB | 1 | $2 | Tronixlabs |
A3 3mm acrylic (clear or other) | 0.1 | 0.75 | Acrylics Online |
Total $7.50 |
Design files (Corel Draw) available to download below.
Hardware:
Software:
Make sure you test your audio and video in Zoom before joining the workshop. Video is not necessary but audio will be!
A microcontroller (or MCU for microcontroller unit) is a small computer on a single integrated circuit.
Microcontrollers are small, low powered and robust, making them perfect for embedded systems such as:
Arduino is an open source computer hardware and software organisation, project, and user community 2)
It is important to never connect or adjust any wiring/components/peripherals if your Arduino is plugged into power. Make sure to disconnect the USB from the computer prior!
We'll be using the web based Arduino editor. To setup your IDE and Arduino jump to the Arduino Create page.
Download the Desktop Oddities files from the Download section at the bottom of the page. Both the project files (Arduino Sketch, .ino) and the MaxMatrix library are conveniently all packed up in the same .zip file.
Make sure to save the file where you can easily find it later.
In the Arduino Create editor click the Sketchbook tab from the left-hand menu. Locate and click the grey Import button. You will be prompted with a message, go ahead and click import. Locate the Desktop_Oddities.zip file we downloaded and press open.
The files will take a few seconds to upload and when completed you will see two confirmation windows. One for the project files (sketch) followed by one for the MaxMatrix library.
The sketch should open in the main editor window. If it doesn't, go to your Sketchbook and click desktop_oddities.
Verify the code and upload to your Arduino just like we did with the Blink project earlier.
The jumper wires that come with the LED matrices will come in variations of colours and are usually stuck together. The order of the colours don't matter but it makes it a little easier to keep them in the order they are stuck together.
In the example above, VCC on the LED Matrix the cable is Green which would be connected to the VIN pin on the Arduino.
This is how the wires need to be connected (Click image to enlarge!):
While it's beyond the scope of this workshop to teach your how to program your Arduino - here are some tips on:
void loop() { displayText(text2, 100); // Send scrolling text //displayText(text1, 100); // Send scrolling text //displayCustom(smile01, 1000); // Send custom image }
Look for the void loop()
section. This contains what your Arduino will do once it turns on. In this case it will:
displayText(text2, 100)
displayText(text1, 100);
as it has been commented out with two forward slashesdisplayCustom(smile01, 1000)
Want to change the displayed text?
text2
char text2[] = " FREE BEAR HUGS!!! "; // Scrolling Text
char text2[] = " I Have Changed!! "; // Scrolling Text
These files are for cutting on The Edge Rayjet. Settings are:
Part | Colour | Power | Speed | Description |
---|---|---|---|---|
SLQ Logo | Black | 60 | 80 | Engraving |
Inside cutouts | Red | 100 | 1.5 | Cut |
Outside Border | Blue | 100 | 1.5 | Cut |
Edge Logo | Cyan | 90 | 10 | Cut |