-
Datei
MS-SLR.asm
************************************************************************************* ;** ** ;** ATmega32 Interrupt-Init ** ;** ** ;************************************************************************************************** .include "m32def.inc" .cseg .org 0 ;---[interrupt vector table]-------
in „UART verursacht Reset(?)“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
stk300full.pdf
( ( A 1 1 1 1 1 1 ( ( R W AD5 6 D5 Q5 15 6 A4 D4 16 49 PA2 (A2) 3 4 5 6 7 ( ( ( ( ( ( 1 0 PD7(T2) 32 7 14 5 17 P P P P P C C C C C C P P AD6 8 D6 Q6 13 4 A5 D5 18 50 P P P P P P 31 AD7 9 D7 Q7 12 3 A6 D6 19 PA1 (A1) PD6(T1) D8 Q8 25 A7 D7 51 30 ALE 11 24 A8 PA0 (A0) PD5 RD C A9 WR 1 OC 21 A10 VCC2 52
in „stk300 LCD Interface Problem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
dude5.6_avr911.txt
Programmer : avr911 avr910_devcode (avrdude.conf) : 0x76 Overriding Baud Rate : 19200 AVR Part : ATMEGA8 Chip Erase delay : 10000 us PAGEL : PD7 BS2 : PC2 RESET disposition : dedicated RETRY pulse : SCK serial program mode : yes parallel program mode : yes Timeout : 200 StabDelay : 100 CmdexeDelay : 25 SyncLoops : 32 ByteDelay : 0 PollIndex : 3 PollValue : 0x53 Memory Detail : Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------
in „avrdude - Probleme unter Mac OS X 10.7 (Lion)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Cinni-Regler_V1-1.c
Umdrehung // - Motorsteuerung mit Phasenanschnitt über // TRIAC-SolidStateRelais // HW: // - µC: Atmel ATmega8L-8PU // (8MHz / 2,7-5,5V / DIL28 schmal / -40...+85°C) // - Clock: 8 Mhz Quarz an XTAL1/XTAL2 // - PC0(ADC0,Pin23): Analogeingang Poti (=Sollwert) // rechts = kleinerer Wert // - PD0(RxD,Pin2)/PD1
in „Vorstellung Drehzahlregler mit Triac in Steckergehäuse“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Bootloader.c
/* * Controller : ATMega88 * Fuse : Extended 0xF9, High 0xDE, Low 0xE2 * Clock : 8Mhz (internal) */ #define F_CPU 8000000UL #include <string.h> #include <avr/io.h> #include <avr/interrupt.h> #include <avr/boot.h> #include
in „Bootloader und Watchdog Reset“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
httpboot-m1284p-8mhz-w5500.c
define HTONS(x) ((uint16_t) (((uint16_t) (x) << 8) | ((uint16_t) (x) >> 8))) #define HTONL(x) ((uint32_t) (((uint32_t) HTONS(x) << 16) | HTONS((uint32_t) (x) >> 16))) #elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ #define HTONS(x) ((uint16_t) (x)) #define HTONL(x) ((uint32_t) (x)) #else #error Byte order
in „Atmega Eeprom/Flash andauernde Schreibfehler“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
DemystifyingtheTLC5940.pdf
destroying both the AVR and the TLC5940! I did not include a reset button because I wanted to ▯t an ATmega328P and three TLC5940 chips on the same breadboard. Feel free to add a normally-open momentary switch between the RESET pin of the ATmega328P and GND if you would like one. 1 http://www.atmel.com/dyn
in „System Clock Output mit Atmega32“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
DemystifyingtheTLC5940.pdf
destroying both the AVR and the TLC5940! I did not include a reset button because I wanted to ▯t an ATmega328P and three TLC5940 chips on the same breadboard. Feel free to add a normally-open momentary switch between the RESET pin of the ATmega328P and GND if you would like one. 1 http://www.atmel.com/dyn
in „TLC5940 library: Erfassen von Veränderungen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
2w_grund.asm
* ; 2-Wire - Basis-Routinen ; ; Germany-Date: 01-12-2004 ; Datei: 2w_grund.asm ; Microcontoller: ATmega32 mit 8MHz Taktfrequenz ; Simple software 2-wire driver (SLE4432/SLE4442) for AVR processors. ; ;************************************************************************* ;-------------------------
in „2-wire Karten“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
redblink.c
at 23:27:14 avr-gcc -I"C:\Programme\Atmel\Swerp\..\..\..\Dokumente und Einstellungen\..\i4" -mmcu=atmega32 -Wall -gdwarf-2 -ansi -pedantic -ffreestanding -DF_CPU=1000000UL -O0 -fsigned-char -MD -MP -MT redblink.o -MF dep/redbl ink.o.d -c ../redblink.c In file included from c:/programme/winavr-20090313
in „PWM, ATmega 32, LED dim funktion, C Code“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
TWI_Master_main.c
properly (don't forget to also ** connect GND between Master and Slave!) ** ** Used uC for Master is ATMega32 */ int main (void) { uint8_t i; uint8_t j=0; uint8_t Data[8]; uint8_t SlaveAddress = 15; /* ** Clear any interrupt */ cli (); /* ** Wait 1 second for POR */ lcd_init(LCD_DISP_ON); lcd_clrscr(); Delay_ms
in „AVR TWI Master und Slave Funtionen in C“ · Projekte & Code ·
-
Datei
Master.c
/+-------------------------------------------------------------------------------+ //Prozessor : ATmega 32 ex. mit 20 000 00 MHz //Sprache : C //Programm : AVR //Datum : 20.10.2010 //Autor : Sebastian Prets //Schaltung : Senden über TWI I²C two wire interface //+--------------------------------------
in „TWI Slave reagiert nicht im Interruptmodus“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
timer.asm
80h startTimerCmd: equ 1 quitTimerCmd: equ 2 printTimerCmd: equ 15 uptimeCmd: equ 16 benchCmd: equ 32 ; aseg org 100h jp start usage: db 'Usage: TIMER S|P|B|Q|U',cr,lf db ' S = (Re)Start the timer',cr,lf db ' P = Print elapsed time since last S or Q command',cr,lf db ' B = Print elapsed time for simple benchmark loop. wait < 60s',cr,lf db ' ATmega88 with 20MHz D0 = 035,999s',cr,lf db ' Q = Print the timer, then restart it',cr,lf db ' U = Print uptime',cr,lf,'$',1AH start: ld a,(cmdLine) ; get number of characters on command line or a jp z,pusage
in „CP/M auf ATmega88“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Schaltplan.pdf
27 HD4 16 PD2 (INT0) (TOSC1) PC6 28 1 GND 17 PD3 (INT1) (TOSC2) PC7 29 2 18 PD4 (OC1B) GND VCC 19 32 BootLoader 20 PD5 (OC1A) AREF 31 VCC 1uF / 16V 21 PD6 (ICP) AGND 30 + C12 C11 1uF / 16V PD7 (TOSC2) AVCC 1uF / 16V + 13 MAX232 U1 +C10 1uF / 16V 12 X1 11 B 2 1 XTAL1 X2 GND B Vs+ C1+ + C9 6 Vs- C1- 3 ATMEGA16_DIP40 VCC 16 VCC C2+ 4 JP1 GND 15 GND C2- 5 C7 C6 1 14 OUT 1 TLLIN 11 22pF 22pF C5 2 PC-RxD 7 OUT 2 TLLIN 10 100n 3 13 IN1 TLLOUT 12 GND 7.3726 MHzND 4 PC-TxD 8 IN2 TLLOUT 9 GND GND GND 5 GND RS232
in „JTAGICE und AVRStudio: Target Fehler“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Seriell_mit_Nokiua_7110.bas
$regfile = "m8515.dat" ' ATmega32 $crystal = 4000000 ' für mein Board $baud = 19200 Const True = 1 Const False = 0 Const Instr = 254 Const Setcursor = 71 ' [x] [y] Const Cursorhome = 72 Const Cleardisplay = 88 Declare Function Read_gsm
in „???SMS vom Computer über Handy schreiben????“ · Softwareentwicklung ·
-
PDF
AVR-Evaluation_AddonBoard.pdf
Addon-Board mit Hilfe von Steckbrücken vorgenommen: Addon-Pin --> zu --> Addon-PATMega8 ATTiny2313 ATMega16/32 DB0 GND - - - DB1 GND - - - DB2 GND - - - DB3 GND - - - DB4 PB3 PB0 PB2 PB2 DB5 PB4 PB1 PB3 PB3 DB6 PB5 PB2 PB4 PB4 DB7 PB6 PB3 PB5 PB5 E PB7 PB4 PB6 PB6 RS PB8 PB5 PB7 PB7 R/W GND - - - LED8
in „Taster, LEDs und restliche Beschaltung des Pollin Addon Boards“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Protel_Document.pdf
27 HD4 16 PD2 (INT0) (TOSC1) PC6 28 1 GND 17 PD3 (INT1) (TOSC2) PC7 29 2 18 PD4 (OC1B) GND VCC 19 32 BootLoader 20 PD5 (OC1A) AREF 31 VCC 1uF / 16V 21 PD6 (ICP) AGND 30 + C12 C11 1uF / 16V PD7 (TOSC2) AVCC 1uF / 16V + 13 MAX232 U1 +C10 1uF / 16V 12 X1 11 B 2 1 XTAL1 X2 GND B Vs+ C1+ + C9 6 Vs- C1- 3 ATMEGA16_DIP40 VCC 16 VCC C2+ 4 JP1 GND 15 GND C2- 5 C7 C6 1 14 OUT 1 TLLIN 11 22pF 22pF C5 2 PC-RxD 7 OUT 2 TLLIN 10 100n 3 13 IN1 TLLOUT 12 GND 7.3726 MHzND 4 PC-TxD 8 IN2 TLLOUT 9 GND GND GND 5 GND RS232
in „JTAG ICE Evertool light Frage“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
/* Test des Free run mode im ADC ATmega328P, aka Arduino Uno/Micro/Nano */ #define F_CPU 16000000UL #include <stdbool.h> #include <avr/io.h> #include <avr/interrupt.h> #include <avr/sleep.h> #include <util/delay.h> #define ADC_CHANNELS 3
in „ADC-Kanäle sukzessive abfragen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
Reading rotary encoder one, two and four step encoders supported Author: Peter Dannegger target: ATmega168 modifiziert Richard S. ************************************************************************/ #define F_CPU 8000000UL #include <stdlib.h> #include <avr/io.h> #include <util/delay.h> #include
-
Datei
main.c
Reading rotary encoder one, two and four step encoders supported Author: Peter Dannegger target: ATmega168 modifiziert Richard S. ************************************************************************/ #define F_CPU 8000000UL #include <stdlib.h> #include <avr/io.h> #include <util/delay.h> #include
-
PDF
uBrain88_Schematic.pdf
P P P P P P P 14 PB3/MOSI R2 PB4/MISO 1 2 15 PB4/MISO 56k PB5/SCK 3 4 PB3/MOSI 16 9 0 2 3 4 5 6 ATmega88-TQ32 PC6/RST 5 6 1 1 1 1 1 1 1 GND CON16 1 CON6A GND AVR-ISP IC4 LM4040DIM3-4.1 A 2 Title A GND Size Number Revision A4 Date: 22-Jan-2006 Sheet of File: D:\Elektronik\Projekte\AVR\uBrain88\ur88.DDyB
in „neue µBrain Platinen“ · Markt ·
-
PDF
Wandfeuchteindikator_SCH.pdf
1 1 2 1 +9V µ 3 2 1 R LL4148GR LL4148GR D2 D1 1 2 2 1 9 R2 11 9 3 T3 1 2 1 2N7002 S Reset 2 IC2 ATMEGA88 T2 3 1 32 31 30 29 28 27 26 25 2 D D C C C C C 1 PD3/OC2B P / / t / / P P PC1 24 PD4 X X e C D PC0 2N7002 2 1 2 T R R S S 23 3 GND ADC7 22 VCC GND 2 4 0 A 21 5 GND I C AREF 20 K 6 VCC B A/ - I ADC6
in „Kapazität messen, 400-700pF“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
document.pdf
▯1 ▯2 ▯3 ▯4 ▯5 ▯6 VCC U2 MISO 1 1 22 C U1 SCK 3 3 44 MOSI V 1 32 RESET 5 6 C1 C2 2(PCINT19/OC2B/INT1)PD3 PD2(INT0/PCINT1831 5 6 ▯A 3(PCINT20/XCK/T0)PD4 PD1(TXD/PCINT17)30 RESET ▯A USB1 100nF 100nF VCC 4GND PD0(RXD/PCINT16)29 HC-JN254-2-03-Z GND A12 5VCC PC6(RESET#
in „Atmega328p Stromversorgung“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
PWM_Controller_Manual.pdf
Benutzer irrelevant. Die Veränderungen werden im Hauptregister SREG_2(R23) vorgenommen. Die Flags(UPDA32-30) dienen zu Updatefreigaben innerhalb der TIM2 COMP ISR. Bit 7 6 5 4 3 2 1 0 ── ── ── UPDA32 UPDA31 UPDA30 ── ── Read/Write R/W R/W R/W R/W R/W R/W R/W R/W Initial Value 0 0 0 0 0 0 0 0 ● Bit 7─ ● Bit 6─ ● Bit 5─ ● Bit 4─ UPDA32: UPDA32= ICR1A- Write Enable. Mehr Details siehe TIM2_COMP PAP. ● Bit 3─ UPDA31: UPDA31= OCR1B- Write Enable. Mehr Details siehe TIM2_COMP PAP. ● Bit 2─ UPDA30: UPDA30= OCR1A- Write Enable. Mehr Details
in „PWM- Controller 18- Kanal TWI- Bus Proj.“ · Projekte & Code ·
-
Datei
bootload.lst
10 ; ***** BOOTLOADER DECLARATIONS ****************************************** 11 #define PAGESIZE 32 31 32 #define byte3(x) ((x)>>16) 33 #define byte2(x) ((x & 0xff00)>>8) 34 #define byte1(x) (x & 0xff) 35 36 37 /* 38 Atmel's AVR assembler is case insensitive, gcc is not. 39 mangled_case.h covers the
in „Peter Danneggers Bootloader (fastboot) für AVR-GCC-Toolchain“ · Projekte & Code ·
-
PDF
LS7366R.pdf
(CNTR). • 32-bit data register (DTR) and comparator. CKO 1 14 VDD • 32-bit output register (OTR). fCKi 2 13 CNT_EN • Two 8-bit mode registers (MDR0, MDR1) VSS 3 12 A • 8-bit instruction register (IR).s. • 8-bit status
in „Quadratur Counter SPI“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Cynetik.c
/* */ /* Autor: Constantin Alexandru Mauro */ /* */ /* Zielsystem: Cynetik Mainboard, Prozessor: Atmega8535 */ /* IDE/C-Compiler: AVR Studio 4 */ /* */ /* Letzte Änderung: 01.11.2015 */ /* */ /* Datei: Cynetik.c */ /* */ /*******************************************************************************
in „AD-Wandler im ATmega8535“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ledmatrix.txt
.include "m16def.inc" ;Include-File für ATMega16 ;######################## ;|Definitionen | ;######################## .def TEMP1 = R16 .def TEMP2 = R17 .def ASCII = R18 .def ZEILE = R19 .def TABLE = R20 .def COUNT = R21 .equ SHIFT_DDR = DDRB .equ
in „[Assembler] LED-Matrix 5x7“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
/* * Author: Manuel Koch * Modbus Test Configuration * µC: Atmega 32 * Read & Write Holding registers */ #include "avr/io.h" #include "avr/signal.h" #include "avr/interrupt.h" #include "stdio.h" #include "stdint.h" #include "util/delay.h" #include <avr/pgmspace.h> //Defines #define F_CPU 14745600UL #define slaveadress 17 #define rxbuffersize 32 #define txbuffersize 32 //CRC16 table for crc calculation static uint8_t table_crc_hi[] = { 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0,
in „AVR mit Modbus automatischer Reset“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
PWM.c
#ifndef MCU // Welcher AVR genutzt wird, wird i.A. im Makefile definiert #define MCU atmega48P #endif #ifndef F_CPU // kann auch im Makefile definiert sein #define F_CPU 800000UL // Takt als LONG definieren, da zu groß für Integer #endif #define true 1 #define false 0 #define STK500 false
in „Probleme mit der Verbindung PWM + ADC“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Programm_Praktikumsprojekt_Wind.pdf
WIND PROJECT **** //*************************************************************** //Controller: ATmega32 (Crystal: 1.000Mhz) //Compiler: WINAVR //Author: Wiertzema und Schroeder, Hamburg, Germany //Date: Jan 2010 //*************************************************************** #include <avr/io.h> #
in „ATMEGA32 Programmierung einer Windkraftanlage“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Voltmeter_2016_07_24_v3.c
/********************************************* ** ** ** Voltmeter ** ** ATmega324ÇA TQFP-44 ** ** 3,3 Volt ** ** ** **********************************************/ /* PWM (OC1B) stellt die Spannung auf AIN1 ein, Komparator vergleicht sie mit Eingangsspanung auf AIN0 Durch Aendern
in „Eine "Kinderfrage" bzg. *.h und *.c“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
DragonSky60A.sch.pdf
ADC7 1N4148 Q6 Q8 20 30 C_L C2 DPACK DPACK AREF PD1(TXD/PCINT17) 31 C_H IC4 B C8 C3 PD2(INT0/PCINT18) 32 1 VCC VB 8 PD3(INT1/OC2B/PCINT19) 1 B_H 2 HIN HO 7 2 100n 100n PD4(T0/XCK/PCINT20) 2 B_L 3 LIN VS 6 T PD5(T1/OC0B/PCINT21) 9 A_L 4 COM LO 5 Q7 Q9 GND GND PD6(AIN0/OC0A/PCINT22) 10 DPACK DPACK PD7(AIN1
in „Brushless Leistungsstufe“ · Analoge Elektronik und Schaltungstechnik ·
-
PDF
DragonSky60A.sch.pdf
ADC7 1N4148 Q6 Q8 20 30 C_L C2 DPACK DPACK AREF PD1(TXD/PCINT17) 31 C_H IC4 B C8 C3 PD2(INT0/PCINT18) 32 1 VCC VB 8 PD3(INT1/OC2B/PCINT19) 1 B_H 2 HIN HO 7 2 100n 100n PD4(T0/XCK/PCINT20) 2 B_L 3 LIN VS 6 T PD5(T1/OC0B/PCINT21) 9 A_L 4 COM LO 5 Q7 Q9 GND GND PD6(AIN0/OC0A/PCINT22) 10 DPACK DPACK PD7(AIN1
in „Brushless Regler Software in C“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
H_Encoder_PeDA_ATmega2560__C_net.txt
/ /* one, two and four step encoders supported */ /* */ /* Author: Peter Dannegger */ /* target: ATmega16 */ /************************************************************************/ #include <avr/io.h> #include <avr/interrupt.h> //#define XTAL 8e6 // 8MHz #define F_TIMER1 100 // Timer 1 frequency /
in „Peter Dannegger´s ( PeDa ) Entprellroutine in ein Arduino Sketch einbinden“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Schaltplan_Durchflussregler_V2.pdf
PD6(AIN0) GND PD5(T1) 9 IO5_IR_VERSORGUNG 5 +3V3 GND PD4(XCK/T0) 2 PD3(INT1) 1 IC4 22 ADC7 PD2(INT0) 32 1 VCC OUT10 3 19 ADC6 PD1(TXD) 31 T PD0(RXD) 30 2 ENA OUT2 4 P ATMEGA328P-20MU 3 IN1 OUT3 5 P 4 IN2 OUT4 6 P 5 6 T NC GND LB1909MC-BH GND
in „Redesign Platine“ · Platinen ·
-
PDF
AtMega1284_Miniboard_SCH.PDF
39 38 37 36 35 34 B B B B B D C A A A A MOSI 1 PB5 P P P P P G V P P P P PA4 33 PA4 MISO 2 PB6 PA5 32 PA5 JTAG K5 SCK PB7 PA6 PA6 TCK21_PC2 3 31 7 PA3 1 RESET 4 Reset PA7 30 PA7 TMS22_PC3 6 PA2 2 5 VCC AREF 29 TDO23_PC4 5 PA1 3 6 GND GND 28 TDI24_PC5 4 PA0 4 XTAL2 7 XTAL2 AVCC 27 RESET 3 VCC XTAL1 XTAL1
in „Debuggen über JTAG Atmega1284p bricht mit Fehler ab“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
simple_server.c
or http://baseurl/password/ * * Title: Microchip ENC28J60 Ethernet Interface Driver * Chip type : ATMEGA88 with ENC28J60 * Note: there is a version number in the text. Search for tuxgraphics *********************************************/ /********************************************* * modified: 2011-
in „Webpage Webserver“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Web_Haus_Webserver.bas
Webserver Board und die Addon-Boards von Thomas Heldt Const Prgversion = "V1.0.5" Const Mctype = "ATMEGA32" Const Userelais = 1 'Relais benutzen ja=1, nein=0 Const Useinput = 1 'Optokoppler-Eingänge benutzen ja=1, nein=0 'Const Dispclock = 0 'LCD soll Datum und Uhrzeit anzeigen, nur wenn uselcd=1, ja=
in „AVR WebServer und Google Chrome?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
mega8535.h
Compiler // (C) 1998-2003 Pavel Haiduc, HP InfoTech S.R.L. // I/O registers definitions for the ATmega8535(L) #ifndef _MEGA8535_INCLUDED_ #define _MEGA8535_INCLUDED_ #pragma used+ sfrb TWBR=0; sfrb TWSR=1; sfrb TWAR=2; sfrb TWDR=3; sfrb ADCL=4; sfrb ADCH=5; sfrw ADCW=4; // 16 bit access sfrb ADCSRA=
in „<<Problem mit DS1820>>“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Mega8.h
Compiler // (C) 1998-2004 Pavel Haiduc, HP InfoTech S.R.L. // I/O registers definitions for the ATmega8 #ifndef _MEGA8_INCLUDED_ #define _MEGA8_INCLUDED_ #pragma used+ sfrb TWBR=0; sfrb TWSR=1; sfrb TWAR=2; sfrb TWDR=3; sfrb ADCL=4; sfrb ADCH=5; sfrw ADCW=4; // 16 bit access sfrb ADCSRA=6; sfrb ADMUX
in „<<Problem mit DS1820>>“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Dokument.txt
nächste Messung kann Starten } } } Fehlermeldungen: Build started 15.7.2009 at 13:36:50 avr-gcc -mmcu=atmega32 -Wall -gdwarf-2 -Os -std=gnu99 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -MD -MP -MT Frequenzmessung.o -MF dep/Frequenzmessung.o.d -c ../Frequenzmessung.c ../Frequenzmessung.c
in „Frequenzmessung mittels Input Capture mode ( mega 32 )“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
SPI_test.c
Initial the MCP23S17 SPI I/O Expander DDRA = 0x00; } int main (void) { init(); // Initial the AVR ATMega32 SPI Peripheral // Set MOSI (PB5), SCK (PB7) and PB4 (SS) as output, others as input SPI_DDR = (1<<DDB5) | (1<<DDB7) | (1<<DDB4); // CS pin is not active SPI_PORT |= (1<<SPI_CS); // Enable SPI, Master
in „Problem mit SPI“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Lin-Transciever-Schaltung.pdf
RXD 5 2 8 7 6 5 4 3 2 1 U1 ATA6662 GND VCC 1 RXD INH 8 7 6 C D C D 4 3 P P C N C N P P 2 7 9 V G V G 32 EN VS 1 10 PD5 PD2 31 TXD VCC 3 6 LIN 2 11 PD6 PD1 TXD 30 RXD WAKE LIN 3 J3 R8 1K PD7 PD0 RXD TXD 12 PB0 PC6 29 4 TXD GND 5 13 PB1 U2 PC5 28 3-Ader-LIN-Bus 14 PB2 ATMega168 PC4 27 10k R10 C2 C Q1 MOSI
-
PDF
Lin-Transciever-Schaltung.pdf
4 J6 3 GND VCC 1 8 6 5 7 6 C D C D 4 3 RXD INH B B C N C N D D 2 7 P P V G V G P P EN VS 9 PD5 PD2 32 TXD VCC LIN 1 GND 10 PD6 PD1 TXD 31 3 WAKE LIN 6 2 J3 11 PD7 PD0 RXD 30 RXD 3 R8 1K 12 PB0 PC6 29 TXD 4 TXD GND 5 13 U2 28 3-Ader-LIN-Bus 14 PB1 ATMega168 PC5 27 10k R10 C2 Q1 MOSI 15 PB2 0 1PC4 26 220pF
-
Datei
PWM_ADC.txt
#ifndef MCU #define MCU atmega48P #endif #ifndef F_CPU #define F_CPU 800000UL #endif #define true 1 #define false 0 #define STK500 false #include <avr/io.h> // Namen der IO Register #include <util/delay.h> // Funktionen zum warten
in „Probleme mit der Verbindung PWM + ADC“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ADC_PWM2.txt
#ifndef MCU // Welcher AVR genutzt wird, wird i.A. im Makefile definiert #define MCU atmega48P #endif #ifndef F_CPU // kann auch im Makefile definiert sein #define F_CPU 800000UL // Takt als LONG definieren, da zu groß für Integer #endif #define true 1 #define false 0 #define STK500 false
in „Probleme mit der Verbindung PWM + ADC“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ADC_PWM2.c
#ifndef MCU // Welcher AVR genutzt wird, wird i.A. im Makefile definiert #define MCU atmega48P #endif #ifndef F_CPU // kann auch im Makefile definiert sein #define F_CPU 800000UL // Takt als LONG definieren, da zu groß für Integer #endif #define true 1 #define false 0 #define STK500 false
in „Probleme mit der Verbindung PWM + ADC“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
sid.c
/* MOS6581 SID driver for AVR * * pin connections on atmega 16/32/64/164p/324p/644p/1284p, ... : * SID AVR * --------------------------- * D0-D7 PA0 - PA7 * A0-A5 PB0 - PB5 * CLOCK (o2) OC1A (PD5) * RESET PD4 * R/W PC2 * CS PC3 */ #define SET_CS PORTC &= ~(
in „mos6581 SID (C64 Soundchip) für AVR“ · Projekte & Code ·
-
Datei
Ultraschall.c
// ATMega8, 16 MHz // 04.10.2011 // Test Ultraschall / Capture // // Ping: PB0 / Capture // senden empfangen // _|-------|____________|-----------------------|___ // 5 usec 750 usec 115usec ... 18,5 msec //