This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
pypilot_arduino_weathersensors [2022/03/02 08:29] seandepagnier |
pypilot_arduino_weathersensors [2022/03/02 08:35] seandepagnier |
||
---|---|---|---|
Line 2: | Line 2: | ||
To upgrade the sensors, the recommended system is openplotter, or another linux system with arduino support installed. | To upgrade the sensors, the recommended system is openplotter, or another linux system with arduino support installed. | ||
+ | |||
+ | First it is essential to ensure no other processes are accessing the serial port. For example | ||
+ | <code> | ||
+ | sudo service pypilot stop | ||
+ | sudo service gpsd stop | ||
+ | </code> | ||
+ | |||
+ | Other processes such as signalk-node-server or even opencpn (or others) may be configured to access the serial port, so ensure they are not running. | ||
To install the software needed to compile and load the sketch: | To install the software needed to compile and load the sketch: | ||
- | *** | + | <code> |
$ sudo apt install arduino | $ sudo apt install arduino | ||
- | *** | + | $ git clone --depth=1 https://github.com/pypilot/pypilot |
+ | $ cd pypilot/arduino/weathersensors | ||
+ | $ make upload | ||
+ | </code> | ||
+ | |||
+ | If there is a failure, repeat the "make upload" command several times. It may be necessary to modify the Makefile and adjust the DEVICE or BAUDRATE. Some boards use a BAUDRATE of 115200, others will use 57600. |