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
Mating Arduino Uno WiFi to a motor controller
#7
(2019-07-04, 02:38 AM)skyeyedoc Wrote:
(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.

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.
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.

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

The video says "Not available".

to compile the plugin on openplotter 1.2.0 you need to add some development libraries first:

Code:
sudo apt install libwxbase3.0-dev libbz2-dev wx-common libwxgtk3.0-dev
--
Larry - s/v Katie Lee Passport 45 Ketch (For Sale) - somewhere in Taiwan
Reply


Messages In This Thread
RE: Mating Arduino Uno WiFi to a motor controller - by svkatielee - 2019-07-04, 02:46 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)