Site Tools


linux:raspberry:wde:usbwde

USB-WDE1-2

Info

Installation

On the Pi you simply need to activate the drivers. Check if it is already activated with

lsmod | grep cp210x
You should now see nothing or else it might already be activated. Insert “cp210x” into “/etc/modules” and execute “modprobe cp210x”.
After a reboot you should be able to see the WDE listed with “dmesg
lunetikk@weather:~# dmesg | grep WDE
[   45.750999] usb 1-1.3: Product: ELV USB-WDE1 Wetterdatenempf\xffffffc3\xffffffa4nger

With the Software “Socat” you can do a testrun to check if your WDE finds your device and receives data.

sudo apt-get install socat
sudo socat /dev/ttyUSB0,b9600 STDOUT
 
Output:
$1;1;;25,8;53,2;;;28,1;;;;53;;;;53;;;;;;;;;0
$1;1;;25,8;53,2;;;28,0;;;;53;;;;51;;;;;;;;;0

Automatically write files

Check my scriptsite Socatreader

Create graphs

Good explained right here: Kompf(german)

Troubleshooting

Raspberry doesnt boot

Remove the USB-WDE and plug it in after the boot is done.



linux/raspberry/wde/usbwde.txt · Last modified: 2020/01/15 12:35 by lunetikk