HOME > »óÇ°Èıâ
»óÇ°ºÐ·ù
°Ë»ö¾î
¹øÈ£ À̹ÌÁö »óÇ°¸í/Èıâ ÀÛ¼ºÀÚ ÀÛ¼ºÀÏ ÆòÁ¡
439
¸Å´º¾ó ´ë·Î Çߴµ¥, ½ÇÇàÀÌ ¾ÈµË´Ï´Ù. ÄÚµù ¸Â´ÂÁö º¸¾ÆÁÖ¼¼¿ä
¾ÆÀ̵ð¾î ¹æ 2015-01-17 ¡Ú
#include<SoftwareSerial.h>
SoftwareSerial mySerial(4, 5);
int speedPinA= 3;
int speedPinB= 9;
int dir1PinA = 6;
int dir2PinA = 7;
int dir1PinB = 10;
int dir2PinB = 11;

byte incomingByte;

int speed_value_motorA;
int speed_value_motorB;

void setup(){
mySerial.begin(9600);
pinMode(speedPinA, OUTPUT);
pinMode(speedPinB, OUTPUT);
pinMode(dir1PinA, OUTPUT);
pinMode(dir2PinA, OUTPUT);
pinMode(dir1PinB, OUTPUT);
pinMode(dir2PinB, OUTPUT);

digitalWrite(dir1PinA, LOW);
digitalWrite(dir2PinA, LOW);
digitalWrite(dir1PinB, LOW);
digitalWrite(dir2PinB, LOW);

}

void loop(){
speed_value_motorA = 255;
speed_value_motorB = 255;
analogWrite(speedPinA, speed_value_motorA);
analogWrite(speedPinB, speed_value_motorB);

if(mySerial.available)()> 0){
incomingByte = mySerial.read();
if(incomingByte ==\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'a\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\')
{
digitalWrite(dir1PinA, LOW);
digitalWrite(dir2PinA, LOW);
digitalWrite(dir1PinB, HIGH);
digitalWrite(dir2PinB, LOW);
}
if(incomingByte ==\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'d\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\')
{
digitalWrite(dir1PinA, HIGH);
digitalWrite(dir2PinA, LOW);
digitalWrite(dir1PinB, LOW);
digitalWrite(dir2PinB, LOW);
}
if(incomingByte ==\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'s\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\')
{
digitalWrite(dir1PinA, LOW);
digitalWrite(dir2PinA, LOW);
digitalWrite(dir1PinB, LOW);
digitalWrite(dir2PinB, LOW);
}
if(incomingByte ==\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'w\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\')
{
digitalWrite(dir1PinA, LOW);
digitalWrite(dir2PinA, HIGH);
digitalWrite(dir1PinB, LOW);
digitalWrite(dir2PinB, HIGH);
}
if(incomingByte ==\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'x\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\')
{
digitalWrite(dir1PinA, HIGH);
digitalWrite(dir2PinA, LOW);
digitalWrite(dir1PinB, HIGH);
digitalWrite(dir2PinB, LOW);
}
}
}
// ideabigbang@naver.com 010-2889-3360
438
¾È³çÇϼ¼¿ä ´äº¯ÀÔ´Ï´Ù.
2015-01-19
¾È³çÇϼ¼¿ä.

´ÙÀ½ÀÇ Äڵ尡 ÀÛµ¿ÇÏ´ÂÁö üũ ºÎŹµå¸³´Ï´Ù. (µð¹ö±ë)
°£´ÜÈ÷ Á¶°Ç¹®µéÀ» ¾ø¾Ö°í, ¸ðÅ͸¦ ±¸µ¿ÇÏ´Â ÄÚµåÀÔ´Ï´Ù.

¸¸¾à À§ÀÇ ÄÚµåµéÀÌ ÀÛµ¿ÇÑ´Ù¸é, ½Ã¸®¾ó°ªÀ» Àд ºÎºÐÀÇ ¿À·ùÀ̱⠶§¹®¿¡ ±× ºÎºÐ µð¹ö±ëÀ¸·Î ³Ñ¾î°¥ ¼ö ÀÖ½À´Ï´Ù.

¸ÞÄ«¼Ö·ç¼Ç µå¸²
437
usbÇü ¸ðµâ°ú ´Ù¸¥ÇüÅÂÀÇ ¸ðµâ Â÷ÀÌÁ¡??
¹Ú¼º¼ö 2015-01-16
´Ù¸¥ Á¦Ç°Áß¿¡¼­´Â usbÇüŵµ ÀÖ´øµ¥ ¾ÆµÎÀ̳ëÀÇ usbÆ÷Æ®¿¡ ²ÈÀ¸¸é µÇ³ª¿ä?±×¸®°í Â÷ÀÌÁ¡Àº ¹«¾ùÀΰ¡¿ä
436
´äº¯ÀÔ´Ï´Ù.
2015-01-19
ºí·çÅõ½º USB ÇüÅÂ¿Í º» ¸ðµ¨°úÀÇ Â÷ÀÌÁ¡Àº, "DIY"¶ó°í °³ÀÎÀûÀ¸·Î ¸»¾¸µå¸± ¼ö ÀÖÀ» °Í °°½À´Ï´Ù.
USB ÇüŶó¸é PC¿¡ ²Å°í »ç¿ëÇϱâ Æí¸®ÇÒ ¼ö ÀÖÀ¸³ª, ´Ù¾çÇÑ ÇÁ·ÎÁ§Æ®¿¡ ÇÊ¿äÇÑ ºí·çÅõ½º¸¦ ±¸ÇöÇϱâ À§Çؼ­´Â º» Á¦Ç°À» ÅëÇÏ´Â °ÍÀÌ Æí¸®ÇÕ´Ï´Ù. Áï, Do It Yourself¿¡ ƯȭµÇ¾î ÀÖ°í, ¸¹Àº ¸ÞÀÌÄ¿µéÀÌ »ç¿ëÇÏ´Â °ÍÀÌ HC-06 ¸ðµ¨À̱⠶§¹®¿¡, ¾ÆµÎÀ̳ë¿Í ¿¬°áÇÏ½Ç °æ¿ì¿¡´Â ºí·çÅõ½ºÀÇ TX, RX¸¦ ¾ÆµÎÀ̳ëÀÇ RX, TX¿¡ ¿¬°áÇϽðí GND¸¦ °øÅëÀ¸·Î ÇϽô °ÍÀ¸·Î ¾î·ÆÁö ¾Ê°Ô »ç¿ëÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù.
435
ºÎÇ° ±¸¼ºÀÌ ¾î¶»°Ô µÇ¾îÀÖ³ª¿ä?
±¸¸¶ÄÄ 2015-01-16
ºÎÇ°±¸¼ºÀÌ ¾î¶²Áö ±Ã±ÝÇÕ´Ï´Ù.

ÀÌ Å°Æ®¸¸ ±¸ÀÔÇÏ¸é º°µµ·Î Ãß°¡ ºÎÇ°¾øÀÌ ·Îº¿À» ¸¸µé¼öÀִ°ǰ¡¿ä?

ps. »óÇ°¹®ÀDZÛÀº ÀÛ¼ºÀÌ ¾ÈµÇ³×¿ä.
434
´äº¯ÀÔ´Ï´Ù.
2015-01-19
¸ð¹ÙÀϷκ¿ Á¾°áÅ°Æ®´Â ·Îº¿ ÇÁ·¹ÀÓ, Á¶¸³À» À§ÇÑ º¼Æ®, ³ÊÆ®, ¼­Æ÷Å͵é°ú 2°³ÀÇ ¹ÙÄû¿Í ±â¾îµå ¸ðÅÍ°¡ Æ÷ÇԵǾî ÀÖ°í, ¾ÕµÚ·Î ¹ë·±½º¸¦ À¯ÁöÇØÁÖ±â À§ÇÑ º¼Ä³½ºÅÍ°¡ µé¾îÀÖ½À´Ï´Ù.

ÀÌ ¿Ü¿¡, ºí·çÅõ½º ¸ðµâ, ¾ÆµÎÀÌ³ë ¿ì³ë ȣȯº¸µå, ¸ðÅÍ µå¶óÀ̹ö, HC-SR04 ÃÊÀ½ÆÄ ¼¾¼­, ¹èÅ͸® Ȧ´õ, ºê·¹µåº¸µå ¹× Á¡ÆÛ¿ÍÀ̾îµéÀÌ µé¾î ÀÖ½À´Ï´Ù.

ÇÊ¿äÇÑ ºÎÇ°À¸·Î´Â ¼ÒÇü µå¶óÀ̹ö°¡ ÇÊ¿äÇÒ °ÍÀÔ´Ï´Ù.

¸ÞÄ«¼Ö·ç¼Ç µå¸².
433
MPU-6050 3Ãà ÀÚÀÌ·Î ¼¾¼­ + GY521 3Ãà °¡¼Óµµ ¼¾¼­
À߹޾Ҵµ¥ Áú¹®Á»ÇÒ°Ô¿ä¤Ð¤Ð
¹ß°¡¶ô¿¢±â½º 2015-01-15 ¡Ú¡Ú¡Ú¡Ú
mpu6050À̶û ¾ÆµÎÀ̳ë¿ì³ër3¶û »§ÆÇ¿¡ ¿¬°áÇؼ­ Ãâ·Â°ª ½Ã¸®¾ó¸ð´ÏÅÍ·Î È®ÀÎÇغ¸·Á°íÇϴµ¥
°è¼Ó i2cWrite failed ¸¸ ¶ß³×¿ä ±×¸®°í mpu6050»¡°£ºÒÀÌ µé¾î¿Ô´Ù ¾Èµé¾î¿Ô´ÙÇϴµ¥ ¿Ö±×·±°É±î¿ä? À×
432
MPU-6050 3Ãà ÀÚÀÌ·Î ¼¾¼­ + GY521 3Ãà °¡¼Óµµ ¼¾¼­
´äº¯µå¸³´Ï´Ù.
tkddn0916 2015-01-16
¾È³çÇϼ¼¿ä ¸ÞÄ«¼Ö·ç¼ÇÀÔ´Ï´Ù.

¹®ÀÇÁֽŠMPU6050¿¡·¯¿¡ °üÇؼ­ ÁüÀÛ°¡´Â ºÎºÐÀº I2CÁÖ¼Ò°¡ ´Ù¸¦ °æ¿ìÀÔ´Ï´Ù.

http://blog.naver.com/roboholic84/220201009036

ÀúÈñ ºí·Î±× Æ÷½ºÆÿ¡ º¸½Ã¸é ÇÏ´Ü¿¡ I2cScanner ¸µÅ©°¡ ÀÖ½À´Ï´Ù.

À̸¦ ÀÌ¿ëÇÏ¿© Çѹø Á¡°ËÇØÁֽñ⠹ٶø´Ï´Ù.

°¨»çÇÕ´Ï´Ù.
431
±Â
·Îº¸ÆÀ 2015-01-15 ¡Ú¡Ú¡Ú¡Ú¡Ú
°¨»çÇÕ´Ï´Ù
430
¾ÆµÎÀ̳ë Á¾°áÅ°Æ® (ÀÔ¹®ÀÚ¿ë) (Arduino Ultimate Kit for Beginners)
¹°°Ç Àß ¹Þ¾Ò½À´Ï´Ù.
²¿ºÎ±â 2015-01-13 ¡Ú¡Ú¡Ú¡Ú¡Ú


¹è¼Û ºü¸£°í Æ÷Àå »óŵµ ¾çÈ£ÇÕ´Ï´Ù.

¹°°Ç ¹ÞÀÚ¸¶ÀÚ Ä«Æä¿¡ ÀÖ´Â ±¸¼ºÇ° ¸®½ºÆ®¶û Çö¹° È®ÀÎÇغ¸´Ï ºüÁø ºÎÇ°¾øÀÌ ¸ðµÎ ¿Ô³×¿ä...
Çöó½ºÆ½ ÄÉÀ̽ºµµ ¾à°£ÀÇ ¿©À¯°¡ ÀÖÀ» Á¤µµ·Î ¾µ¸¸ÇÑ ÆíÀÔ´Ï´Ù.
(¾ãÀº Æû °°Àº Ʋ Ãß°¡Çؼ­ ºÎÇ° Á¤¸®µµ °¡´ÉÇÒ °Í °°³×¿ä...)


ÇÑ°¡Áö ¾Æ½¬¿îÁ¡Àº Àú°°Àº Ãʺ¸ÀÚ¸¦ À§ÇØ °£·«ÇÏ°Ô ³ª¸¶ ºÎÇ° »çÁø°ú ¸íĪÁ¤µµÀÖ´Â ¸í¼¼¼­°¡ ÀÖ¾úÀ¸¸é ÁÁ¾ÒÀ» °Í °°´Ù´Â »ý°¢ÀÌ µå³×¿ä..
(±â¿ï±â ¼¾¼­°¡ ±¸½½ÀÌ ´Þ¶û ´Þ¶û °Å·Á¼­ °íÀå ³­°Ç ÁÙ ¾Ë¾Ò¾î¿ä ¤¾¤¾ ).

½º¼¦Àº Ä«Æä¿¡ ÀÖ´Â °­ÁÂÀÇ ½ÅÈ£µî µû¶ó ¸¸µé¾îº» ¤¾¤¾

¿À´ÃÀº Å×½ºÅÍ ±¸¸ÅÇÏ·¯ ¿Ô´Ù°¡ Á¾°áŶ Èı⠳²±â°í °©´Ï´Ù.


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