More TODO stuff.
This commit is contained in:
90
TODO
90
TODO
@@ -425,9 +425,14 @@ Bauteile fuer Platine:
|
|||||||
- Widerstaende:
|
- Widerstaende:
|
||||||
- 1K fuer LEDs
|
- 1K fuer LEDs
|
||||||
- 10K fuer Pull-up (UART lines)
|
- 10K fuer Pull-up (UART lines)
|
||||||
|
- 4K7/10K fuer Pull-up (I2C lines)
|
||||||
- Kondensatoren:
|
- Kondensatoren:
|
||||||
- 10 microF (fuer Spannungsregler)
|
- 10 microF (fuer Spannungsregler)
|
||||||
- 100nF (Abblockkondensatoren fuer Chips)
|
- 100nF (Abblockkondensatoren fuer Chips)
|
||||||
|
- Chips:
|
||||||
|
- HT7333 (3V3 Spannungsregler
|
||||||
|
- 74LS21: Dual 4-Port AND Gate (OpenCollector Outputs)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Memory Layout:
|
Memory Layout:
|
||||||
@@ -452,3 +457,88 @@ Interrupt-Vektoren:
|
|||||||
Next:
|
Next:
|
||||||
- read/write FLASH
|
- read/write FLASH
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
; with temp1
|
||||||
|
; AtTiny84
|
||||||
|
; --------
|
||||||
|
; VCC 1 14 GND
|
||||||
|
; PB0 2 13 PA0
|
||||||
|
; PB1 3 12 PA1 COM-DATA
|
||||||
|
; /RESET PB3 4 11 PA2
|
||||||
|
; KEY1 PB2 5 10 PA3 LED
|
||||||
|
; COM_ATTN PA7 6 9 PA4 TWI-SCL
|
||||||
|
; TWI-SDA PA6 7 8 PA5
|
||||||
|
; --------
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
; with temp2
|
||||||
|
; AtTiny84
|
||||||
|
; --------
|
||||||
|
; VCC 1 14 GND
|
||||||
|
; PB0 2 13 PA0
|
||||||
|
; PB1 3 12 PA1 COM-DATA
|
||||||
|
; /RESET PB3 4 11 PA2 OWI
|
||||||
|
; KEY1 PB2 5 10 PA3 LED
|
||||||
|
; COM_ATTN PA7 6 9 PA4
|
||||||
|
; PA6 7 8 PA5
|
||||||
|
; --------
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
; with pwm
|
||||||
|
; AtTiny84
|
||||||
|
; --------
|
||||||
|
; VCC 1 14 GND
|
||||||
|
; PB0 2 13 PA0
|
||||||
|
; FAN1-IN PB1 3 12 PA1 COM-DATA
|
||||||
|
; /RESET PB3 4 11 PA2 OWI
|
||||||
|
; KEY1 PB2 5 10 PA3 LED
|
||||||
|
; COM_ATTN PA7 6 9 PA4 FAN2-IN
|
||||||
|
; PWM1-OUT PA6 7 8 PA5 PWM2-OUT
|
||||||
|
; --------
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
; with optic door/window sensors
|
||||||
|
; AtTiny84
|
||||||
|
; --------
|
||||||
|
; VCC 1 14 GND
|
||||||
|
; PB0 2 13 PA0 DOOR-ADC1
|
||||||
|
; DOOR-ADC2 PB1 3 12 PA1 COM-DATA
|
||||||
|
; /RESET PB3 4 11 PA2
|
||||||
|
; KEY1 PB2 5 10 PA3 LED
|
||||||
|
; COM_ATTN PA7 6 9 PA4 TWI-SCL
|
||||||
|
; TWI-SDA PA6 7 8 PA5
|
||||||
|
; --------
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
; HT7333
|
||||||
|
; ------
|
||||||
|
; Vin +-------+
|
||||||
|
; = C (10 uF)
|
||||||
|
; Gnd +-------+
|
||||||
|
; = C (10 uF)
|
||||||
|
; Vout +-------+
|
||||||
|
; ------
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Timer_Run TODO:
|
||||||
|
- disable interrupts
|
||||||
|
- first handle internal counters and sample into internal flags
|
||||||
|
- enable interrupts
|
||||||
|
- call handlers (every10s etc) according to flags
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user