-
Datei
Hd44780.h
;---CPU: Siemens 80C535 @12MHz ;---DISPLAYCONTROLLER: HD44780, KS0066 ;---Functions for using with LC-Displays of the spec. Type. ;--- ;---Pinning: ;--- RS: Port1.0 ;--- R/W: Port1.1 ;--- E: Port1.2 ;--- DB4/0: Port1.3 ;--- DB5/1: LCD-Port1.4 ;--- DB6/2: LCD-Port1.5
-
Datei
HD44780.INC
;****************************************************************************** ; Filename: HD44780.INC ; Date: 12.07.2011 ; altered 29.07.2011 ; Author: Ottmar ; Copyright: free, no restrictions ; Code-Source: http://www.sprut.de ; ; LCD-Timing: Timing in LCD_Init is fine up to fosc 10MHz ; fosc >10MHz needs an other Sub Delay1ms for ; fosc in use ; ; Purpose; Initialize a HD44780-LCD ; This file is succesful tested with ; PIC16F1827, PIC16F628, PIC16F876 ;****************************************************************************** ; ; TO USE THIS FILE, PLEASE COPY IT TO
in „PIC LCD Ausgabe von Strings“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
HD44780.pdf
HD44780-Based LCD Modules Hitachi LM018L 40 character x 2 lines • Built-in LSI HD44780 controller +5volt single power supply • Display Colour: Grey LM018L: Introduction • Interfacing • Display Pattern and
in „Große Ziffern auf standard 5*7 Display“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
hd44780.c
" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * @purpose HD44780 LCD Minimal interface for Atmega microcontrollers * http://www.pocketmagic.net/ */ #include <avr/io.h> #include "hd44780.h" #include "timeout.h" int g_nCurrentLine; // PURPOSE: flush channel E void
in „Hilfe, komme nicht weiter. Temperatur von 0 bis -1 Grad kein negatives Vorzeichen.“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
hd44780.h
" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * @purpose HD44780 LCD Minimal interface for Atmega microcontrollers * http://www.pocketmagic.net/ */ #pragma once #include <stdio.h> #include <avr/io.h> //--------------------------------CONFIGURE LCD--------------
in „Hilfe, komme nicht weiter. Temperatur von 0 bis -1 Grad kein negatives Vorzeichen.“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
HD44780.INC
;****************************************************************************** ; Filename: HD44780.INC ; Date: 14.07.2011 ; altered 29.07.2011 ; Author: Ottmar ; Copyright: free for non commercial use ; Code-Source: learnd from: http://www.sprut.de ; ; LCD-Timing: Timing in LCD_Init is fine up
in „Probleme mit LCD an PIC 16f887“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
HD44780.INC
actual.asm>.LST-File ;********************************************************************** ; Filename: HD44780.INC ; Autor: Ottmar ; Date: 12.07.2012 ; Alterations ; 29.07.2012, 15.10.2012 03.01.2013 ; 13.02.2013 LcdInit ; 31.03.2013 Comments, HD44780 Funktionsbefehl als labels eingefügt ; 21.10.2013 Bedingte
in „Warum, geht die zweite Displayzeile nicht? PIC Assembler“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
hd44780.h
/* ------------------------------------------------------- hd44780.h Header fuer grundlegende Funktionen eines HD44780 kompatiblen LC-Textdisplays Hardware : Text-LCD MCU : AVR 14.02.2020 R. Seelig Hinweis: Alle Anschlusspins des LCD muessen mit einem 1k Pop-Up Widerstand
in „Live-Linux: Anleitung schreiben“ · PC Hard- und Software ·
-
Datei
HD44780_.h
****** * ******************************************************************************/ #ifndef HD44780_HPP #define HD44780_HPP #include <static_assert.h> // #include <delay.h> // #include <pinlist2_.h> // namespace Mcucpp { class LcdBase { protected: static void Delay() { delay_us<200, F_CPU>(); }
in „Ausführbarer Code im .h File ?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
HD44780.c
#define F_CPU 16000000UL // Define the CPU frequency as 16 MHz #include <avr/io.h> #include <util/delay.h> // Define LCD pins #define LCD_E PIN0_bm // Enable (PC0) #define LCD_RS PIN1_bm // Register Select (PC1) #define LCD_D4 PIN3_bm // Data Bit 4 (PC3) #define LCD_D5 PIN2_bm // Data Bit 5 (PC2) #define LCD_D6 PIN5_bm // Data Bit 6 (PC5) #define LCD_D7 PIN4_bm // Data Bit 7 (PC4) // Helper macros #define LCD_E_HIGH() (PORTC.OUTSET = LCD_E) #define LCD_E_LOW() (PORTC.OUTCLR = LCD_E) #define LCD_RS_HIGH() (PORTC.OUTSET = LCD_RS) #define LCD_RS_LOW() (PORTC.OUTCLR = LCD_RS) // Function Prototypes void
in „EADOGM162W-A-Anzeige mit XMEGA“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
HD44780.INC
actual.asm>.LST-File ;******************************************************************** ; Filename: HD44780.INC ; Autor: Ottmar ; Date: 12.07.2012 ; TESTED up to Fosc = 32MHz ; Alterations ; 29.07.2012 15.10.2012 03.01.2013 ; 13.02.2013 LcdInit ; 31.03.2013 Comments, HD44780 Funktionsbefehl als labels eingefügt
in „was genau ist eine library“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
hd44780.c
/***************************************************************************** Title : HD44780 Library Author : SA Development Version: 1.11 *****************************************************************************/ #include "avr\pgmspace.h" #include "hd44780.h" #include "avr\sfr_defs.h
in „ATmega16 und HD44780 in 4-Bit modus Hilfe!“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
hd44780.h
/***************************************************************************** Title : HD44780 Library Author : SA Development Version: 1.11 *****************************************************************************/ #ifndef HD44780_H #define HD44780_H #include "hd44780_settings.h" #include "inttypes.h" //LCD Constants for HD44780 #define LCD_CLR 0 // DB0: clear display #define LCD_HOME 1 // DB1: return to home position #define LCD_ENTRY_MODE 2 // DB2: set entry mode #define LCD_ENTRY_INC 1 // DB1: 1=increment, 0=decrement
in „ATmega16 und HD44780 in 4-Bit modus Hilfe!“ · Mikrocontroller und Digitale Elektronik ·
-
Thread
KS0073 und 4 Zeilen LCD
Zeichen immer 2 Leerzeichen aus. Gibt es beim Ks0073 auch so ein 3maliges Power On, wie beim HD44780? Vielen Dank schon mal! Grüße Anne
schauen was dann passiert. Und diese 03h werden nur 1 mal ans LCD geschickt? Nicht 3 mal wie beim HD44780 der Power-On-Befehl?! Wieso rufst Du in deinem Programm 3 mal das Enable auf? Viele Grüße Anne
Mikrocontroller und Digitale Elektronik ·Anne O. · ·9 Antworten
-
Thread
LCD-Display Konverter - Atmega zu langsam?
Beim Schreiben ist im Datenblatt des HD44780U spezifiziert, dass nach der fallenden E-Flanke min. 10ns lang noch die Daten anliegen müssen (t_H). Wenn der Atmega mit 16MHz läuft, dann dauert *einer* der schnellen Befehle 62.5ns. Und du wirst auch in Assembler mehrere benötigen. Wenn also die Software den HD44780 tatsächlich am Timing-Limit betreiben sollten, dann ist der Atmega zu langsam. Oder ich habe mich irgendwo in den Größenordnungen verhauen ;-)
Mikrocontroller und Digitale Elektronik ·Ralf M. · ·6 Antworten
-
Thread
HD44780 - man in the middle mit AVR?
Hallo, ich habe hier ein Gerät mit einem µC unbekannter Art, der ein LCD-Display mit HD44780+HD44100+HD61100 im 4-Bit-Modus steuert. Das angeschlossene Display kann mehr Zeichen darstellen, als vom Gerät benutzt werden. Die Idee ist nun, einen AVR dazwischen zu setzen, der alle Befehle/Daten
spezifikationsgerecht verhält und schön das Busy-Flag und wahrscheinlich auch den Adresszeiger des HD44780 abfragt, was ich ja jetzt irgendwie emulieren müsste. So, und jetzt stehe ich im Wald, da mir nichts einfällt, wie das mit den sportlichen Timing und einem AVR (aus Platzgründen möglichst ohne weitere
Mikrocontroller und Digitale Elektronik ·Thomas P. · ·18 Antworten
-
Thread
LCD1602 extern mit 5V versorgen (weil msp430@3.6V)
/ genau so verbunden werden, das ist auf jeden Fall richtig. Tatsächlich funktionieren viele HD44780-basierte Displays auch mit 3.3V, nur der Kontrast wird sehr mies. Wenn man sich z.B. mit einem ICL7660 eine negative Hilfsspannung erzeugt und die mit einem Poti (das eine Ende an -3.3V, das andere
Rufus Τ. F. schrieb im Beitrag #5608927: > Tatsächlich funktionieren viele HD44780-basierte Displays auch mit 3.3V, > nur der Kontrast wird sehr mies. Wenn man sich z.B. mit einem ICL7660 > eine negative Hilfsspannung erzeugt und die mit einem Poti (das eine > Ende an -3.3V,
Mikrocontroller und Digitale Elektronik ·Emil G. · ·15 Antworten
-
Datei
lcd.h
Hz, used to calculate delay timer */ /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 0 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „atmega8 und lcd“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd_new.h
used to calculate delay timer */ #endif /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 0 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „mal wieder ein LCD am Atmega8“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
Hz, used to calculate delay timer */ /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 0 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „LCD zeigt nur die Hälfte an“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
Hz, used to calculate delay timer */ /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 0 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „LCD zeigt nur die Hälfte an“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LCD.h
Hz, used to calculate delay timer */ /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 0 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „WinAVR Studio gibt Fehlermeldung aus beim "Build Projekt"“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
Hz, used to calculate delay timer */ /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 0 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „Grafikfähiger LCD Controller für 320x240 LCD mit 4 Graustufen“ · Projekte & Code ·
-
Datei
lcd.h
Hz, used to calculate delay timer */ /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 0 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „Kompilieren von C Dateien in Kubuntu“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
Hz, used to calculate delay timer */ /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 0 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „Kompilieren von C Dateien in Kubuntu“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
Hz, used to calculate delay timer */ /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 0 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „LCD Displaytech 164a“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
Hz, used to calculate delay timer */ /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 0 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „LCD + ATMEGA32“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
Hz, used to calculate delay timer */ /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 0 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „Mega8, Lcd, Fleury“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
Hz, used to calculate delay timer */ /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 0 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „Mega8, Lcd, Fleury“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
Hz, used to calculate delay timer */ /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 0 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „zweiter ADC-Wert auf LCD ausgeben“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
Hz, used to calculate delay timer */ /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 1 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „LCD Initialisierung mit Fleury“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
Hz, used to calculate delay timer */ /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 0 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „Programmoptimierung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
Hz, used to calculate delay timer */ /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 1 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „LCD ES DIP204“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
#define NOP() asm volatile ("nop" ::) /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 0 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „ATMega16 PORTA defekt?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
Hz, used to calculate delay timer */ /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 1 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „LCD Controller KS0073 Support im 4-Bit Mode“ · Projekte & Code ·
-
Datei
lcd.h
Hz, used to calculate delay timer */ /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 0 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „LCD Displaytech 204B & ATmega32“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
Hz, used to calculate delay timer */ /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 0 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „LCD mit ATMEGA128 und Peter Fleury“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
Hz, used to calculate delay timer */ /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 0 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „Hilfe zu fleurys Lcd Lib“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
Hz, used to calculate delay timer */ /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 1 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „LCD Atmega8535 fehler beim Programm erstellen mit AVR-Studio“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
Hz, used to calculate delay timer */ /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 0 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „Probleme mit Wintek 2704 am STK500“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
Hz, used to calculate delay timer */ /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 0 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „LCD Programmierproblem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
Hz, used to calculate delay timer */ /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 0 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „LCD Routine Peter Fleury“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
Hz, used to calculate delay timer */ /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 0 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „Attiny2313 mit HD44780 LCD“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
Hz, used to calculate delay timer */ /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 0 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „Attiny2313 mit HD44780 LCD“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
Hz, used to calculate delay timer */ /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 0 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „Attiny2313 mit HD44780 LCD“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
Hz, used to calculate delay timer */ /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 0 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „HMC-16223 (HDD44780 kompatibel) zeigt kein ASCII nur "?", "_" usw“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
Hz, used to calculate delay timer */ /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 0 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „HIlfe - AVR an LCD - Fleury lib“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
Hz, used to calculate delay timer */ /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 0 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „LCD funktioniert nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
used to calculate delay timer */ #endif /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 0 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „Display Programmierung mit GCC 16x4 Display“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
Hz, used to calculate delay timer */ /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 0 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display Size
in „AVR Studio 6 und Datei“ · Mikrocontroller und Digitale Elektronik ·