2019-07-04, 02:38 AM
(2019-07-03, 12:38 AM)seandepagnier Wrote: MQTT is a great idea, but I haven't gotten around to supporting it. It is certainly possible to control pypilot from a wifi link. So far, all 4 of the control interfaces can be run on remote hosts, even the lcd and keypad script could run on a different pi zero w. The webapp needs a browser, the python scripts need python (so far only known to work on linux) and the python scripts, and pypilot plugin works on supported opencpn platforms.The only two control interfaces I've tried are the opencpn pypilot plugin and the web interface. I've bread-boarded the 'pi3B+daisyhat+sensors' box via usb to the arduino uno wifi, and that's breadboarded over to the mcu, which is driving an Autohelm 3000 motor. The web app hasn't been working well: It's not responsive enough. The pypilot plugin is responsive, but not quite right. (It's v 0.5.0, I think). No luck yet building 0.9.0.
What kind of control interface do you have in mind? I can suggest which of the existing interfaces is closest to modify if you are doing something new.
I'd like to add some kind of remote handheld (preferably not IR/optical; maybe bluetooth?), but that's way down the list for now. As I think about it, an IR tv remote to a sensor mounted under the doger somewhere isn't a bad idea. Simple, and low cost...
So, next to do:
I need help configuring a wifi link to serial connect the pi3B+daisy box to the arduino uno wifi, and I just don't know enough about arduino yet to do it. As I'd mentioned, one native path with the uno wifi is MQTT, but the coding is beyond my skill. If there's a simpler way to establish a serial wifi link between them, I haven't found a how-to yet.
Here's a link to a video of what's working so far:
RPi3B+dAISy hat+Pypilot set up
Thanks for all your hard work on this project! And to the other developers and users who've volunteered their experience.
Elliott