Page 1 of 1
RaspberryPi Davis Pro 2 USB Port
Posted: Thu 15 Dec 2016 4:20 pm
by MWORSNOP
My Pi doesnt have a serial port. I have USB ports. How do I configure this to work with the USB?
Re: RaspberryPi Davis Pro 2 USB Port
Posted: Thu 15 Dec 2016 7:18 pm
by steve
This is mentioned in the MX FAQ. When you plug in the station, a virtual serial port will be created. Do 'dmesg' to see what port has been attached to the cp210x adapter and specify the corresponding serial device in the MX config - it will normally be /dev/ttyUSB0
Re: RaspberryPi Davis Pro 2 USB Port
Posted: Thu 15 Dec 2016 8:44 pm
by MWORSNOP
What do I actually enter then? /dev/ttyUSB0
or just part or that or what? I have tried that and USB0 by itself but not seeing any data displayed. Maybe I need to do something else first?
Re: RaspberryPi Davis Pro 2 USB Port
Posted: Thu 15 Dec 2016 9:02 pm
by BigOkie
Typically, yes...but you need to make sure once plugged in. It may not always enumerate it to the first.
issue this command at a Pi shell prompt:
ls /dev/ttyUSB*
and see what it returns. After you plug it in of course.
Re: RaspberryPi Davis Pro 2 USB Port
Posted: Thu 15 Dec 2016 9:03 pm
by BigOkie
Also, and just being clear, are you running a Linux distribution on your Pi? I know some are now using Win10 IOT on it. That won't work.
Re: RaspberryPi Davis Pro 2 USB Port
Posted: Thu 15 Dec 2016 9:07 pm
by MWORSNOP
OK I see data on the datalog viewer so getting closer!
Dashboard - Now - Gauges do not seem to do anything but there is data in the data log