Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

WeatherDuino/CumulusMX/Raspberry PI
#11

(17-07-2016, 21:48)GreggWardNZ Wrote:  The VP1 switch is closed, the Rx unit is being run off an external power supply, the port name in use is /dev/ttyUSB0, which is what I had updated it to in my Cumulus.ini. One thing I cannot confirm, until I get home, is whether the "ComportName=/dev/ttyUSB0" line is duplicated in the Cumulus.ini file. Are you saying that is shouldn't be duplicated in there?

Hi,

I'm just trying to guess what can be the problem...

If your board is a v4.xx please check also this setting in your user configurable options. The default value is 5. If your RX board is a v4.xx change it to 4, and program the Arduino Nano again. After that, please do a factory reset, pressing the push button for 5 seconds.

Code:
// --------------------------------------------------------------------------------------
//   Hardware settings
// --------------------------------------------------------------------------------------
// ---- Define your RX board, main version number
#define Board_Version    5     // 6 for all RX boards v6.xx, 5 for all RX boards v5.xx, 4 for all RX boards v4.xx

Reply
#12

(17-07-2016, 23:44)Werk_AG Wrote:  
(17-07-2016, 21:48)GreggWardNZ Wrote:  The VP1 switch is closed, the Rx unit is being run off an external power supply, the port name in use is /dev/ttyUSB0, which is what I had updated it to in my Cumulus.ini. One thing I cannot confirm, until I get home, is whether the "ComportName=/dev/ttyUSB0" line is duplicated in the Cumulus.ini file. Are you saying that is shouldn't be duplicated in there?

Hi,

I'm just trying to guess what can be the problem...

If your board is a v4.xx please check also this setting in your user configurable options. The default value is 5. If your RX board is a v4.xx change it to 4, and program the Arduino Nano again. After that, please do a factory reset, pressing the push button for 5 seconds.

Code:
// --------------------------------------------------------------------------------------
//   Hardware settings
// --------------------------------------------------------------------------------------
// ---- Define your RX board, main version number
#define Board_Version    5     // 6 for all RX boards v6.xx, 5 for all RX boards v5.xx, 4 for all RX boards v4.xx

My board was a v4.xx board, so I changed Board_Version to 4 and re-programmed the Nano. This fixed the problem whereby it was not seeing the EEPROM values and weewx started working.

However, CumulusMX still failed to connect to the WeatherDuino. I decided to ditch my v1 based Cumulus.ini and used the CumulusMX web interface to re-enter the settings and re-create Cumulus.ini. On restart of CumulusMX, it connected straight away to the WeatherDuino. I am now back up and running.Big Grin

Again, thanks for the help.
Reply
#13

Hello
I encountered the same problem and I did not manage to solve it despite the explanations provided here.
I typed the command:  ls /dev/tty*
I read a lot of /dev/tty , /dev/tty0, /dev/tty1....... but no /dev/ttyUSB0
I listed the ports without connected the USB cable and I saw at the end of the list: /dev/ttyAMA0
when i connected the USB and typed ls /dev/tty* and i saw at the end of list a new port: /dev/ttyACM0
i modified the cumulus.ini file with:
Code:
[Station]
Type=0
Model=WeatherDuinoPro2
Port=/dev/ttyACM0
UseDavisLoop2=0
ComportName=/dev/ttyACM0

relaunch the command: sudo mono CumulusMX.exe
now the station is connected.

This is another solution for those who can not find the USB0 port
Reply
#14

Summarize:

/dev/ttyUSB0 for WeatherDuino Pro2 systems
/dev/ttyACM0 for Weatherduino Pro2 PLUS systems.

Reply




Users browsing this thread: 1 Guest(s)