Introduction: LED Messaging With Arduino
In this project, you'll use an 8x8 LED matrix to write a scrolling message.
This project is a simple version of another instructable by CarterW16 using only one LED matrix. Check out that project to see how to link more together.
To get started you'll need:
Step 1: Connecting to Power
Use a jumper wire to connect the “5v” power output on the microcontroller to the first hole in the positive line on the long edge of your breadboard.
Step 2: Connecting to Ground
Use a jumper wire to connect the GND power output on the microcontroller to the negative line on the long edge of your breadboard.
Step 3: Prepare the LED Matrix
Place the LED matrix near your Arduino to prepare to hook it up.
Step 4: Connect VCC
Connect the VCC pin on the LED matrix to the long positive row on your breadboard using a male-female jumper wire.
Step 5: Connect GND
Use a male-female jumper wire to connect the GND pin on the LED matrix to the long negative row on your breadboard.
Step 6: Connect DIN
Connect the pin marked “DIN” on the LED matrix to pin 12 on your Arduino using a male-female jumper wire.
Step 7: Connect CS
Connect the “CS” pin on the LED matrix to pin 11 on the Arduino.
Some of the LED matrix boards have the CLK pin in a different location, so be sure to read the small letters on your matrix to be sure you are making the right connection.
Step 8: Connect CLK
Connect the “CLK” pin on the LED matrix to pin 10 on the Arduino.
Some of the LED matrix boards have the CLK pin in a different location, so be sure to read the small letters on your matrix to be sure you are making the right connection.
Step 9: Get Your Code
Use the Arduino web editor to get the code.
You'll also need to download and install the MaxMatrix library.
Comments