Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
joystick [2017/02/23 02:55] 99.174.81.42 [Mapping Voltage to Position] |
joystick [2021/02/22 16:52] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
<WRAP right round box> | <WRAP right round box> | ||
- | [[https:// | + | [[https:// |
</ | </ | ||
Line 19: | Line 19: | ||
<callout type=" | <callout type=" | ||
Note this page is a work in progress and the joystick functionality is not yet released in smoothieware. | Note this page is a work in progress and the joystick functionality is not yet released in smoothieware. | ||
+ | To test it you need to use pull request [[https:// | ||
</ | </ | ||
=== Hardware Requirements | === Hardware Requirements | ||
- | {{ : | + | {{ ://joystick: |
- | {{ https:// | + | {{ //external/ |
- | {{ https:// | + | {{ //external/ |
Line 35: | Line 36: | ||
If you have a potentiometer, | If you have a potentiometer, | ||
- | {{https:// | + | {{//external/ |
The above image shows a basic schematic of a potentiometer. Pins 1 and 3 are the ends of the potentiometer, | The above image shows a basic schematic of a potentiometer. Pins 1 and 3 are the ends of the potentiometer, | ||
Line 51: | Line 52: | ||
| 0.25 | thermistor2 | Not recommended (used for thermistors and has built-in 4.7 kΩ pull-up) | | | 0.25 | thermistor2 | Not recommended (used for thermistors and has built-in 4.7 kΩ pull-up) | | ||
| 0.26 | thermistor3 | Not recommended (used for thermistors and has built-in 4.7 kΩ pull-up) | | | 0.26 | thermistor3 | Not recommended (used for thermistors and has built-in 4.7 kΩ pull-up) | | ||
- | | **1.30** | spare | Recommended pin || | + | | **1.30** | spare | Recommended pin | |
- | | **1.31** | spare | Recommended pin || | + | | **1.31** | spare | Recommended pin | |
See [[Pinout]] for a diagram of the SmoothieBoard with the pins labeled. | See [[Pinout]] for a diagram of the SmoothieBoard with the pins labeled. | ||
For a joystick, you will need to connect each wiper (the left/right and up/down) to different analog pins (e.g. 1.30 and 1.31). | For a joystick, you will need to connect each wiper (the left/right and up/down) to different analog pins (e.g. 1.30 and 1.31). | ||
- | + | {{://joystick: | |
- | (image of joystick | + | |
== Configuration | == Configuration | ||
Line 68: | Line 68: | ||
<WRAP center round box 80%> | <WRAP center round box 80%> | ||
- | {{ : | + | {{ ://joystick: |
Example Mapping from joystick position to output with < | Example Mapping from joystick position to output with < |