I have tended to receive on the Spark physical serial port, but I have had few issues. Obviously when I forgot to use a Serial1.begin(9600) things would not work, but once that is fixed, things work. The other issue I have had is code like if Serial.available() {Serial1.read()}
Don’t forget that the Rx and Tx lines are 3.3V and are from memory not 5V tolerant. They are certainly not RS232 level, but I am sure you knew that anyway.
here is a very simple little program that acts as a serial pass-thru for testing, i used it to talk to a adafruit fingerprint reader, so its tested and works fine with the PC app.
void setup()
{
Serial.begin(57600);
Serial1.begin(57600);
}
void loop() // runs over and over
{
while (Serial1.available())
Serial.write(Serial1.read());
while (Serial.available())
Serial1.write(Serial.read());
}
@peekay123, Thank you, i’ll have to remember that for future use, however it doesn’t seem to make much of a difference whether .print() or .write() is used (in terms of the TX pin functioning)
@Hootie81, Just gave your code a shot and, unfortunately, there’s still no change -____-
Could it be bad pin connections on the spark board? or does this seem to be more software related?
@daflippymaster, reading the spec sheets on the LT10801CN shows that it is a 5V device which puts out 5V signals on the logic pins. The Rx and Tx lines of the Spark are not 5V tolerant. There is a possibility that the Rx/Tx pins were damaged.