Connecting Arduino due to a GPS sensor
hi
i want read data gps-sensor https://www.sparkfun.com/products/11058
and want print on serial monitor. sensor connected via serial1 ports (pin18-tx1 pin19-rx1).
i have never worked hardware or arduino before, want ask following question.
rx recieving data , tx transmitting data. have connect rx1 port of arduino tx port of gps sensor , tx1 port (arduino) rx of sensor?
or rx1 rx , tx1 tx?
thanks answers.
ali
i want read data gps-sensor https://www.sparkfun.com/products/11058
and want print on serial monitor. sensor connected via serial1 ports (pin18-tx1 pin19-rx1).
i have never worked hardware or arduino before, want ask following question.
rx recieving data , tx transmitting data. have connect rx1 port of arduino tx port of gps sensor , tx1 port (arduino) rx of sensor?
or rx1 rx , tx1 tx?
thanks answers.
ali
tx gps rx on arduino
(the other line isnt important)
serial.begin(fastspeed); // connect serial monitor
seial1.begin(4800/9600 or..) connect correct gps_port.
now dump data gps serial with
while (serial1.available()) serial.print(serial1.read());
(the other line isnt important)
serial.begin(fastspeed); // connect serial monitor
seial1.begin(4800/9600 or..) connect correct gps_port.
now dump data gps serial with
while (serial1.available()) serial.print(serial1.read());
Arduino Forum > Using Arduino > Sensors > Connecting Arduino due to a GPS sensor
arduino
Comments
Post a Comment