Eval » Historie » Version 7
Maximilian Seesslen, 20.04.2023 14:08
1 | 1 | Maximilian Seesslen | h1. Eval |
---|---|---|---|
2 | |||
3 | h1. Overall design |
||
4 | |||
5 | * 4 x red+green LEDs for condition |
||
6 | * Restart button |
||
7 | 4 | Maximilian Seesslen | * Rotate over the ADC channels and get Voltage level |
8 | * draw 100mA |
||
9 | * Die Kabel haben AWG28, 212.9 Ohm/km, 1.4 A nach erde, 0.23 A versorgung |
||
10 | 7 | Maximilian Seesslen | * 0,2129 Ohm/m; 1,0645 Ohm/5m; 2,129 Ohm/10m; |
11 | 4 | Maximilian Seesslen | * https://de.wikipedia.org/wiki/E-Reihe#/media/Datei:E12_values_graph.svg |
12 | |||
13 | U2=((U*R2)/R_GES) |
||
14 | |||
15 | 5 | Maximilian Seesslen | U |
16 | 4 | Maximilian Seesslen | R*I |
17 | |||
18 | 5V/0,1A= 50 Ohm |
||
19 | 5V*0,1A= 0,5 W |
||
20 | |||
21 | 7 | Maximilian Seesslen | 5V/0,5A= 10 Ohm |
22 | |||
23 | 4 | Maximilian Seesslen | RGes = R1+R2 = 50 |
24 | |||
25 | 1 | Maximilian Seesslen | 3V=(5*R2)/50 |
26 | 5 | Maximilian Seesslen | R2 = (3*50)/5 = 30 -> 27 |
27 | R1 = 22 |
||
28 | RGES = 49 |
||
29 | |||
30 | U2 = 5*27/49 = 2,755102 |
||
31 | 7 | Maximilian Seesslen | |
32 | theoretically an device that draws 0,1A and 5m: |
||
33 | U2=((5*50)/ (50+1,0645) ) = 4,8957691; that should work |
||
34 | |||
35 | theoretically an device that draws 0,5A and 10m: |
||
36 | U2 = ( (5*10) / (10+2,129) ) = 4,1223514 V |
||
37 | |||
38 | |||
39 | 1 | Maximilian Seesslen | |
40 | h1. MCU |
||
41 | 2 | Maximilian Seesslen | |
42 | * "stm32f051c4":https://www.mouser.de/datasheet/2/389/stm32f051c4-1851079.pdf |
||
43 | ** I have 17; |
||
44 | 3 | Maximilian Seesslen | ** 16 ADC channels |
45 | 6 | Maximilian Seesslen | * STM32G030C8T6 |
46 | ** nearly same specs but smaller footprint; LQFP 48 |