Go Down

Topic: SD and Software Serial (Read 67 times) previous topic - next topic

cfcorp

Hi guys,
I'm using an SD card with my UNO and its successfully writing temperature and time/date data to the card in a CSV file.
I'm also using a 433MHz RF card which is connected to the UNO using software Serial, the RF card transmits the card data to another UNO which is connected to a PC, allowing me to view the data on the SD card on the terminal.

When using software serial, I have a problem where the data is sometimes garbled up in the wrong order, this only happens when I transmit the entire contents of the card, which could be 50 records or so.

It doesn't happen on hardware serial, I have the BAUD set a 9600.
Is there a way I can correct the issue, using the software serial, I am using the new software serial and not the old original one.

Thanks guys

PaulS

Quote
Is there a way I can correct the issue, using the software serial, I am using the new software serial and not the old original one.
Are you using the new SoftwareSerial class? The old NewSoftSerial class? Or the really old SoftwareSerial class?

Code?
The art of getting good answers lies in asking good questions.

Go Up