User Tools

Site Tools


raspberrypi:modbus

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
raspberrypi:modbus [2020/10/06 14:15] – aistisraspberrypi:modbus [2020/10/06 18:38] (current) – aistis
Line 5: Line 5:
      
   ls /dev/ttyUSB*   ls /dev/ttyUSB*
 +
 +
 +using setserial
 +  sudo apt install setserial
 +  sudo setserial -g /dev/ttyS[0123]
 +  
 +
 +<code>
 +felixpower 
 +
 +7 yra desine apacia
 +008 desine apacia, 5kw
 +
 +
 +
 +kaire apacia 1-1.3
 +desine apacia 1-1.5
 +
 +kaire virsus 1-1.2
 +desine virsus 1-1.4
 +
 +felixpower - desine virsus 1-1.4
 +5kw - kaire apacia 1-1.3
 +</code>  
 +
 +
 +  dmesg | grep tty
 +  
 +  
 +<code python>
 +from pyudev import Context, Device
 +context = Context()
 +device = Devices.from_device_file(context, '/dev/sda')
 +print(device)
 +</code>  
  
raspberrypi/modbus.1601982901.txt.gz · Last modified: by aistis