Open-RC ESC Limit Switches (Arduino)

Open-RC ESC Limit Switches (Arduino)

thingiverse

** This is not a 3D printable object ! ** This is a arduino code library that allows your ESC to cut power in one direction when a limit switch has been pressed, then only allows reverse motion. ** UPDATE April 21 2020 ** Sorry guys looks like an error was made in the code, all fixed and tested now, all working ! * This could be used for anything that needs to stop the motion of a motor controlled by an ESC. (Brushed / Brushless compatible) * This *does not* cut the current track to the motor, this limits the PWM signal into the ESC, just like you were releasing the stick, making it compatible with any size limit switch, motor or ESC, even micro ones. * The code has been written for a Arduino NANO, but can be adapted easily to other versions. * In its current version, it's got 3 channels and 6 limit switches input, this is the maximum for a Nano as the PWM input/output are limited to 6 on the Nano. * You need to download this library and put it inside your "include" folder : https://bintray.com/greygnome/generic/EnableInterrupt/view#files (I got version 1.1.0) *** HARDWARE INSTRUCTIONS *** * Connect your receiver ground to the Arduino ground * Cut the signal line between receiver and ESC for Channel 1, 2 or 3 (Just to be clear; You can use whatever channel you want on your receiver, I am just calling them 1-2-3 for simplicity. You can limit channels 6-7-8 on your receiver or 3-5-7, you are just limited to a total of 3 channels per arduino nano. Use another for 6 channels !) * Connect the receiver side of the signal to Arduino pin D3 (CH1), D4 (CH2) or D5 (CH3) * Connect the ESC side of the signal to Arduino pin D9 (CH1), D10 (CH2) or D11 (CH3) * Connect your limit switch input to Arduino ground and the output to these Arduino pins: * * pin A0 for CH1 low switch pin A1 for CH1 high switch pin A2 for CH2 low switch pin A3 for CH2 high switch pin A4 for CH3 low switch pin A5 for CH3 high switch * Low corresponds to the side of your channel that gives 1000us signal (ex.: full reverse) * High corresponds to the side of your channel that gives 2000us signal (ex.: full throttle) * You can limit only one side if you want, just don't connect anything in the low or high switch pin of that Channel. *I had to put a STL of a arduino or else thingiverse wouldn't let me upload this.*

Download Model from thingiverse

With this file you will be able to print Open-RC ESC Limit Switches (Arduino) with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Open-RC ESC Limit Switches (Arduino).