Electronics > Beginners

Decoding with An O-Scope

<< < (2/2)

JAndrew:
Had some more time. I set it back up again and captured a few more images.

There are four wires, Black, Red, Green and White. Black and Red are Ground and Power respectively. Green is Data + (D+) and White is Data - (D-).

The first time I connected the probe to D+ to and Ground and it generated the image as originally attached. I screwed around with that, and couldn't figure much out besides maybe the baud.

The second attempt I connected Channel 1 to D- and Channel 2 to D+. As seen in Capture 2Ch, D- to Ground (Channel 1) provides a much better signal. However it is the same signal as the D+ shown on channel 2.

I tried to make some basic measurements of the length of the data which was 1.69ms (The image shows the cursors kind of funny but the squares are where the measurements were taken)

I zoomed out of the information to try and measure the period between pings. ~57ms (Seen in the Period Between Sends)

Then I thought I might be a bit clever...for kicks and giggles I wonder if perhaps I was measuring it improperly and should have the probe reversed on the D-. The ground clip on the probe was hooked to the D- and the probe was hooked to ground. This inverted the data, and it resembles very much something like a UART wave form. However I don't think this is proper. So I may just be confusing the whole mess.

Here is what I am trying to do. I have a drone that is set up to talk to a camera. The camera busted and I can't get parts anymore, so I am probing to see what signals are sent to from the drone to the camera, and then what signal is sent from the camera to the drone. I am hoping to decode it to a point where I can program an Raspberry Pi zero, or similar MC translate between the camera and the drone.

Hope this provides a clearer picture of whats going on.

Thanks,

Jay

 

ataradov:
That does not really look like UART. And even i you manage to understand the requests, how do you plan to provide responses without a good camera?

Or this interface on the camera actually works? Are those traces made when the camera is connected?

JAndrew:
The camera interface is fine. The lens is broken.

I haven’t connected the camera to see what the response is, my first step was to see if I could figure out what how the drone pings the camera


Sent from my iPhone using Tapatalk

ataradov:
Well, it is actually important to see both sides at least to figure out the type of the interface.

JAndrew:
I didn’t know that.

I’ll see what I can put together.

Thanks


Sent from my iPhone using Tapatalk

Navigation

[0] Message Index

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod