I believe there is a problem with the basics here.

E.g. you have to send the following byte:

1 1 1 0 0 1 1 0

You send all the bits and not the '1's only

The RE and DE (if connected together) must be at high level before the first bit and a little after the last bit.

Ifyou send with a baud rate of 9600, then each bit is 1/9600=0,1042msec nd the full 8+2 bits (Start and Stop) will be 1,042msec. So the RE and DE have to be more than 1,042 msec high. Not just for the time that a bit of the data is 1.

Is that more clear now?

Ioannis