Hello – thank you for the advice and guidance ahead of time!
I am constructing a 42” RC Submarine. I’ve used a BS2 to automate the flashing sequence of a yellow LED to represent the Sub ID beacon located in the sail. I would also like to automate the raising and lowering of the periscopes...I have one remaining channel off of my receiver for that purpose. I have purchased a Pololu Micro Metal Gearmotor with a voltage operating range of 1.5-12V DC. The output shaft has a 2.16” threaded rod I can use to drive the periscope and masts platform up and down inside the sail via an embedded bolt that will thread onto the motors shaft. I am using a VEX 6-channel transmitter.
How can I control the direction (polarity) of the motor, speed (voltage), and have precise endpoints to prevent mechanically overdriving the mast assembly (either up or down)? How can I use the output from the receiver to provide the correct signal (up/off/down) and mechanize the control device?
BS2? How would it be wired and what code?
A couple relays with reed switches and a 3 pole switch (up/off/down)?
I have limited space...the internal waterproof space available is a bit over 2.25” wide (I.D.) and 12’ long and is shared with other components...the receiver can provide 5 volts of power or I can tap from an internal LiPo 3S 11.1 Volt battery.
Ideally, I would like to be able to program this all to work using the BS2. The motor and reed switches (if used) will be waterproofed as they will be external to the water tight cylinder.
Thanks for the help - Mike