I'm trying to break into a doorbell. It has a clearly labeled TX pin.
Here's the output from my Labrador oscilloscope/logic analyzer.. I can't get it to make any sense though. Any ideas? I have the settings at 9600 baud/8/N.
Reverse Engineering Stack Exchange is a question and answer site for researchers and developers who explore the principles of a system through analysis of its structure, function, and operation. It only takes a minute to sign up.
Sign up to join this communityI'm trying to break into a doorbell. It has a clearly labeled TX pin.
Here's the output from my Labrador oscilloscope/logic analyzer.. I can't get it to make any sense though. Any ideas? I have the settings at 9600 baud/8/N.
Every UART packets contains a start bit what is always 0 and 1 or 2 stop bit(s) what is/are always 1. If you check the middle of your trace there are single 1 bits with some spaces between them. Every single bits are stop bit and after every stop bits a new start bit begins. These are the borders of a packet. If you draw some rectangles with the same width you can separate the picture to 12 UART packages .
Now our job is easy we just need to figure out the values inside each packets. According to my measurements the message is: 0x5F 0xAC 0x11 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x32.
Regarding the communication settings if you measure the duration of a single stop bit you can calculate by the f = 1/t formula what is the baud rate. It is hard to figure out from this low resolution picture but if I assume the delta 14.02 ms time is the total length of the packets and we have 12*(1+8+1) = 120 bits inside then a single bit duration is 116.83 us, so the baud rate is 8559 baud. The nearest valid UART baud rate is 9600 baud, so I think it should be the correct value.
I think the baud rate is 9600baud (it should be measured by tool), there is 1 start bit, 1 stop bit, no parity and the packet data length is 8 bits.