Open-RC ESC Limit Switches (Arduino)

Open-RC ESC Limit Switches (Arduino)

Description

** This is not a 3D printable object ! ** This is a arduino code library that allows your ESC to cut the motion in one direction when a limit switch has been pressed, then only allows reverse motion. * This could be used for anything that needs to stop the motion of a motor controlled by an ESC. (Brushed / Brushless compatible) * This code limits the PWM signal into your ESC, 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 has 3 channels and 6 limit switches input, this is the maximum, 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 your receiver and ESC for Channel X, Y or Z * Connect the receiver side of the signal to Arduino pin D3 (CHX), D4 (CHY) or D5 (CHZ) * Connect the ESC side of the signal to Arduino pin D9 (CHX), D10 (CHY) or D11 (CHZ) * Connect your limit switch input to Arduino ground and the output to these Arduino pins: * * pin A0 = CHX low switch pin A1 = CHX high switch pin A2 = CHY low switch pin A3 = CHY high switch pin A4 = CHZ low switch pin A5 = CHZ high switch * Low corresponds to 1000us signal (i.e. full reverse/brake) * High corresponds to 2000us signal (i.e. full forward/throttle) * You can limit only one side if you want, mix and match, just connect the ones you need *I had to put a STL or else thingiverse wouldn't let me upload this.* *Do NOT download the 2078_nano.STL, it is useless* (unless you need a STL of a Arduino Nano :P)

Statistics

Likes

11

Downloads

0

Category

Robotics