Wiki » History » Version 8
Frédéric Blanc, 2024-03-29 11:20
1 | 1 | Frédéric Blanc | h1. Wiki |
---|---|---|---|
2 | |||
3 | h2. XY6015L |
||
4 | |||
5 | !clipboard-202403251011-lfrn1.png! |
||
6 | |||
7 | 4 | Frédéric Blanc | µC AT32F421 ARM® Cortex®-M4 core |
8 | Ctrl EG1163S BUCK DC-DC de Rectification synchrone 300kHz |
||
9 | MOS NCE82H140 |
||
10 | |||
11 | 2 | Frédéric Blanc | Baud rate 9600 ? |
12 | |||
13 | 1 | Frédéric Blanc | Modbus registers: |
14 | U_SET = 0 |
||
15 | I_SET = 1 |
||
16 | UOUT = 2 |
||
17 | IOUT = 3 |
||
18 | POWER = 4 |
||
19 | UIN = 5 |
||
20 | Ah = 6 |
||
21 | PROTECT = 7 # not tested |
||
22 | Wh = 8 |
||
23 | Time = 11 |
||
24 | Temp = 13 |
||
25 | Lock = 15 |
||
26 | CV_CC = 17 |
||
27 | ONOFF = 18 |
||
28 | Celsius = 19 |
||
29 | MODEL = 22 # ? |
||
30 | VERSION = 23 # ? |
||
31 | 5 | Frédéric Blanc | |
32 | 6 | Frédéric Blanc | h2. GUI Python |
33 | |||
34 | venv — Création d'environnements virtuels |
||
35 | |||
36 | <pre><code class="shell"> |
||
37 | 8 | Frédéric Blanc | $ python3 -m venv venv |
38 | 6 | Frédéric Blanc | </code></pre> |
39 | |||
40 | Pour activer l'environnement, exécutez |
||
41 | |||
42 | <pre><code class="shell"> |
||
43 | source venv/bin/activate |
||
44 | </code></pre> |
||
45 | |||
46 | 7 | Frédéric Blanc | <pre><code class="shell"> |
47 | . venv/bin/activate |
||
48 | </code></pre> |
||
49 | |||
50 | 6 | Frédéric Blanc | ous devrez « quitter » ou « désactiver » votre environnement virtuel à l'aide de la commande |
51 | |||
52 | <pre><code class="shell"> |
||
53 | deactivate |
||
54 | </code></pre> |
||
55 | |||
56 | |||
57 | |||
58 | https://docs.python.org/fr/3/library/venv.html |
||
59 | |||
60 | 5 | Frédéric Blanc | h2. Sources |
61 | |||
62 | |||
63 | https://github.com/AntaresAdroit/RDTech_PS_Comm |
||
64 | https://github.com/lambcutlet/DPS5005_pyGUI |
||
65 | https://github.com/kbs3056/XY6015L_pyGUI |