Basic LED Matrix with Arduino
Very basic how to start controlling LEDs using row & column addressing. I.E. How to start if you want to make an LED display [or anything else interesting] and don't know much [or anything] about electronics.
This tutorial is the result of me trying to make an LED matrix display using the Arudino system in a short period of time and starting from a point of no prior electronics experience. One of the reasons it was so hard for me to try my project was not how difficult the task was but how little support there was for people in my position.
Aim of the tutorial
. Give understanding of how row and column addressing can be used to light individual LEDs on a matrix
. Demonstrate the very core basic level code that is needed to perform this function
. To show how this can be used to start creating interesting things.
the code ~
int colPin1 = 8;
int colPin2 = 9;
int rowPin1 = 1;
int rowPin2 = 2;
int rowPin3 = 3;
int rowPin4 = 4;
int rowPin5 = 5;
void setup() {
pinMode(colPin1, OUTPUT);
pinMode(colPin2, OUTPUT);
pinMode(rowPin1, OUTPUT);
pinMode(rowPin2, OUTPUT);
pinMode(rowPin3, OUTPUT);
pinMode(rowPin4, OUTPUT);
pinMode(rowPin5, OUTPUT);
}
void loop()
{
digitalWrite(colPin1, HIGH);
digitalWrite(colPin2, LOW);
digitalWrite(rowPin1, LOW);
digitalWrite(rowPin2, LOW);
digitalWrite(rowPin3, HIGH);
digitalWrite(rowPin4, LOW);
digitalWrite(rowPin5, LOW);
}
***I am not an expert and am aware that this code should be tidier. I kept this simple to make clear the way in which it performs the task. It would be great if people could respond with the next step, which is how to take this code and add layers on it to make it more efficient and more powerful***
Видео Basic LED Matrix with Arduino канала whokknowwss
This tutorial is the result of me trying to make an LED matrix display using the Arudino system in a short period of time and starting from a point of no prior electronics experience. One of the reasons it was so hard for me to try my project was not how difficult the task was but how little support there was for people in my position.
Aim of the tutorial
. Give understanding of how row and column addressing can be used to light individual LEDs on a matrix
. Demonstrate the very core basic level code that is needed to perform this function
. To show how this can be used to start creating interesting things.
the code ~
int colPin1 = 8;
int colPin2 = 9;
int rowPin1 = 1;
int rowPin2 = 2;
int rowPin3 = 3;
int rowPin4 = 4;
int rowPin5 = 5;
void setup() {
pinMode(colPin1, OUTPUT);
pinMode(colPin2, OUTPUT);
pinMode(rowPin1, OUTPUT);
pinMode(rowPin2, OUTPUT);
pinMode(rowPin3, OUTPUT);
pinMode(rowPin4, OUTPUT);
pinMode(rowPin5, OUTPUT);
}
void loop()
{
digitalWrite(colPin1, HIGH);
digitalWrite(colPin2, LOW);
digitalWrite(rowPin1, LOW);
digitalWrite(rowPin2, LOW);
digitalWrite(rowPin3, HIGH);
digitalWrite(rowPin4, LOW);
digitalWrite(rowPin5, LOW);
}
***I am not an expert and am aware that this code should be tidier. I kept this simple to make clear the way in which it performs the task. It would be great if people could respond with the next step, which is how to take this code and add layers on it to make it more efficient and more powerful***
Видео Basic LED Matrix with Arduino канала whokknowwss
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![8x8 LED Matrix for Arduino](https://i.ytimg.com/vi/G4lIo-MRSiY/default.jpg)
![Electronic Basics #5: How to Multiplex](https://i.ytimg.com/vi/uQMUPhyoXoE/default.jpg)
![Led matrix with arduino basics in hindi(tutorial 1)](https://i.ytimg.com/vi/ZAUsyGyoyWs/default.jpg)
![Easy Addressable LEDs with Arduino! WS2812B Tutorial](https://i.ytimg.com/vi/VAa4duqMrgs/default.jpg)
![How to create HEX file with LED Matrix Studio tutorial By Hannachi Samir](https://i.ytimg.com/vi/bh-AXDQYxKQ/default.jpg)
![Display text on 8x8 LED matrix with MAX7219 Arduino module](https://i.ytimg.com/vi/AAiDwBKs9uE/default.jpg)
![Arduino tutorial: LED Matrix red 8x8 64 Led driven by MAX7219 (or MAX7221) and Arduino Uno](https://i.ytimg.com/vi/TOuKnOG8atk/default.jpg)
![Using 5 LED matrices and Arduino via max7219](https://i.ytimg.com/vi/mSN6zbjlNVA/default.jpg)
![Arduino Tutorial 1: Setting Up and Programming the Arduino for Absolute Beginners](https://i.ytimg.com/vi/fJWR7dBuc18/default.jpg)
![arduino control led matrix print alphabet concept in hindi (tutorial 2)](https://i.ytimg.com/vi/JoxMs7EyAfA/default.jpg)
![End Grain Basket Weave Cutting Board Tutorial](https://i.ytimg.com/vi/DwMTZ3WwO4o/default.jpg)
![HOW TO USE WS2812B NEOPIXELS WITH FASTLED ON ARDUINO](https://i.ytimg.com/vi/YgII4UYW5hU/default.jpg)
![Make Your Own LED Matrix !](https://i.ytimg.com/vi/evA4Fp1G76E/default.jpg)
![Scrolling LED Matrix Display](https://i.ytimg.com/vi/DUfAXn_TiEw/default.jpg)
![Make your own 10x10 LED Matrix](https://i.ytimg.com/vi/D_QBlFIQk-o/default.jpg)
![Raspberry Projekt: 8x8 LED Matrix (1088BS) am Raspberry Pi](https://i.ytimg.com/vi/LmVKQ34qbNg/default.jpg)
![Controlling a BIG LED Matrix?! How Shift Registers work! || EB#39](https://i.ytimg.com/vi/Degt4HUzWXY/default.jpg)
![How to Add Outputs to an #Arduino using a Shift Register - The Learning Circuit](https://i.ytimg.com/vi/NykONuPWycc/default.jpg)
![How to control 8x8 dot Matrix with MAX7219 and Arduino](https://i.ytimg.com/vi/SGjQ-E3UD7A/default.jpg)
![DHT11 Temperature and humidity sensor using arduino with LCD disply tutorial](https://i.ytimg.com/vi/xcV-x3Tz620/default.jpg)