E Stop with Packetized Serial on Arduino
Posted: Wed Aug 31, 2016 1:26 pm
Hello there,
I need a little assistance understanding how to implement the E-Stop functionality when in packetized serial mode. I basically want to watch the result from commands I'm sending via the arduino library.
I need a little assistance understanding how to implement the E-Stop functionality when in packetized serial mode. I basically want to watch the result from commands I'm sending via the arduino library.
If I'm using packetized serial and I receive an error condition, I want to have both channels of my controller go to the home position. How do I wire this? This has me a little confused. Should I put a HIGH(5v) or a LOW (ground) to these pins?S1, S2, S3, S4 and S5 are setup for standard servo style headers I/O(except on ST models),
+5V and GND. S1 and S2 are the control inputs for serial, analog and RC modes. S3 can be
used as a flip switch input when in RC or Analog modes. In serial mode S3, S4 and S5 can be
used as emergency stop inputs or as voltage clamp control outputs. When set as E-Stop inputs
they are active when pulled low and have internal pullups so they will not accidentally trip when
left floating. S4 and S5 can also optionally be used as home signal inputs. The pins closest to
the board edge are the I/0s, center pin is the +5V and the inside pins are ground. Some RC
receivers have their own supply and will conflict with the RoboClaw’s 5v logic supply. It may be
necessary to remove the +5V pin from the RC receivers cable in those cases.