Jump to content
gadjet

R/c electronics switch

Recommended Posts

I would like to know if there is anyone out there that can give me the code and schematic using a pic12f629/675 to build and program an r/c switch, so I can turn on and off a light from my radio? I tried the switch-2 program, but it does not work.

Thanks

Edited by gadjet

Share this post


Link to post
Share on other sites

Here's a quick and dirty 12F675 code I wrote in 30 mins to trigger my camera.

It has no missing / wrong pulse detection, but just checks if the pulse is over or under a constant threshold. It does a bit of filtering though, by switching only if 5 (programmable) consecutive pulses are on the same side.

Change code between --------'s to do the desired function.

CamTrig.asm

Edited by Kilrah

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×