Difference between revisions of "LMM"

From Sunna
Jump to navigation Jump to search
Line 50: Line 50:
 
== Python ==
 
== Python ==
  
 +
Keyboard options (Pressing '''q''' is for exit):
 
  if __name__ == '__main__':
 
  if __name__ == '__main__':
 
     global start
 
     global start
Line 55: Line 56:
 
     print("(Esperar cicle inicial),M: Manual -> m: Led On, f: Led Off, A: Light ON + Timer2, q: Surt")
 
     print("(Esperar cicle inicial),M: Manual -> m: Led On, f: Led Off, A: Light ON + Timer2, q: Surt")
 
     mb = ModBus()
 
     mb = ModBus()
 +
 +
[http://electronics.cat/clients/siarq/mpptXines/mbtPy_20200409.tar.xz mbt_12.py] running:
 +
jordi@ecat-debian:~/Documents/electronics.cat/clients/siarq/mppt/xines01/mbtPy$ ./mbt_12.py
 +
(Esperar cicle inicial),M: Manual -> m: Led On, f: Led Off, A: Light ON + Timer2, q: Surt
 +
Baudrate: 115200 at /dev/ttyUSB0
 +
manualControl
 +
Manual Control
 +
0106903D00003506
 +
n: 8
 +
0.16480517387390137
 +
He rebut 8 bytes
 +
0106903D00003506
 +
manualControlTheLoadOn
 +
Manual Control The Load ON
 +
01050002FF002DFA
 +
n: 8
 +
0.1480708122253418
 +
He rebut 8 bytes
 +
01050002FF002DFA
 +
manualControlTheLoadOff
 +
Manual Control The Load OFF
 +
0105000200006C0A
 +
n: 8
 +
0.12311339378356934
 +
He rebut 8 bytes
 +
0105000200006C0A
 +
lightOnTimer2Control
 +
Manual Control
 +
0106903D0002B4C7
 +
n: 8
 +
0.20756840705871582
 +
He rebut 8 bytes
  
 
= Privative Software =
 
= Privative Software =
 
[http://electronics.cat/clients/siarq/mpptXines/programariPropietari/EpeverV2020.zip Epever MPPT's Managers] v2020
 
[http://electronics.cat/clients/siarq/mpptXines/programariPropietari/EpeverV2020.zip Epever MPPT's Managers] v2020

Revision as of 18:01, 9 April 2020

LMM v2.1 Local Monitoring Module

Connectors

Epever / LMM v2.1

Blue: +5V

Red: B

Green: A

Yellow: GND

4 pins Male Connector (IP65)

USB / RS485

USB / RS485

USB to RS485 485 Converter

Red: B (D-)

Green: A (D+)

Solar Epever Connectors

Epever Led -: Female

Epever Led+: TUV UL IP67 Male

Epever Bat-: TUV UL IP67 Male

Epever Bat+: TUV UL IP67 Male

Epever Pan-: TUV UL IP67 Male

Epever Pan+: TUV UL IP67 Female

Epever Comm: 4 Pins IP65 Female

TUV UL Standard IP67 SOLAR PV Connector For Solar Panels And Photovoltaic Systems

LED connectors

1 pin LED connectors (Male/Female)

ModBus commands

Tracer-BPL Tracer2606BPL (& Tracer2610BPL)

Codes

LMM v2.1 Board

esp32_FreeRTOS_04.zip

Python

Keyboard options (Pressing q is for exit):

if __name__ == '__main__':
   global start
   start = time.time()
   print("(Esperar cicle inicial),M: Manual -> m: Led On, f: Led Off, A: Light ON + Timer2, q: Surt")
   mb = ModBus()

mbt_12.py running:

jordi@ecat-debian:~/Documents/electronics.cat/clients/siarq/mppt/xines01/mbtPy$ ./mbt_12.py
(Esperar cicle inicial),M: Manual -> m: Led On, f: Led Off, A: Light ON + Timer2, q: Surt
Baudrate: 115200 at /dev/ttyUSB0
manualControl
Manual Control
0106903D00003506
n: 8
0.16480517387390137
He rebut 8 bytes
0106903D00003506
manualControlTheLoadOn
Manual Control The Load ON
01050002FF002DFA
n: 8
0.1480708122253418
He rebut 8 bytes
01050002FF002DFA
manualControlTheLoadOff
Manual Control The Load OFF
0105000200006C0A
n: 8
0.12311339378356934
He rebut 8 bytes
0105000200006C0A
lightOnTimer2Control
Manual Control
0106903D0002B4C7
n: 8
0.20756840705871582
He rebut 8 bytes

Privative Software

Epever MPPT's Managers v2020