HOME > »óÇ°Èıâ
»óÇ°ºÐ·ù
°Ë»ö¾î
¹øÈ£ À̹ÌÁö »óÇ°¸í/Èıâ ÀÛ¼ºÀÚ ÀÛ¼ºÀÏ ÆòÁ¡
189
MPU-6050 3Ãà ÀÚÀÌ·Î ¼¾¼­ + GY521 3Ãà °¡¼Óµµ ¼¾¼­
yaw ¼öÄ¡ º¯È­ ÀÌ»ó Áú¹®
¼ÛÁغÀ 2013-06-04 ¡Ú¡Ú¡Ú
¾È³çÇϼ¼¿ä
¾ó¸¶Àü¿¡ ÀÌ Á¦Ç° µÎ°³¸¦ ±¸¸ÅÇؼ­ »ç¿ëÇØ º¸°í Àִµ¥
https://github.com/jrowberg/i2cdevlib/tree/master/Arduino/MPU6050
ÀÇ ¼Ò½º¸¦ »ç¿ëÇؼ­ ¾ÆµÎÀ̳ë¿Í ¿¬µ¿ÇÏ°í ÀÖ½À´Ï´Ù

±×·±µ¥ µÎ º¸µå°¡ ¸ðµÎ yaw (euler angle·Î´Â x) °ªÀÌ Á» ÀÌ»óÇÏ°Ô ³ª¿É´Ï´Ù
1. ÇϳªÀÇ º¸µå´Â ƯÁ¤ °¢µµ¿¡¼­ ¿òÁ÷¿©µµ °ªÀÌ °ÅÀÇ º¯°æµÇÁö ¾ÊÀ½
(°¡²û¾¿ pitch¿Í roll À» º¯°æ½ÃÅ°¸é ¾à°£ ¿òÁ÷ÀÓ)
2. ³ª¸ÓÁö ÇϳªÀÇ º¸µå´Â °è¼Ó °°Àº ¹æÇâÀ¸·Î µ¹¾Æ°¨ (¿òÁ÷ÀÓ¿¡ °ü°è¾øÀÌ)

³ª¸ÓÁö roll À̳ª pitch´Â Àß ÃøÁ¤ÀÌ µÇ´Âµ¥
º¸µåÀÇ ¹®Á¦ÀÎÁö ¾Æ´Ï¸é ¹º°¡ calibration°°Àº°Ô ÇÊ¿äÇÑÁö ±Ã±ÝÇÕ´Ï´Ù

youtube µî¿¡¼­ µ¿ÀÏÇÑ ¼Ò½º·Î ±¸ÇöµÈ ¸¹Àº ¿µ»óµéÀÌ Àִµ¥
yaw ºÎºÐÀÌ ÀüÇô ´Ù¸£°Ô ÇൿÇÏ¿© ¹®ÀÇ µå¸³´Ï´Ù

ÀÏ´Ü ¼Ò½ºÄÚµå´Â À§¿¡ ¾ð±ÞµÈ Äڵ忡¼­ ÀüÇô ¹Ù²ÙÁö ¾Ê°í »ç¿ëÇß½À´Ï´Ù
Ȥ½Ã ¸ÞÀÏ·Î ¿¬¶ô ÇÊ¿äÇϽøé madmoon999@naver.comÀÔ´Ï´Ù

µµ¿ò ºÎŹµå¸³´Ï´Ù¤Ð¤Ð
188
MPU-6050 3Ãà ÀÚÀÌ·Î ¼¾¼­ + GY521 3Ãà °¡¼Óµµ ¼¾¼­
´äº¯ÀÔ´Ï´Ù.
2013-06-05
°¡¼Óµµ ¼¾¼­¸¦ ÀÌ¿ëÇÏ¿© pitch¿Í rollÀ» ÁÖ·Î ±¸ÇÕ´Ï´Ù. yaw¹æÇâÀÇ °¡¼Óµµ´Â ¼¾¼­°¡ Áö¸é¿¡ ¼öÆòÀ¸·Î ÀÖÀ» ¶§´Â °ÅÀÇ º¯ÇÏÁö ¾Ê´Â °ÍÀÌ ÀÌ»óÀûÀÔ´Ï´Ù. x, yÃàÀ» Áö¸é°ú °¢À» ÀÌ·ç°Ô µÇ¸é yaw¹æÇâÀÇ °¡¼Óµµ°ªÀº ±×¿¡ µû¶ó º¯ÇÏ°Ô µË´Ï´Ù. ¿©±â¼­ÀÇ °¡¼Óµµ´Â Á߷°¡¼Óµµ¿¡ ´ëÇÑ »ó´ëÀû °¡¼ÓµµÀÔ´Ï´Ù.

¸¸¾à, °¡¼Óµµ°ªÀ» ÀÌ¿ëÇÏ¿© ¸ð´ÏÅÍ»óÀÇ Å¥ºê¸¦ ȸÀü½ÃÅ°½Å´Ù¸é ƯÁ¤ °¢µµ¿¡¼­ ¸ÍÁ¡ÀÌ »ý±â´Â Á¡Àº ¾Ë°í °è½Ã¸®¶ó »ý°¢µË´Ï´Ù. ÆØÀÌ°¡ µµ´Â °Í°ú °°Àº ȸÀüÀº °¡¼Óµµ ¼¾¼­¸¦ ÀÌ¿ëÇÏ¿© ±× °¢À» ÃßÃâÇÒ ¼ö ¾øÀ¸¸ç ÀÌ´Â ÀÚÀ̷θ¦ ¼öÄ¡ÀûºÐÇÏ¿© ¾ò°Ô µÇÁÒ. ƯÁ¤ °¢µµ¿¡¼­ ¿òÁ÷¿©µµ °ªÀÌ °ÅÀÇ º¯°æµÇÁö ¾ÊÀ½À̶ó´Â ¸»¾¸¿¡ Á¶½É½º·´°Ô ¸»¾¸µå·Áº¾´Ï´Ù.

±×¸®°í, ¿òÁ÷ÀÓ¿¡ »ó°ü¾øÀÌ °è¼Ó °°Àº ¹æÇâÀ¸·Î µ¹¾Æ°£´Ù´Â °ÍÀº Á¶±Ý ÀǾÆÇϳ׿ä.
Ȥ½Ã, ±× °ªÀ» ºñµð¿À·¹ÄÚµùÇϼż­ Á¦ À̸ÞÀÏ·Î º¸³»Áֽøé È®ÀÎÇغ¸°í µµ¿òÀ» µå¸± ¼ö ÀÖÀ» °Í °°½À´Ï´Ù. roboholic84@gmail.com

°¨»çÇÕ´Ï´Ù.
187
mcu¿ÍÀÇ ¿¬°áµµ ÀúÇ×¾øÀÌ µÇ´Â°Ç°¡¿ä?
Yellow 2013-06-03 ¡Ú¡Ú¡Ú¡Ú¡Ú
ÀÌ¿ëÈı⿡ ÀÛ¼ºÇÏ¿©¼­ Á˼ÛÇÕ´Ï´Ù.
¹Ø¿¡ »óÇ°¹®ÀÇ´Â ¿¡·¯ÀÎÁö ÀÛ¼ºÀÌ ¾ÈµÇ³×¿ä.

vcc»Ó¸¸ ¾Æ´Ï¶ó,

mcuÀÇ tx¿Í ºí·çÅõ½º¸ðµâ Rx ¿ÍÀÇ ¿¬°á¿¡¼­ ±âÁ¸¿¡´Â 5vÀÇ Àü¾ÐÀ» 3.3v·Î ³·ÃçÁÖ±â À§Çؼ­ ÀúÇ×À» ´Þ¾Ò¾ú´Âµ¥¿ä ±× ºÎºÐµµ ÀúÇ×¾øÀÌ À̾ µÇ´Â°Ç°¡¿ä? ¾Æ´Ï¸é ÀúÇ×À» ´Þ¾ÆÁà¾ß Çϳª¿ä?
186
´äº¯ÀÔ´Ï´Ù.
2013-06-03
MCU°¡ 3.3V ±¸µ¿À̸é ÀúÇ×À» ´Þ¾ÆÁּŵµ µË´Ï´Ù¸¸ 5VÀÌ¸é ±×³É »ç¿ëÇÏ½Ã¸é µË´Ï´Ù.
185
HC-SR04 ÃÊÀ½ÆÄ °Å¸®¼¾¼­
¿ø·¡ ¼¾¼­¶û Á¡¤±ÇÁ¼±À̶û ¹Ù·Î¿¬°áÇÏ¸é ¾ÈµÇ´Â°Ç°¡¿ä..?
ÀåÁöÀº 2013-06-02 ¡Ú¡Ú¡Ú
ºê·¹µåº¸µå ÅëÇؼ­ ¿¬°á¾ÈÇÏ°í ¼¾¼­¶û Á¡ÇÁ¼±À̶û °°ÀÌ¿¬°áÇߴµ¥,

ÀÛµ¿ÀÌÁ¦´ë·Î¾ÈµÇ¼­ º¸´Ï±î Á¡ÇÁ¼±À̶û ¼¾¼­¶û ¿¬°áÇѺκÐÀÌ

±×À»·ÁÀֳ׿ä..

¿ø·¡ ¹Ù·Î¿¬°áÇϸé¾ÈµÇ´Â°Ç°¡¿ä??

¤Ð¤Ð...¾Æ,.,A/s ´Â ¾ÈÇØÁÖÁÒ..?
»õ·Î »ç¾ßÇÒµí..

¼ö¿ç±îÁö¿Ï¼ºÇؾßÇϴµ¥..¤Ð¤Ð¾Æ ¤Ð¤Ð
184
HC-SR04 ÃÊÀ½ÆÄ °Å¸®¼¾¼­
³×..A/S´Â ¾î·Á¿ï °Í °°½À´Ï´Ù
2013-06-02
ÀϹÝÀûÀ¸·Î Á¡ÇÁ¼±À̶û ¼¾¼­¶û °°ÀÌ ¿¬°áÇÏ¸é µÇ´Âµ¥ °úÀü·ù°¡ Èê·È°Å³ª ¼îÆ®°¡ ¹ß»ýÇß´ø °Í °°Àºµ¥¿ä.
¼¾¼­¿Í ¾ÆµÎÀ̳ë¿Í ÄÉÀ̺íÀ» ¿¬°áÇÏ½Ã¸é µË´Ï´Ù.

¾ÆµÎÀÌ³ë ¿ì³ë --- 40ÇÉ Ä¿³ØÅÍ M-F ---- ÃÊÀ½Æļ¾¼­
ÀÌ·¸°Ô ¿¬°áÇÏ½Ã¸é µÇ¿ä.

¼ö¿äÀϱîÁö ¿Ï¼ºÇÏ¿©¾ßÇÏ¸é ½Ã°£ÀÌ ¾ó¸¶ ³²Áö ¾Ê¾ÒÁö¸¸, ¿ù¿äÀϳ¯ ÀÏÂï ÁÖ¹®ÇϽøé È­¿äÀÏ Áß¿¡ ¹ÞÀ¸½Ã°í ºÎÁö·±È÷ ÇÏ½Ã¸é ¼ö¿äÀϱîÁö ¿Ï¼ºÇÏ½Ç ¼ö ÀÖÀ¸½Ç °Í °°Àºµ¥¿ä. ³¡±îÁö Æ÷±âÇÏÁö¸¶½Ã°í È­ÀÌÆà Çϼ¼¿ä~
183
°ßÀû¼­ ¿äû
seeknu 2013-05-30 ¡Ú¡Ú¡Ú¡Ú¡Ú
¾È³çÇϼ¼¿ä?

ºí·çÅõ½º hc-06 ¸ðµ¨
1X40 ÇÉÇì´õ(¾ÏÄÆŸÀÔ, 2.54mm)

±¸¸Å ¼ö·®Àº °¢ ÇÑ°³¾¿ ÀÌ°í °ßÀû¼­ ¿äû ÇÕ´Ï´Ù.

°ßÀû¼­¿¡ ±âÀç ÇϽǶ§
¼ö½ÅÀÎ: °æºÏ´ë
Á÷ÀÎÀÌ ÂïÇô ÀÖ°í
¹è¼Ûºñ°¡ Æ÷ÇÔµÈ °ßÀû¼­¸¦

seeknu@naver.comÀ¸·Î º¸³» ÁÖ½Ã¸é °¨»ç ÇÏ°Ú½À´Ï´Ù.

¼ö°íÇϼ¼¿ä.
182
´äº¯ÀÔ´Ï´Ù.
2013-06-03
À̸ÞÀÏ·Î º¸³»µå·È½À´Ï´Ù. °¨»çÇÕ´Ï´Ù.
181
¾ÆµÎÀ̳뿡 ¿¬°áÇÏ´Â ¹æ¹ýÀ» ¸ð¸£°Ú½À´Ï´Ù2
¾È¼º¿ì 2013-05-30


Á¦°¡ »ç¿ëÇÒ ¾ÆµÎÀ̳ëÀ̹ÌÁö ÀÔ´Ï´Ù
180
¾È³çÇϼ¼¿ä. ´äº¯ÀÔ´Ï´Ù.
2013-06-02
¾È³çÇϼ¼¿ä^^ Áú¹®Àº Èı⠰ԽÃÆÇÀÌ ¾Æ´Ñ ±â¼ú»ó´ã ¹× Á¦Ç° ¹®ÀÇ °Ô½ÃÆÇ¿¡ ¿Ã·ÁÁÖ½Ã¸é ´õ ºü¸¥ ´äº¯À» ±â´ëÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù. ´äº¯ÀÌ ´Ê¾îÁ®¼­ Á˼ÛÇÕ´Ï´Ù.

¾ÆµÎÀ̳ë pin8 to DIN on 8x8 LED Matrix
¾ÆµÎÀ̳ë pin9 to CS of 8x8 LED Matrix
¾ÆµÎÀ̳ë pin10 to CLK of 8x8 LED Matrix
¾ÆµÎÀ̳ë 5V to VCC of 8x8 LED Matrix
¾ÆµÎÀ̳ë GND to GND of 8x8 LED Matrix

unsigned char i;
unsigned char j;
/*Port Definitions*/
int Max7219_pinCLK = 10;
int Max7219_pinCS = 9;
int Max7219_pinDIN = 8;

unsigned char disp1[38][8]={
{0x3C,0x42,0x42,0x42,0x42,0x42,0x42,0x3C},//0
{0x10,0x18,0x14,0x10,0x10,0x10,0x10,0x10},//1
{0x7E,0x2,0x2,0x7E,0x40,0x40,0x40,0x7E},//2
{0x3E,0x2,0x2,0x3E,0x2,0x2,0x3E,0x0},//3
{0x8,0x18,0x28,0x48,0xFE,0x8,0x8,0x8},//4
{0x3C,0x20,0x20,0x3C,0x4,0x4,0x3C,0x0},//5
{0x3C,0x20,0x20,0x3C,0x24,0x24,0x3C,0x0},//6
{0x3E,0x22,0x4,0x8,0x8,0x8,0x8,0x8},//7
{0x0,0x3E,0x22,0x22,0x3E,0x22,0x22,0x3E},//8
{0x3E,0x22,0x22,0x3E,0x2,0x2,0x2,0x3E},//9
{0x8,0x14,0x22,0x3E,0x22,0x22,0x22,0x22},//A
{0x3C,0x22,0x22,0x3E,0x22,0x22,0x3C,0x0},//B
{0x3C,0x40,0x40,0x40,0x40,0x40,0x3C,0x0},//C
{0x7C,0x42,0x42,0x42,0x42,0x42,0x7C,0x0},//D
{0x7C,0x40,0x40,0x7C,0x40,0x40,0x40,0x7C},//E
{0x7C,0x40,0x40,0x7C,0x40,0x40,0x40,0x40},//F
{0x3C,0x40,0x40,0x40,0x40,0x44,0x44,0x3C},//G
{0x44,0x44,0x44,0x7C,0x44,0x44,0x44,0x44},//H
{0x7C,0x10,0x10,0x10,0x10,0x10,0x10,0x7C},//I
{0x3C,0x8,0x8,0x8,0x8,0x8,0x48,0x30},//J
{0x0,0x24,0x28,0x30,0x20,0x30,0x28,0x24},//K
{0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x7C},//L
{0x81,0xC3,0xA5,0x99,0x81,0x81,0x81,0x81},//M
{0x0,0x42,0x62,0x52,0x4A,0x46,0x42,0x0},//N
{0x3C,0x42,0x42,0x42,0x42,0x42,0x42,0x3C},//O
{0x3C,0x22,0x22,0x22,0x3C,0x20,0x20,0x20},//P
{0x1C,0x22,0x22,0x22,0x22,0x26,0x22,0x1D},//Q
{0x3C,0x22,0x22,0x22,0x3C,0x24,0x22,0x21},//R
{0x0,0x1E,0x20,0x20,0x3E,0x2,0x2,0x3C},//S
{0x0,0x3E,0x8,0x8,0x8,0x8,0x8,0x8},//T
{0x42,0x42,0x42,0x42,0x42,0x42,0x22,0x1C},//U
{0x42,0x42,0x42,0x42,0x42,0x42,0x24,0x18},//V
{0x0,0x49,0x49,0x49,0x49,0x2A,0x1C,0x0},//W
{0x0,0x41,0x22,0x14,0x8,0x14,0x22,0x41},//X
{0x41,0x22,0x14,0x8,0x8,0x8,0x8,0x8},//Y
{0x0,0x7F,0x2,0x4,0x8,0x10,0x20,0x7F},//Z
};



void Write_Max7219_byte(unsigned char DATA)
{
unsigned char i;
digitalWrite(Max7219_pinCS,LOW);
for(i=8;i>=1;i--)
{
digitalWrite(Max7219_pinCLK,LOW);
digitalWrite(Max7219_pinDIN,DATA&0x80);// Extracting a bit data
DATA = DATA<<1;
digitalWrite(Max7219_pinCLK,HIGH);
}
}


void Write_Max7219(unsigned char address,unsigned char dat)
{
digitalWrite(Max7219_pinCS,LOW);
Write_Max7219_byte(address); //address£¬code of LED
Write_Max7219_byte(dat); //data£¬figure on LED
digitalWrite(Max7219_pinCS,HIGH);
}

void Init_MAX7219(void)
{
Write_Max7219(0x09, 0x00); //decoding £ºBCD
Write_Max7219(0x0a, 0x03); //brightness
Write_Max7219(0x0b, 0x07); //scanlimit£»8 LEDs
Write_Max7219(0x0c, 0x01); //power-down mode£º0£¬normal mode£º1
Write_Max7219(0x0f, 0x00); //test display£º1£»EOT£¬display£º0
}



void setup()
{

pinMode(Max7219_pinCLK,OUTPUT);
pinMode(Max7219_pinCS,OUTPUT);
pinMode(Max7219_pinDIN,OUTPUT);
delay(50);
Init_MAX7219();
}


void loop()
{
for(j=0;j<38;j++)
{
for(i=1;i<9;i++)
Write_Max7219(i,disp1[j][i-1]);
delay(500);
}
}


Ãâó:
http://linksprite.com/wiki/index.php5?title=LED_Matrix_Kit



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