Reverse polarity via GPIO

Guest #5460053
Rate this post
• ▲ useful
▼ not useful
Hi,

I have a Raspberry Pi camera with switchable IR filter, I want to 
control this filter with the GPIOs of the Raspberry Pi. I used an 
oscilloscope (see my images) to measure the switching signal (by default 
the filter is switched by the led of camera). To make the filter switch 
in one direction I need to apply 3,3V for about 150ms (no problem so 
far) but to switch it back (to make the filter go away) I need to apply 
the 3,3V with reversed polarity.

What (easy and cheap) circuit can I use to give a signal in both 
directions?
(So one GPIO in one direction and another for the other direction.
Attached files:
Guest #5460072
Rate this post
• ▲ useful
▼ not useful
I think you should control a half bridge with two gpios.
Generate the -3v3 with a single inverting charge pump. You don't tell 
about current needs. There are many cheap charge pump ICs like icl7660 
available.

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.