บทความ

กำลังแสดงโพสต์จาก กรกฎาคม, 2018

9 ARDUINO ระบบรดน้ำอัตโนมัติสำหรับพืชสปริงเกลอร์

รูปภาพ
ARDUINO ระบบรดน้ำอัตโนมัติสำหรับพืชสปริงเกลอร์ บทนำ: ระบบรดน้ำ Arduino อัตโนมัติสำหรับเครื่องปลูกแบบสปริงเกอร์ 2 ภาพเพิ่มเติม เมื่อเดือนที่แล้ว Elecrow ออกจากออฟฟิศเดิมและย้ายไปอยู่ที่สำนักงานแห่งใหม่  เราจะพลาดสำนักงานต้นแบบของเราที่เราทำงานหนักมานานกว่าสองปีเราจะพลาดทุกสิ่งทุกอย่างที่นี่โต๊ะทำงานหน้าต่างและพืชกระถางเหล่านั้นที่เราดูแลเอาใจใส่กับเพื่อนบ้านของเรามากกว่าสองปี    เพื่อนบ้านทีมออกแบบของเราที่นำโดยชายชื่อคิมิเรามีความทรงจำมากมายในช่วงต้นของวันแรก  ร่วมกันปลูกต้นกระถางบางส่วนไว้ในระเบียงเพื่อช่วยให้เราปล่อยเมื่อเหนื่อยหลังจากทำงานหนักตลอดทั้งวัน  แต่เมื่อเราออกไปทีม Kimi ก็ประมาทมากและพวกเขามักจะออกไปแสดงบ้างพวกเราทุกคนต้องกังวลว่าพืชเหล่านี้จะกระหายเมื่อเราออกไป   ดังนั้นเราจึงตัดสินใจที่จะออกแบบระบบรดน้ำอัตโนมัติเพื่อให้แน่ใจว่าโรงงานเหล่านี้ยังมีชีวิตอยู่เมื่อเรากลับมาที่นี่ในครั้งต่อไป  ตรวจสอบความชื้นในดินของพืชในกระถางหากความชื้นต่ำเกินไปปั๊มจะเริ่มสเปรย์ด้วยวิธีนี้ทีม Kimi ไม่จำเป็นต้องใช้น้ำเหล่านี้ทุกวัน  ฉันไ

8

รูปภาพ
Ever wonder how Segways work? This tutorial will show you how to build an Arduino robot that balances itself — just like a Segway! How Does Balancing Work? To keep the robot balanced, the motors must counteract the robot falling. This action requires feedback and correcting elements. The feedback element is the MPU6050 gyroscope + accelerometer, which gives both acceleration and rotation in all three axes ( MPU6050 I2C basics ). The Arduino uses this to know the current orientation of the robot. The correcting element is the motor and wheel combination. Connection Diagram Complete Fritzing diagram Connect the MPU6050 to the Arduino first and test the connection using the codes in this  IMU interfacing  tutorial. If data is now displayed on the serial monitor, you're good to go! Proceed to connect the rest of the components as shown above. The L298N module can provide the +5V needed by the Arduino

7

รูปภาพ
Overview by  Simon Monk In this lesson, you will learn how to control a small DC motor using an Arduino and a transistor. Parts by  Simon Monk To build the project described in this lesson, you will need the following parts. Part Qty Small 6V DC Motor 1 PN2222 Transistor 1 1N4001 diode 1 270 Ω Resistor (red, purple, brown stripes) 1 Half-size Breadboard 1 Arduino Uno R3 1 Jumper wire pack Breadboard Layout by  Simon Monk When you put together the breadboard, there are two things to look out for. Firstly, make sure that the transistor is the right way around. The flat side of the transistor should be on the right-hand side of the breadboard. Secondly the striped end of the diode should be towards the +5V power line - see the image below! The motor that comes with Adafruit Arduino kits does not draw more than 250mA but if you have a different motor, it could easily draw 1000mA, more than a USB port can handle! If yo