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
Pypilot for dummies
#28
You attach the 12V to the red screw and 0V to the black one.

The end switches are end-of -travel switches that you should fabricate in such a way that they make contact when the motor (and rudder) are almost in their utmost positions. One switch goes to black and yellow, the other switch to black and red. Which switch goes to what end you have to find out for yourself. If the switch makes contact, the motor should stop immediately from going into the direction of the switch. If you don't attach switches, the motor will continue running at the end of its travel and that might damage your hardware. However, electric motors draw much more current when they are mechanically 'arrested' and the motor controller will sense this increased current and stop. But this happens after the fact. Better is to implement switches.

The rudder cable goes to a rudder angle sensor. You could fabricate that yourself, it is a simple potentiometer, but they are also commercially available. The rudder angle sensor tells the motor controller, and pypilot, what position the rudder is in. This serves two purposes: 1) with a rudder angle sensor, pypilot can sense that the rudder is on either end of its travel and stop the motor. If you have a rudder angle sensor, you might omit the end of travel switches. 2) with a rudder angle sensor, pypilot can steer better, in theory. That sounds silly, but for a long time pypilot has been steering excellently without knowing exactly what position the rudder was in. Recently, a new steering algorithm had been added to pypilot ('absolute') which makes use of  the rudder position. I have not used it yet.

Both end switches and rudder sensor are quite fidgety to build. Pypilot will run without them.

The temperature sensor should indeed be attached to the motor, typically to the metal housing, in such a way that when the motor runs hot, pypilot can switch it off. If there is no cable coming from the motor controller box you have to locate the contacts on the motor controller printed circuit board and solder them on. Reading in between the lines of your questions, I'd postpone that until you are more familiar with the electronics. Pypilot can run without.

A windshield washer motor typically has 12V, slow, fast and 0V. The 12V is to allow the motor to return to its home position, and you don't need that one. The 0V is quite often black. You need to attach the motor (green screws) to the 0V and to one of the 3 others. These are powerful motors and might spin off your workbench, dragging all electronics with them. Clamp it down!
Reply


Messages In This Thread
Pypilot for dummies - by ironman - 2021-03-07, 08:15 PM
RE: Pypilot for dummies - by jporter - 2021-03-08, 08:13 AM
RE: Pypilot for dummies - by seandepagnier - 2021-03-08, 05:31 PM
RE: Pypilot for dummies - by ironman - 2021-03-08, 06:18 PM
RE: Pypilot for dummies - by nramsey - 2021-03-10, 09:42 PM
RE: Pypilot for dummies - by ironman - 2021-03-11, 12:55 AM
RE: Pypilot for dummies - by Max1947 - 2021-03-11, 10:52 PM
RE: Pypilot for dummies - by Goshawk - 2021-03-14, 12:00 AM
RE: Pypilot for dummies - by ironman - 2021-03-14, 12:56 AM
RE: Pypilot for dummies - by mgrouch - 2021-04-05, 09:03 PM
RE: Pypilot for dummies - by Guttagrynna - 2021-04-04, 09:22 PM
RE: Pypilot for dummies - by ironman - 2021-04-05, 11:45 PM
RE: Pypilot for dummies - by Guttagrynna - 2021-04-06, 07:06 AM
RE: Pypilot for dummies - by ironman - 2021-04-06, 07:14 AM
RE: Pypilot for dummies - by Guttagrynna - 2021-04-06, 07:55 AM
RE: Pypilot for dummies - by ironman - 2021-04-08, 12:06 AM
RE: Pypilot for dummies - by Guttagrynna - 2021-04-08, 07:33 AM
RE: Pypilot for dummies - by rastam4n - 2021-04-06, 01:34 PM
RE: Pypilot for dummies - by seandepagnier - 2021-04-08, 07:19 PM
RE: Pypilot for dummies - by Guttagrynna - 2021-04-17, 03:11 PM
RE: Pypilot for dummies - by ironman - 2021-04-18, 11:19 PM
RE: Pypilot for dummies - by jporter - 2021-04-19, 08:41 AM
RE: Pypilot for dummies - by seandepagnier - 2021-04-20, 01:21 AM
RE: Pypilot for dummies - by ironman - 2021-04-21, 05:13 PM
RE: Pypilot for dummies - by ironman - 2021-11-17, 05:53 PM
RE: Pypilot for dummies - by Gennady - 2022-09-26, 01:02 AM
RE: Pypilot for dummies - by seandepagnier - 2022-09-26, 03:01 PM
RE: Pypilot for dummies - by ironman - 2022-09-26, 04:13 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)