Abschluss Dipl.-Ing (FH) Elektrotechnik, Fachrichtung Informationstechnik Einstiegsgehalt Mitte 2005: ~32k€, 37h/Wo., Software-Entwickler (Firmware auf AVR bis Datenbankanwendung auf PC) Mitte 2006 Firmenwechsel wg. ausbleibender Gehaltserhöhung, nun ~51k€, 40h/Wo., Software-Entwickler im Embedded-Bereich
dv16uL ; restore remainder adc drem16uH,dv16uH clc ; clear carry to be shifted into result rjmp d16u_14 ;else d16u_13:sec ; set carry to be shifted into result d16u_14:rol dd16uL ;shift left dividend rol dd16uH rol drem16uL ;shift dividend into remainder rol drem16uH sub drem16uL,dv16uL ;remainder = remainder
Formula: I T H S V N Z C – – – – – – – – Example: call routine ; Call subroutine ... routine: push r14 ; Save r14 on the Stack push r13 ; Save r13 on the Stack ... pop r13 ; Restore r13 pop r14 ; Restore r14 ret ; Return from subroutine Words: 1 (2 bytes) Cycles: 2 106 AVR Instruction Set 0856E–AVR–11
Conversion (for what registers I need to change) */ /* iocan128.h - definitions for CAN128 */ #ifndef _AVR_IOCAN128_H_ #define _AVR_IOCAN128_H_ 1 /* This file should only be included from <avr/io.h>, never directly. */ #ifndef _AVR_IO_H_ # error "Include <avr/io.h> instead of this file." #endif #ifndef _
library (lcd_io.c) Author: Chris efstathiou hendrix@otenet.gr Date: 2/2/2003 6:35:06 ìì Software: AVR-GCC with AVR-AS Target: any AVR device Comments: This software is FREE. DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Based on Volker Oth's lcd library (http://members.xoom.com
Formula: I T H S V N Z C – – – – – – – – Example: call routine ; Call subroutine ... routine: push r14 ; Save r14 on the Stack push r13 ; Save r13 on the Stack ... pop r13 ; Restore r13 pop r14 ; Restore r14 ret ; Return from subroutine Words: 1 (2 bytes) Cycles: 2 106 AVR Instruction Set 0856D–AVR–08
library (lcd_io.c) Author: Chris efstathiou hendrix@otenet.gr Date: 2/2/2003 6:35:06 ìì Software: AVR-GCC with AVR-AS Target: any AVR device Comments: This software is FREE. DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Based on Volker Oth's lcd library (http://members.xoom.com
25°C, I = 1mA (BR)DSSJ D RDS(on) Static Drain-to-Source On-Resistanc––– ––– 8.0 mΩ VGS = 10V,DI = 62AVR V Gate Threshold Voltage 2.0 ––– 4.0 V V = V , I = 250µA GS(th) DS GS D gfs Forward Transconductance 44 ––– ––– S VDS = 25V,DI = 62AR ––– ––– 25 V = 55V, V = 0V DSS Drain-to-Source Leakage Current µA
long) == 8. Note the absence of a 4-byte, 32-bit type. The patch proposes to change sozeof(long long) to be 4 bytes (32 bits). When and if the patch is included in gcc, we will need to change avr-libc accordingly. 7.14 Deprecated List Global eeprom
Formula: I T H S V N Z C – – – – – – – – Example: call routine ; Call subroutine ... routine: push r14 ; Save r14 on the Stack push r13 ; Save r13 on the Stack ... pop r13 ; Restore r13 pop r14 ; Restore r14 ret ; Return from subroutine Words: 1 (2 bytes) Cycles: 2 106 AVR Instruction Set 0856D–AVR–08
Features High-performance, Low-power AVR 8-bit Microcontroller Advanced RISC Architecture – 133 Powerful Instructions – Most Single Clock Cycle Execution – 32 x 8 General Purpose Working Registers + Peripheral Control Registers – Up to 16
Formula: I T H S V N Z C – – – – – – – – Example: call routine ; Call subroutine ... routine: push r14 ; Save r14 on the Stack push r13 ; Save r13 on the Stack ... pop r13 ; Restore r13 pop r14 ; Restore r14 ret ; Return from subroutine Words: 1 (2 bytes) Cycles: 2 106 AVR Instruction Set 0856D–AVR–08
Features High-performance, Low-power AVR 8-bit Microcontroller Advanced RISC Architecture – 133 Powerful Instructions – Most Single Clock Cycle Execution – 32 x 8 General Purpose Working Registers + Peripheral Control Registers – Up to 16
common functions used by the different battery programs. The two most important are on the following 14 AVR450 AVR450 int battery (unsigned char value) The function is called for each A/D conversion and controls the ADC registers and PWM according to the measurement requested. It reads eight measurements
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. */ #ifndef __IOM128 #define __IOM128 1 #define AVR_MEGA 1 #define AVR_ENHANCED 1 /* * Predefined SFR Addresses. * NOTE: These addresses will be either DATA MEMORY or I/O MEMORY addresses, * depending on how you define __SFR_OFFSET (0x0 for I/O, 0x20
dv16uL ; restore remainder adc drem16uH,dv16uH clc ; clear carry to be shifted into result rjmp d16u_14 ;else d16u_13:sec ; set carry to be shifted into result d16u_14:rol dd16uL ;shift left dividend rol dd16uH rol drem16uL ;shift dividend into remainder rol drem16uH sub drem16uL,dv16uL ;remainder = remainder
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. */ #ifndef __IOM128 #define __IOM128 1 #define AVR_MEGA 1 #define AVR_ENHANCED 1 /* * Predefined SFR Addresses. * NOTE: These addresses will be either DATA MEMORY or I/O MEMORY addresses, * depending on how you define __SFR_OFFSET (0x0 for I/O, 0x20
ist #define SPI_SS 5 //Nicht Benutz muß aber definiert werden #endif #if defined (__AVR_ATmega32__) #define SPI_DI 6 //Port Pin an dem Data Output der MMC/SD-Karte angeschlossen ist #define SPI_DO 5 //Port Pin an dem Data Input der MMC/SD-Karte angeschlossen
ist #define SPI_SS 0 //Nicht Benutz muß aber definiert werden #endif #if defined (__AVR_ATmega32__) #define SPI_DI 6 //Port Pin an dem Data Output der MMC/SD-Karte angeschlossen ist #define SPI_DO 5 //Port Pin an dem Data Input der MMC/SD-Karte angeschlossen
ATmega8: 1.85 LPC2103: 2.50 ATmega32: 3.50 LPC2103: 3.75 Der Preisunterschied zum AVR ist im Hobby- und Kleinserienbereich also völlig zu vernachlässigen. Und die nächste, noch-lower-cost-Generation ist schon im Anmarsch (Cortex M3
Flash/32k RAM / 60MHz / 32-bit zum Preis eines Atmega128.
auf ATMega128 - WinAVR 20060421 geeignet Viel Erfolg Michael ---------------------------------------------------------------------- Bildschirm Hardcopy: Welcome to the arthernet external memory test program
ªªªªªªªªªªªªªªªª: 0x15f2: AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA :ªªªªªªªªªªªªªªªª: -- Bank 1 (high 32kByte) -- Dumping 256 bytes: Address: 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 0x8000: 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F :................: 0x8010: 10 11 12 13 14 15 16
ausgewählt ISR (INT0_vect) { unsigned char tim0_i, status; status = status_global; #ifdef __AVR_ATtiny13__ DDRB &= ~(1 << ONEWIREPIN); // Pin auf Eingang #elif defined (__AVR_ATmega8__) DDRD &= ~(1 << ONEWIREPIN); // Pin auf Eingang #endif #ifdef __AVR_ATtiny13
Hallo, wenn ich versuche den Code von smurfix im AVR Studion für einen ATmega8 zu kompilieren, bekomme ich folgende Fehlermeldung(en): Build started 22.7.2010 at 11:14:02 avr-gcc -mmcu=atmega8 -Wall -gdwarf-2 -std=gnu99 -DF_CPU=8000000UL -Os
= 2887,17245982 Dieses Ergebnis soll der AVR auf- oder abrunden. somit habe ich 2887 dezimal sind binär 101101000111 Dieses Ergebnis kann bis zu 32 bit erreichen. Nun meine Fragen: Wie sag ich dem AVR das er die gewünschte Freq. mit 23,86
anderen. mit electronicdesign statt elecdesign geht's ohne Cookies und Skripte. @Simon: der AVR-MUL ist 8x8-->16 bit, hier geht es um 32x32-->64 In meiner Routine verwende ich keine Shifts, sondern 16 MULs. Schau sie Dir mal an.
Hmm da habe ich doch wieder einmal etwas gelernt. Habe die .hex grösse direkt am file gelesen. Mit avr-size -A sd_reader.hex zeigt es mir 14470 byte an also 14.1kbyte. Ich denke so ist alles in Ordnung. Danke für den Tipp. Habe nun auf einen Atmega32 umgestellt. Leider funktioniert das Init dort auch
ein file erstelle und darin messwerte abspeichere erkennt er mir kein enter zb.: 2010-01-10 12:32:11;14,532;l/s;29328398.2938;m3<ENTER> 2010-01-10 12:32:12;14,532;l/s;29328398.2938;m3<ENTER> 2010-01-10 12:32:13;14,532;l/s;29328398.2938;m3<ENTER> 2010-01-10 12:32:14;14,532;l/s;29328398.2938;m3<
deaktivieren damit die Walzen beim Abkühlen weiterlaufen. 12V Ralais schaltet die Heizung... Kosten 14,- der Rest kam aus der Bastelkiste :D
sobald der da war und ausprobiert wurde , grummel wurde gleiche ein synchronmotor mit 2,5 umdrehungen 14w (derzeit 12umdr. 14w) bestellt, die dinger mit 14w , gleiche Bauform gibts seit kurzem bei ebay :-) gruß Klaus
library Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.2 2012/02/12 07:51:00 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based
__) || defined(__AVR_ATmega162__) /* * memory mapped mode is only supported when the device has an external data memory interface */ #define LCD_IO_DATA 0xC000 /* A15=E=1, A14=RS=1 */ #define