-
Datei
main.c
*******************************************************************/ #include "define.h" #include <avr\io.h> #include <avr\interrupt.h> #include <stdint.h> #include <util\delay.h> #include <avr/pgmspace.h> #include <stdlib.h> #include <string.h> #include <avr\eeprom.h> #include <avr\sleep.h> #include
in „AD-Wandlung und Nutzung JTAG möglich?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
SavvyDISP_TEST.bas
********************************** '*SavvyDISP_test.bas * '*Test program for SavvyDISP with BASCOM-AVR * '*Displays which key is pressed as long as the key is pressed* '************************************************************* $regfile = "m128def.dat" $crystal = 8000000 '<- change to whatever the
in „LCD 202A ist HD44780 kompatibel?“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
ATMega128CAN11_short.pdf
( ( ( C ( ( T ( (NC = Do not connect (May be used in future devices) (2) Timer2 Oscillator 2 ATmega128CAN11 4251A–AVR–May 2003 ATmega128CAN11 Overview The ATmega128CAN11 is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC architecture. By executing powerful instructions in a single
in „ATmega128CAN11“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
ATMega128CAN11_short.pdf
( ( ( C ( ( T ( (NC = Do not connect (May be used in future devices) (2) Timer2 Oscillator 2 ATmega128CAN11 4251A–AVR–May 2003 ATmega128CAN11 Overview The ATmega128CAN11 is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC architecture. By executing powerful instructions in a single
in „ATmega128CAN11“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
M128test_tabelle.asm
.include "m128def.inc" jmp RESET ; External Pin, Power-on Reset, Brown-out Reset, Watchdog Reset and JTAG AVR Reset jmp EXT_INT0 ; IRQ0 Request jmp EXT_INT1 ; IRQ1 Request jmp EXT_INT2 ; IRQ2 Request jmp EXT_INT3
in „Timer3 Atmega128“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Muetze_Multifunktionsdecoder_DCC.txt
Frei und CV10 Frei .db 0xFF, 0xFF ; CV11 Frei und CV12 Frei .db 0xFF, 0xFF ; CV13 Frei und CV14 Frei .db 0xFF, 0xFF ; CV15 Frei und CV16 Frei .db 0xC8, 0x8A ; CV17 HI-Byte und CV18 LO-Byte .db 0x00, 0xFF ; CV19 Consist und CV20 Frei .db 0xFF, 0xFF ; CV21 Frei und CV22 Frei .db 0xFF, 0xFF ; CV23 Frei und CV24 Frei .db 0x30, 0x0A ; CV25 Bitmuster für Neon Blinker und CV26 Wiederholungen des blinkens .db 0x04, 0x02 ; CV27 Blinkfrequenz
in „DCC Decoder“ · Projekte & Code ·
-
Datei
M128test_tabelle_1.txt
.include "m128def.inc" jmp RESET ; External Pin, Power-on Reset, Brown-out Reset, Watchdog Reset and JTAG AVR Reset jmp EXT_INT0 ; IRQ0 Request jmp EXT_INT1 ; IRQ1 Request jmp EXT_INT2 ; IRQ2 Request jmp EXT_INT3
in „Timer3 Atmega128“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcdcon_ft245.asm
231 , 231 , 60 , 90 , 153 .db 128 , 224 , 248 , 254 , 248 , 224 , 128 , 0 .db 2 , 14 , 62 , 254 , 62 , 14 , 2 , 0 .db 24 , 60 , 126 , 24 , 24 , 126 , 60 , 24 .db 102 , 102 , 102 , 102 , 102 , 0 , 102 , 0 .db 127 , 219 , 219 , 123
in „LCD Controller für 640x480 LCD mit mega8515“ · Projekte & Code ·
-
Datei
lcdcon_ft245.asm
231 , 231 , 60 , 90 , 153 .db 128 , 224 , 248 , 254 , 248 , 224 , 128 , 0 .db 2 , 14 , 62 , 254 , 62 , 14 , 2 , 0 .db 24 , 60 , 126 , 24 , 24 , 126 , 60 , 24 .db 102 , 102 , 102 , 102 , 102 , 0 , 102 , 0 .db 127 , 219 , 219 , 123
in „LCD Controller für 640x480 LCD mit mega8515“ · Projekte & Code ·
-
PDF
Umsetzung_und_Implementierung_einer_FFT_f_r_8.pdf
Gewichtsfaktor rcall mpy8s ;8*8Bit = 16Bit - Routine ldi counter1,7 rescale_fensterung: ;rescale(I*x*128)/128 --> 7x ;shieben rechts lsr m8sH ror m8sL dec counter1 brne rescale_fensterung st X+,m8sL ;save Samplewert dec counter2 ;Alle Samples durchlaufen? brne loop_fensterung Hamming_Window: .db 10,15,29,51,75,98,116,126,126,116,98,75,51,29,15,10 Rectangle_Window: .db 128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128 Alexander Liebhold 13 15.02.2008 Umsetzung und Implementation einer FFT für 8-Bit Mikrocontroller Alexander Liebhold 14 15.02.2008
in „FFT Tutorial für AVR“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
SIMPLE_STEPP.txt
Wird der Schrittmotor in die jeweilige richtung bewegt 'Die Anweisung bestimmt Controllertyp, hier AVR Mega 32 $regfile = "m644def.dat" 'Stackanweisungen, die eigentlich nur bei größeren Programmen $framesize = 64 $swstack = 128 $hwstack = 64 'Die Frequenz des verwendeten Quarzes $crystal = 18432000
in „AVR + Schrittmotor + Bascom verständnisproblem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcdconser.asm
231 , 231 , 60 , 90 , 153 .db 128 , 224 , 248 , 254 , 248 , 224 , 128 , 0 .db 2 , 14 , 62 , 254 , 62 , 14 , 2 , 0 .db 24 , 60 , 126 , 24 , 24 , 126 , 60 , 24 .db 102 , 102 , 102 , 102 , 102 , 0 , 102 , 0 .db 127 , 219 , 219 , 123
in „LCD Controller für 640x480 LCD mit mega8515“ · Projekte & Code ·
-
Datei
lcdconser_.asm
231 , 231 , 60 , 90 , 153 .db 128 , 224 , 248 , 254 , 248 , 224 , 128 , 0 .db 2 , 14 , 62 , 254 , 62 , 14 , 2 , 0 .db 24 , 60 , 126 , 24 , 24 , 126 , 60 , 24 .db 102 , 102 , 102 , 102 , 102 , 0 , 102 , 0 .db 127 , 219 , 219 , 123
in „LCD Controller für 640x480 LCD mit mega8515“ · Projekte & Code ·
-
Datei
lcdconser640x480.txt
231 , 231 , 60 , 90 , 153 .db 128 , 224 , 248 , 254 , 248 , 224 , 128 , 0 .db 2 , 14 , 62 , 254 , 62 , 14 , 2 , 0 .db 24 , 60 , 126 , 24 , 24 , 126 , 60 , 24 .db 102 , 102 , 102 , 102 , 102 , 0 , 102 , 0 .db 127 , 219 , 219 , 123
in „LCD Controller für 640x480 LCD mit mega8515“ · Projekte & Code ·
-
PDF
AVR_Roboter_Dokumentation.pdf
Technology Infrastructure, Lab Service, Lehrer Workshop Januar 2009 Speicher Interner Programmspeicher AVR-Mops System Überblick HardwareSensoren Motoren SPI Speicher AT45DB081D Speicher Interfaces Elektrischer & mechanischer Aufbau Serial Peripheral Interface (SPI Bus) Inbetriebnahme Programme I²C EEPROM
in „Anfängerprobleme“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ArduMicroPro_Tablet.ino
#include <stdint.h> //#include <Adafruit_NeoPixel.h> #ifdef __AVR__ #include <avr/power.h> #endif #define Power_Pin_LED 4 #define colorSaturation 128 #define onboard_LED 2 #define Power_Pin 8 #define Vol_plus 6 #define Vol_minus 5 #define Plat_out_reserve 6 #define
in „Anleitung - Bedienpanel - 10Zoll fullHD (FIRE HD10 Mod)“ · Haus & Smart Home ·
-
Datei
TempundAnalogwerte.bas
'********************************************************** 'Compiler : BasCom 'Hardware : AVR-Ctrl Platine ' : DS1820 Temperaturmessung ' : Analogwerterfassung an ADC 'Chip : AT90S8535 'Taktfrquenz : 8,000000 MHz '********************************************************** $regfile = "8535def.dat" ' MC AT90S8535 $crystal = 8000000 'Taktfrequenz 8MHz 'Display Pinbelegung Config Lcdpin = Pin , Db4 = Portc.4 , Db5 = Portc.5 , Db6 = Portc.6 , Db7 = Portc.7 , E = Portc.2 , Rs = Portc.0 Config Lcd = 16 * 2 'Display configurieren Config Portc = Output 'portc als Ausgang configurieren Reset Portc.1
in „DS1820 + ADC mit C und Bascom“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
XPLAIN_Shematic.pdf
TILLER D NORWAY Date: 08.05.2009 15:10:18 PAGE: 1 of 5 Document number: A08-0551 Revision: A TITLE: AVR1907: Xplain evaluation board, Top-Level Xplain.SchDoc 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 2 3 1 1 T T JTAG/PDIInterface PQ2 NTC_EN XMEGA_PDI_DATA XMEGA_PDI_DATA XMEGA_RESET_PDI_CLK XMEGA_RESET_PDI_CLK PQ3
in „Xplain: Schaltplan gesucht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
8080int-jmp.asm
... .equ ZFL_S = 7 .equ ZFL_Z = 6 .equ ZFL_H = 4 .equ ZFL_P = 2 .equ ZFL_N = 1 .equ ZFL_C = 0 .equ AVR_T = SREG_T .equ AVR_H = SREG_H .equ AVR_S = SREG_S .equ AVR_V = SREG_V .equ AVR_N = SREG_N .equ AVR_Z = SREG_Z .equ AVR_C = SREG_C ;------------------------------------------------; ; Load table value
in „CP/M auf ATmega88“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
8-bit-MCU-Overview.pdf
3 ATmega324PB 44 32 2 1.8–5.5 20 10 8 2 2 2 1 1 1 1 5 AVR-DB Family 28-64 32-128 4–16 512 1.8–5.5 24 12 22 10 2-3 -4 9–18 3–7 1 1– 3–6 1–2 3 ATtiny42x/82x/162x/322x 14-24 4-32 0.5-3 128 1.8-5.5 20 12 15 6x 12 8 6 2 1 3 AVR-DA Family 28-64 32-128 4–16 512 1.8–5.5 24 12 22 10 -3 16 16 1 5 3–6 1–2 3 AVR-DD Family 14-32 16–64 2–8 256 1.8–5.5 24 12 23 10 1 16
in „Moderne AVR (Nachfolger Atmega und Attiny)“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
8-bit-MCU-Overview.pdf
3 ATmega324PB 44 32 2 1.8–5.5 20 10 8 2 2 2 1 1 1 1 5 AVR-DB Family 28-64 32-128 4–16 512 1.8–5.5 24 12 22 10 2-3 -4 9–18 3–7 1 1– 3–6 1–2 3 ATtiny42x/82x/162x/322x 14-24 4-32 0.5-3 128 1.8-5.5 20 12 15 6x 12 8 6 2 1 3 AVR-DA Family 28-64 32-128 4–16 512 1.8–5.5 24 12 22 10 -3 16 16 1 5 3–6 1–2 3 AVR-DD Family 14-32 16–64 2–8 256 1.8–5.5 24 12 23 10 1 16
in „AVR®DD family, low pin count devices“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
8-bit-MCU-Overview.pdf
3 ATmega324PB 44 32 2 1.8–5.5 20 10 8 2 2 2 1 1 1 1 5 AVR-DB Family 28-64 32-128 4–16 512 1.8–5.5 24 12 22 10 2-3 -4 9–18 3–7 1 1– 3–6 1–2 3 ATtiny42x/82x/162x/322x 14-24 4-32 0.5-3 128 1.8-5.5 20 12 15 6x 12 8 6 2 1 3 AVR-DA Family 28-64 32-128 4–16 512 1.8–5.5 24 12 22 10 -3 16 16 1 5 3–6 1–2 3 AVR-DD Family 14-32 16–64 2–8 256 1.8–5.5 24 12 23 10 1 16
in „AVR®DD family, low pin count devices“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
akkuload.asm
4: AAA, NiMH, Conrad 250185 .DB 0x04,0xA3 .DW 500,4,0 .DB "ConradMH" ; ; Akku 5: AA, NiMH, Pixcell Camera .DB 0x05,0xA2 .DW 1800,10,0 .DB "PixcelMH" ; ; Akku 6: AA, NiMH, Pixcell Camera .DB 0x06,0xA2 .DW 1800,10,0 .DB "PixcelMH" ; ; Akku 7: AA, NiMH, Pixcell Camera .DB 0x07,0xA2 .DW 1800,10,0 .DB "PixcelMH" ; ; Akku 8: AA, NiMH, Pixcell Camera .DB 0x08,0xA2 .DW 1800,10,0 .DB "PixcelMH" ; ; Akku 9: AA, NiMH, Conrad Voltcraft .DB 0x09,0xA2 .DW 1700,6,0 .DB "VoltcrMH"
in „Asssembleprogramm für Mega16 auf Mega8535 anpassen, Sprungweite "call" und "jmp"“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
akkuload.asm
4: AAA, NiMH, Conrad 250185 .DB 0x04,0xA3 .DW 500,4,0 .DB "ConradMH" ; ; Akku 5: AA, NiMH, Pixcell Camera .DB 0x05,0xA2 .DW 1800,10,0 .DB "PixcelMH" ; ; Akku 6: AA, NiMH, Pixcell Camera .DB 0x06,0xA2 .DW 1800,10,0 .DB "PixcelMH" ; ; Akku 7: AA, NiMH, Pixcell Camera .DB 0x07,0xA2 .DW 1800,10,0 .DB "PixcelMH" ; ; Akku 8: AA, NiMH, Pixcell Camera .DB 0x08,0xA2 .DW 1800,10,0 .DB "PixcelMH" ; ; Akku 9: AA, NiMH, Conrad Voltcraft .DB 0x09,0xA2 .DW 1700,6,0 .DB "VoltcrMH"
in „Asssembleprogramm für Mega16 auf Mega8535 anpassen, Sprungweite "call" und "jmp"“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
akkuload.asm
4: AAA, NiMH, Conrad 250185 .DB 0x04,0xA3 .DW 500,4,0 .DB "ConradMH" ; ; Akku 5: AA, NiMH, Pixcell Camera .DB 0x05,0xA2 .DW 1800,10,0 .DB "PixcelMH" ; ; Akku 6: AA, NiMH, Pixcell Camera .DB 0x06,0xA2 .DW 1800,10,0 .DB "PixcelMH" ; ; Akku 7: AA, NiMH, Pixcell Camera .DB 0x07,0xA2 .DW 1800,10,0 .DB "PixcelMH" ; ; Akku 8: AA, NiMH, Pixcell Camera .DB 0x08,0xA2 .DW 1800,10,0 .DB "PixcelMH" ; ; Akku 9: AA, NiMH, Conrad Voltcraft .DB 0x09,0xA2 .DW 1700,6,0 .DB "VoltcrMH"
in „Asssembleprogramm für Mega16 auf Mega8535 anpassen, Sprungweite "call" und "jmp"“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ATMEGA128_Devicetest.c
##################################### //################### Includes ################### #include <avr/interrupt.h> #include <avr/io.h> #include <avr/pgmspace.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <util/delay.h> // Für Delayfunktion volatile char enc_delta
in „Encoder macht zu viele Schritte“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
melody.asm
Hundertstelsekunden ;Tonhöhe 0 kennzeichnet Ende, Tonhöhe 1 erzwingt Pause sound1: ;Daten für Sound 1 .db c,50 ;Ton C0 (tiefes C), 500ms (50 x 10ms) (horch) .db d,50 ;was .db e,50 ;kommt .db f,50 ;von .db g,50 ;drau- .db a,50 ;ßen .db g,100 ;rein .db f,50,d,50,h,100 ;hollahi .db g,50,e,50,c1,100 ;hollaho
in „ATtiny12 will nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
dcfm8.c
/* ATMega8 */ /* DCF-Dekoder und Temperaturfühler für 2 DS1621 mit Ausgabe auf Display*/ #include <avr/signal.h> #include "delay.h" #include <stdio.h> #include <avr/io.h> #include "lcd-routines.h" #include <avr/interrupt.h> #include <avr/pgmspace.h> #include <stdlib.h> #include <string.h> //#include
in „Funk-uhr über AVR Programmieren mit DCF01“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
TXbuddy.asm
1" bthgh_: out TCCR0A, rpospwmon ; PWM connected to PB1 rjmp wtftc__ ;exponential table expotbl_: .db 0,0,0,0,0,0,0,1,1,1,1,1,1,2,2,2 .db 2,2,3,3,3,3,4,4,5,5,5,6,6,7,7,8 .db 8,9,9,10,10,11,11,12,13,13,14,14,15,16,17,17 .db 18,19,20,20,21,22,23,24,25,25,26,27,28,29,30,31 .db 32,33,34,35,36,37,38,39,41,42,43,44,45,46,48,49 .db 50,51,53,54,55,56,58,59,61,62,63,65,66,68,69,71 .db 72,74,75,77,79,80,81,83,84,86,88,89,91,93,95,96 .db 98,100,102,104,105,107,109,111,112,114,116,118 .db 120,122,124,126 ; MAIN LOOP END .EXIT
in „Anfängerfrage zu AVR Tiny12“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
UI-Messung_Textpad_erweitert.asm
$99, $99, $99 .db $99, $A9, $AA, $AA, $AA, $AA, $AA, $AA, $AA, $AA, $AA, $BA, $BB, $BB .db $BB, $BB, $BB, $BB, $BB, $BB, $BB, $BB, $BB, $BB, $BB, $CB, $CC, $CC .db $CC, $CC, $CC, $CC, $CC, $CC, $CC, $CC, $CC, $DD, $DD, $DD, $DD, $DD .db $DD, $DD, $DD, $DD, $DD, $DD, $DD, $EE, $EE, $EE, $EE, $EE, $EE, $EE .db $EE, $EE, $EE, $EE, $EE, $EE, $EE, $EE, $EE, $EE, $EE, $EE, $EE, $EE .db $EE, $EE, $EE, $EE, $EE, $EE, $EE, $EE, $EE, $EE, $EE
in „Ungenauigkeit beim ATtiny26 ADC“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lc7981.h
definitions and function prototypes for the graphics lcd * driver. */ #ifndef _LC7981_H #define _LC7981_H /* AVR clock speed */ #define F_CPU 3686400 #include <avr/io.h> #include <util/delay.h> /* Hardware setup */ #define LCD_DATA_DDRB DDRB #define LCD_DATA_PORTB PORTB #define LCD_DATA_PINB PINB #define LCD_DATA_DDRD
in „GrafikLCD an ATmega328“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
PWM_Controller_Manual.pdf
Res_Soft_PWM_EEP Res_Soft_PWM_SRAM $7A 32 $01B PWM_vs_CALC_EEP PWM_vs_CALC_SRAM $07B Speicherbelegung 2/2 AVR- Speicherreservierungen SRAM Adresse [^16] Größe[Byte] Reserviert für RX Bottom SRAM Start 128 Befehle TOP E0 Bottom E1 TWI Receive Buffer 128 TOP Bla Bla TWI Transmitt Buffer Bottom Bla Bla 128 TOP Bla Bla Bottom Bla Bla Daten Speicher TOP Bla Bla 512 Stack Bottom RAMEND- 128 128 TOP RAMEND Die Befehle 1/3 Temporäre Speicherbefehle Für alle Befehle 0x00 bis 0x80 ist die Autoinkrement Funktion aktiv. Ein Befehl aus diesem Bereich ist in der Lage ein Byte an Informationen
in „PWM- Controller 18- Kanal TWI- Bus Proj.“ · Projekte & Code ·
-
PDF
beginner_de.pdf
Anfängerkurs zum Erlernen der Assemblersprache von ATMELAVRMikroprozessoren Gerhard Schmidt http://www.avr-asm-tutorial.net November 2003 AVR-ASM-Tutorial Inhaltsverzeichnis Warum Assembler lernen?............................................................
in „Langzeittimer für Anfänger“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
AVR_beginner_de.pdf
Anfängerkurs zum Erlernen der Assemblersprache von ATMELAVRMikroprozessoren Gerhard Schmidt http://www.avr-asm-tutorial.net November 2003 AVR-ASM-Tutorial Inhaltsverzeichnis Warum Assembler lernen?............................................................
in „Anfang, aber wie?“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
beginner_de.pdf
Anfängerkurs zum Erlernen der Assemblersprache von ATMELAVRMikroprozessoren Gerhard Schmidt http://www.avr-asm-tutorial.net November 2003 AVR-ASM-Tutorial Inhaltsverzeichnis Warum Assembler lernen?............................................................
in „kommentierter Befehlssatz in deutsch ATmega16“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
beginner_de.pdf
Anfängerkurs zum Erlernen der Assemblersprache von ATMELAVRMikroprozessoren Gerhard Schmidt http://www.avr-asm-tutorial.net November 2003 AVR-ASM-Tutorial Inhaltsverzeichnis Warum Assembler lernen?............................................................
in „Spannungsveränderung schaltet Relais für ca. 30Sek->nur wi“ · Analoge Elektronik und Schaltungstechnik ·
-
PDF
Umsetzung_und_Implementierung_einer_FFT_f_r_8.pdf
Gewichtsfaktor rcall mpy8s ;8*8Bit = 16Bit - Routine ldi counter1,7 rescale_fensterung: ;rescale(I*x*128)/128 --> 7x ;shieben rechts lsr m8sH ror m8sL dec counter1 brne rescale_fensterung st X+,m8sL ;save Samplewert dec counter2 ;Alle Samples durchlaufen? brne loop_fensterung Hamming_Window: .db 10,15,29,51,75,98,116,126,126,116,98,75,51,29,15,10 Rectangle_Window: .db 128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128 Alexander Liebhold 13 15.02.2008 Umsetzung und Implementation einer FFT für 8-Bit Mikrocontroller 2.3 Bit-Reversal-Sort Die nächste Aufgabe
in „FFT Tutorial für AVR“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
update_ge_ndert.php
Auslesen der Daten aus einer Webpage function getAVRNetIOValue($id) { $value = NULL; error_reporting(0); $avr_net_io = fopen("http://xxx.xxx.xxx.xxx/daten.html", "r") or die("Die Werte des AVR-NET-IO konnten nicht ermittelt werden!<BR>Der AVR-NET-IO ist offline!"); //Hier IP des Boards eintragen if ($avr_net_io!=false) { while ( ($data = fgetcsv($avr_net_io, 1000, "=")) !== FALSE ) { $num = count($data); $row++; if ($data[0] == $id) { $value = $data[1]; } } fclose($avr_net_io); } return $value; } // Analoge Werte $Wohnzimmer Temperatur = getAVRNetIOValue
-
Datei
ATMEGA128_Devicetest.c
//################### Includes ################### #include <avr/interrupt.h> #include <avr/io.h> #include <stdio.h> #include <util/delay.h> // Für Delayfunktion volatile char enc_delta=0; // -128 ... 127 //############### Definitionen ###########################
in „Encoder macht zu viele Schritte“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ZndUhr01.asm
schusstab: ;Tabelle mit Bitmustern für Ladungspumpenimpulse ;zum ansteuern der MOSFETs für die Zündkreise .db 1,2,4,8,16,32,64,128 ;Bitmuster für Schuss 0...7 an PortB .db 128,64,32,16,8,4,2,1 ;Bitmuster für Schuss 8...15 an PortA mt_head: ;obere Menüzeilen (Menüpunkte) .dw mt_000,mt_010,mt_020,mt_030,mt_040
in „Probleme mit USART (ATMEGA8535)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ZndUhr01.asm
schusstab: ;Tabelle mit Bitmustern für Ladungspumpenimpulse ;zum ansteuern der MOSFETs für die Zündkreise .db 1,2,4,8,16,32,64,128 ;Bitmuster für Schuss 0...7 an PortB .db 128,64,32,16,8,4,2,1 ;Bitmuster für Schuss 8...15 an PortA mt_head: ;obere Menüzeilen (Menüpunkte) .dw mt_000,mt_010,mt_020,mt_030,mt_040
in „Display Menü LCD 4x20“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
rev1.asm
STATUS: .equ ST_DOTS = 0 .equ ST_ICLOCK = 1 .equ ST_SUPPRESS = 2 .eseg .org 0x00 eseg_calibration: .db 124 ; Calibration byte for OCR2 eseg_status: ; 1 .db 0b00000001 .dseg dseg_debounce: .byte 4 dseg_buttons: .byte 1 dseg_encoder: .byte 2 dseg_mux_ptr: .byte 2 dseg_digits: dseg_digit_4: .byte 1 dseg_digit
in „Pollin-Drehgeber mit AVR pollen“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
GCC_Tut_Test.pdf
/td > < td > DB4 < /td > < td > PD0 am AVR < /td > < /tr > < tr > < td > 12 < /td > < td > DB5 < /td > < td > PD1 am AVR 42 KAPITEL 1. AVR-GCC-TUTORIAL < /td > < /tr > < tr > < td > 13 < /td > < td > DB6 < /td > < td > PD2 am AVR < /td > < /tr > < tr > < td > 14 < /td > < td > DB7 < /td > < td > PD3 am AVR < /td > < /tr > < /table > Wenn man die Steuerleitungen EN und RS auf Pins an einem anderen Port legen mochte kann man so
-
Datei
hilfe.txt
Functions */ #include <lcd.h> The LCD module must be connected to the port bits as follows: [LCD] [AVR Port] RS (pin4) ------ bit 0 RD (pin 5) ------ bit 1 EN (pin 6) ------ bit 2 DB4 (pin 11) --- bit 4 DB5 (pin 12) --- bit 5 DB6 (pin 13) --- bit 6 DB7 (pin 14) --- bit 7 You must also connect the LCD
in „sekundenzähler mit timer“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
grafiklcd.asm
############## ;# # ;# - T6963C Tester - # ;# # ;# Aufgabe: Testprogramm zur Ansteuerung eines 160x128 Pixel Grafik # ;# LCDs mit dem Toshiba T6963C Controller # ;# # ;# Author: Marco Vogt -> http://www.marcoshp.de -> webmaster@marcoshp.de # ;# # ;# Recourcen: Atmel AT90S2313 @8MHz, Optrex DMF5001N LCD 160x128 px # ;# # ;# Verkabelung: # ;# # ;# PortB -> DB0-DB7 = 8 Datenleitungen zum Display # ;# PortD2 -> CE (active low) # ;# PortD3 -> C/D (Data=low / Comm=high) # ;# PortD4 -> RESET (active low) # ;# PortD5
in „Grafk LCD T6963C Probleme“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
update.php
Auslesen der Daten aus einer Webpage function getAVRNetIOValue($id) { $value = NULL; error_reporting(0); $avr_net_io = fopen("http://xxx.xxx.xxx.xxx/daten.html", "r") or die("Die Werte des AVR-NET-IO konnten nicht ermittelt werden!<BR>Der AVR-NET-IO ist offline!"); if ($avr_net_io!=false) { while ( ($data = fgetcsv($avr_net_io, 1000, "=")) !== FALSE ) { $num = count($data); $row++; if ($data[0] == $id) { $value = $data[1]; } } fclose($avr_net_io); } return $value; } // Analoge Werte $CO2 = getAVRNetIOValue("CO2");
-
Datei
main.c
Ansteuerung eines HD44780 kompatiblen LCD im 4-Bit-Interfacemodus // http://www.mikrocontroller.net/articles/AVR-GCC-Tutorial/LCD-Ansteuerung // #ifndef LCD_ROUTINES_H #define LCD_ROUTINES_H #include <avr/pgmspace.h> //////////////////////////////////////////////////////////////////////////////// // Pinbelegung
in „Compiler- Fehler?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
MJoy.asm
) .db 0xA1,0x00 ;Collection (Physical) .db 0x09,0x30 ;Usage (X) - OK .db 0x09,0x31 ;Usage (Y) - OK .db 0x16,0x00 ;Logical_Minimum (-512) .db 0xFE,0x26 .db 0xFF,0x01 ;Logical Maximum (511) .db 0x75,0x0A ;Report_Size
in „IGOR USB lässt sich nicht assemblieren“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
assembler_beginner.pdf
keinen Zugriff auf RAM- oder sonstige Speicher ermöglicht. Es kann als 16-Bit-Wert optimal verwendet Avr-Asm-Tutorial 20 http://www.avr-asm-tutorial.net werden. Wie bekommt man aber nun die Werte, die ausgelesen werden sollen, in den Programmspeicher? Dazu gibt es die DB- und DW-Direktiven für den Assembler
in „Assembler Tutorial als PDF ?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
910.asm
revision codes ;* ;*************************************************************************** SW_Ver: .db "32",0,0 HW_Ver: .db "12",0,0 ;*************************************************************************** ;* ;* TABLE ;* ID string "AVR ISP" ;* ;*************************************************************************** ID_Str: .db "AVR ISP",0 ChipID: ;only to recognize a programmed device .db "Ver.3.2 (dualLED support,7.3728Mhz, 115.200 baud) for APP Note 910, AT90S2313 " .db "www.mikrocontroller-projekte.de, 18.Nov.2003" ;***
in „avr910 programmer“ · Mikrocontroller und Digitale Elektronik ·