Joystick Module

(113 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. Pycwdb

    atorvastatin 40mg drug order lipitor 40mg online atorvastatin 80mg cost

  2. Lbommx

    buy cipro paypal – order baycip sale purchase amoxiclav without prescription

  3. Efrsbn

    buy cipro sale – cheap septra clavulanate where to buy

  4. Vhpxxx

    order ciplox 500mg pill – buy doryx tablets order generic erythromycin 250mg

  5. Cwaxlp

    flagyl 400mg without prescription – buy cefaclor 500mg generic buy cheap generic azithromycin

  6. Olwwzp

    ivermectin oral – buy cefixime online sumycin 250mg brand

  7. Ojgsur

    buy valacyclovir generic – order mebendazole 100mg acyclovir 400mg usa

  8. Cqschn

    acillin usa order amoxil amoxicillin over the counter

  9. Lpppbb

    flagyl 400mg over the counter – order cefaclor generic where can i buy zithromax

  10. Zsigit

    furosemide pills – order capoten 25mg pill buy captopril online

  11. Amiyqf

    cost glycomet 500mg – buy lincomycin cheap lincocin 500mg ca

  12. Fdzprl

    buy generic retrovir over the counter – allopurinol 100mg generic buy generic zyloprim

  13. Quyjue

    clozaril over the counter – cheap altace pepcid 40mg brand

  14. Ucrrsg

    buy quetiapine sale – oral eskalith cheap eskalith

  15. Tkrvfo

    buy clomipramine 50mg – celexa cost brand doxepin

  16. Gxumtf

    atarax 25mg price – escitalopram 10mg canada order endep online

  17. Saxfks

    buy generic augmentin for sale – buy generic bactrim buy generic ciprofloxacin for sale

  18. Kphuop

    amoxil medication – buy cheap amoxicillin cipro 500mg tablet

  19. Yniehd

    buy cheap generic zithromax – ciprofloxacin price purchase ciprofloxacin generic

  20. Qbwfzh

    order cleocin online cheap – buy doxycycline sale chloromycetin tablets

  21. Ntnemm

    stromectol coupon – order eryc pill buy cefaclor 500mg without prescription

  22. Trurye

    buy medrol 16 mg – buy generic fluorometholone for sale azelastine 10ml usa

  23. Mauapp

    desloratadine oral – buy zaditor without prescription strongest over the counter asthma

  24. Lblzuk

    micronase medication – order micronase 2.5mg generic order dapagliflozin 10mg without prescription

  25. Oyunhh

    glucophage medication – order losartan 25mg online buy precose 25mg generic

  26. Ebsolh

    where can i buy repaglinide – order prandin 2mg online empagliflozin 25mg pills

  27. Uvaasf

    order rybelsus 14 mg sale – buy glucovance no prescription DDAVP usa

  28. Cprvmo

    order lamisil online – terbinafine buy online order grifulvin v for sale

  29. Bqzbgi

    ketoconazole medication – where can i buy lotrisone sporanox for sale online

  30. Stoxkl

    buy generic famciclovir online – buy valcivir 500mg sale order valaciclovir 1000mg online cheap

  31. Ylufvy

    metoprolol medication – losartan 50mg sale adalat pill

  32. Hwulwy

    hydrochlorothiazide medication – zebeta pill buy zebeta 10mg generic

  33. Aidsxd

    purchase nitroglycerin sale – order generic catapres cost diovan 160mg

  34. Vtxkbv

    simvastatin astonishment – simvastatin couple lipitor unpleasant

  35. Ptqtgo

    crestor pills grunt – pravachol buy run caduet buy afternoon

  36. Bpvuak

    viagra professional online goose – malegra principle levitra oral jelly mass

  37. Ysbuvc

    priligy anything – cialis with dapoxetine veil cialis with dapoxetine maid

  38. Iumtfq

    cenforce online latter – brand viagra cake

  39. Nlmjhe

    brand cialis individual – penisole icy penisole excuse

  40. Mqloll

    cialis soft tabs online week – viagra super active fro viagra oral jelly anger

  41. Aeiyzv

    brand cialis hasty – forzest before penisole grin

  42. Xmzuxz

    cialis soft tabs online precious – caverta online quiver viagra oral jelly accurate

  43. Oacudp

    acne treatment smooth – acne treatment passage acne medication midnight

  44. Miqrop

    inhalers for asthma operation – inhalers for asthma clothe asthma treatment counsel

  45. Amcvan

    uti antibiotics guest – uti treatment handful uti antibiotics bar

  46. Ndbiwi

    prostatitis treatment spear – pills for treat prostatitis kitchen pills for treat prostatitis distract

  47. Mnugmj

    valacyclovir pills experiment – valacyclovir pills range valacyclovir online horizon

  48. Xunzmr

    loratadine medication child – claritin pills wipe claritin pills desk

  49. Ucuwrm

    priligy bid – dapoxetine miss priligy farther

  50. Ignyae

    claritin pills step – loratadine event loratadine medication reason

  51. Wmalzh

    ascorbic acid shiver – ascorbic acid case ascorbic acid stony

  52. Muptsd

    promethazine slam – promethazine stir promethazine fork

  53. Cuaqil

    clarithromycin defeat – ranitidine grand cytotec drink

  54. Rgffsi

    florinef pills desert – protonix grace lansoprazole pills delicate

  55. Zsepqm

    order aciphex for sale – purchase metoclopramide online cheap order generic domperidone 10mg

  56. Xhiynq

    order bisacodyl 5mg generic – purchase dulcolax without prescription liv52 buy online

  57. Izchgt

    buy bactrim 480mg – where can i buy bactrim buy tobrex 10mg online

  58. Bbaavp

    buy eukroma without a prescription – desogestrel 0.075 mg us buy generic duphaston 10mg

  59. Sfvfnq

    forxiga canada – order acarbose 25mg without prescription acarbose 25mg price

  60. Angjxn

    order fulvicin online cheap – order fulvicin 250 mg gemfibrozil 300 mg tablet

  61. Dxrjoa

    cost dimenhydrinate 50 mg – prasugrel 10 mg uk buy actonel pills

  62. Hkzewx

    buy enalapril pills – order enalapril 5mg latanoprost where to buy

  63. Syhpxt

    monograph pills – order etodolac 600mg sale buy pletal 100mg sale

  64. Epkjrz

    purchase piroxicam for sale – order generic piroxicam 20 mg buy generic rivastigmine online

  65. Mxenrd

    buy nootropil 800 mg generic – sinemet 10mg drug generic sinemet 20mg

  66. Jwvhhv

    generic hydrea – purchase trecator sc online order robaxin 500mg generic

  67. Qfskjr

    buy divalproex pills for sale – order depakote 500mg pills topamax 100mg usa

  68. Izvhbt

    buy disopyramide phosphate without a prescription – norpace over the counter purchase chlorpromazine sale

  69. lalosoila

    Adverse effects of chronic circadian desynchronization in animals in a challenging environment cialis for sale online

  70. Vdxsbw

    generic spironolactone – order aldactone 25mg generic cheap revia 50 mg

  71. Afksof

    where can i buy cytoxan – trimetazidine drug buy cheap trimetazidine

  72. Kfrusj

    purchase cyclobenzaprine – buy prasugrel 10mg online vasotec medication

  73. Vfndoz

    cheap zofran 4mg – order selegiline pills order ropinirole pills

  74. Qlfrdu

    order ascorbic acid 500mg pills – buy bromhexine online cheap compro medication

  75. Ejqxsq

    where can i buy durex gel – order cheap durex condoms order latanoprost

  76. Mjkaar

    cheap minoxidil sale – generic minoxidil order propecia 1mg pills

  77. Eirqdw

    buy arava pill – order actonel 35mg sale buy cartidin online

  78. Wdpabq

    verapamil 240mg over the counter – calan order online order tenoretic pills

  79. Lvygrs

    order tenormin – order atenolol 50mg pills order coreg 6.25mg sale

  80. Ccalqy

    buy cheap atorvastatin – order bystolic 5mg pill how to get nebivolol without a prescription

  81. Tajufs

    buy gasex online cheap – buy diabecon pills for sale diabecon usa

  82. Dfahwq

    buy lasuna – buy diarex cheap cheap himcolin online

  83. Sxzvzb

    purchase norfloxacin online cheap – order generic confido confido without prescription

  84. Awycrn

    speman tablets – himplasia online order buy fincar tablets

  85. Khlnsw

    buy finax pills for sale – order doxazosin without prescription order alfuzosin 10 mg generic

  86. Zqyswd

    hytrin canada – priligy 60mg us how to buy priligy

  87. Bnzsbm

    order oxcarbazepine 600mg online – buy synthroid buy synthroid sale

  88. Vnezvp

    buy cyclosporine without prescription – buy methotrexate no prescription gloperba where to buy

  89. Qwxisz

    duphalac generic – buy betahistine 16mg generic cheap betahistine 16mg

  90. Twhcdr

    cheap deflazacort pills – calcort medication buy generic brimonidine

  91. Igfhwr

    buy gabapentin 100mg – order neurontin for sale how to get azulfidine without a prescription

  92. Bgbiwm

    besivance drug – order carbocisteine generic sildamax tablets

  93. Tkdxuj

    generic celecoxib 200mg – celecoxib 200mg sale buy generic indocin

  94. Qowbbo

    buy benemid generic – probenecid 500 mg brand tegretol cheap

  95. Fnlnev

    diclofenac 100mg drug – oral cambia order aspirin 75mg

  96. Vkdriu

    colospa 135mg over the counter – cilostazol sale pletal 100 mg price

  97. Immotssef

    priligy in usa almond cucumber differin restorative night moisturizer reviews Mastro s loose lips ultimately helped the feds pursue their case, according to a source familiar with the case

  98. Eiauyn

    mestinon 60 mg price – buy sumatriptan generic buy azathioprine 25mg pills

  99. Eezvrd

    buy rumalaya cheap – where can i buy shallaki amitriptyline 50mg over the counter

  100. Qgjwka

    ozobax oral – piroxicam uk piroxicam online order

  101. Mkogio

    voveran usa – nimodipine tablets buy nimodipine no prescription

  102. Tgeasz

    periactin 4mg usa – buy cyproheptadine 4mg for sale purchase tizanidine generic

  103. Xbdxhr

    buy mobic 7.5mg – order maxalt 10mg online ketorolac us

  104. Gftsdd

    brand cefdinir 300mg – buy cefdinir 300 mg cleocin without prescription

  105. Eqkzrz

    cheap trihexyphenidyl without prescription – purchase artane sale purchase voltaren gel online cheap

  106. Veljsu

    deltasone 40mg price – buy permethrin cream for sale generic permethrin

  107. Ytjtjh

    isotretinoin medication – buy deltasone 40mg pill generic deltasone

  108. Pmmdsk

    betnovate oral – adapalene uk monobenzone us

  109. Rgqmlz

    order acticin – buy generic tretinoin over the counter purchase retin

  110. Jpvhml

    flagyl 200mg over the counter – flagyl 200mg brand cenforce order online

  111. Nddkuw

    amoxiclav us – augmentin 375mg cost order levoxyl pill

  112. Ibzerm

    order cozaar – order losartan generic buy cephalexin 125mg sale

  113. Wtnxyk

    clindamycin uk – buy clindamycin pills for sale indocin 75mg brand

Add a review

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