From the best I can tell, including my own tests, the Arduino serial function cannot go 110 baud. However, I did find this:
/*Code for transmission of RTTY string borrowed from Robert Harrison.
http://www.robertharrison.org/icarus/wordpress/about/
Transmitted string is broken into each byte (character) with rtty_txstring and each byte
into its corresponding bits with rtty_txbyte. The bits are then written out to Arduino pins
with rtty_txbit.
*/
void rtty_txstring (char *string) // *variable is a pointer to the variable
{
/* Simple function to send a char at a time to
** rtty_txbyte function.
** Each char is one byte (8 Bits)
*/
char c;
c = *string++;
while ( c != '\0') // \0 denotes end of string
{
rtty_txbyte (c);
c = *string++; //move to c to next char of string
}
}
void rtty_txbyte (char c)
{
/* Simple function to sent each bit of a char to
** rtty_txbit function.
** The bits are sent Least Significant Bit first
**
** All chars should be preceded with a 0 and
** proceded with a 1. 0 = Start bit; 1 = Stop bit
*/
rtty_txbit (0); // Start bit
// Send bits for char LSB first
for (int i=0;i<8;i++) //8 bits in char (byte).
{
if (c & 1) rtty_txbit(1);
else rtty_txbit(0);
c = c >> 1;
}
rtty_txbit (1); // Stop bit
}
void rtty_txbit (int bit)
{
if (bit)
{
// high
digitalWrite(rtty1,LOW);
digitalWrite(rtty2, HIGH);
}
else
{
// low
digitalWrite(rtty2, LOW);
digitalWrite(rtty1, HIGH);
}
delay(19);
delayMicroseconds(700);
}
That someone generated using rtty_txbit(). The example is for 50 baud. Maybe I can convert it to 110 baud.
Has anyone done that?
I think this only sends teletype and doesn't receive.
Maybe just having a little demo software would be enough for this project.