MOD-GPS

MOD-GPS

Modul GPS ideal pentru placile Arduino , Raspberry PI , Arduino Industrial , PIC32-Pinguino sau A13 . Functioneaza pe interfata seriala RS232. Conectare cu Arduino Foloseste cabluri tata-tata ca sa conectezi pinii GND, 3.3 V, RX si TX la placa Arduino (la pinii GND, 3.3 V, TX, respectiv RX); RX si TX se conecteaza incrucisat (RX la TX si TX la RX). Vezi schema conectorului de mai sus. Ex 1: void setup() { Serial.begin(19200); } void loop() { if (Serial.available() 0) { Serial.write(Serial.read()); } } Ex 2: include SoftwareSerial.h include tinygps.h TinyGPS gps; SoftwareSerial ss(3, 4); void setup() { Serial.begin(9600); ss.begin(19200); } void loop() { bool newData false; for (unsigned long start millis(); millis() - start 1000;) { while (ss.available()) { char c ss.read(); if (gps.encode(c)); newData true; } } if (newData) { float flat, flon; unsigned long age; gps.f_get_position(flat, flon, age); Serial.print( LAT ); Serial.print(flat TinyGPS::GPS_INVALID_F_ANGLE ? 0.0 : flat, 6); Serial.print( LON ); Serial.print(flon TinyGPS::GPS_INVALID_F_ANGLE ? 0.0 : flon, 6); Serial.print( SAT ); Serial.print(gps.satellites() TinyGPS::GPS_INVALID_SATELLITES ? 0 : gps.satellites()); Serial.print( PREC ); Serial.println(gps.hdop() TinyGPS::GPS_INVALID_HDOP ? 0 : gps.hdop()); } } Conectare cu Raspberry PI Modul GPS ideal pentru placile Raspberry Pi . Functioneaza pe interfata seriala RS232. . Descarca tutorial in format PDF Specificatii - interfata RS232 CMOS, 19200 bps, 8N1 - chipset SiRF Star III - antena incorporata - 20 canale GPS - senzitivitate : -159 dBm - consum 38 mA - alimentare intre 3.3 V si 6 V, tipic 5 V - rata de update - 1 Hz - GPS Protocol NMEA0183 - conector UEXT special pentru interfatarea simpla cu placile Arduino Industrial si PIC32-Pinguino - functioneaza intre -40 C si + 85 C - dimensiuni : 47.0 (L) X 39.0 (W) X 16 (H) mm - greutate : 66.6 g Documentatie Manual de utilizare Comenzi NMEA

Cumpără