Projekt

Allgemein

Profil

Eval » Historie » Version 26

Maximilian Seesslen, 06.10.2025 18:42

1 1 Maximilian Seesslen
h1. Eval
2
3 11 Maximilian Seesslen
"https://www.seesslen.net/redmine/projects/slonce/wiki/Office":See
4
5 26 Maximilian Seesslen
Warum alles zusammen?
6
RTC aktiviert MCU via Batterien. Muss LED-Traffo aktivieren. Können unterschiedliche Traffos fur unterschiedliche Lampen-Typen (kalt/warm) sein.
7
8 8 Maximilian Seesslen
h2. New Features compared to Mainswitch/CANSwitch
9 1 Maximilian Seesslen
10
* More current
11
* Fix Wakeup
12 6 Maximilian Seesslen
** Beim Mainswitch gab der Power-button einen Stromimpuls auf den ACQxxx und auf einen GPIO. Wenn das system von extern gespest wurde und die MCU schlafen war, konnte sie nicht wieder aufgewekt werden.
13 1 Maximilian Seesslen
* Periodic wakeups to make measurements: RTC
14 8 Maximilian Seesslen
** RTC_OUT gibt spannung auf den ENABLE des 
15 1 Maximilian Seesslen
* Diode ? Voltage-Drop issue
16
** Ideal diode with Mosfet
17
* High voltage (24V) ?
18
** Different connectors
19
* Global Timeserver; It already has batteries 
20
* Real touch keys
21 18 Maximilian Seesslen
** Why? In addition to increase illumination. But thats what candis was for.
22 1 Maximilian Seesslen
* Over-Temperature power off (PCB/Box)
23
* Buzzer?
24
** indicate peridoc on/off during day time
25 8 Maximilian Seesslen
* External Solid State Relais for high power switching like Horo
26 1 Maximilian Seesslen
27
* 4 Sectionen: SZ, WZ, MEMS, ?
28
** Stoeren ungepowerte Platinen CAN?
29 2 Maximilian Seesslen
** Erzwingt Sternkonstelation
30 1 Maximilian Seesslen
31
h2. Components
32
33
Ideal Diode:
34
35
* VN7140ASTR; up to 0,280 ohm, 0,120 Ohm typical
36
* LTC4412; 2,9V; TME 2.60EUro; External P-MOSFET needed; Waere perfekt gewesen; load sharing
37
* TPS2410 N.A.
38
* LM5050
39
* MAX40200; 1A only, no external MOSFET
40 8 Maximilian Seesslen
* LM74700; 1.27€; perfekt; load sharing
41 1 Maximilian Seesslen
42 4 Maximilian Seesslen
--LTC4412 is the only available--
43 1 Maximilian Seesslen
44
TMP1075; TMP1075NDRLR; 0,31€
45
Muesste noch viel rumliegen haben
46 4 Maximilian Seesslen
47 1 Maximilian Seesslen
48
h2. Calculations
49
50
* 240V/600mA eigentlich ausreichend; 144W
51
* AQH3213A 
52
* STM32F030K6T6 should draw 20µA in stop
53
* 700mAh=700000µAh
54
* 700000µAh/20µA=3500h=1458d=ca 4 years
55
56
h2. MCU
57
58
* "Find":https://www.tme.eu/de/katalog/st-mikrocontroller_112866/?params=375:1453589,1453450,1853043,1634756,1634761,1938598,1473784,1613924;3461:1979124,1979125
59
* STM32F072C8T6
60
** 2V, ok, Entladeaschlussspannung
61
** Nur LQFP48; 4.53Euro
62
** 1,85 € Reichelt STM32F072CBT6 128KB Flash
63 7 Maximilian Seesslen
** RTC_OUT out PC13
64 1 Maximilian Seesslen
* STM32H503CBT6, "STM32H503KBU6":https://www.tme.eu/Document/e92fcde7cdebb20ebbd5639f57dc7863/stm32h503cb.pdf
65
** 3.20Euro
66
* Fuer VBAT wird beim STM32H503KBU6 auch FQFP48 benoetigt.
67 8 Maximilian Seesslen
68
h2. Number of LED drivers
69 7 Maximilian Seesslen
70 12 Maximilian Seesslen
Living room has 4 lamps, maybe 6 later.
71 10 Maximilian Seesslen
72 1 Maximilian Seesslen
h2. Issues
73
74
h3. Wie Straenge schalten
75
76
* 4 x LTC4412 umstaendlich, E.g. status ruecklesen
77
* Jeweils 2 Mosfets notwendig um zu isolieren, klein + gross
78 16 Maximilian Seesslen
* Wozu Stränge? 2 direkt verbundene Buchsen reichen nicht? Auch nur um sich allenfalls Verteiler zu sparen.
79
80
h3. USB interface?
81
82
* Usable with Raspberry or so.
83
84 13 Maximilian Seesslen
h3. Light optional
85
86
* Media does not need light. The name is "helios". Use CANSwitch then.
87 15 Maximilian Seesslen
* But having the regulators in batteries is nice. They work even without MCU board.
88
89
* 4xPWM
90
* 2xTerminals; IN+OUT
91 1 Maximilian Seesslen
* Switch can be done on helios, only for first block
92 17 Maximilian Seesslen
** If the switch is also on the blocks, Single power supply can be used
93 20 Maximilian Seesslen
** Do i really have multiple power supplys for different LEDs? Could be, an active one for High power and an small one for nice ambience. 
94 24 Maximilian Seesslen
** Smaller power supply for bus only?
95 1 Maximilian Seesslen
* Must not connect Grounds of different power supplys
96 17 Maximilian Seesslen
97
Das mit IDC oder aehnlichem zu machen klingt nice. Dann gehen theoretisch 4x4 (4xNetzteile schalten), man braucht 'nur' 4xPWM, Kaskadierung.
98 25 Maximilian Seesslen
Alternativ 'addresse' einstellbar. Dann ist man noch flexibler, e.g.
99 17 Maximilian Seesslen
8 x kalt, 8 x warm.
100
8 x Zimmer, 4 x Tisch.
101 1 Maximilian Seesslen
102 23 Maximilian Seesslen
"B2B-Steckverbinder":https://www.tme.eu/de/katalog/platine-zu-platine-steckverbinder_100569
103 18 Maximilian Seesslen
Kabel: 4xPWM, 4xSwitch VDD, GND -> 10P
104 19 Maximilian Seesslen
105
DIP-Switches: DS04254204BKSMT
106 25 Maximilian Seesslen
Steck-Verbinder: FTSH10501FDV007KP; ZL231-10PG (THT) (SMD expensive)
107 24 Maximilian Seesslen
Kabel: DS1052-102B2NA2015