This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Basic motor controller hookup
#8
(2020-12-24, 06:38 PM)seandepagnier Wrote: solid yellow probably means that the wiring is wrong, or the software is not correct.

normally yellow and green are TX and RX and should only be flashing while communicating.

Ok, finally after many attempts, I think I got it partially.

followed this finally.  I could not get it to work as stated.  when i got here,  Start > openplotter > pypilot > add device. Uncheck "Show only Openplotter Serial". Drop down arrow, select /dev/ttyAMA0, OK.  I had no device listed, had to add under serial connections first.  now I have flashing green light with the red.  In Pypilot, It shows  Arduino engaged, and sync engaged, but driver timeout.  I do not have motor hooked up, would this cause the driver timeout?  the pypilot plugin in open cn shows disconnected.


thanks

For now I can provide some hints at least:

Download OP2/NOOBS headless
Installed OP onto formatted 32 GB SD card
Insert card, power on.
Wait about 20 minutes as the setup occurs.
SSH connection to enable VNC in raspberry pi configuration.
sudo apt update
sudo apt upgrade
Reboot

Start > preferences > raspberry pi configuration > interfaces enable i2c

Start > openplotter > settings > Add sources, update candidates, highlight Pypilot, click install.

Start > openplotter > pypilot > add device. Uncheck "Show only Openplotter Serial". Drop down arrow, select /dev/ttyAMA0, OK. Change drop down "disabled" to "autopilot." Close.

Open OpenCPN. Settings > Plugins > Update plugin catalog master > click pypilot, install. Find pypilot again, tick enable. Click apply, OK.

Manual upgrade of pypilot from git.
cd
mkdir delete
cd delete
git clone https://github.com/pypilot/pypilot
git clone https://github.com/pypilot/pypilot_data
cp -rv pypilot_data/* pypilot
cd pypilot
python3 setup.py build
sudo python3 setup.py install

sudo nano /boot/config.txt
dtoverlay=disable-bt

sudo usermod -a G tty pi

Start > preferences > raspberry pi configuration > interfaces
disable serial console

Install zeroconf and websocket client so pypilot can communicate with signalk
pip3 install zeroconf or apt install python3-zeroconf
pip3 install websocket-client
Reply


Messages In This Thread
Basic motor controller hookup - by Bwk9087 - 2020-12-20, 03:32 PM
RE: Basic motor controller hookup - by Max1947 - 2020-12-20, 07:09 PM
RE: Basic motor controller hookup - by Bwk9087 - 2020-12-20, 07:50 PM
RE: Basic motor controller hookup - by Bwk9087 - 2020-12-24, 03:21 PM
RE: Basic motor controller hookup - by Bwk9087 - 2020-12-24, 07:14 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)