ข้ามไปที่เนื้อหาหลัก

บทความ

เรื่องที่แนะนำ

ใบงานที่ 7

ใบงานที่ 7 Measure Distance with Arduino and Ultrasonic Sensor  ผู้จัดทำ นาย กฤษณะ   รักธรรม       001 นาย สราวุธ     ชอบเพื่อน   021 วีดีโอ รูปวงจร อุปกรณ์ที่ใช้ 1. บอร์ด Arduino 2. หลอด LDE 3. Code 4. สาย USB 5. Resiston 220 R  6. สายไฟ  7. โปรแกรม Arduino 8. PC/Notebook 9. โปรแกรม Fritzing 10. หลอดไฟ 11.  HC-SR04 12.  Servo Motor Code #include <Servo.h>  //Load Servo Library int trigPin=13; //Sensor Trip pin connected to Arduino pin 13 int echoPin=11;  //Sensor Echo pin connected to Arduino pin 11 int servoControlPin=6; //Servo control line is connected to pin 6 float pingTime;  //time for ping to travel from sensor to target and return float targetDistance; //Distance to Target in inches float speedOfSound=776.5; //Speed of sound in miles per hour when temp is 77 degrees. float servoAngle; //Variable for the value we want to set servo to. Servo myP

โพสต์ล่าสุด

ใบงานที่ 6 การควบคุม Servo Motor (SG90) ด้วย Arduino UNO R

ใบงานที่ 4

ใบงานที 3 photocell & 7segment