I'm a few days (a few hours at night) trying to solve a problem. I have a GPS module that got the company where I work from u-blox, the u-blox, specifically u-blox6. It is sealed in a box with resin and has a USB cable (so I do not have access to hardware ), I tested him in the u-center software and it is OK, no problem / defect.
I'm using a CP2102 (eBay):
and I'm using SoftwareSerial that comes with the Arduino IDE 1.0.4 to try to communicate, but if I try to perform this simple test the "available()" returns false, can someone help me? Already tried everything, done everything already
#include <SoftwareSerial.h>
SoftwareSerial mySerial(3, 2);
void setup()
{
Serial.begin(9600);
// set the data rate for the SoftwareSerial port
mySerial.begin(9600);
}
void loop() // run over and over
{
if (mySerial.available())
Serial.write("OK");
}
Does that mean you connected the USB output of the u-blox6 to the CP2102 module and that to an Arduino? Such a circuit cannot work because both USB devices (the u-blox and the CP2102) are slaves and you don't have a host (master) in your equation.
It is being used in the MAX3232 output of GPS (RX / TX) to operate the USB.
For you to understand better my situation, I have this GPS in a box of plastic resinous, ie the electronic circuit of the GPS is in the midst of the resin inside the box, I do not have access to the circuit to check the connections made ??in the GPS, just a cable out of the box with a resinous USB tip, which when connected to the notebook, works perfectly with Docklight and u-center (software for reading the information from the u-blox GPS).
The connection between MAX3232 and u-blox LEA-6 is performed as follows (I found using the multimeter):
(sorry my bad draw)
Could you help me? I have a arduino duemilanove and would like to use this GPS, I can use NewSoftSerial?
If I connect rx tx in arduino it will work now?