I'm trying to send text files via laser to a BASIC STAMP 2, with an Arduino Duemilanove as transmitter. I connected the serial pin of the Arduino to a transistor which switches a laser on/off to send data, and I have a photo-resistor on the receiving end. The photo-resistor is attached to a comparator circuit using a LM339 comparator. The output finally is attached to the BASIC Stamp serial input pin, which prints the data to the screen using the SERIN function.
Anyway, the setup works fine at baud rates 300 and 600. However, once I change the rate to 1200 or 2400, I only get gibberish on the receiving computer (BASIC stamp side). Any ideas one why this is happening? Any help would be appreciated. Thanks!