User Tools

Site Tools


mycnc:jog_through_adc_inputs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
mycnc:jog_through_adc_inputs [2018/09/05 16:16] pupalaisermycnc:jog_through_adc_inputs [2018/09/05 16:17] pupalaiser
Line 11: Line 11:
  
   * In CNC machines, as a rule, the source of the analog signal and the main control is the joystick. The most convenient and most common are joysticks based on Hall sensors with power supply + 5V and output signals 0-2.5V-5V. Where the level 2.5B corresponds to the position of the joystick at rest, i.e. the controlled axis is not subject to control. .After converting the analog signal to 2.5V, the digital value of 2048 corresponds to the digital value of 2048. Typically, joysticks and similar control devices at the output, even at rest, have small distortions and noises in the output signal. To prevent false positives and unauthorized movements, a "dead zone" is entered in the settings.   * In CNC machines, as a rule, the source of the analog signal and the main control is the joystick. The most convenient and most common are joysticks based on Hall sensors with power supply + 5V and output signals 0-2.5V-5V. Where the level 2.5B corresponds to the position of the joystick at rest, i.e. the controlled axis is not subject to control. .After converting the analog signal to 2.5V, the digital value of 2048 corresponds to the digital value of 2048. Typically, joysticks and similar control devices at the output, even at rest, have small distortions and noises in the output signal. To prevent false positives and unauthorized movements, a "dead zone" is entered in the settings.
-  * * "dead zone" - is set by two values ​​of the lower and upper limit of the values ​​of the input signal, in the range of which the system will not respond to the input signal and system movements and other reactions to the joystick will be absent. For example, the system will not perform any reactions or actions in the range of values from 2000 to 2100, which in turn corresponds to the input signal levels in the range from 2.44V to 2.56V. {{ :mycnc:adc_6_.png |}}+ 
 +   "Dead zone" - is set by two values ​​of the lower and upper limit of the values ​​of the input signal, in the range of which the system will not respond to the input signal and system movements and other reactions to the joystick will be absent. For example, the system will not perform any reactions or actions in the range of values from 2000 to 2100, which in turn corresponds to the input signal levels in the range from 2.44V to 2.56V. {{ :mycnc:adc_6_.png |}}
   * Accordingly, 0V is a movement to the left or counterclockwise, at the maximum speed and 5V is movement to the right or clockwise at the maximum speed.The value of the signal in the range from 0 to 2.5V - allows a smooth, adjustable movement to the left or counterclockwise, and accordingly the signal value from 2.5V to 5V allows a smooth, controlled movement to the right or clockwise.   * Accordingly, 0V is a movement to the left or counterclockwise, at the maximum speed and 5V is movement to the right or clockwise at the maximum speed.The value of the signal in the range from 0 to 2.5V - allows a smooth, adjustable movement to the left or counterclockwise, and accordingly the signal value from 2.5V to 5V allows a smooth, controlled movement to the right or clockwise.
 +
   * Also in the program is designed to protect against breakage of the joystick itself or broken wires. Because when the cable is cut from the joystick to the controller input, the level of the input signal will be equal to or close to 0V (0). Also, for certain errors in the wiring, it is possible for a false alarm to occur at 5V level (4096) at the controller input. To prevent movement with such errors in the program, you can set the minimum and maximum level of the signal at the input to the controller. For example, the minimum signal level is set to 50, which corresponds to 0.06V, and the maximum level is set to 4050, which corresponds to 4.94V.{{ :mycnc:adc_4_.png |}}{{ :mycnc:adc_7_.png |}}   * Also in the program is designed to protect against breakage of the joystick itself or broken wires. Because when the cable is cut from the joystick to the controller input, the level of the input signal will be equal to or close to 0V (0). Also, for certain errors in the wiring, it is possible for a false alarm to occur at 5V level (4096) at the controller input. To prevent movement with such errors in the program, you can set the minimum and maximum level of the signal at the input to the controller. For example, the minimum signal level is set to 50, which corresponds to 0.06V, and the maximum level is set to 4050, which corresponds to 4.94V.{{ :mycnc:adc_4_.png |}}{{ :mycnc:adc_7_.png |}}
      
mycnc/jog_through_adc_inputs.txt · Last modified: 2018/09/05 16:28 by pupalaiser

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki