ELectronic ENgineers e-shop
WhatsApp +99470-355-77-72
Telegram bot
Чт, 2024-04-25, 13:54
Приветствую Вас Гость
Меню сайта
Категории раздела
Мини-чат
Наш опрос
Оцените мой сайт
Всего ответов: 394
Статистика

Онлайн всего: 1
Гостей: 1
Пользователей: 0
Главная » Индикаторы и дисплеи

8x8 MAX7219 модуль светодиодной матрицы красный

Рейтинг: 5.0/6
6.81 AZN
  • Артикул:
  • Наличие: 8
  • Единица: шт.
  • Теги: Dot matrix, Max7219
Купить сейчас

   Product description :

This dot matrix module can be controlled by Arduino, pcDuino and other microcontrollers designed to develop different and fun applications.
A dot matrix with common cathode is driven with the MAX7219 integration with serial interface on the board.

   Product features :

- Microcontroller controlled module driven by MAX7219
- 3mm Led Dimensions
- 8x8 common cathode red dot matrix
- Fixing holes in 4 corners for easy mounting
- Working Voltage: 4.7-5.3V
- Working Current: 320mA
- Dimensions: 50x32x15mm

   Product Content:

- 8x8 Red Dot Matrix Module
- 5 Pin Female-Female Jumper Cable

Arduino sketch:

Напишем программу, которая будет по-очереди выводить на матрицу все буквы фразы: «HELLO WORLD!».

#include <SPI.h>
#include <Adafruit_GFX.h>
#include <Max72xxPanel.h>

int pinCS = 9;
int numberOfHorizontalDisplays = 1;
int numberOfVerticalDisplays = 1;

Max72xxPanel matrix = Max72xxPanel(pinCS, numberOfHorizontalDisplays, numberOfVerticalDisplays);

String tape = "HELLO WORLD!";
int wait = 20;

void setup() {
    matrix.setIntensity(7); // яркость от 0 до 15
}

void loop() {
    for ( int i = 0 ; i < tape.length(); i++ ) {
        matrix.fillScreen(LOW);
        matrix.drawChar(0, 0, tape[i], HIGH, LOW, 1);
        matrix.write();
    }
    delay(wait);
}

https://robotclass.ru/

Добавил: elektronwik1, Вс, 2021-01-24

Поиск
Вход на сайт
Корзина
Ваша корзина пуста
Валюта

  • 10 AZN = $5.872
  • 1 AZN = 53.376 Рубль
  • 1 AZN = 15.326TL
Copyright WWW.ELEN.AZ Baku Azerbaijan © 2024 Телефон(WhatsApp):+994703557772