hi boris,
i´ve set up a rpi2 with the meteohub system to migrate from miy alix system. unfortunatly my davis vantage 2 has a rs232 interface. so i pluged in a rs232-usb converter. meteohub recognizes this as /dev/ttyUSB0 but there´s even another /dev/ttyMH113
i configured the vp2 with both possibilities but there seems no communication. here´s the log
logger (10.05.2015 18:58:51): data logger (version 5.0f, build 69) started.
logger (10.05.2015 18:58:52): connect station 0 (Vantage via USB serial).
logger (10.05.2015 18:58:52): station 0 (Vantage), wakeup sent.
logger (10.05.2015 18:58:52): station 0 (Vantage), internal logger activated.
logger (10.05.2015 18:58:52): station 0 (Vantage), syncing.
logger (10.05.2015 18:59:02): station 0 (Vantage), gettime request sent.
logger (10.05.2015 18:59:12): station 0 (Vantage), gettime request sent.
logger (10.05.2015 18:59:22): station 0 (Vantage), gettime request sent.
logger (10.05.2015 18:59:32): disconnect station 0 (Vantage): timeout
logger (10.05.2015 19:00:02): connect station 0 (Vantage via USB serial).
logger (10.05.2015 19:00:02): station 0 (Vantage), wakeup sent.
logger (10.05.2015 19:00:02): station 0 (Vantage), internal logger activated.
logger (10.05.2015 19:00:02): station 0 (Vantage), syncing.
logger (10.05.2015 19:00:12): station 0 (Vantage), gettime request sent.
logger (10.05.2015 19:00:22): station 0 (Vantage), gettime request sent.
logger (10.05.2015 19:00:32): station 0 (Vantage), gettime request sent.
logger (10.05.2015 19:00:42): disconnect station 0 (Vantage): timeout
logger (10.05.2015 19:01:12): connect station 0 (Vantage via USB serial).
logger (10.05.2015 19:01:12): station 0 (Vantage), wakeup sent.
logger (10.05.2015 19:01:12): station 0 (Vantage), internal logger activated.
logger (10.05.2015 19:01:12): station 0 (Vantage), syncing.
logger (10.05.2015 19:01:22): station 0 (Vantage), gettime request sent.
logger (10.05.2015 19:01:32): station 0 (Vantage), gettime request sent.
logger (10.05.2015 19:01:42): station 0 (Vantage), gettime request sent.
logger (10.05.2015 19:01:52): disconnect station 0 (Vantage): timeout
i think that the converter doesn´t work, now i´ll try a 5V-3-3V-RS232-Serial-Port-to-TTL-Digital-Converter-Module-Max3232. could this work?
thanks in advance,
greeting
michael
RPI 2 and RS232
Moderator: Mattk
Re: RPI 2 and RS232
Question, did you use a usb hub?
See post viewtopic.php?f=56&t=10181&hilit=Usb+serial+converter
The different usb ports:
Usb0 is a logical software port address which can change after reboot.
The mh numbered ports are meteohubs way of addressing a physical port, which never change.
Therefor always select the mh numbered ports and mark the port the usb cable is connected into.
Success, wim
See post viewtopic.php?f=56&t=10181&hilit=Usb+serial+converter
The different usb ports:
Usb0 is a logical software port address which can change after reboot.
The mh numbered ports are meteohubs way of addressing a physical port, which never change.
Therefor always select the mh numbered ports and mark the port the usb cable is connected into.
Success, wim
Re: RPI 2 and RS232
thx wim for your help.
no i didn´t use a hub. i plugged in the normal usb2rs232 converter. in the meantime i´ve attached and tried it with a 3232 IC via GPIO (see the latest thread). there, the communication between RPI 2 and VP2 seems to start, but then i get a timeout.
there even are some reported bugs, that were described here (wlan not functional, loosing gui), but i try to fix it step by step.
lentas
no i didn´t use a hub. i plugged in the normal usb2rs232 converter. in the meantime i´ve attached and tried it with a 3232 IC via GPIO (see the latest thread). there, the communication between RPI 2 and VP2 seems to start, but then i get a timeout.
there even are some reported bugs, that were described here (wlan not functional, loosing gui), but i try to fix it step by step.
lentas
Re: RPI 2 and RS232
When plugging in the converter you should do "dmesg" if the module is recognized
as a USB-serial converter and then check "/dev/" directory to check if a serial device shows up.
as a USB-serial converter and then check "/dev/" directory to check if a serial device shows up.