5.1.3. Sink node. We used Arduino Mega Rev 3 as the sink node. This device is a microcontroller board based on the ATmega2560. It has 54 digital input/output pins, 16 analog inputs, 4 UARTs (hardware serial ports), a 16 MHz crystal oscillator, a power jack, and ICSP header. We directly connected the sink node to the sensing nodes through their digital ports. This node is programmed to send the information to the mobile application. We also programmed the sink node in the programming language processing under Arduino IDE 1.6.5.
5.1.4. Mobile application. We developed the mobile application in Java under the Android Studio 6.0 programming environment. The mobile application has a Model-ViewController (MVC) architecture. It runs only on smartphones and tablets with Android. This application stores the sensors data and the global position of the truck in a local database, synchronize every ten minutes the data with a remote SQL database in the aquaculture company office through a GSM 3G service, and provide a real-time visualization screen that shows the data (see Figure 3).
5.1.5. Local Database. We used SQLite for Android as the local database engine. The database store time-stamped readings from the sensors nodes and the global position of the truck.
5.2. CMP components
5.2.1. The central monitoring software. It is a web-portal developed in HTML, PHP, Javascript, CSS and JQuery using a Model-View-Controller (MVC) architecture. This portal help to manage the information related to the travels and allows real-time visualization of the sensing data (see Figure 4). The users can access this portal through any commonly used browsers such as Internet Explorer, Firefox, and Chrome. We developed this portal under Linux Ubuntu and with the use of the following software development tools: Sublime Text 2 and MySQL Workbench 5.6. We use
5.1.3. จมโหน เราใช้ Arduino Mega Rev 3 เป็นโหนอ่างล้างจาน อุปกรณ์นี้เป็นบอร์ดไมโครคอนโทรลเลอร์ที่อิงการ ATmega2560 มี 54 ดิจิตอลแผงหมุด อนาล็อกอินพุต 16, 4 UARTs (ฮาร์ดแวร์พอร์ตอนุกรม), ออสซิลเลเตอร์แบบคริสตัล 16 MHz แจ็คอำนาจ และ ICSP หัว เราโดยตรงเชื่อมต่อโหนอ่างกับโหนตรวจวัดผ่านพอร์ตดิจิตอลของพวกเขา โหนดนี้เป็นโปรแกรมที่จะส่งข้อมูลการใช้โทรศัพท์มือถือ นอกจากนี้เรายังตั้งโปรแกรมโหนจมในภาษาการเขียนโปรแกรมการประมวลผลภายใต้ Arduino IDE 1.6.55.1.4 มือถือโปรแกรม เราพัฒนาโปรแกรมมือถือใน Java ภายใต้สภาพแวดล้อมการเขียนโปรแกรม Android Studio 6.0 โปรแกรมมือถือที่มีสถาปัตยกรรมแบบรุ่น ViewController (MVC) รันบนสมาร์ทโฟนและแท็บเล็ต ด้วยหุ่นยนต์ โปรแกรมนี้เก็บข้อมูลเซนเซอร์และตำแหน่งส่วนกลางของรถบรรทุกในฐานข้อมูลท้องถิ่น ซิงโครไนซ์ข้อมูลกับ SQL ระยะไกลของฐานข้อมูลในสำนักงานบริษัทการเพาะเลี้ยงสัตว์น้ำผ่าน GSM มีบริการ 3 G ทุกสิบนาที และมีหน้าจอแสดงภาพแบบเรียลไทม์ที่แสดงข้อมูล (ดูรูปที่ 3)5.1.5. ถิ่นฐาน เราใช้ SQLite สำหรับ Android เป็นโปรแกรมฐานข้อมูลท้องถิ่น ฐานข้อมูลเก็บประทับเวลาการอ่านค่าจากเซ็นเซอร์โหนและตำแหน่งส่วนกลางของรถบรรทุก5.2. ส่วนประกอบที่ CMP5.2.1.กลางตรวจสอบซอฟต์แวร์ เป็นเว็บไซต์พัฒนา HTML, PHP, Javascript, CSS และ JQuery ที่ใช้สถาปัตยกรรมแบบโมเดลวิวคอนโทรลเลอร์ (MVC) ได้ วิธีใช้เว็บไซต์นี้เพื่อจัดการข้อมูลที่เกี่ยวข้องกับบันทึกการเดินทาง และช่วยให้แสดงภาพแบบเรียลไทม์ข้อมูลตรวจวัด (ดูรูปที่ 4) ผู้ใช้สามารถเข้าถึงเว็บไซต์นี้ผ่านเบราว์เซอร์ใด ๆ ใช้กันทั่วไป เช่น Internet Explorer, Firefox, Chrome เราพัฒนาเว็บไซต์นี้ภาย ใต้ Linux Ubuntu และการใช้เครื่องมือพัฒนาซอฟต์แวร์ต่อไปนี้: 2 ข้อความประเสริฐและ MySQL 5.6 โต๊ะ เราใช้
การแปล กรุณารอสักครู่..
