Eval » Historie » Version 31
Maximilian Seesslen, 07.10.2025 16:03
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 | 31 | Maximilian Seesslen | ** RTC_OUT gibt spannung auf den ENABLE des MAX5200 |
15 | * Programmed wakeup for plant lights and light-buzzer |
||
16 | 1 | Maximilian Seesslen | * Diode ? Voltage-Drop issue |
17 | ** Ideal diode with Mosfet |
||
18 | * High voltage (24V) ? |
||
19 | ** Different connectors |
||
20 | * Global Timeserver; It already has batteries |
||
21 | * Real touch keys |
||
22 | 18 | Maximilian Seesslen | ** Why? In addition to increase illumination. But thats what candis was for. |
23 | 1 | Maximilian Seesslen | * Over-Temperature power off (PCB/Box) |
24 | * Buzzer? |
||
25 | ** indicate peridoc on/off during day time |
||
26 | 8 | Maximilian Seesslen | * External Solid State Relais for high power switching like Horo |
27 | 1 | Maximilian Seesslen | |
28 | * 4 Sectionen: SZ, WZ, MEMS, ? |
||
29 | ** Stoeren ungepowerte Platinen CAN? |
||
30 | 2 | Maximilian Seesslen | ** Erzwingt Sternkonstelation |
31 | 1 | Maximilian Seesslen | |
32 | h2. Components |
||
33 | |||
34 | Ideal Diode: |
||
35 | |||
36 | * VN7140ASTR; up to 0,280 ohm, 0,120 Ohm typical |
||
37 | * LTC4412; 2,9V; TME 2.60EUro; External P-MOSFET needed; Waere perfekt gewesen; load sharing |
||
38 | * TPS2410 N.A. |
||
39 | * LM5050 |
||
40 | * MAX40200; 1A only, no external MOSFET |
||
41 | 8 | Maximilian Seesslen | * LM74700; 1.27€; perfekt; load sharing |
42 | 1 | Maximilian Seesslen | |
43 | 4 | Maximilian Seesslen | --LTC4412 is the only available-- |
44 | 1 | Maximilian Seesslen | |
45 | 27 | Maximilian Seesslen | Temperature: |
46 | |||
47 | 1 | Maximilian Seesslen | TMP1075; TMP1075NDRLR; 0,31€ |
48 | Muesste noch viel rumliegen haben |
||
49 | 27 | Maximilian Seesslen | |
50 | Power measurement: |
||
51 | |||
52 | INA228AIDGSR |
||
53 | 4 | Maximilian Seesslen | |
54 | 1 | Maximilian Seesslen | h2. Calculations |
55 | |||
56 | * 240V/600mA eigentlich ausreichend; 144W |
||
57 | * AQH3213A |
||
58 | * STM32F030K6T6 should draw 20µA in stop |
||
59 | * 700mAh=700000µAh |
||
60 | * 700000µAh/20µA=3500h=1458d=ca 4 years |
||
61 | |||
62 | h2. MCU |
||
63 | |||
64 | * "Find":https://www.tme.eu/de/katalog/st-mikrocontroller_112866/?params=375:1453589,1453450,1853043,1634756,1634761,1938598,1473784,1613924;3461:1979124,1979125 |
||
65 | * STM32F072C8T6 |
||
66 | ** 2V, ok, Entladeaschlussspannung |
||
67 | ** Nur LQFP48; 4.53Euro |
||
68 | ** 1,85 € Reichelt STM32F072CBT6 128KB Flash |
||
69 | 7 | Maximilian Seesslen | ** RTC_OUT out PC13 |
70 | 1 | Maximilian Seesslen | * STM32H503CBT6, "STM32H503KBU6":https://www.tme.eu/Document/e92fcde7cdebb20ebbd5639f57dc7863/stm32h503cb.pdf |
71 | ** 3.20Euro |
||
72 | * Fuer VBAT wird beim STM32H503KBU6 auch FQFP48 benoetigt. |
||
73 | 8 | Maximilian Seesslen | |
74 | 28 | Maximilian Seesslen | h2. Regulator boards |
75 | 1 | Maximilian Seesslen | |
76 | 28 | Maximilian Seesslen | h3. Number of LED drivers |
77 | |||
78 | 1 | Maximilian Seesslen | Living room has 4 lamps, maybe 6 later. |
79 | 28 | Maximilian Seesslen | |
80 | h3. Electrical design |
||
81 | 1 | Maximilian Seesslen | |
82 | 29 | Maximilian Seesslen | Optokopler needs 10mA, 1.38V_F. |
83 | 28 | Maximilian Seesslen | Powermeter needs common ground anyways to measure voltage. |
84 | "All TME":https://www.tme.eu/de/katalog/smd-operationsverstarker_112843/?params=2613:1508643_integrierten-schaltkreises-art:spannungs-und-stromuberwachung&onlyInStock=1 |
||
85 | 10 | Maximilian Seesslen | |
86 | 1 | Maximilian Seesslen | h2. Issues |
87 | |||
88 | h3. Wie Straenge schalten |
||
89 | |||
90 | * 4 x LTC4412 umstaendlich, E.g. status ruecklesen |
||
91 | * Jeweils 2 Mosfets notwendig um zu isolieren, klein + gross |
||
92 | 16 | Maximilian Seesslen | * Wozu Stränge? 2 direkt verbundene Buchsen reichen nicht? Auch nur um sich allenfalls Verteiler zu sparen. |
93 | |||
94 | h3. USB interface? |
||
95 | |||
96 | * Usable with Raspberry or so. |
||
97 | |||
98 | 13 | Maximilian Seesslen | h3. Light optional |
99 | |||
100 | * Media does not need light. The name is "helios". Use CANSwitch then. |
||
101 | 15 | Maximilian Seesslen | * But having the regulators in batteries is nice. They work even without MCU board. |
102 | |||
103 | * 4xPWM |
||
104 | * 2xTerminals; IN+OUT |
||
105 | 1 | Maximilian Seesslen | * Switch can be done on helios, only for first block |
106 | 17 | Maximilian Seesslen | ** If the switch is also on the blocks, Single power supply can be used |
107 | 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. |
108 | 24 | Maximilian Seesslen | ** Smaller power supply for bus only? |
109 | 1 | Maximilian Seesslen | * Must not connect Grounds of different power supplys |
110 | 17 | Maximilian Seesslen | |
111 | Das mit IDC oder aehnlichem zu machen klingt nice. Dann gehen theoretisch 4x4 (4xNetzteile schalten), man braucht 'nur' 4xPWM, Kaskadierung. |
||
112 | 25 | Maximilian Seesslen | Alternativ 'addresse' einstellbar. Dann ist man noch flexibler, e.g. |
113 | 17 | Maximilian Seesslen | 8 x kalt, 8 x warm. |
114 | 8 x Zimmer, 4 x Tisch. |
||
115 | 1 | Maximilian Seesslen | |
116 | 23 | Maximilian Seesslen | "B2B-Steckverbinder":https://www.tme.eu/de/katalog/platine-zu-platine-steckverbinder_100569 |
117 | 18 | Maximilian Seesslen | Kabel: 4xPWM, 4xSwitch VDD, GND -> 10P |
118 | 19 | Maximilian Seesslen | |
119 | DIP-Switches: DS04254204BKSMT |
||
120 | 25 | Maximilian Seesslen | Steck-Verbinder: FTSH10501FDV007KP; ZL231-10PG (THT) (SMD expensive) |
121 | 24 | Maximilian Seesslen | Kabel: DS1052-102B2NA2015 |