Good day all:
First time poster as I haven't even thought about electronics in a very long time. Well, then the girlfriend got me a drone and I wanted to do some modding, of course I have to go all out, right? Obviously after over 15 years of mental neglect I am suffering from a serious case of CRS (can't remember squat)
Here's what I am trying to figure out. I want to add LEDs to the copter for night flying, simple enough. But, what I want to do is utilize the signals from the TX for the camera controls so I can turn them on and off remotely. The camera has an SD card so I am not dealing with video signals, it just receives signals from the TX to either take a photo or turn on/off the video. I picked up some leads so I could plug into the camera port and test to see what the buttons do. At least I still have my old breadboard and boxes of components to get me started, that does help a lot.
There are 3 leads, power (powers camera), ground and camera (take photo / video on/off).
The camera lead also gets solid power (3.7v):
- When you hit the video button there is a long off pulse, about a second.
- When you hit the photo button there is a 'fast' off pulse. Well, fast relative to pulse for video.
By now I am sure you have figured out what I am trying to do. I want to detect those pulses so I can turn on and off 2 sets of lights.
I think I know what I have to do for everything except how to detect the pulses from the TX, and knowing which one was sent.
I first put it through a PNP so would swap the signal to always off with on pulses. Was thinking would put in caps and see which ones would charge... Honestly, that is about as far as my brain went. I mean things are coming back SLOWLY, but it has been so long I am not sure where to start on the math or even the concept to get me to where I even need the math.
Any thoughts, ideas, pointing in the right direction would be greatly appreciated!!
Thanks in advance!
Mark
First time poster as I haven't even thought about electronics in a very long time. Well, then the girlfriend got me a drone and I wanted to do some modding, of course I have to go all out, right? Obviously after over 15 years of mental neglect I am suffering from a serious case of CRS (can't remember squat)
Here's what I am trying to figure out. I want to add LEDs to the copter for night flying, simple enough. But, what I want to do is utilize the signals from the TX for the camera controls so I can turn them on and off remotely. The camera has an SD card so I am not dealing with video signals, it just receives signals from the TX to either take a photo or turn on/off the video. I picked up some leads so I could plug into the camera port and test to see what the buttons do. At least I still have my old breadboard and boxes of components to get me started, that does help a lot.
There are 3 leads, power (powers camera), ground and camera (take photo / video on/off).
The camera lead also gets solid power (3.7v):
- When you hit the video button there is a long off pulse, about a second.
- When you hit the photo button there is a 'fast' off pulse. Well, fast relative to pulse for video.
By now I am sure you have figured out what I am trying to do. I want to detect those pulses so I can turn on and off 2 sets of lights.
I think I know what I have to do for everything except how to detect the pulses from the TX, and knowing which one was sent.
I first put it through a PNP so would swap the signal to always off with on pulses. Was thinking would put in caps and see which ones would charge... Honestly, that is about as far as my brain went. I mean things are coming back SLOWLY, but it has been so long I am not sure where to start on the math or even the concept to get me to where I even need the math.
Any thoughts, ideas, pointing in the right direction would be greatly appreciated!!
Thanks in advance!
Mark