-
Datei
LCD_eigene_Init.c
---------------------------------------------------------- Titel: | Eigene LCD-Init Prozessor: | ATmega8 mit myAVR -Board Datum, Autor: | --------------------------------------------------------------------------------*/ #include <avr/io.h> //Header-Datei #define F_CPU 3686400UL #include <util/delay.h
in „MyAvr LCD Quellcode in C“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
RFM02.c
/**************************************************************************** * Pinbelegung: * ATMEGA8 RFM02 * ----------------------- * SCK (PB5) SCK * PB4 FSK * MOSI (PB3) SDI * SS (PB2) nSEL * PB1 nIRQ *****************************************************************************/ #include <avr/io.h
in „Problem mit RFM01/RFM02“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
bench.c
(uint8_t *array) { uint8_t a, b, c, mix; for (uint32_t loop = 0; loop < loops_int8; loop++) { for (uint32_t i = 0; i < n_int8; i++) { a = array[i]; b = (a * 17) + (i ^ 0x55); c = (b * 23) ^ a; mix = a ^ (b
in „CH32V003, float wirklich langsam?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
config_328.h
-255) */ /* font and symbols: vertically aligned & flipped, bank-wise grouping */ //#define FONT_6X8_VF /* 6x8 font */ #define FONT_8X8_VF /* 8x8 font */ //#define FONT_8X16_VFP /* 8x16 font */ //#define FONT_6X8_ISO8859_2_VF /* 6x8 Central European font */ //#define FONT_8X8_ISO8859_2_VF /* 8x8 Central
in „ComponentTester-1.42m problem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
config_328.h
-255) */ /* font and symbols: vertically aligned & flipped, bank-wise grouping */ //#define FONT_6X8_VF /* 6x8 font */ #define FONT_8X8_VF /* 8x8 font */ //#define FONT_8X16_VFP /* 8x16 font */ //#define FONT_6X8_ISO8859_2_VF /* 6x8 Central European font */ //#define FONT_8X8_ISO8859_2_VF /* 8x8 Central
-
Datei
debounce.c
//Description: Debouncing function for one Pin conected to an external switch //Target Device : ATmega8 //Date: 18.5.2006 //Author: Franz Patz #include <avr/io.h> #include <avr/pgmspace.h> #include <inttypes.h> #include <stdlib.h> #include <avr/interrupt.h> //#include "debounce.h" //Modulform noch nicht
in „Pointer Gültigkeitsbereich“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
0x00 #define GPIOA 0x12 #define MCP_DDR SPI_DDR #define MCP_PORT SPI_PORT void spi_transfer(uint8_t data) { SPDR = data; while(!(SPSR & (1<<SPIF))); } void mcp_write(uint8_t addr, uint8_t reg, uint8_t data) { MCP_PORT &= ~(1<<SS); spi_transfer(addr); spi_transfer(reg); spi_transfer(data); MCP_PORT |= (1<<SS); } void mcp_init(uint8_t addr) { mcp_write(addr, IODIRA, 0x00); // Port A auf Ausgang } void spi_master_init(void) { SPI_PORT = 0xFF; SPI_DDR = (1<<SS) | (1<<MOSI) | (1<<SCK); SPCR = (1<<SPE) | (1<<MSTR); } int main(void)
in „SPI mit Attiny 841 und MCP23S17“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
slaveadcmain.c
properly (don't forget to also ** connect GND between Master and Slave!) ** ** Used uC for Slave is ATMega8 */ int main (void) { uint8_t i=0; uint8_t byte[8]; uint8_t TWIS_ResonseType; DDRB=0xFF; PORTB=0x00; DDRD=0x01; PORTD=0x00; /* ** Clear any interrupt */ cli (); sei(); /* ** Wait 1 second for POR *
in „Problem beim Vergleich von ADwandlerwerte zwischen Master und Slave“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
slaveadcmain.c
properly (don't forget to also ** connect GND between Master and Slave!) ** ** Used uC for Slave is ATMega8 */ int main (void) { uint8_t i=0; uint8_t byte[8]; uint8_t TWIS_ResonseType; DDRB=0xFF; PORTB=0x00; /* ** Clear any interrupt */ cli (); sei(); /* ** Wait 1 second for POR */ _delay_ms(100); count
in „Problem TWI stop bei Reset“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
include <avr/io.h> #include <avr/interrupt.h> #include <avr/eeprom.h> #include "taster.h" // CPU: ATmega8 //------------------------------------------------------------------------ #define XTAL 8e6 // 8MHz #define ENCODER PORTC // Encoder PORT #define PHASE_A (PINC & 1<<PC0) #define PHASE_B (PINC & 1<
in „Tastenabfrage kurz/lang“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.s
.file "main.c" .arch atmega8 __SREG__ = 0x3f __SP_H__ = 0x3e __SP_L__ = 0x3d __tmp_reg__ = 0 __zero_reg__ = 1 .global __do_copy_data .global __do_clear_bss .stabs "main.c",100,0,0,.Ltext0 .text .Ltext0: .stabs "gcc2_compiled.
in „Warum besitzt der AVR keine Division-Funktion?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
reset #define SWRST_ADDRESS 0b00000000 #define SWRST_CALL 0b00000110 #define PUFFERGROESSE 64 uint8_t i2c_befehlspuffer[PUFFERGROESSE]; void ERROR(void) { // hier sollte eine Fehlerbehandlung stattfinden } void i2c_send (uint8_t adresse, uint8_t anzahl_datenbytes) { // I2C-Bus initialisieren und START-Bedingung
in „I2C/TWI zwischen ATmega16 und PCA9685 funktioniert nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
0b10000010 #define PCA9685_GRUEN 0b10000100 #define PCA9685_BLAU 0b10001000 #define PUFFERGROESSE 64 uint8_t i2c_befehlspuffer[PUFFERGROESSE]; void ERROR(uint8_t nummer) { // hier sollte eine Fehlerbehandlung stattfinden PORTD |= (1 << nummer); } void i2c_send (uint8_t adresse, uint8_t anzahl_datenbytes)
in „I2C/TWI zwischen ATmega16 und PCA9685 funktioniert nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
rtc.c
uint16_rtc_show_upd_flag=0; volatile uint16_t uint16_rtc_temp_update_time=0; char *strTemperaturRTC(int8_t temp_offset) { // am DS3231 die Temperatur lesen uint8_t _error; static char ret_rtc_temp[8]="-33,5"; uint8_t vorzeichen=' '; char s[8]; uint16_t __temp=0; #if ARDUINO >= 100 //check busy #if defined
in „arduino oder GCC Programmierung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Drehzahl-ST.asm
######################################################################### ; # # ; # Pin Belegung ATmega8 # ; # # ; # 2 Port D0 = Eingang schneller # ; # 3 Port D1 = Eingang langsamer # ; # 4 Port D2 = Eingang Richtung rechts # ; # 5 Port D3 = Eingang Richtung linksl # ; # 6 Port D4 = Eingang Motor Ein
in „Fehler im ASM-Code zur Motorsteuerung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
mylcd.h
uint8_t*); uint8_t font_char_width(uint8_t*,uint8_t); uint8_t font_char_height(); uint16_t font_start_offset(uint8_t*,uint8_t); uint8_t font_char_present(uint8_t*,uint8_t); // font void lcd_set_cursor(uint8
-
Datei
mylcd.h
uint8_t*); uint8_t font_char_width(uint8_t*,uint8_t); uint8_t font_char_height(); uint16_t font_start_offset(uint8_t*,uint8_t); uint8_t font_char_present(uint8_t*,uint8_t); // font void lcd_set_cursor(uint8
-
Datei
mylcd.h
uint8_t*); uint8_t font_char_width(uint8_t*,uint8_t); uint8_t font_char_height(); uint16_t font_start_offset(uint8_t*,uint8_t); uint8_t font_char_present(uint8_t*,uint8_t); // font void lcd_set_cursor(uint8
in „LCD auf 2 Ports verteilen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Stopp-Uhr.asm
******************************************************** .include "m16def.inc" ;Definitionen für ATMega16 //rjmp main ;** ;** !!! Achtung bei ATMega 16 und LCD an PortC muß JTAG Bit aus sein ;** ;** //Für TimerOverflows ;** CPUTAKT = 4000000 ;** 1_byte = 256 ;** overfl = TAKT/1_byte ;** sekunden zwischen 2 Overflows = overflow/prescaler ;** prescaler: 1 ; 8 ; 64 ; 256 ; 1024 ; steht im tccr-register ;** ;** int0/PD2 ist an den zweiten Taster angeschlossen!!! ;** int1/PD3 ist an den ersten Taster angeschlossen!!! ;** ;************************************
in „probleme mit stoppuhr programm“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
******************************************************* // File........: main.c // Target(s)...: ATmega328p // Compiler....: AVR-GCC 3.3.1; avr-libc 1.0 // Description.: Entlader mit ATmega328p auf Arduino Nano3 // // YYYYMMDD - VER. - COMMENT // 2014 - 1.0 - //***************************************
in „Arduino flashen über Makefile“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
twi_lib.h
byte over I2C void i2cReceiveByteNACK(void); // get received byte back uint8_t i2cGetReceivedByte(void); //! Wait for current I2C operation to complete uint8_t i2cWaitForComplete(void); // Check for expected error code uint8_t checki2cReturnCode(uint8_t expected_return_code);
in „GY-65/BMP085 zeigt falschen Druck“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
rfid_v2.c
/* Atmega8 @ 8 MHz (ext. Quarz) */ #define F_CPU 8000000UL // Fehlt im Makefile #include <avr/io.h> #include <avr/sfr_defs.h> #include <compat/ina90.h> #include <avr/interrupt.h> #include <stdlib.h> #include
in „mega8 Dip UART != mega8 tqfp UART ?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
AT24C.h
Kaskadierung) mit der Hardware-Adresse 0x00 unterstützt. (4) Das EEPROM muss an die Pins SCL und SDA (bei ATmega8: PC5 und PC4) angeschlossen sein. */ #include <avr/io.h> #define AT24Addr 0x00 // Hardware-Adresse des Speichers #define AT24Command 0xA0 uint8_t AT24WriteByte(uint16_t dataaddress, uint8_t data);
in „I2C EEprom Speicherverwaltung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
HeizgV20.c
(am besten mit einem Accu); - Einführen DCF-Uhr und Umschaltung Sommer-/Winterzeit; Chip type : ATmega32 Program type : Application Clock frequency : 8,000000 MHz Memory model : Small Data Stack size : 512 ****************************************************************************************/ #include
in „Heizungssteuerung mit ATMEGA 32“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
timer.c
// ATMega128L - 8 MHz #include <avr/io.h> #include <avr/interrupt.h> volatile uint8_t timer0_sys_clk; volatile uint8_t bad_vec_cnt; // Initialisierung von Timer0, CTC-Mode, 1ms, ISR enable void init_timer0(
in „Probleme mit AVR Timer0 Interrupts“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
srf05_ultraschall.c
PORTD &= ~(1<<PD0); #define TICKS_PRO_US 2 #define NUM_MESSUNGEN 6 #define MM_PRO_US 5.8 // Max. Abstand wg. uint16_t: 5649/NUM_MESSUNGEN mm uint16_t abstand; uint8_t ergebnis[6]; uint16_t echoticks(void) { // Timer vorbereiten TCCR1A = 0x00; TCNT1 = 0; // Ultraschallimpuls senden trigger_high
in „SRF05 ist mein Quellcode richtig“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
grösser 1% und damit zu hoch! #endif /* Siehe auch obere Baudrateneinstellung */ /* USART-Init beim ATmega16 */ void uart_init(void) { UBRRH = UBRR_VAL >> 8; UBRRL = UBRR_VAL & 0xFF; UCSRC = (1<<URSEL)|(1<<UCSZ1)|(1<<UCSZ0); // Asynchron 8N1 UCSRB |= (1<<RXEN)|(1<<TXEN); // UART RX einschalten } /* Zeichen empfangen */ uint8_t uart_getc(void) { while (!(UCSRA & (1<<RXC))) // warten bis Zeichen verfuegbar ; return UDR; // Zeichen aus UDR an Aufrufer zurueckgeben } void USART_Transmit( unsigned char data ){ /* Wait for empty
in „Atmega16 UART empfängt nicht - senden klappt“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
SCHALTPLAN.pdf
LED-THERMOMETER DS18B20 1-WIRE 1N4001 DS18B20 5V 8...16V 10µ 10µ 9V 10µ Programmier-Adapter 1 5 1 10µ 1 8 7 6 5 4 3 2 1 0 9 8 7 6 5 2 2 2 2 2 2 2 2 2 1 1 1 1 1 SA23 SA23 SA23 t 5 4 3 2 1 0 D F ) C 5 4 3 2 1 a a a a C C C C C C N E C B B B B B r ( ( ( ( ( ( G R V ( ( ( ( ( f b f b f b m ( ( ( g g g a ATmega8-16 o ) ) ) ) ) ) ) ) ) ) 5 6 7 ) e c e c e c - 6 0 1 2 3 4 C N 6 B D D D B 0 I P D P D DPD C P P P V G P B ( ( ( ( ( P 6 ( ( ( ( ( ( ( ( ( 0 1 2 3 4 d DP d DP d DP 1 1 2 3 4 5 6 7 8 9 1 1 1 1 1 100nF
in „Jumbo-LED-Anzeige beschalten“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
SerialComInstruments_Doku.pdf
auch dem Hobbyisten einen leichten Zugang zu ermöglichen. Die Schnittstelle ist fest eingestellt auf 8 Data Bits, 1 Stop Bit und No Parity. Es findet keine Hardware- oder Software Flusskontrolle statt. Es zeigt sich, dass normalerweise auch mit Datenübertragungsraten von bis zu 921600 Baud keine Daten
in „Projekt: Virtuelle Instrumente an serielle Schnittstelle“ · Projekte & Code ·
-
PDF
Atmel-2508-Zero-Cross-Detector_ApplicationNote_AVR182.pdf
Considerations..............................................................................................8 2.1. Emulators and Clamp Diodes.......................................................................................................8 2.2. RC Filter and Delay Between V CC /2 and the Actual Zero Cross..................................................8 2.3. Ground Must be Symmetrical.......................................................................................................8 2.4. How to Calculate a Slow Switch (Relay)....................
in „230 Volt Spannungsmessung via Widerstand“ · Analoge Elektronik und Schaltungstechnik ·
-
PDF
Atmel-2508-Zero-Cross-Detector_ApplicationNote_AVR182.pdf
Considerations..............................................................................................8 2.1. Emulators and Clamp Diodes.......................................................................................................8 2.2. RC Filter and Delay Between V CC /2 and the Actual Zero Cross..................................................8 2.3. Ground Must be Symmetrical.......................................................................................................8 2.4. How to Calculate a Slow Switch (Relay)....................
in „Überspannung bei Attiny Input Pins“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Atmel-2508-Zero-Cross-Detector_ApplicationNote_AVR182.pdf
Considerations..............................................................................................8 2.1. Emulators and Clamp Diodes.......................................................................................................8 2.2. RC Filter and Delay Between V CC /2 and the Actual Zero Cross..................................................8 2.3. Ground Must be Symmetrical.......................................................................................................8 2.4. How to Calculate a Slow Switch (Relay)....................
in „Arduino: max. Strom duch interne Schutzdioden“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
LED_PCB.pdf
B PD0 PD0 O PD6 e R7 B PD1 31 PD1 B PD7 a12 Gb12 R8 A7 D- þÿ100µF 100nF 32 USB_D+ þÿ75© B7 PD2 USB_D+ © J3 D- PD3 1 USB_D- 0 R10 A6 D+ 2 ÿ9 USB_D- þÿ75© B6 PD4 PD4 þ D+ U1 PD5 9 10 D2 D3 C7 C8 C9 ATmega328P-AU PD6 PD6 3,6V 3,6V D 11 PD7 A8 L D PD7 B8
in „USB-C an ATmega328 oder STM32“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
RedDisplayClock.c
//RedDisplayClock.c //06.12.2013 //Atmega163 //4194300Hz #include "RedDisplayClock.h" #include "timer.h" #include "lcd.h" #include "adc.h" int main(void)//MAIN--------------------------------------------------------------------- { //Hier die
in „call by reference will nicht , Atmega163, C“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
dmx_receive.c
/* This modul receives DMX512 data via * USART. * original target: ATmega8515 @8MHz * (for other devices please cahange pin & register definitions!) */ #include <inttypes.h> #include <avr/io.h> #include <avr/interrupt.h> #include <avr/signal.h> #define F_OSC 8000000 // Clock
in „USART-ISR mit mega8515“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
multitasking_timer.c
Fehler der Baudrate grösser 1% und damit zu hoch! #endif uint8_t taste_lesen(void) { if (PINA & (1<<PA0)) return 1; else return 0; } void led_blinken(uint8_t taste) { static uint16_t zaehler=0; if (taste) { if (zaehler>=999) { PORTB ^= (1<<PB0); zaehler=0; } } else
in „Timer mit 1 ms und ISR ?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
AVR309_DLL_help.htm
device is disconnected.</p> <p><u>Notes:<br> </u> Function is supported only on ATmega8 microcontroller.</p> <hr> <p><font color="#000080">function</font> <b><a name="DoSetRS232Parity">DoSetRS232Parity</a></b>(<font color="#800000"><i><b>Parity</b></i></font>:<font color="#000080"><b
in „Igor Plug + VB6 ???“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
luke1.c
ubrr) //Funktion zum Initialisierung des UARTS { //Setzen der Baudrate UBRRH = (unsigned char) (ubrr>>8); UBRRL = (unsigned char)ubrr; //Freigabe vom Receiver UCSRB = (1<<RXEN) | (1<<TXEN); //Setzen des Frame Formates: 8 Datenbits und 1 Stoppbit UCSRC = (1<<UCSZ0) | (1<<UCSZ1) | (0<<USBS); // ### Attiny2313 hat kein URSEL ### // UCSRC = (1<<URSEL)|(0<<USBS)|(1<<UCSZ1)|(1<<UCSZ0); // ### Atmega8 hat URSEL ### } unsigned char USART_Receive(void) { while( !(UCSRA &(1<<RXC)) ) { } return UDR; } #ifdef WITH_UART_TX // Serielle Ausgabe als Ersatz für fehlendes LCD an meinem Targetboard void lcd_init
in „Daten vom UART am LCD ausgeben“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Schaltplan_HEM_4PA.pdf
Temp.1 A 1X4 1X5 1X6 Pri: 2x 115VAC Sek: 2x 12VAC BR2 AC 30 VA 80V, 1,5A _ + C7 AC 1000uF Sockel ATmega8 1 28 2 27 3 26 4 25 5 24 6 23 K2 K3 K1 C4 7 22 230V, 16A 230V, 16A 230V, 16A 100nF C5 Spule 12VDC Spule 12VDC Spule 12VDC B 8 21 100nF K1 K2 K3 B 9 20 D1 D1 D1 1N4001 1N4001 1N4001 10 19 11 18 C8 12 17 1X13 2000uF 1X12 LED R8 T1 13 16 470 Ohm, 2,5W 2X3 2X4 2X52X6 BC337-25 2X7 2X8 14 15 N Motor, Lüfter L Motor, Lüfter Magnetventil 24 V DC C6 100nF T2 R9 470 Ohm, 2,5W BC337-25 C C 1X9 1X10 R5 R6 R7 Ein Auto 90bar1X11 10 kOhm
in „Probleme ATmega8“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
SPI.h
************************************************************************* void SPI_Master_Init(uint8_t ucspi_interrupt, uint8_t ucspi_data_order, uint8_t ucspi_mode, uint8_t ucspi_sck_freq); void SPI_Master_SlaveSelectInit(volatile uint16_t* ucdevice_pins); void SPI_Master_Start(volatile uint16_t* ucdevice_pins); void SPI_Master_Stopp(volatile uint16_t* ucdevice_pins); unsigned char SPI_Master_Write(uint8_t ucdata); //**************************************************************************************** //define's //************************************************************************************
in „Atmega88- Daten von Sensoren auf Flash abspeichern“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
[8]; struct cRGB led[MAXPIX]; int main(void) { uint8_t j = 1; uint8_t k = 1; DDRB|=_BV(ws2812_pin); uint8_t i; for(i=MAXPIX; i>0; i--) { led[i-1].r=0;led[i-1].g=0;led[i-1].b=0; } //Rainbowcolors colors[
in „Neopixel Attiny85 Makefile Probleme“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Rainbow.c
colors[8]; struct cRGB led[MAXPIX]; int main(void) { uint8_t j = 1; uint8_t k = 1; DDRB|=_BV(ws2812_pin); uint8_t i; for(i=MAXPIX; i>0; i--) { led[i-1].r=0;led[i-1].g=0;led[i-1].b=0; } //Rainbowcolors colors[
in „Kann mit Light WS2812 nicht mehr als 128 LEDs ansteuern“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
DS1302_V12.bas
**** '****************************** Allgemein ************************************** $regfile = "M8adef.dat" 'Atmega8 CPU $crystal = 4000000 'Quarz 16Mhz $hwstack = 48 $swstack = 48 $framesize = 48 '************************ LCD ************************************************** Config Lcd = 16 * 2
in „DS1302 Bascom mit Mega8 ohne Funktion“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
rx-tx.pdf
8 5 RXD 12 13 3 7 GND PD3(INT1) 6 2 DTR 9 R1OUT R1IN 8 4 8 0u1 C1 7 PD4(XCK/T0) 11 VDD R2OUT R2IN 5 9 VCC PD5(T1) 12 u 1 3 MAX3232CPE PD6(AIN0) 13 0 C CE PD7(AIN1) 4 CSN PB0(ICP) 14 0 PB1(OC1A) 15 5 SCK 7 PB2(SS/OC1B) 16 M PB3(MOSI/OC2) 17 6 MOSI F PB4(MISO) 18 R ATMEGA328 PB5(SCK) 19 7 MISO 8 IC3 R1 IRQ 1 1k0 LED1 JP1 GND 1 2 3 4 RESET 5 6 ISP 8 7 6 5 4 3 2 1 JP8 LCD Sender / Empfänger 2.4GHz DF2AU 1.0 05.11.2020 08:51:04 D:\Eagle-Daten\projects\RFM70-Rx-Tx\Rfm70
in „NRF24L01+ mit ATMEGA328P Standalone“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
MSR.c
************************************ Modul zum seriellen Steuern von 10 Eingängen + 10 Ausgängen + 8 AD Chip type : ATMEGA16 www.DG1LEO.de, 17.02.2006 *********************************************/ #include <avr/io.h> #include <util/delay.h> #ifndef F_CPU #define F_CPU 16000000; #endif /* simple dummy
in „ATMEAG16 macht Resets“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd_gfx.h
lcd_drawPixel(uint8_t x, uint8_t y, uint8_t color); void lcd_drawLine(uint8_t x1, uint8_t y1, uint8_t x2, uint8_t y2, uint8_t color); void lcd_drawRect(uint8_t px1, uint8_t py1, uint8_t px2, uint8_t py2, uint8_t color); void lcd_fillRect(uint8_t px1, uint8_t py1, uint8_t px2, uint8_t py2, uint8_t color); void lcd_drawCircle(uint8_t center_x, uint8_t center_y, uint8_t radius, uint8_t color); void lcd_fillCircle(uint8_t center_x, uint8_t center_y
in „RS485 von ms - immer noch Einschaltprobleme“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
/********************************************* Project : Heizung ATmega32 Version : 2.3 Date : 09.12.2003 // AT90C8535 Date : 08.01.2006 // ATMEGA32 Date : 29.11.2006 // Fehler im Taktgenerator (Uhr ging falsch) Date : 03.10.2010 // 3. KTY81 für Rücklauf, 2x20 LCD, Zündungszähler Author : (c) Holger Buss http://www.mikrocontroller.com --> Bauanleitungen Chip type : ATmega32 Program type : Application Clock frequency : 8,000000 MHz Memory model : Small External SRAM size : 0 Data Stack size : 512 *********************************************/ #define EXTRA_MENU //#define
in „Heizungssteuerung mit ATMEGA 32“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Projekt_Porterweiterung_165_595.c
Zoltan http://ngrad.bei.t-online.de/ Date: 16.09.03 Purpose: Software: AVR-GCC to compile Hardware: ATMEGA8 (8Mhz) Note: Über ISP gesteuerte Porterweiterung mit Schieberegister je ein 74HC165, 74HC595 Schaltplan siehe: http://www.mikrocontroller.net/attachment.php/30856/SPI_74HC595.pdf (PPO ist PORTB,PIN1
in „Porterweiterung für 74HC165/595 in C“ · Projekte & Code ·
-
Datei
Servo_00.c
lcd_puts("__TEXT__"); //// //// lcd_gotoxy(0,1); //// //// lcd_puts("__TEXT__"); //// //// schlaf(8); //// //// //// //// ATMega16 //// //// CPU-Takt 1MHz //// //// Servo ist folgendermaßen //// //// angeschlossen: //// //// Black -> GND [Battery] //// //// Red -> +6V [Battery] //// //// Yellow ->
in „Servo am Mikrocontroller“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
AC_Board.pdf
Spannungsversorgung Arduino V 2 D _ R1 X 5 C n 2 1 C 220X, 005W B B C1 5 _CC VCC C 6 R10 + X T 1 Z 50 220uD B 8 3 Spic1Order 2 T 3 4 GND D 1 SpiceOrder 1 1N4e01 e3 S S 4 D2 6K Spic1Order 2 4 N 4 K SpiceOrder 1 R 2 GND GND R7 IC2 VCC 1 RESET ANALOG_0 23 24 10K ANALOG_1 25 ANALOG_2 26 Taktung Arduino ANALOG_3 p
in „GND Probleme beim Mosfet“ · Mikrocontroller und Digitale Elektronik ·