2019-01-11, 05:10 PM
I added a kpex both directions port 20220 so that anything pypilot has gets sent to system I had the same no compass in ocpn and no imu stuff in openplotter / signalK. Unless i had IMU only
(2019-01-11, 02:16 PM)kalle Wrote: [ -> ]Hi Kalle,(2019-01-11, 01:35 PM)jim321 Wrote: [ -> ]that looks like its a signalk problem
That seems to be the case. I can start PyPilot and have compass and wind data but in OpenCPN nothing. But how to fix it as my programming skills are bad.
Kalle
$OCXDR,A,0.3,D,ROLL*77 //openplotter
$OCXDR,A,0.1,D,PTCH*67 //openplotter
$ARMWV,24.70,R,0.00,N,A*1f
$ARMWV,26.20,R,0.00,N,A*18
$GPGGA,193735.000,4954.3496,N,09707.5222,W,2,7,1.54,230.2,M,-24.6,M,0000,0000*64
$APXDR,A,0.099,D,PTCH*7B //pypilot
$APXDR,A,0.291,D,ROLL*63 //pypilot
$APHDM,280.146,M*3A//pypilot
(2019-11-08, 11:03 AM)DjelaliTricks Wrote: [ -> ]- IMU is found whith new OP install, but in pypilot control, is writen "None". I can see gains levels moovingThis means the autopilot is working but there is no motor controller.
Quote:- when I make system update and Open plotter update, it loose every thing. Xhen launching pypilot_control from terminal it return "connect failed to localhost:21311".Please use:
Quote:When I connect the arduino to IDE arduino, nothing appears on the serial monitor.maybe
I'm made differents test but don't remember every thing.
I'm also working on a batterie manager with INA219 and Nano Every, with USB connection, may it have damaged something ?
Quote:Is there easy way to test the Pypilot Arduino, like without IMU (connecting Vcc, GND, SDA SCL to the RPi) ?
Thank
(2019-11-10, 07:37 PM)DjelaliTricks Wrote: [ -> ]I've ugraded OP2 with Rasbian Buster, pypilot from https://github.com/pypilot/openplotter-pypilot but always same problem. IMU is ok but no sign of pypilot (connect failed to localhost:21311)AMA0 when? You might need to edit /boot/config.txt
IMU seem assigned on ttyS0. In signal K, I can see AMAO, where was assigned pypilot before.
Quote:I fear a material problem, but not sure. The Arduino on the pypilot card is not powered by the RPi in 3.3V, just by 12V when plugded, and just a red led is lighted on the Arduino Nano, not the Rx - Tx one's.
Could it be a problem with CPC5001 ? Is it possible to connect directly 1 and 2 of Arduino with Rx Tx of J4 (https://pypilot.org/schematics/hbridge_controller.pdf) or is no use to test ?
Thank's