<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Joystick range - slack - I/O Devices - Sensors - Modules				            </title>
            <link>https://forum.dronebotworkshop.com/sensors-modules/joystick-range-slack/</link>
            <description>Discussion board for Robotics, Arduino, Raspberry Pi and other DIY electronics and modules. Join us today!</description>
            <language>en-US</language>
            <lastBuildDate>Sun, 10 May 2026 15:17:18 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Joystick range - slack</title>
                        <link>https://forum.dronebotworkshop.com/sensors-modules/joystick-range-slack/#post-48230</link>
                        <pubDate>Fri, 28 Jun 2024 13:58:53 +0000</pubDate>
                        <description><![CDATA[Hi @tinkerman,
  When you added the photo, I realised I had a couple of them in my &#039;spares&#039; box, which I had added to an AliExpress order, to look at on a rainy day.
As the weather looked ...]]></description>
                        <content:encoded><![CDATA[<p>Hi @tinkerman,</p>
<p>  When you added the photo, I realised I had a couple of them in my 'spares' box, which I had added to an AliExpress order, to look at on a rainy day.</p>
<p>As the weather looked like it might rain, I rigged up a simple test with 6V battery and multimeter, and found the same as you did. They seem to be made with a weird potentiometer that gives a relatively wide mid-section, with almost no change; then a narrow section either side of the mid-section, which goes from 50% to 0%, or 50% to 100%, and outside of those sections, a pair of wider sections, which are either all 100% or all 0%. So the only parts with a graduated change, are two very small angle sectors, of maybe 10 degrees each.</p>
<p>So, in spite of looking to be 'fairly' well-made, their utility seems limited. However, I only paid about US $1 for a pair (including delivery), so I don't have too much to complain about.</p>
<p>I realise that you found the built-in switch convenient, but I notice Ali-Express also do larger joysticks, which superficially look like the type I have seen on radio control transmitters, etc. They are a variety of (higher) prices, but might be better if you wanted control in 2 dimensions, but maybe not including a switch. Sorry, I have no experience of them, nor do I have any in the 'spares' box.</p>
<p>Good luck with your quest. Dave</p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/sensors-modules/">I/O Devices - Sensors - Modules</category>                        <dc:creator>DaveE</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/sensors-modules/joystick-range-slack/#post-48230</guid>
                    </item>
				                    <item>
                        <title>RE: Joystick range - slack</title>
                        <link>https://forum.dronebotworkshop.com/sensors-modules/joystick-range-slack/#post-48229</link>
                        <pubDate>Fri, 28 Jun 2024 03:04:35 +0000</pubDate>
                        <description><![CDATA[Sorry but I can&#039;t make a recommendation. I don&#039;t ever recall buying a joystick.]]></description>
                        <content:encoded><![CDATA[
<p>I think I paid $5 each.  Would you be able to suggest a better one?</p>
<span class="wpf-attachment-404">-- attachment is not available --</span>
<p></p>
<p>Sorry but I can't make a recommendation. I don't ever recall buying a joystick.</p>
<p> </p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/sensors-modules/">I/O Devices - Sensors - Modules</category>                        <dc:creator>Will</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/sensors-modules/joystick-range-slack/#post-48229</guid>
                    </item>
				                    <item>
                        <title>RE: Joystick range - slack</title>
                        <link>https://forum.dronebotworkshop.com/sensors-modules/joystick-range-slack/#post-48225</link>
                        <pubDate>Fri, 28 Jun 2024 02:14:33 +0000</pubDate>
                        <description><![CDATA[@davee Thanks for the suggestions.  I measured the voltage with the multimeter and it appears to be pretty smooth over a specific range, the voltage just tops out at the halfway point in eit...]]></description>
                        <content:encoded><![CDATA[<p>@davee Thanks for the suggestions.  I measured the voltage with the multimeter and it appears to be pretty smooth over a specific range, the voltage just tops out at the halfway point in either direction.</p>
<p>I'm thinking of trying a different type of control using a slide potentiometer. </p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/sensors-modules/">I/O Devices - Sensors - Modules</category>                        <dc:creator>tinkerman</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/sensors-modules/joystick-range-slack/#post-48225</guid>
                    </item>
				                    <item>
                        <title>RE: Joystick range - slack</title>
                        <link>https://forum.dronebotworkshop.com/sensors-modules/joystick-range-slack/#post-48224</link>
                        <pubDate>Fri, 28 Jun 2024 01:52:16 +0000</pubDate>
                        <description><![CDATA[@tinkerman $5.
I think I have a few of those sticks, so if my heart is up to it tomorrow I will test all of them and report back.]]></description>
                        <content:encoded><![CDATA[<p>@tinkerman $5.</p>
<p>I think I have a few of those sticks, so if my heart is up to it tomorrow I will test all of them and report back.</p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/sensors-modules/">I/O Devices - Sensors - Modules</category>                        <dc:creator>Ron</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/sensors-modules/joystick-range-slack/#post-48224</guid>
                    </item>
				                    <item>
                        <title>RE: Joystick range - slack</title>
                        <link>https://forum.dronebotworkshop.com/sensors-modules/joystick-range-slack/#post-48223</link>
                        <pubDate>Fri, 28 Jun 2024 01:49:07 +0000</pubDate>
                        <description><![CDATA[@zander Understand that part of the mechanics, just trying to figure out the slack.]]></description>
                        <content:encoded><![CDATA[@zander Understand that part of the mechanics, just trying to figure out the slack.]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/sensors-modules/">I/O Devices - Sensors - Modules</category>                        <dc:creator>tinkerman</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/sensors-modules/joystick-range-slack/#post-48223</guid>
                    </item>
				                    <item>
                        <title>RE: Joystick range - slack</title>
                        <link>https://forum.dronebotworkshop.com/sensors-modules/joystick-range-slack/#post-48222</link>
                        <pubDate>Fri, 28 Jun 2024 01:43:35 +0000</pubDate>
                        <description><![CDATA[@tinkerman It&#039;s simple mechanics, the shorter the stick the faster the numbers will change.]]></description>
                        <content:encoded><![CDATA[@tinkerman It's simple mechanics, the shorter the stick the faster the numbers will change.]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/sensors-modules/">I/O Devices - Sensors - Modules</category>                        <dc:creator>Ron</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/sensors-modules/joystick-range-slack/#post-48222</guid>
                    </item>
				                    <item>
                        <title>RE: Joystick range - slack</title>
                        <link>https://forum.dronebotworkshop.com/sensors-modules/joystick-range-slack/#post-48221</link>
                        <pubDate>Fri, 28 Jun 2024 01:36:15 +0000</pubDate>
                        <description><![CDATA[@will Thanks for the suggestions.  The joystick I am using is one of those breakout board types.  I&#039;ve used them before for controlling servos, which worked well.
In this case, the values c...]]></description>
                        <content:encoded><![CDATA[<p>@will Thanks for the suggestions.  The joystick I am using is one of those breakout board types.  I've used them before for controlling servos, which worked well.</p>
<p>In this case, the values change so quickly that it makes it difficult to do a slow roll up on the motor to maximum speed.  I want to use this type of joystick because of the built in switch that allows me to run two motor independently. </p>
<p>I think I paid $5 each.  Would you be able to suggest a better one?</p>
9209]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/sensors-modules/">I/O Devices - Sensors - Modules</category>                        <dc:creator>tinkerman</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/sensors-modules/joystick-range-slack/#post-48221</guid>
                    </item>
				                    <item>
                        <title>RE: Joystick range - slack</title>
                        <link>https://forum.dronebotworkshop.com/sensors-modules/joystick-range-slack/#post-48219</link>
                        <pubDate>Thu, 27 Jun 2024 21:55:17 +0000</pubDate>
                        <description><![CDATA[@tinkerman If it&#039;s a generic stick as opposed to say a Microsoft then I would suspect build quality. Here is a Msft Sidewinder for comparison.]]></description>
                        <content:encoded><![CDATA[<p>@<span>tinkerman If it's a generic stick as opposed to say a Microsoft then I would suspect build quality. Here is a Msft Sidewinder for comparison.</span></p>
<p><a href="https://amz.run/9IhX" target="_blank" rel="noopener">https://amz.run/9IhX</a></p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/sensors-modules/">I/O Devices - Sensors - Modules</category>                        <dc:creator>Ron</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/sensors-modules/joystick-range-slack/#post-48219</guid>
                    </item>
				                    <item>
                        <title>RE: Joystick range - slack</title>
                        <link>https://forum.dronebotworkshop.com/sensors-modules/joystick-range-slack/#post-48218</link>
                        <pubDate>Thu, 27 Jun 2024 21:49:51 +0000</pubDate>
                        <description><![CDATA[Hi @tinkerman,
  Sorry, I don&#039;t have any experience of commercial joysticks, but as @will has mentioned, they usually use a potentiometer, and any of the mechanical defects mentioned sound ...]]></description>
                        <content:encoded><![CDATA[<p>Hi @tinkerman,</p>
<p>  Sorry, I don't have any experience of commercial joysticks, but as @will has mentioned, they usually use a potentiometer, and any of the mechanical defects mentioned sound feasible.</p>
<p>However, if it were mine, as a kind of cross-check, I would start with using a multimeter to measure the voltage that the joystick is sending to the processor changes smoothly over the whole range of movement of the stick, and that all of those voltages are within the range of the analogue-to-digital converter.</p>
<p>Remember, analogRead, does not 'actually' measure resistance, but voltage, so this is using the meter to directly display the voltage that analogRead is 'seeing'.</p>
<p>In particular, if the processor is a 3.3V, make sure the energising voltage provided to the joystick is not 5V. </p>
<p>https://www.arduino.cc/reference/en/language/functions/analog-io/analogread/ lists the Arduino processors that are 3.3V, with other boards like Raspberry Pi Pico, ESP32, ESP8266, also being 3.3V processors.</p>
<p>Note, this is only a 'last chance saloon' check, but it might give you a little more insight into what is happening, and how to fix it.</p>
<p>Best wishes, Dave</p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/sensors-modules/">I/O Devices - Sensors - Modules</category>                        <dc:creator>DaveE</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/sensors-modules/joystick-range-slack/#post-48218</guid>
                    </item>
				                    <item>
                        <title>RE: Joystick range - slack</title>
                        <link>https://forum.dronebotworkshop.com/sensors-modules/joystick-range-slack/#post-48217</link>
                        <pubDate>Thu, 27 Jun 2024 21:12:16 +0000</pubDate>
                        <description><![CDATA[Probably, but it may be poor construction of the joystick itself (was it a cheap product ?).
There are several alternatives, all unpleasant. You can a) try a higher quality (cost) joystick;...]]></description>
                        <content:encoded><![CDATA[
<p>Working on a project where I use joysticks to control the direction and speed of a motor.  While writing the code I noticed that the joystick meets it's maximum range values before it reaches its' maximum throw.</p>
<p>It this due to the quality of the joystick?</p>
<p></p>
<p>Probably, but it may be poor construction of the joystick itself (was it a cheap product ?).</p>
<p>There are several alternatives, all unpleasant. You can a) try a higher quality (cost) joystick; b) glue a barrier onto your existing joystick so that the travel and potentiometer match, c) make a do-it-yourself joystick with a potentiometer, d) try taking the joystick apart and carefully repositioning the built-in pot. That last method might work if the stick seems to give a reading before it's moved and stops changing before it finishes. Such behaviour indicates that the pot is mis-aligned.</p>
<p>Using analogRead doesn't matter, it's just reading the effective resistance of the pot and has absolutely nothing to do with the relative positioning of the joystick lever. So its not causing a problem and can't be used to correct the joystick.</p>
<p> </p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/sensors-modules/">I/O Devices - Sensors - Modules</category>                        <dc:creator>Will</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/sensors-modules/joystick-range-slack/#post-48217</guid>
                    </item>
							        </channel>
        </rss>
		