Beam Balance using MATLAB/Simulink and Waijung 2 for ESP32

Beam Balance using MATLAB/Simulink and Waijung 2 for ESP32

       In general, industrial scale requires precise control to operate. And most of them use PLC to control, which has a relatively high cost. Mr. Chanin Boon-arj and Mr. Teerawat Thammachat, students from King Mongkut's University of Technology North Bangkok. Therefore, they came up with an idea to create an experimental set on Beam Balance to control objects on the beam to move as desired by writing Simulink from Waijung 2 for ESP32 on MATLAB program so that it can be easily deployed into the ESP32 microcontroller. With the idea that they want to configure the sensor to control difficult things using a small microcontroller like ESP32 to reduce costs. It also uses sensors or motors that are used in real industries to write to a small microcontroller. To prove that if we can write correctly, accurately, a small microcontroller It can be used in large industries.

        โดยทั่วไปในระดับอุตสาหกรรมต้องการการควบคุมที่แม่นยำในการทำงาน และโดยส่วนใหญ่ใช้ PLC ในการควบคุม ซึ่งมีค่าใช้จ่ายที่ค่อนข้างสูง นายชนินทร์ บุญอาจ และนายธีระวัฒน์ ธรรมชาติ นักศึกษาจากมหาวิทยาลัยเทคโนโลยีพระจอมเกล้าพระนครเหนือ จึงเกิดไอเดียสร้างชุดทดลองบน Beam Balance ขึ้น เพื่อควบคุมวัตถุบนคานให้เคลื่อนที่ไปตามที่ต้องการ โดยเขียน Simulink จาก Waijung 2 for ESP32 บนโปรแกรม MATLAB เพื่อให้สามารถ Deploy ลง ไมโครคอนโทรลเลอร์ ESP32 ได้อย่างง่าย โดยมีแนวคิดว่า อยากกำหนดค่าเซ็นเซอร์ให้ควบคุมสิ่งที่ยากๆ ได้ โดยใช้ ไมโครคอนโทรลเลอร์เล็กๆ อย่าง ESP32 เพื่อลดค่าใช้จ่าย นอกจากนี้ยังใช้เซ็นเซอร์หรือมอเตอร์ที่ใช้ในอุตสาหกรรมจริงมาเขียนลงไมโครคอนโทรลเลอร์เล็กๆ เพื่อพิสูจน์ว่าถ้าเราเขียนได้อย่างถูกต้อง แม่นยำ ไมโครคอนโทรลเลอร์เล็กๆ ก็สามารถใช้ในอุตสาหกรรมใหญ่ๆ ได้

Beam Balance

                            อุปกรณ์ที่ใช้

                                    1. ESP32

                                    2. Ultrasonic Sensor Modul

                                    3. Plant

                                    4. Servo Motor