-
Datei
main.c.txt
#include "avr/io.h" #include "lcd.h" #ifndef F_CPU #define F_CPU 16000000 /*Quarz 16 Mhz*/ #endif #include <util/delay.h> #include "modul.h" #include "lcd.h" #define __AVR_ATMEGA128__ 1 #define Frequency 16000000 #define CR "\r\n" #define __AVR_ATMEGA128__ 1 void Initialize() { PORTA
in „UART String empfangen“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
ECAD_LBB01v00_LBB02v00.pdf
Emitting Diode Kingbright SMD 1 F1 1206L025 FUSE-RESC3216X100N Polyfuse I-hold=0,250A; I-trip=0,50A; 16V, order code: 1206L025 Fuse Littlefuse 1206L 1 IC1 ATMEGA328P- QFP80P900X900X120-32N 8-Bit Microcontroller With 32kB In-System Programmable Flash, order code: ATmega328P-PU Microcontroller Atmel AU 1
in „LED Blinky Ball Monochrom“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
reichelt.htm
td> <td>Modular-Einbaubuchse 8/8, geschirmt</td> <td><input type="text" name="Input_Unknown[16]" value="MEBP 8-8G" class="artnr"/></td> <td><input type="text" id="item[16]" name="Anzahl_Unknown[16]" maxlength="5" class="menge" value="1"/></td> </tr> <!-- Artikel ENDE --> <!-- Artikel
-
Datei
reichelt.htm
td> <td>Modular-Einbaubuchse 8/8, geschirmt</td> <td><input type="text" name="Input_Unknown[16]" value="MEBP 8-8G" class="artnr"/></td> <td><input type="text" id="item[16]" name="Anzahl_Unknown[16]" maxlength="5" class="menge" value="1"/></td> </tr> <!-- Artikel ENDE --> <!-- Artikel
-
Datei
reichelt.htm
td> <td>Modular-Einbaubuchse 8/8, geschirmt</td> <td><input type="text" name="Input_Unknown[16]" value="MEBP 8-8G" class="artnr"/></td> <td><input type="text" id="item[16]" name="Anzahl_Unknown[16]" maxlength="5" class="menge" value="1"/></td> </tr> <!-- Artikel ENDE --> <!-- Artikel
-
Datei
reichelt.htm
td> <td>Modular-Einbaubuchse 8/8, geschirmt</td> <td><input type="text" name="Input_Unknown[16]" value="MEBP 8-8G" class="artnr"/></td> <td><input type="text" id="item[16]" name="Anzahl_Unknown[16]" maxlength="5" class="menge" value="1"/></td> </tr> <!-- Artikel ENDE --> <!-- Artikel
in „Womit erzeugt man so eine reichelt.htm Warenkorb Datei“ · Platinen ·
-
Datei
problem.c
-------- zacwire.c-Datei // software-only implementation of the ZACwire(R) protocol #ifdef __AVR_ATmega644__ // ATMega644 supports pin change interrupt (ATMega32 does not) #include "zacwire.h" // globals volatile uint16_t ZACWIRE_Temperature; // current temperature volatile uint8_t ZACWIRE_Flag; // current
in „Interrupt-Problem (TSic und ZACwire)“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
0901.3482v1.pdf
figure we can see the flash memory which contains the program instruc- As shown on Figure 1(a), the Atmega 128 microcontroller tions. has three internal memories, one external memory, and a flash chip, on the Micaz board. Program Address Space Data Address Space 16bit width memory 8bit width memory • The
in „Mikrocontroller Viren“ · Offtopic ·
-
Datei
robot.c
1000000L // Crystal frequency in Hz #define OC1A_PIN PD5 // OC1A pin (for AT90S8515 use PD5, for ATmega8 use PB1) #define OC1A_DDR DDRD // OC1A DDR (for AT90S8515 use DDRD, for ATmega8 use DDRB) #define OC1B_PIN PD4 /* * function prototypes */ static void delay(uint16_t us); /* * function definitions */ static void delay(uint16_t us) /* delay for a minimum of <us> microseconds */ /* with a 4Mhz crystal, the resolution is 1 us */ { while ( us ) us--; } int main(void) { uint8_t i = 0; DDRB = 0xff; // use all pins on PortB for
in „Problem mit PWM“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
AdvancedUseAVRASM2_de_20171104.pdf
....................................................... 16 Programmfluss-Beispiel................................................................................................................. 16 1 12. Tipps und Tricks .....................................
in „Advanced Use of AVRASM2“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
AdvancedUseAVRASM2_de_20171104.pdf
....................................................... 16 Programmfluss-Beispiel................................................................................................................. 16 1 12. Tipps und Tricks .....................................
in „Doku zu AVR Assembler für komplexe Projekte (deutsch)“ · Projekte & Code ·
-
PDF
radino_CC1101.pdf
011109 Dresden radino CC1101 Datasheet Pinout andTerminal Description TopView radino Name Arduino Atmega32U4 Description / Function Pin No. Pin No. Port (bold = main function) 1 MOSI 16 PB2 SPI-MOSI (also connected to internal radio section) GPIO; PCINT2 2 MISO 14 PB3 SPI-MISO (also connected to internal
in „Homematic, Radino CSM“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
m8535def.inc
L Y ;* ;* Number :AVR000 ;* File Name :"m8535def.inc" ;* Title :Register/Bit Definitions for the ATmega8535 ;* Date : April 16th, 2002 ;* Version :1.00 ;* Support telephone :+47 72 88 43 88 (ATMEL Norway) ;* Support fax :+47 72 88 43 99 (ATMEL Norway) ;* Support E-mail :support@atmel.no ;* Target MCU
in „include für AT Mega 8538“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
m8535def.txt
L Y ;* ;* Number :AVR000 ;* File Name :"m8535def.inc" ;* Title :Register/Bit Definitions for the ATmega8535 ;* Date : April 16th, 2002 ;* Version :1.00 ;* Support telephone :+47 72 88 43 88 (ATMEL Norway) ;* Support fax :+47 72 88 43 99 (ATMEL Norway) ;* Support E-mail :support@atmel.no ;* Target MCU
in „Servomotor ansteuern, kein Interrupt!!!“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
reichelt.htm
Artikel ENDE --> <!-- Artikel START --> <tr> <td>C11, C13</td> <td>Elektrolytkondensator, 105° 220µF/16V°C, RM 2,5mm</td> <td><input type="text" name="Input_Unknown[3]" value="RAD 105 220/16" class="artnr"/></td> <td><input type="text" id="item[3]" name="Anzahl_Unknown[3]" maxlength
-
Datei
TMC222_AVR.c
library for using a TMC222 together with AVR processors that have a hardware TWI interface (e.g. ATmega8, ATmega48, ATmega88, ATmega168, ATmega16, ATmega32, ATmega64, ATmega128, AT90CAN128 and many more). It implements and interrupt driven TWI master communication over the TWI of the AVR MCU and utilizes
in „Ansteuerung TMC222“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
TMC222_AVR.c
library for using a TMC222 together with AVR processors that have a hardware TWI interface (e.g. ATmega8, ATmega48, ATmega88, ATmega168, ATmega16, ATmega32, ATmega64, ATmega128, AT90CAN128 and many more). It implements and interrupt driven TWI master communication over the TWI of the AVR MCU and utilizes
in „ELV USB-I2C & Schrittmotorsteuerung iSMT“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
Peter Fleury <pfleury@gmx.ch> http://tinyurl.com/peterfleury File: $Id: lcd.h,v 1.14.2.4 2015/01/20 17:16:07 peter Exp $ Software: AVR-GCC 4.x Hardware: any AVR device, memory mapped mode only for AVR with memory mapped interface (AT90S8515/ATmega8515/ATmega128) ******************************************
in „Probleme mit LCD-Display und SPI Übertragung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
Peter Fleury <pfleury@gmx.ch> http://tinyurl.com/peterfleury File: $Id: lcd.h,v 1.14.2.4 2015/01/20 17:16:07 peter Exp $ Software: AVR-GCC 4.x Hardware: any AVR device, memory mapped mode only for AVR with memory mapped interface (AT90S8515/ATmega8515/ATmega128) ******************************************
in „LCD-Display Problem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
)) #if (defined(__AVR_ATmega8__)) // stolen from spminterface for ATmega8 const uint16_t bootloader__do_spm[15] PROGMEM = { 0x2dec, 0x2dfd, 0xb6b7, 0xfcb0, 0xcffd, 0xbf27, 0x95e8, 0xb6b7, 0xfcb0, 0xcffd, 0xe121, 0xb6b7, 0xfcb6
in „ATmega-Bootloader vom Hauptprogramm aus flashen“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
ch32v003_getting_started.pdf
für rot, grün, blau. Aus diesen wird ein 16 Bit (RGB565 = 65536 Farben) Farbwert generiert Rückgabe: generierter 16-Bit Farbwert rgbfromega uint16_t rgbfromega (uint8_t entry); liefert den 16-Bit Farbwert, der in der EGA-Farbpalette deklariert
in „CH32V003: Selbstbauprogrammer und "Getting started"“ · Projekte & Code ·
-
Datei
Tatenabfrage_10.c
avr/io.h> #include <stdlib.h> //#include <util/delay.h> //#include<avr/delay.h> /* USART-Init beim ATmega16 */ #ifndef F_CPU #define F_CPU 16000000 /* Oszillator-Frequenz in Hz */ #endif // Hilfsmakro zur UBRR-Berechnung ("Formel" laut Datenblatt) #define UART_UBRR_CALC(BAUD_,FREQ_) ((FREQ_)/((BAUD_)*16L
in „PWM geht nicht mehr“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
spihyper.S
SPSR, SPIF ;1 we have to read SPSR here to clear SPIF with next SPDR read/write ! in r0,SPSR ; on ATMega644 sbis does not work ! sbrs r0,SPIF rjmp wl1 ;2 if not skipped out SPDR, r23 ;1 read and ignore CRC16 part1 wl2: ; sbis SPSR, SPIF ;1 in r0,SPSR sbrs r0,SPIF rjmp wl2 ;2 if not skipped out SPDR, r23
in „SDCard, Widerstands-Level-Converter, Speed?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
uart.c
#define UART0_CONTROL UCSRB #define UART0_DATA UDR #define UART0_UDRIE UDRIE #elif defined(__AVR_ATmega8__) || defined(__AVR_ATmega16__) || defined(__AVR_ATmega32__) \ || defined(__AVR_ATmega8515__) || defined(__AVR_ATmega8535__) \ || defined(__AVR_ATmega323__) /* ATmega with one USART */ #define ATMEGA_USART
in „SHT11 misst Mist“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
i2c.c
pull-up resistors on I2C bus pins ///@todo : should #ifdef these //sbi(PORTC, 0); // i2c SCL on ATmega163,323,16,32,etc //sbi(PORTC, 1); // i2c SDA on ATmega163,323,16,32,etc sbi(PORTD, 0); // i2c SCL on ATmega128,64 sbi(PORTD, 1); // i2c SDA on ATmega128,64 // clear SlaveReceive and SlaveTransmit handler
in „TWI, I2C Master-Slave mit AVR“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
_Dokumentation_V1.0_Stand_22.03.2012.pdf
für eine „Holzkiste“ die mit Holzzierleisten verschönert wurde. 2 Also fasse ich mal zusammen: µC ATMega@16MHz LED Blau 1000 Stück Programmiersprache BASCOM Unterbau Holzbox Zeitaufwand 1-2 Stunden nach der Arbeit Projektstart 25.09.2011 Hier nochmal die LED-Matrix: 3 Abgleich der Funktionsweise mit den
in „Tutorial 10x10x10 LED-Cube“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Uart_main.c
2009-2010 Frank Meyer - frank(at)fli4l.de * * $Id: main.c,v 1.8 2010/08/30 15:45:27 fm Exp $ * * ATMEGA88 @ 8 MHz * * Fuses: lfuse: 0xE2 hfuse: 0xDC efuse: 0xF9 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published
in „Bluetooth zu Infrarot“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
ch32v003_getting_started.pdf
Rückgabe: > 0 wenn Slave ein Acknowledge gegeben hat == 0 wenn kein Acknowledge vom Slave i2c_write16 uint8_t i2c_write16(uint16_t data); schreibt den 16 Bit Wert (2Bytes) in data auf dem I2C Bus und liest ein Acknowledge ein Rückgabe: > 0 wenn Slave ein Acknowledge gegeben hat == 0 wenn kein Acknowledge
in „CH32V003: Selbstbauprogrammer und "Getting started"“ · Projekte & Code ·
-
Datei
i2c.c
set pull-up resistors on I2C bus pins // TODO: should #ifdef these sbi(PORTC, 0); // i2c SCL on ATmega163,323,16,32,etc sbi(PORTC, 1); // i2c SDA on ATmega163,323,16,32,etc //sbi(PORTD, 0); // i2c SCL on ATmega128,64 //sbi(PORTD, 1); // i2c SDA on ATmega128,64 // clear SlaveReceive and SlaveTransmit
in „TWI, I2C Master-Slave mit AVR“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Quad_Schaltplan.pdf
IN OUT C11 C13 ADJ C14 C12 D 10µF 100nF 100nF 10µF L GND GND GND GND GND GND +5V +3V3 USB/BT GND C16 C15 _ ATmega644p 1 USB T B4 R5 33 +3V3 23 VCC GPIN0 26 RESET S K IC1 S3 100nF100nF 2 VL GPIN1 27 R 1 5 VCC (PCINT7/ADC7)PA7 30 U2 N 21 D+ GPIN2 28 N P$1 P$2 17 VCC (PCINT6/ADC6)PA6 31 R6 33 C17 20 D-
-
Datei
pwm.txt
#include "pwm.h" #include <avr/io.h> void pwm(uint16_t top, uint16_t wert, uint16_t zeit) { // OC1A auf Ausgang DDRB = (1 << PB1 ); //ATMega8 () // Timer 1 einstellen // // Modus 5 Atmega8 Datasheet: // Fast PWM, 8-bit, BOTTOM to TOP // // WGM13 WGM12
in „AVR Atmega8, PWM per Taster an“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
unterbrochen,wird der aktuelle * // * Zählerstand nullspannungssicher abgelegt. * // * * // * Hier wird ein ATmega 168 PA vorgesehen. * // * Der 8-Bit-Timer(T0) und der 16-Bit-Zähler * // * (T1) werden im CTC-Modus betrieben. * // * Ausgänge: PWM_0 (PD6) für T0, PWM_1 (PB1) * // * für T1. * // * * // * * // * by
in „PWM steuert Helligkeit & Farbe bei LED-Module“ · Projekte & Code ·
-
Datei
timer.asm
*********************** ;Beschreibung: ;Dieses Programm lässt eine LED am Pin0 des Ports B eines ATmega8 ;mit 2Hz blinken (Bei 4MHz Oszillator-Frequenz). ;Ein Timer (TC0) zählt nach oben bis zum Überlauf, woraufhin ;ein TC0-Überlauf-Interrupt erzeugt wird und zur "TIM0_OVF"-ISR verzweigt wird, ;die dann
in „timer - ok bei mega8 - nok bei mega16 ???“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Bootloader.c
0x200 #endif #if ((defined __AVR_ATmega328__) | (defined __AVR_ATmega328P__)) #define UsartA UCSR0A #define UsartB UCSR0B #define UsartC UCSR0C #define UsartRXC RXC0 #define UsartTXC TXC0 #define UsartBaud UBRR0L #define UsartData UDR0 #define NumberOfPages 248 #define EEPROMSIZE 0x400 #endif #if ((defined __AVR_ATmega168__) | (defined __AVR_ATmega168P__)) #define UsartA UCSR0A #define UsartB UCSR0B #define UsartC UCSR0C #define UsartRXC RXC0 #define UsartTXC TXC0 #define UsartBaud UBRR0L #define UsartData UDR0 #
in „GCC Optimierung, unterschiedliche Codelänge“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
uart.c
#define UART0_CONTROL UCSRB #define UART0_DATA UDR #define UART0_UDRIE UDRIE #elif defined(__AVR_ATmega8__) || defined(__AVR_ATmega16__) || defined(__AVR_ATmega32__) \ || defined(__AVR_ATmega323__) /* ATmega with one USART */ #define ATMEGA_USART #define UART0_RECEIVE_INTERRUPT USART_RXC_vect #define
in „AVR Bootloader in C, geht mit mega8 nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
liste.lst
sbrc" ;* (skip if bit in register set/cleared). The following example illustrates ;* this: ;* ;* in r16,PORTB ;read PORTB latch ;* sbr r16,(1<<PB6)+(1<<PB5) ;set PB6 and PB5 (use masks, not bit#) ;* out PORTB,r16 ;output to PORTB ;* ;* in r16,TIFR ;read the Timer Interrupt Flag Register ;* sbrc r16,TOV0
in „Adressierung eines LUT mit Z-Register“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
owdevice_ATT13_DS18B20.c
init_uart0(0); uart_puts("\nHallo\n"); char s[16]; b1=b2=0; DDRD|=(1<<PIND4); PORTD|=(1<<PORTD4); DDRD|=(1<<PIND3); PORTD|=(1<<PORTD3); EN_OWINT; #endif DIS_TIMER; sei(); while(1){ #ifdef __AVR_ATmega32__ while(b1!=b2) { uart_puts(utoa(dbbuf[b2],s,16));uart_puts(" "); b2++; } #endif } }
in „1-Wire Slave auf AVR“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
dude5.6_avr910.txt
0x41 = ATMEGA103 Device code: 0x42 = (unknown) Device code: 0x43 = ATMEGA128 Device code: 0x44 = (unknown) Device code: 0x45 = ATMEGA64 Device code: 0x46 = (unknown) Device code: 0x47 = (unknown) Device code: 0x48
in „avrdude - Probleme unter Mac OS X 10.7 (Lion)“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
AVR_Addressing_Indirect.pdf
time or at run time). FLASH Program Memory 16K x 16 (32 K bytes) byte 1 0 0x0000 SRAM Data Memory SRAM I/O Address Address 2 K bytes 16-bit 0x08FF Application Word 2048 x 8 SRAM Flash Address EEPROM Data Section (little- Memory endian) 0x0100 1
in „Little Endian“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Tastatur.asm
writtten by: Heiko Knejfl * ;date: 20.03.2006 * ;version: V1.0 * ;file saved as: Tastatur * ;for AVR: Atmega16 * ;clock frequency: 8Mhz * ;*********************************************** ;Program function:___Tastatur-Emulation________________________________________________________ ;____________________________________________________________________________ .device ATmega16 .nolist .include "m16def.inc" ; Definitionsdatei für ATmega16 ;****************************************************************************** ; Parameter definieren ;*****************************
in „Tastatur-Emulator gesucht“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
crumb_128.pdf
21 C 13 14 MISO PB3 VCC 51 20 GND GND GND VCC C 14 OC0 PB4 PA0 AD0 19 15 15 OC1A PB5 PA1 AD1 50 18 16 16 OC1B PB6 PA2 AD2 49 17 17 17 OC2 OC1C PB7 PA3 AD3 48 16 18 18 TOSC2 PG3 PA4 AD4 47 15 1 0 9 8 7 6 5 4 3 0 19 19 TOSC1 PG4 PA5 AD5 46 14 2 2 2 1 1 1 1 1 1 1 1 20 /RESET 20 /RESET PA6 AD6 45 13 U3 21
in „Crumb128 Probleme bei der Inbetriebnahme“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
int_vect.h
define SIG_OVERFLOW1 _VECTOR(15) /* Timer/Counter0 Compare Match A */ #define TIMER0_COMPA_vect_num 16 #define TIMER0_COMPA_vect _VECTOR(16) #define SIG_OUTPUT_COMPARE0A _VECTOR(16) /* Timer/Counter0 Compare Match B */ #define TIMER0_COMPB_vect_num 17 #define TIMER0_COMPB_vect _VECTOR(17) #define SIG_OUTPUT_COMPARE0B
in „Veraltete avr-lib in AVR-Studio 6.2. verwenden?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
make_all.txt
Compiling: httpd.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=httpd.lst -std=gnu99 httpd.c -o httpd.o Compiling: telnetd.c avr-gcc -c -mmcu=atmega32
in „C code automatisch in hexfile compilieren“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
dog_text.asm
endif ;---------------------------------------------------------------------------------------- ; ATMega 8/48/88/168/162 .if (m48_88_168 ==1)|(m8==1)|(m162==1) spi_out: push r18 dog_enab out SPDR,r18 ; Start transmission of data (r16) spi_out10: in r18, SPSR ; Wait for transmission complete sbrs r18,
in „SPI Initialisierungsfolge fuer EA DOGMxxx“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
dog_text.asm
endif ;---------------------------------------------------------------------------------------- ; ATMega 8/48/88/168/162 .if (m48_88_168 ==1)|(m8==1)|(m162==1) spi_out: push r18 dog_enab out SPDR,r18 ; Start transmission of data (r16) spi_out10: in r18, SPSR ; Wait for transmission complete sbrs r18,
in „DOGM162_163_4WIRE_SPI_3.3V_5.0V_Initialize_ASM“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
T1_WGM_Test.asm
;******************************************** ; ; ATMega16 timer 1 switching WGM modes test ; ;******************************************** ; ATMega platform .NOLIST .INCLUDE "m16def.inc" .LIST .listmac ;AVR clock speed .equ Osc_Hz = 16000000 ;16 MHz .equ
in „ATMEGA16 Timer1 WGM 4 - seltsames Verhalten beim Umschalten“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Schematic02.pdf
GND GND OUTPUT (VCC) GND 5V D2 R5 VCC VCC D3 B 2 1 0 6 5 4 3 2 R6 B IC1 D D D C C C C C R14 R15 atmega8-16au.SchDoc P P P P P P P P 4k7 4k7 R12 R18 D4 R7 S1 10k 10k U2 0 T L 3 2 C C DTSM-6 74HC14N VCC T X X E C D C C N N R10 I T R E 5 / A A 1 14 PD3 INT1 R C C ADC1 PC1 X3 2 13 A D D5 R11 PS2 10k C10
in „Mein erstes AVR Board“ · Platinen ·
-
Datei
DC_Motor_Regler.c
Drehzahlregelung eines 12V DC-Motors mit Steuerspannung (Poti). Nachfolgendes Programm ist auf einem ATmega328 getestet; ein ATtiny13 wuerde aber schon reichen. Die Schaltungsbeschreibung, mit der man ggf. auch ohne Schaltplan auskommt: Ein AVR-Controller bekommt seine Versorgungsspannung von einem 5V-Regler
in „Drehzahlregler für DC-Motor, ATmega48-328“ · Projekte & Code ·
-
PDF
problems.pdf
script below # # # At90S8515 # #MCU = at90s8515 #LDFLAGS = -T../source/avr85xx.x ############# # # Atmega103 # # MCU = atmega103 # #LDFLAGS = -T../source/avrmega103.x # LDFLAGS = -T../source/avr3.x ############# # # Atmega8 # MCU = atmega8 LDFLAGS = -T../source/avrmega8.x ##############################
in „no interrupts for atmega32 but for atmega8“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ohne_interupt.asm
; 2 Befehle fuer den atmega32 ; ATMEGA32 Minimum System Board ; ueber den UART .include "m32def.inc" .def temp = R16 .equ F_CPU = 16000000 ; Systemtakt in Hz .equ BAUD = 9600 ; Baudrate ; Berechnungen .equ UBRR_VAL = ((F_CPU+BAUD*8)/(BAUD*16)-1) ; clever runden .equ BAUD_REAL = (F_CPU/(16*(UBRR_VAL+1))) ; Reale Baudrate .equ BAUD_ERROR = ((BAUD_REAL*1000)/BAUD-1000) ; Fehler in Promille .if ((BAUD_ERROR>10) || (BAUD_ERROR<-10)) ; max. +/
in „ATMEGA32 Minimum System Board“ · Mikrocontroller und Digitale Elektronik ·