มินิโปรเจ็ค arduino

มีมินิโปรเจ็คมาแนะนำไหมค่ะ ของ arduino :pray:

ตอนนี้น้องศึกษาระดับชั้นไหน เรื่อง codeing พอได้ใช่ไหมครับ พี่อยากให้ระบุรายละเอียดเยอะๆหน่อย เช่น ชอบแนวหุ่นยนต์ แนวทางการเกษตร งบประมาณมากน้อยแค่ไหน ถ้าระบุได้ ก็จะมองภาพและแนะนำได้ถูกครับ อยากให้ได้ลองทำแล้วได้สนุกกับมันไปได้อ่ะครับ

:pray:t6:อยู่ ม.6 ค่ะ เป็นโปรเจ็คจบ สนใจแนวหุ่นยนต์ค่ะ

ม. 6 เดียวนี้มีโปรเจ็คจบกันแล้วหรอครับ สุดยอดมาก

อยากทำหุ่นยนต์แนวไหนครับ
แนวรถ
-หลบสิ่งกรีดขว้าง หยิบจับสิ่งกรีดขวาง ต้องศึกษาตัวอัลตราโซนิค
-เดินตามเส้นต้องศึกษาเรื่อง เส้นเซอร์แสงจับเส้น
-มอเตอร์ไดน์ มอเตอร์เกียร์
แนวแขนกล
-เซอร์โซมอเตอร์

1 Likes

ขอบคุณที่ให้คำแนะนำนะค่ะ

1 Likes

ลองตัดสินใจเลือกแล้วทำดูครับติดตรงไหนเข้ามาถามได้เลยครับ

ขอบคุณมากๆนะค่ะ ถ้ามีอะไรสงสัยเดี๋ยวเข้ามาถามนะค่ะ

1 Likes

พี่ค่ะ หนูสนใจะ หุ่นยนต์ดับเพลิง ค่ะ จะใช้เซนเซออะไรค่ะ

1 Likes

โดยเบื้องต้นก็มีเซ็นเซอร์ที่น่าสนใจอยู่หลายตัวนะครับ ที่พี่คิดว่าตรงที่สุดก็อาจจะหนีไม่พ่นเรื่องของ เซ็นเซอร์วัดอุณหภูมิ และแก๊ส ถ้าเป็นแก๊สก็มีตัวอย่างให้ดูประมาณนี้ครับ

Module MQ-2 FC-22 Smoke Gas Sensor Smoke methane gas liquefied flammable gas sensor module

ตัวอย่างการต่อใช้งาน

DSC_1601

Code EX

/* Sample Arduino for MQ2 Smoke Sensor Shield
   05/03/2011
**********************************************/
const int analogInPin = A0;  // Analog input pin that the potentiometer is attached to
//const int analogOutPin = 9; // Analog output pin that the LED is attached to
 
int sensorValue = 0;        // value read from the pot
int outputValue = 0;        // value output to the PWM (analog out)
float thickness;
int count,count1;
 
void setup() 
{
  // initialize serial communications at 9600 bps:
  Serial.begin(9600); 
  //pinMode(7, OUTPUT);  
}
 
void loop() 
{
 
  count1++;
  // read the analog in value:
  sensorValue = analogRead(analogInPin);            
  // map it to the range of the analog out:
  outputValue = map(sensorValue, 0, 1023, 0, 100);  
  // change the analog out value:
  //analogWrite(analogOutPin, outputValue);           
 
  if(count1==30)
  {
    count1=0;
    // print the results to the serial monitor:
    //Serial.print("sensor = " );                       
    //Serial.print(sensorValue);      
    Serial.print("\t output = ");      
    Serial.println(outputValue);
 
   /*
    thickness = 20000-(5000*(1023/(float)sensorValue)-1);         //This relationship is wrong,According to demand, own calculations relationship
 
    Serial.print("thicknes = ");
    Serial.println( thickness);
    */
    
  }
  count++;
  delay(100); 
  /*
  if(count>=(255-outputValue))
  {
    count=0;
  }
  if(count < (255-outputValue)/2)
  { 
    digitalWrite(7, HIGH);   // set the LED on
    delay(20);
  }
 // delay(1023-sensorValue);   
  else
  {
    digitalWrite(7, LOW);    // set the LED off
    delay(20);
  }
 */
 // delay(1023-sensorValue);                         
}

โดยเบื้องต้นน้องสามาถซิมมูเลทชั่น วงจรดูได้ แต่พี่ไม่แน่ใจว่าตัวเซ็นเซอร์แก๊สนี้จะมีให้ทดสอบรึป่าวนะครับ

…จากนั้นเราจากจะเอาโมโุลตัวนี้ไปประยุกค์เข้ากับ robot อื่นๆ ได้ต่อไปครับ

ลองดูนะครับ

https://drive.google.com/open?id=16ADcINIJw8wtrF0t-oiaSbnfiWwcRrmA

1 Likes

เยี่ยมเลย