»óÇ°Ä«Å×°í¸® > ¼¾¼­ > Á¶À̽ºÆ½

¾ÆµÎÀÌ³ë °ÔÀÓ Á¶À̽ºÆ½ ½¯µå (Game JoyStick Shield)
ÆǸŰ¡°Ý : 2,900¿ø (ºÎ°¡¼¼ Æ÷ÇÔ)
»óÇ°ÄÚµå : [11267]MIZ-MINGSHIELD-ZAS
¹è¼ÛÀÏ : ´çÀϹ߼Û
Á¦Á¶»ç : OEM
³²Àº¼ö·® : 10°³
±¸¸Å¼ö·® :
°³
ÃÑ ±Ý¾× :
Ãß°¡&´ë·®±¸¸Å ¿äû 053-588-4080

  • »óÇ°»ó¼¼
  • °ü·Ã»óÇ°
  • ¹è¼Û/±³È¯/¹ÝÇ° ¾È³»
  • »óÇ°¸®ºä

¼Ò°³ (Introduction) :


º» Á¦Ç°Àº ¾ÆµÎÀÌ³ë º¸µå¿¡ ÀûÃþÇؼ­ »ç¿ëÇÏ¸é ½¯µå·Î, Á¶À̽ºÆ½°ú ÅÃÆ® ½ºÀ§Ä¡°¡ ÀåÂøµÇ¾î ÀÖÀ¸¸ç, nRF24L01 ¹× Nokia 5110 LCD¸¦ ¿¬°áÇÒ ¼ö ÀÖ½À´Ï´Ù.


Ư¡ (Features) :

  • A, B, C, DÀÇ ¹æÇâ ¹öÆ°°ú, E, FÀÇ ÅÃÆ® ½ºÀ§Ä¡, Á¶À̽ºÆ½ÀÇ ´­¸²À» È®ÀÎÇÏ´Â z¹öÆ°À¸·Î ÃÑ 7°³ÀÇ ¹öÆ°ÀÌ ÀÖ½À´Ï´Ù.

  • Nokia 5110 LCD, nRF24L01 ¸ðµâÀ» ¿¬°áÇÒ ¼ö ÀÖ´Â ÇÉÇì´õ°¡ ÀåÂøµÇ¾î ÀÖ½À´Ï´Ù.
    3.3V¿¡¼­ °ú´Ù Àü·ù¸¦ »ç¿ëÇÏ¸é ¾ÆµÎÀÌ³ë º¸µå¿¡ ¼Õ»óÀÌ °¥ ¼ö ÀÖÀ¸¹Ç·Î
    Nokia 5110 LCD¸¦ ¿¬°áÇؼ­ »ç¿ëÇÒ ¶§´Â ¿ÜºÎ Àü¿øÀ» »ç¿ëÇÏ´Â °ÍÀ» ±ÇÀåÇÕ´Ï´Ù.



»ç¾ç (Specification) :

  • Å©±â : 53mm x 87mm


±¸¼ºÇ° (Component) :

  • ¾ÆµÎÀÌ³ë °ÔÀÓ Á¶À̽ºÆ½ ½¯µå x 1



ÇÁ·Î±×·¥ ÄÚµå ¿¹Á¦ (Program Example) :


int up_button = 2;
int down_button = 4;
int left_button = 5;
int right_button = 3;
int start_button = 6;
int select_button = 7;
int joystick_button = 8;
int joystick_axis_x = A0;
int joystick_axis_y = A1;
int buttons[] = {up_button, down_button, left_button, right_button, start_button, select_button, joystick_button};


void setup() {
  for (int i; i < 7; i++) {
   pinMode(buttons[i], INPUT);
   digitalWrite(buttons[i], HIGH);
  }
  Serial.begin(9600);
}

void loop() {
  Serial.print("UP = "),Serial.print(digitalRead(up_button)),Serial.print("\t");
  Serial.print("DOWN = "),Serial.print(digitalRead(down_button)),Serial.print("\t");
  Serial.print("LEFT = "),Serial.print(digitalRead(left_button)),Serial.print("\t");
  Serial.print("RIGHT = "),Serial.print(digitalRead(right_button)),Serial.print("\t");
  Serial.print("START = "),Serial.print(digitalRead(start_button)),Serial.print("\t");
  Serial.print("SELECT = "),Serial.print(digitalRead(select_button)),Serial.print("\t");
  Serial.print("ANALOG = "),Serial.print(digitalRead(joystick_button)),Serial.print("\t");
  Serial.print("X = "),Serial.print(map(analogRead(joystick_axis_x), 0, 1000, -1, 1));Serial.print("\t");
  Serial.print("Y = "),Serial.print(map(analogRead(joystick_axis_y), 0, 1000, -1, 1));Serial.print("\n");  
  Serial.print("X = "),Serial.print(analogRead(joystick_axis_x));Serial.print("\t");
  Serial.print("Y = "),Serial.print(analogRead(joystick_axis_y));Serial.print("\n");  
  delay(100);
 }


Âü°íÀÚ·á (noted items) :

  • ¸ÞÄ«¼Ö·ç¼Ç Ä¿¹Â´ÏƼ Mechasolution Blog´Â ´Ù¾çÇÑ Á¤º¸¸¦ Á¦°øÇÕ´Ï´Ù.


¸ÞÄ«¸®¿öÁî






°ßÀû¿äû
±¸¸Å´ëÇà
Äü/¹æ¹®¼ö·É
ÈĺҰáÁ¦
±â¼ú¹®ÀÇ