Eval » Historie » Version 12
Maximilian Seesslen, 21.04.2023 11:32
1 | 1 | Maximilian Seesslen | h1. Eval |
---|---|---|---|
2 | |||
3 | h1. Overall design |
||
4 | |||
5 | * 4 x red+green LEDs for condition |
||
6 | * Restart button |
||
7 | 10 | Maximilian Seesslen | * Iterate over the ADC channels and get Voltage level |
8 | 4 | Maximilian Seesslen | * 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 | 9 | Maximilian Seesslen | * Buzzer would be nice for indication; durchklingeln |
13 | * PWM Output |
||
14 | 11 | Maximilian Seesslen | * Pinsocket connected to wires to measure resistance/Voltage directly |
15 | 4 | Maximilian Seesslen | |
16 | 12 | Maximilian Seesslen | h1. Calculations I |
17 | |||
18 | 4 | Maximilian Seesslen | U2=((U*R2)/R_GES) |
19 | |||
20 | 5 | Maximilian Seesslen | U |
21 | 4 | Maximilian Seesslen | R*I |
22 | |||
23 | 5V/0,1A= 50 Ohm |
||
24 | 5V*0,1A= 0,5 W |
||
25 | |||
26 | 7 | Maximilian Seesslen | 5V/0,5A= 10 Ohm |
27 | |||
28 | 4 | Maximilian Seesslen | RGes = R1+R2 = 50 |
29 | 1 | Maximilian Seesslen | |
30 | 3V=(5*R2)/50 |
||
31 | 12 | Maximilian Seesslen | *R2 = (3*50)/5 = 30 -> 27 |
32 | R1 = 22* |
||
33 | 5 | Maximilian Seesslen | RGES = 49 |
34 | |||
35 | U2 = 5*27/49 = 2,755102 |
||
36 | 7 | Maximilian Seesslen | |
37 | theoretically an device that draws 0,1A and 5m: |
||
38 | U2=((5*50)/ (50+1,0645) ) = 4,8957691; that should work |
||
39 | |||
40 | 1 | Maximilian Seesslen | theoretically an device that draws 0,5A and 10m: |
41 | U2 = ( (5*10) / (10+2,129) ) = 4,1223514 V |
||
42 | 12 | Maximilian Seesslen | |
43 | h1. Calculations II |
||
44 | |||
45 | * Ein Kabel >= 10m soll durchfallen. Koennen trotzdem groessere Wiederstaende verwendet werden? |
||
46 | |||
47 | |||
48 | 10 | Maximilian Seesslen | |
49 | h1. Keyfeatures |
||
50 | |||
51 | * Cable checker |
||
52 | * Buzzer Durchgangspruefer |
||
53 | * PWM Output |
||
54 | 7 | Maximilian Seesslen | |
55 | 1 | Maximilian Seesslen | h1. MCU |
56 | 2 | Maximilian Seesslen | |
57 | * "stm32f051c4":https://www.mouser.de/datasheet/2/389/stm32f051c4-1851079.pdf |
||
58 | ** I have 17; |
||
59 | 3 | Maximilian Seesslen | ** 16 ADC channels |
60 | 1 | Maximilian Seesslen | * STM32G030C8T6 |
61 | 6 | Maximilian Seesslen | ** nearly same specs but smaller footprint; LQFP 48 |
62 | 8 | Maximilian Seesslen | ** 2,68€ inc. Mwst. |