รหัสสินค้า | SKU-00312 |
หมวดหมู่ | ไจโร | ทิศทาง | GPS |
ราคา | 250.00 บาท |
ลงสินค้า | 21 ธ.ค. 2563 |
อัพเดทล่าสุด | 13 ก.ค. 2565 |
คงเหลือ | 0 ชิ้น |
Ublox NEO-6M GPS Module with EEPROM for MWC/AeroQuad with Antenna for Flight Control and Aircraft FZ0040
Description:
GPS modules NEO-6M, 3V power supply Universal
Module with ceramic destined antenna, super signal
EEPROM power down to save the configuration parameters data
LED signal indicator
With data backup battery
The default baud rate: 9600
Mounting Hole 3mm
Module size 23mm * 30mm
Antenna size :25mm*25mm
Cable Length:50mm
ตัวอย่างการใช้งาน NEO-6M Ublox/u-blox GPS Module
โคดไลบารีแสดงพิกัด lat , lon ดาวน์โหลดได้ที่นี่
https://github.com/LessonStudio/Arduino_GPS
#include "TinyGPS++.h" #include "SoftwareSerial.h" SoftwareSerial serial_connection(10, 11); //RX=pin 10, TX=pin 11 TinyGPSPlus gps;//This is the GPS object that will pretty much do all the grunt work with the NMEA data void setup() { Serial.begin(9600);//This opens up communications to the Serial monitor in the Arduino IDE serial_connection.begin(9600);//This opens up communications to the GPS Serial.println("GPS Start");//Just show to the monitor that the sketch has started } void loop() { while(serial_connection.available())//While there are characters to come from the GPS { gps.encode(serial_connection.read());//This feeds the serial NMEA data into the library one char at a time } if(gps.location.isUpdated())//This will pretty much be fired all the time anyway but will at least reduce it to only after a package of NMEA data comes in { //Get the latest info from the gps object which it derived from the data sent by the GPS unit Serial.println("Satellite Count:"); Serial.println(gps.satellites.value()); Serial.println("Latitude:"); Serial.println(gps.location.lat(), 6); Serial.println("Longitude:"); Serial.println(gps.location.lng(), 6); Serial.println("Speed MPH:"); Serial.println(gps.speed.mph()); Serial.println("Altitude Feet:"); Serial.println(gps.altitude.feet()); Serial.println(""); } }
หน้าที่เข้าชม | 1,311,395 ครั้ง |
ผู้ชมทั้งหมด | 696,279 ครั้ง |
ร้านค้าอัพเดท | 5 ก.ย. 2568 |