Joystick Module

(98 customer reviews)

$10.50

5 in stock

Description

Analog joysticks are a great way to add some control in your projects. The module has 5 pins: Vcc, Ground, X, Y, Key. The thumbstick is analog and should provide more accurate readings than simple ‘directional’ joysticks tat use some forms of buttons, or mechanical switches. Additionally, you can press the joystick down to activate a ‘press to select’ push-button.

Joystick Module Code


/* SETUP

Joystick        Arduino
GND       -     GND
+5V       -     5V
VRx       -     A0
VRy       -     A1
SW        -     D2
*/
 
// Arduino pin numbers
const int SW_pin = 2; // digital pin connected to switch output
const int X_pin = 0; // analog pin connected to X output
const int Y_pin = 1; // analog pin connected to Y output
 
void setup() {
  pinMode(SW_pin, INPUT);
  digitalWrite(SW_pin, HIGH);
  Serial.begin(115200);
}
 
void loop() {
  Serial.print("Switch:  ");
  Serial.print(digitalRead(SW_pin));
  Serial.print("\n");
  Serial.print("X-axis: ");
  Serial.print(analogRead(X_pin));
  Serial.print("\n");
  Serial.print("Y-axis: ");
  Serial.println(analogRead(Y_pin));
  Serial.print("\n\n");
  delay(200);
}

 

Additional information

Weight 0.012 kg
  1. Vmvmvs –

    order dostinex 0.25mg – buy generic cabgolin online order alesse sale

  2. Grobend –

    Similarly, neurons in the lateral nucleus i priligy amazon uk

  3. Wlfmpy –

    正規品プレドニン錠の正しい処方 – г‚ўгѓўг‚­г‚·гѓ« жµ·е¤–йЂљиІ© アジスロマイシン жµ·е¤–йЂљиІ©

  4. Fdypch –

    正規品シルデナフィル錠の正しい処方 – г‚їгѓЂгѓ©гѓ•г‚Јгѓ«гЃ®йЈІгЃїж–№гЃЁеЉ№жћњ г‚їгѓЂгѓ©гѓ•г‚Јгѓ« е‰ЇдЅњз”Ё

  5. Ytdape –

    гѓ—гѓ¬гѓ‰гѓ‹гѓійЊ  5 mg еј·гЃ• – アキュテイン通販 正規品アキュテイン錠の正しい処方

  6. cytotec online –

    html losartana potssica 100mg hidroclorotiazida 25mg Without the silly bike rack strapped to the back, the new 4 Series looks very good indeed how to buy cytotec without prescription

  7. order generic cytotec pill –

    For anyone that has had trouble getting pregnant I never did until we were trying this time, GET THIS TEA cytotec 200 Many researchers have emphasized that the duration of antibiotic therapy should be based on the patient s individual condition and the extent of the lesions 4, 5, 15

  8. Stxkvp –

    eriacta snap – sildigra everybody forzest frank

  9. Uanvip –

    valif pills scowl – oral sinemet 10mg cheap sinemet

  10. Klsaqp –

    valif bounce – secnidazole uk buy sinemet no prescription

  11. Svqkkx –

    crixivan over the counter – finasteride cheap order cheap emulgel

  12. Eijuch –

    phenergan pills – promethazine sale buy lincocin for sale

  13. Nwrkcs –

    order modafinil pills – order cefadroxil 250mg combivir order online

  14. Eayoem –

    stromectol tablets buy online – order tegretol 200mg online cheap carbamazepine price

  15. Wzjqws –

    buy deltasone 40mg generic – nateglinide drug order capoten 25 mg pills

  16. Hfnpdz –

    buy cheap prednisone – nateglinide usa buy captopril 25mg generic

  17. Rjvysn –

    cost isotretinoin 40mg – how to get zyvox without a prescription buy linezolid 600mg online cheap

  18. Stlvye –

    buy amoxil tablets – combivent 100 mcg uk combivent pills

  19. Vvjamf –

    purchase zithromax sale – where can i buy azithromycin nebivolol 5mg for sale

  20. Williemae –

    Greaat info. Lucky mme I camke across our blog bby chance (stumbleupon).
    I have bookmarked itt forr later!

    Check out mmy wweb page – javsafari.com

  21. Katherina –

    Article writing is also a fun, iff you bbe acquainted with thuen you ccan write otherwise it is difficult to write.

    Here is myy site … xxxkernel.com

  22. Zjuqex –

    order prednisolone 10mg generic – buy progesterone no prescription buy progesterone online cheap

  23. Cbyvzh –

    buy neurontin 600mg pills – neurontin 800mg canada itraconazole 100mg cost

  24. Fzmlbz –

    generic lasix 40mg – nootropil sale order betamethasone 20 gm creams

  25. Cycqej –

    clavulanate for sale – buy nizoral 200 mg generic buy cymbalta

  26. Vzbxka –

    doxycycline usa – ventolin inhalator medication glipizide drug

  27. Hcwhcs –

    buy augmentin 375mg pill – how to get augmentin without a prescription cymbalta for sale

  28. Binarl –

    semaglutide us – semaglutide 14mg price periactin 4mg price

  29. Xwspvk –

    tizanidine online – order microzide 25 mg sale brand microzide 25 mg

  30. Gkauyy –

    generic tadalafil – tadalafil 40mg generic oral viagra 100mg

  31. Rkeegu –

    viagra 50mg ca – purchase viagra generic tadalafil 40mg canada

  32. Pgjrju –

    buy lipitor 80mg – order zestril 5mg lisinopril 2.5mg pills

  33. Rlgwat –

    buy generic cenforce over the counter – generic aralen 250mg glucophage 1000mg generic

  34. Nyzvqv –

    order prilosec generic – metoprolol order online order tenormin without prescription

  35. Npsikq –

    depo-medrol pill – lyrica 150mg without prescription order aristocort 4mg online cheap

  36. Jtwdvl –

    cost desloratadine 5mg – buy priligy 60mg pill priligy 90mg tablet

  37. Zhjpox –

    generic misoprostol – diltiazem 180mg ca diltiazem ca

  38. Tmvoap –

    cheap zovirax – buy crestor 10mg online cheap rosuvastatin uk

  39. Isbfia –

    purchase domperidone without prescription – tetracycline us cyclobenzaprine brand

  40. Hnpeyb –

    buy motilium 10mg for sale – purchase tetracycline flexeril medication

  41. Nrwsgp –

    buy warfarin 2mg online cheap – reglan 20mg pill losartan 50mg us

  42. Ytrinu –

    oral levaquin – oral zantac buy generic zantac 150mg

  43. Frzrpt –

    order nexium 20mg – order sumatriptan 50mg without prescription sumatriptan order

  44. Cdvcfe –

    cost meloxicam 15mg – celecoxib order order tamsulosin 0.4mg without prescription

  45. Basil –

    I’m gone to tell my little brother, that he should also visit this
    weblog on regular basis to take updated from hottest gossip.

    Look into my website … nordvpn coupons inspiresensation

  46. Emelia –

    I think the admin of this web site is really working hard
    for his web site, as here every material is quality based information.

    Have a look at my blog – nordvpn coupons inspiresensation

  47. Geoffrey –

    Hi there, just became aware of your blog through Google,
    and found that it is really informative. I am going to watch out
    for brussels. I’ll be grateful if you continue this in future.
    Numerous people will be benefited from your writing.
    Cheers!

    Look at my web blog: nordvpn coupons Inspiresensation (shorter.me)

  48. Pat –

    350fairfax nordvpn cashback
    Highly energetic blog, I liked that bit. Will there be
    a part 2?

  49. 98bf8 –

    provigil 200mg oral modafinil where to buy order provigil 200mg sale buy generic provigil over the counter provigil for sale order modafinil 200mg sale modafinil 100mg drug

  50. cialis tablet –

    This is the big-hearted of criticism I in fact appreciate.

  51. buy generic flagyl over the counter –

    More posts like this would persuade the online elbow-room more useful.

  52. xa7hx –

    order zithromax 500mg online – flagyl 200mg pill order metronidazole 200mg pill

  53. ncesx –

    buy generic domperidone – tetracycline 250mg usa brand flexeril 15mg

  54. rz68w –

    cost propranolol – buy plavix paypal order methotrexate 5mg generic

  55. ai4f8 –

    purchase amoxicillin sale – ipratropium 100mcg oral ipratropium 100 mcg without prescription

  56. 41hm6 –

    zithromax 500mg oral – purchase azithromycin online cheap buy nebivolol 5mg generic

  57. trr7w –

    buy generic augmentin 1000mg – https://atbioinfo.com/ buy acillin generic

  58. dz41c –

    nexium uk – https://anexamate.com/ order esomeprazole 40mg online

  59. cyd7i –

    meloxicam without prescription – https://moboxsin.com/ purchase meloxicam sale

  60. d3926 –

    prednisone brand – https://apreplson.com/ deltasone price

  61. 004e1 –

    buy ed pill – buy ed pills online erection problems

  62. dmi6c –

    brand amoxicillin – combamoxi how to get amoxil without a prescription

  63. 388wy –

    where can i buy diflucan – buy fluconazole tablets buy generic fluconazole

  64. b0yjw –

    order cenforce 100mg sale – cenforce 100mg pills buy cenforce sale

  65. 4vktr –

    side effects cialis – fast ciltad what are the side effects of cialis

  66. b6cy8 –

    tadalafil buy online canada – on this site what is cialis taken for

  67. Connierab –

    Greetings! Utter serviceable recommendation within this article! It’s the little changes which wish turn the largest changes. Thanks a lot in the direction of sharing! https://gnolvade.com/

  68. j1lqe –

    cheap viagra no prescription needed – strongvpls viagra 50mg buy

  69. Connierab –

    Thanks recompense sharing. It’s first quality. https://ursxdol.com/augmentin-amoxiclav-pill/

  70. zirgj –

    With thanks. Loads of expertise! online

  71. Connierab –

    More posts like this would make the online play more useful. https://ondactone.com/spironolactone/

  72. Akilah –

    Can you tell us more about this? I’d love to find out some additional information.

    Here is my web page – vpn

  73. Jenni –

    Hey there! I’ve been following your website for a long
    time now and finally got the courage to go
    ahead and give you a shout out from Houston Texas!
    Just wanted to say keep up the excellent work!

    Here is my site: what does vpn do

  74. Connierab –

    This is the kind of literature I rightly appreciate.
    https://doxycyclinege.com/pro/dutasteride/

  75. Connierab –

  76. Connierab –

    dapagliflozin 10 mg uk – this buy forxiga 10mg generic

  77. Connierab –

    This is the stripe of content I enjoy reading. https://www.forum-joyingauto.com/member.php?action=profile&uid=49480

  78. bb slots –

    Thanks for sharing. It’s acme quality.

  79. Bsvwyn –

    betmgm Texas betmgm-play betmgm NE

  80. Qrkybm –

    Feel the heartbeat of high-energy casino action. In crowncoins, instant win games deliver quick thrills. Pulse with excitement now!

  81. Wuugey –

    Sweet Bonanza is pure sugar-fueled excitement from Pragmatic Play. Pay-anywhere sweet bonanza max win wins and free spins with multipliers await. Jump in now!

  82. Zdltqq –

    In hardcore mode, every step forward boosts your multiplier dramatically — but one wrong move ends it all! Enjoy provably fair gameplay, flexible bets from $0.01, and the chance for enormous payouts. Test your timing and nerves right now!

  83. Pepowt –

    Thunder across the reels to jackpot paradise. buffalo gold collection free play features wild multipliers, free spin stampedes, and gold collection frenzy. Win wild!

  84. Nqiwfi –

    Chumba Casino delivers daily excitement and real cash redemptions. Get your free chumba casino free play welcome bonus and play the best slots online. The wins are waiting!

  85. Avgmrc –

    luckyland slots redeem cash brings the casino magic home! New players get 7,777 Gold Coins plus 10 free Sweeps Coins. Play top slots and turn Sweeps into actual prizes!

  86. Ohryqo –

    stake mobile Originals are — Crash, Plinko, Mines, Dice and more. Combine them with the best slots and live dealers online. Your next big win is one click away.

  87. Zkufvq –

    The best online casino experience is at betmgm roulette. New users enjoy up to $1,000 bonus cash and $25 On The House. Play responsibly and win big every day.

  88. Nboeij –

    DraftKings roulette Casino—your winning headquarters. Get 500 Cash Eruption spins after $5 bet + up to $1K back if needed. Level up!

  89. Pubiup –

    Usetrete stovky az tisice korun na sve pravidelne lecbe
    opravdovalekarna.cz

  90. Lgfnlb –

    Upon the millions enchanting momentous on fanduel casino North Dakota – the #1 natural pelf casino app in America.
    Respite c start your $1000 OPERATE IT AGAIN gratuity and deny b decrease every make up, hand and rotate into bona fide readies rewards.
    Permanent =’pretty damned quick’ payouts, gigantic jackpots, and continuous fight – download FanDuel Casino any longer and start playing like a pro today!

  91. Tjwkao –

    FanDuel Casino is America’s #1 online casino, delivering unhesitating thrills with ignition casino crypto , restricted slots like Huff N’ Huff, and actual retailer force right at your fingertips. Brand-new players stir 500 Bonus Spins supplementary $40 in Casino Perk just for the purpose depositing $10—bonus up to $1,000 back on first-day screen losses. Province all Thrillionaires: accompany at present, operate your nature, and drive every interest into epic wins!

  92. Nxmqof –

    Vivi il gaming di prossima generazione su Betano Casino https://betanogame.org/it/. Sblocca subito €500 di bonus più 200 giri gratis. Dai classici preferiti ai nuovi lanci, la scelta è tua. Inizia a vincere.

  93. Vlyvbg –

    No Mostbet o seu dinheiro rende mais e as vitГіrias vГЄm mais rГЎpido – https://mostbetpt.pro/ , Mostbet – o sensacional cassino online com 100% de bГґnus + 325 giros de graГ§a .

  94. Дизайн человека –

    You can certainly see your expertise in the article you write.
    The sector hopes for even more passionate writers like you who are not afraid to say how
    they believe. At all times follow your heart. http://8ua.ru/9mRygbQP/

  95. Дизайн человека –

    You can definitely see your skills within the article you write.

    The world hopes for even more passionate writers such as you who aren’t afraid to mention how they believe.
    Always go after your heart. http://dizayncheloveka1.ru/

  96. Esegye –

    The thrill never ends — and neither do the wins – https://amantadinet.com , Your glow is messing with their RGB balance .

  97. Ddeuve –

    DГ©couvrez une pharmacie moderne oГ№ votre confort est notre prioritГ© – https://kotesante.re/trouver-ma-pharmacie/ , Pharmacie dynamique avec un service client irrГ©prochable .

  98. Ngrkpq –

    Critical analysis of overdiagnosis in breast cancer screening. Risk-adapted screening protocols may optimize benefit-harm ratio. – https://schoonheid.jouwplek.nl/ , Shared decision-making tools improve patient satisfaction and reduce decisional regret. .

Add a review

Your email address will not be published. Required fields are marked *