I'm making a project in which pulsed laser beam data is sensed through many optical sensors (one sensor per port pin), so essentially, I'm going to be making 4 UARTs to sense this.
Currently I am using an AT89S52 microcontroller with a 22.1184Mhz crystal attached to it, and I used Keil's baud rate calculator and noticed that it couldn't give me a value for low baud rates (like 100bps).
The reason why I'm asking for such low rates is because the data being sent isn't much (maybe 2 bytes every 1/5th of a second), and also, the microcontroller is doing other tasks as well.
I really only need maybe 100bps speed, but I might have to up it to 110bps because that's the next computer standard serial speed?
If I configure the 8051 timer 1 to 16-bit mode, what values do I plug into TH1 and TL1 for 110bps? Remember, I'm doing 4 software UART's here and the one hardware UART is used by other processes, and the timer 1 interrupt needs to be fired at the right time so bits won't be lost.
What I'm trying to do without the need of additional microcontrollers is to implement laser tag. Each player's vest will have different sets of sensors and I'm treating each set of sensors as separate receive-only UARTs and the laser as a transmit-only UART and the wireless remote control is connected to the hardware UART. Since humans don't pull a trigger 1,000x a second, I can get away with making almost every UART at low speed.