Projekt

Allgemein

Profil

Eval » Historie » Revision 35

Revision 34 (Maximilian Seesslen, 08.10.2025 15:30) → Revision 35/38 (Maximilian Seesslen, 08.10.2025 17:17)

h1. Eval

"https://www.seesslen.net/redmine/projects/slonce/wiki/Office":See

Warum alles zusammen?
RTC aktiviert MCU via Batterien. Muss LED-Traffo aktivieren. Können unterschiedliche Traffos fur unterschiedliche Lampen-Typen (kalt/warm) sein.

h2. New Features compared to Mainswitch/CANSwitch

* More current
* Fix Wakeup
** 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.
* Periodic wakeups to make measurements: RTC
** RTC_OUT gibt spannung auf den ENABLE des MAX5200
* Programmed wakeup for plant lights and light-buzzer
* Diode ? Voltage-Drop issue
** Ideal diode with Mosfet
* High voltage (24V)? Transceiver halten 14-16V an CAN-HI/CAN_Low aus. (24V) ?
** TS78L05CX-RFG (Fuer 12V)
** "Fuer 24V":https://www.reichelt.de/de/de/shop/produkt/spannungsregler_fest_3_3_v_sot-23-115940
** Different connectors
* Global Timeserver; It already has batteries
* Real touch keys
** Why? In addition to increase illumination. But thats what candis was for.
* Over-Temperature power off (PCB/Box)
* Buzzer?
** indicate peridoc on/off during day time
* External Solid State Relais for high power switching like Horo

* 4 Sectionen: SZ, WZ, MEMS, ?
** Switching sounds valid. But not sure.
** Stoeren ungepowerte Platinen CAN? Sollten sie nicht.
** Erzwingt Sternkonstelation

h2. Components

Ideal Diode:

* VN7140ASTR; up to 0,280 ohm, 0,120 Ohm typical
* LTC4412; 2,9V; TME 2.60EUro; External P-MOSFET needed; Waere perfekt gewesen; load sharing
* TPS2410 N.A.
* LM5050
* MAX40200; 1A only, no external MOSFET
* LM74700; 1.27€; perfekt; load sharing

--LTC4412 is the only available--

Temperature:

TMP1075; TMP1075NDRLR; 0,31€
Muesste noch viel rumliegen haben

Power measurement:

INA228AIDGSR

h2. Calculations

* 240V/600mA eigentlich ausreichend; 144W
* AQH3213A
* STM32F030K6T6 should draw 20µA in stop
* 700mAh=700000µAh
* 700000µAh/20µA=3500h=1458d=ca 4 years

h2. MCU

* "Find":https://www.tme.eu/de/katalog/st-mikrocontroller_112866/?params=375:1453589,1453450,1853043,1634756,1634761,1938598,1473784,1613924;3461:1979124,1979125
* STM32F072C8T6
** 2V, ok, Entladeaschlussspannung
** Nur LQFP48; 4.53Euro
** 1,85 € Reichelt STM32F072CBT6 128KB Flash
** RTC_OUT out PC13
* STM32H503CBT6, "STM32H503KBU6":https://www.tme.eu/Document/e92fcde7cdebb20ebbd5639f57dc7863/stm32h503cb.pdf
** 3.20Euro
* Fuer VBAT wird beim STM32H503KBU6 auch FQFP48 benoetigt.

h2. Regulator boards

h3. Number of LED drivers

Living room has 4 lamps, maybe 6 later.

h3. Electrical design

Optokopler needs 10mA, 1.38V_F.
Powermeter needs common ground anyways to measure voltage.
"All TME":https://www.tme.eu/de/katalog/smd-operationsverstarker_112843/?params=2613:1508643_integrierten-schaltkreises-art:spannungs-und-stromuberwachung&onlyInStock=1

h3. Regulators

LDB350 hat 9 ~ 36VDC EIngang und 2-40V Ausgang.

h2. Issues

h3. Wie Straenge schalten

* 4 x LTC4412 umstaendlich, E.g. status ruecklesen
* Jeweils 2 Mosfets notwendig um zu isolieren, klein + gross
* Wozu Stränge? 2 direkt verbundene Buchsen reichen nicht? Auch nur um sich allenfalls Verteiler zu sparen.

h3. USB interface?

* Usable with Raspberry or so.

h3. Light optional

* Media does not need light. The name is "helios". Use CANSwitch then.
* But having the regulators in batteries is nice. They work even without MCU board.

* 4xPWM
* 2xTerminals; IN+OUT
* Switch can be done on helios, only for first block
** If the switch is also on the blocks, Single power supply can be used
** 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.
** Smaller power supply for bus only?
* Must not connect Grounds of different power supplys

Das mit IDC oder aehnlichem zu machen klingt nice. Dann gehen theoretisch 4x4 (4xNetzteile schalten), man braucht 'nur' 4xPWM, Kaskadierung.
Alternativ 'addresse' einstellbar. Dann ist man noch flexibler, e.g.
8 x kalt, 8 x warm.
8 x Zimmer, 4 x Tisch.

"B2B-Steckverbinder":https://www.tme.eu/de/katalog/platine-zu-platine-steckverbinder_100569
Kabel: 4xPWM, 4xSwitch VDD, GND -> 10P

DIP-Switches: DS04254204BKSMT
Steck-Verbinder: FTSH10501FDV007KP; ZL231-10PG (THT) (SMD expensive)
Kabel: DS1052-102B2NA2015