Table of Contents

~~REVEAL~~

Deskduino V2

The Edge June 2018

Summary

Participants will create an electronic display for their workplace/desk. The display uses a programmable 8×8 LED Matrix display, an Arduino Nano and a cardboard frame made using a laser-cutter.

This workshop was initially developed for the Flying Arts program ArtizINNOVATE@theEdge in June 2017, then run at Woodford Folk Festival 2017/2018 and eventually run as an in-house workshop. This latest iteration (June 2018) uses an acrylic case, suitable for either a single or multiple screens. Cardboard Version.

Skills Introduced

Materials

Electronics

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

Frame

Tools and Prepartion

Tools

Introduction to Arduino Microcontrollers

What is a micro controller?

A microcontroller (or MCU for microcontroller unit) is a small computer on a single integrated circuit.

Why use an MCU?

Microcontrollers are small, low powered and robust, making them perfect for embedded systems such as:

What is Arduino?

Arduino is an open source computer hardware and software company, project, and user community 1) .

Assembly and Testing

It's time to get started!

Step One: Connecting and Testing the Arduino Nano

Download the Arduino IDE

Download the latest version of the Arduino IDE.

Select your operating system and when prompted choose “Just Download”.

If you are using a genuine Arduino with the FT chipsets you won't need to download any drivers on PC and MacOS Sierra. If you are using a knockoff Arduino with the CH340G chip you will need to download the drivers for Mac.

Follow the instruction and install the program on your computer.

Connect Your Arduino

A red and then a green LED will light up on the Arduino, indicating that it's receiving power (for some Arduinos this may just be a single red light)

Badge_duino

Now launch Arduino IDE

Go to the Tools menu and change the following:

Tools Menu

Once that is done, run “Get Board Info” in the same menu, this should bring up a small pop-up with some information.

As long a you're not receiving an error in the console, you have successfully connected your Arduino!

Another step you can take to test that everything is working is to load one of the basic example projects and upload it to the Arduino.

Step Two: Assembly

If you need to use the plastic bending apparatus, use 105 degrees and the settings for 3mm acrylic. Align the horizontal line below the logo with the heating wires. make sure you are facing the plastic the correct way, so that when the logo is displayed correctly. Also make sure to remove the protective plastic from the acrylics before bending.

The display and Arduino rest in the frame's cavities and generally don't need to be glued. If you're using a transparent acrylic glue will look bad and/or will create visible stains on the acrylic from the glue fumes.

Make sure the Arduino's legs are pointing towards the back. If you've already connected your pins it is possible to squeeze the Arduino through from the back, given the right angle.

This is how the wires need to be connected:

Step Four - Using the Library and Project

Now it's time to check our Arduino and LED are talking to each other.

Download and install the Library

In order to make the LED display a lot easier to work with we'll need to install a custom version of the MaxMatrix library (found in the download section below).

Download and open the project

Below you will find the project files compressed into a .ZIP file.

Note: You won't be able to run this script unless you have downloaded the library above.

Upload the Project

It is time to test the project file in your desk Arduino. Upload it the same way as the blink file. Your desk Arduino should say Free Bear Hugs.

Hacking the Code

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(text1, 100);  // Send scrolling Text
  displayText(text2, 100);  // Send scrolling Text
  //displayCustom(smile01, 1000);
}

Look for the void loop() section. This contains what your Arduino will do once it turns on. In this case it will:

Want to change the displayed text?

 char text2[] = " FREE BEAR HUGS!!!    ";  // Scrolling Text
char text2[] = " I Have Changed!!  ";  // Scrolling Text

References

Downloads

Arduino

Laser Cutter Files

These files are for cutting on The Edge Rayjet. Settings are:

Colour Power Speed Description
Black 60 80 Engraving
Red 100 1.7 Cut lines
Blue 50 50 Bend Line