Shop OBEX P1 Docs P2 Docs Learn Events
Digest Number 829 — Parallax Forums

Digest Number 829

ArchiverArchiver Posts: 46,084
edited 2001-09-08 03:00 in General Discussion
I think your out of luck. I had this problem with a GPS module that output 8
bits plus parity.
You can't use shiftout since you have no control of the clock speed to
match the baud of the camera. I don't know if you could bit-bang with a
STAMP at slow baud rates.
> Hello,
>
> I recently bought a Basic Stamp 2 and I have never worked with a
microprocessor
> before. I have encountered a "small" problem! I tried to establish RS-232
> communication with a video camera that has a RS-232C port.
>
> I've used the SEROUT command and the camera responded "parity error". Then I
> noticed that the camera uses syncron communication, 8 data bits, 1 start bit,
1
> stop bit and 1 parity bit (ODD). The Basic Stamp doesn't seem to be able to
> use 1 parity bit (ODD) and 8 data bits! Have I understood this correctly? Is
> there any way around it?
>
> The problem above doesn't really matter since SEROUT uses asyncron transfer
and
> the camera need syncron transfer. I could perhaps use the SHIFTOUT command
but
> there is another problem! The camera uses a 9-pin D-sub and the isn't any
> connection for the clock signal. I've read that the clock signal can be
encoded
> into the data. But how is this done? Can I use 1 parity bit (odd) with the
> shiftout command?
>
> Please try to help me with this!
> Thank you in advance.
>
> Best regard
> Johan Brostr
Sign In or Register to comment.