Projekt

Allgemein

Profil

Eval » Historie » Version 11

Maximilian Seesslen, 20.04.2023 18:29

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
U2=((U*R2)/R_GES)
17
18 5 Maximilian Seesslen
U
19 4 Maximilian Seesslen
R*I
20
21
5V/0,1A= 50 Ohm
22
5V*0,1A= 0,5 W
23
24 7 Maximilian Seesslen
5V/0,5A= 10 Ohm
25
26 4 Maximilian Seesslen
RGes = R1+R2 = 50
27
28 1 Maximilian Seesslen
3V=(5*R2)/50
29 5 Maximilian Seesslen
R2 = (3*50)/5 = 30 -> 27
30
R1 = 22
31
RGES = 49
32
33
U2 = 5*27/49 = 2,755102
34 7 Maximilian Seesslen
35
theoretically an device that draws 0,1A and 5m:
36
U2=((5*50)/ (50+1,0645) ) = 4,8957691; that should work
37
38
theoretically an device that draws 0,5A and 10m:
39 1 Maximilian Seesslen
U2 = ( (5*10) / (10+2,129) ) = 4,1223514 V
40 10 Maximilian Seesslen
41
h1. Keyfeatures
42
43
* Cable checker
44
* Buzzer Durchgangspruefer
45
* PWM Output
46 7 Maximilian Seesslen
47 1 Maximilian Seesslen
h1. MCU
48 2 Maximilian Seesslen
49
* "stm32f051c4":https://www.mouser.de/datasheet/2/389/stm32f051c4-1851079.pdf
50
** I have 17; 
51 3 Maximilian Seesslen
** 16 ADC channels
52 1 Maximilian Seesslen
* STM32G030C8T6
53 6 Maximilian Seesslen
** nearly same specs but smaller footprint; LQFP 48
54 8 Maximilian Seesslen
** 2,68€ inc. Mwst.