Go Down

Topic: Having problem using NewSoftSerial on Arduino Pro mini 3.3V (Read 915 times) previous topic - next topic

Nick Gammon

Recent versions of the IDE use SoftwareSerial. Why are you using NewSoftSerial?

Kashif


Recent versions of the IDE use SoftwareSerial. Why are you using NewSoftSerial?


I was not aware of the fact.
I have downloaded the latest version now, Arduino 1.0.3

Modified the code to use "SoftwareSerial" ..... but still no luck .... exactly the same output as earlier.


liudr

Can you change the speed of your gps to something less fast, say 28800 or 14400? Arduino runs 16MHz crystal frequency so its 38400 is not exact when it uses its clock to time software serial inputs so lowering speed may help. If you're off by 10% then you get a wrong byte thus some special character.

Kashif


Can you change the speed of your gps to something less fast, say 28800 or 14400? Arduino runs 16MHz crystal frequency so its 38400 is not exact when it uses its clock to time software serial inputs so lowering speed may help. If you're off by 10% then you get a wrong byte thus some special character.


Thanx liudr,
But I am using a non-branded GPS which doesn't even have an RX, only TX (3 wires, +, - and TX) so apparently there is no way I can write back to GPS.

I have another GPS module which is 5V, shall I switch to Pro mini 5V instead? I will still be needing at least 1 software serial as I need to connect a GPS and a GSM modem.

Thanx!

Go Up