Wiki » History » Version 6
Frédéric Blanc, 2024-03-27 15:58
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 | $ python -m venv venv |
||
38 | </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 | ous devrez « quitter » ou « désactiver » votre environnement virtuel à l'aide de la commande |
||
47 | |||
48 | <pre><code class="shell"> |
||
49 | deactivate |
||
50 | </code></pre> |
||
51 | |||
52 | |||
53 | |||
54 | https://docs.python.org/fr/3/library/venv.html |
||
55 | |||
56 | 5 | Frédéric Blanc | h2. Sources |
57 | |||
58 | |||
59 | https://github.com/AntaresAdroit/RDTech_PS_Comm |
||
60 | https://github.com/lambcutlet/DPS5005_pyGUI |
||
61 | https://github.com/kbs3056/XY6015L_pyGUI |