La riproduzione carica il player incorporato di YouTube (modalità privacy avanzata).
Tutorial Arduino Nokia 5110 LCD #1 - Collegamento e primo programma
CanaleJulian IlettDescrizione dell’autore
Il codice è scritto da zero, senza usare librerie.
Ecco il codice completo:
void LcdWriteCmd(byte cmd)
{
digitalWrite(DC, LOW); // DC a LOW per i comandi
digitalWrite(CE, LOW);
shiftOut(DIN, CLK, MSBFIRST, cmd); // invio dati seriali
digitalWrite(CE, HIGH);
}
void setup()
{
pinMode(RST, OUTPUT);
pinMode(CE, OUTPUT);
pinMode(DC, OUTPUT);
pinMode(DIN, OUTPUT);
pinMode(CLK, OUTPUT);
digitalWrite(RST, LOW);
digitalWrite(RST, HIGH);
LcdWriteCmd(0x21); // Comandi estesi del LCD
LcdWriteCmd(0xB8); // Imposta il Vop (contrasto)
LcdWriteCmd(0x04); // Imposta il coefficiente di temperatura
LcdWriteCmd(0x14); // Modalità di bias LCD 1:40
LcdWriteCmd(0x20); // Comandi base del LCD
LcdWriteCmd(0x09); // Accende tutti i segmenti
}
void loop()
{
Informazioni su questo tutorial
Julian Ilett ha pubblicato questo video tutorial di 15:03 il 26 ottobre 2014. È stato visto 234.308 volte su YouTube.
- Canale
- Julian Ilett
- Categoria
- Scienza e tecnologia
- Durata
- 15:03
- Pubblicato
- 26 ottobre 2014
- Visualizzazioni
- 234.308
- Mi piace
- 1.313
Condividi
Approfondimenti
-
Nokia 5110 LCD and Arduino – Ultimate Tutorial and Guide
duino4projects.com
Interfacing Nokia 5110 LCD Display To Arduino. In this article, we are publishing a project tutorial which explains different aspects of interfacing a Graphical LCD (GLCD ) Nokia 5110 with Arduino. Nokia 5110 is a 48 x…
-
In-Depth: Interface Nokia 5110 Graphic LCD Display with Arduino
lastminuteengineers.com
GND should be connected to the ground of Arduino. Wiring Nokia 5110 LCD display module to Arduino Uno. Before we get to uploading code and sending data to the display, let’s hook the display up to the Arduino. Connectio…
-
Complete Guide for Nokia 5110 LCD with Arduino | Random Nerd ...
randomnerdtutorials.com
Great job on the tutorial on the Nokia 5110 LCD with Arduino. I have been working with the 5110 for the past year and your tutorial was exactly what was needed for those new to the Nokia 5110 LCD with Arduino set up. I…
Questo tutorial in altre lingue
- ENArduino Nokia 5110 LCD Tutorial #1 - Connecting and Initial Programming
- FRLCD Arduino Nokia 5110 Tutoriel # 1 - Connexion et programmation initiale
- ESArduino Nokia 5110 LCD Tutorial # 1 - Conexión y Programación Inicial
- PTArduino Nokia 5110 LCD Tutorial # 1 - Ligar e Programação Inicial
- DEArduino Nokia 5110 LCD-Tutorial # 1 - Anschließen und Erste Programmierung
- NLArduino Nokia 5110 LCD Tutorial # 1 - Het aansluiten en Startprogrammering
- RUArduino Nokia 5110 LCD Tutorial # 1 - Подключение и Начальное программирование
- PLArduino Nokia 5110 LCD Tutorial # 1 - Podłączanie i wstępnego programowania
- JAArduinoのノキア5110 LCDチュートリアル#1 - 接続および初期プログラミング
- ARاردوينو نوكيا 5110 LCD دروس # 1 - توصيل والبرمجة الأولية
- HIArduino नोकिया 5110 एलसीडी ट्यूटोरियल # 1 - कनेक्ट और प्रारंभिक प्रोग्रामिंग
- IDArduino Nokia 5110 LCD Tutorial # 1 - Menghubungkan dan Pemrograman Awal