Operating a relay with the Pixhawk Aux pin

I've opened this topic to discuss the question Reuben asked on the 3.2 beta thread regarding the abiltiy to use the Pixhawk to control a 3 volt relay.


My feeling is that you can use the circuit that Marco proposed on the "Using AUX pins as relays for CHDK" thread with a few changes. The spec sheet for the relay that Reuben has lists a coil resistance of somewhere between 25 and 60 ohms depending upon the model of the relay, so the maximum current using a 3.3 volt supply would be 132ma. That is within the range of the 2N3906 in Marco's circuit. So a circuit that looks like the following should work for him. Any other suggestions?

3691151361?profile=original

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

            • Hello Henri,

              I'm trying to short 2 pins inside a GoPro remote to trigger the camera shutter and have tried your circuit. Unfortunately it provides power to the reed relay when the relay is off (0v on the Pixhawk pin) and opens the relay once the relay should be on (3.3v on the Pixhawk pin).

              Could I drop the 2nd 2N7000 and connect the relay to the first one instead like in the 2nd Diagram below? Or are there issues with that design?

              Thanks a lot,

              Eric3691220401?profile=original

            • Hi Henri .. thanks so much for the extra info .. yes I know about using diodes to drop voltage , so I now under stand why you did it..

              I see that this solution could also be used and a switch. To  ground two wires two each other.. just need to change the incoming feed from 5v to one end of the earth pin and the other pin to the out put of the transistor ..some cameras just need to short two pins to trigger ..

              Thanks  

              • Hi Reuben

                Thank you, as well as Henri for this circuit layout.   I built it and hooked it up to a HackHD board camera which usually just needs to short two pins for under a second to start and stop.   Tactile switch speed.  This circuit passes some current through I believe, and though it works, it fires the camera up in Standby mode, usually needing 3 seconds of contact.

                I was wondering if you could explain how that circuit would look if if were only a switch.

                thanks

This reply was deleted.

Activity

DIY Robocars via Twitter
17 hours ago
DIY Robocars via Twitter
Saturday
DIY Robocars via Twitter
Saturday
DIY Robocars via Twitter
RT @f1tenth: Say hi to our newest #F1TENTH creation for @ieee_ras_icra next week in Philly. It’s going to be huge! 😎 🔥 @AutowareFdn @PennEn…
Saturday
DIY Robocars via Twitter
Wednesday
DIY Robocars via Twitter
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Noticed my car zigzagged in last run. It turned out to be the grass stuck in the wheel and made the odometry less accura…
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Test my car. RTK GPS worked great. Thanks @emlid for their support. https://t.co/EkQ6qmjmWR
May 8
DIY Drones via Twitter
RT @chr1sa: @kane That's @diydrones circa 2009. Still have a box of those Canon cameras that we used to strap into planes, just like this.…
May 3
DIY Robocars via Twitter
RT @chr1sa: Our next @diyrobocars race is going to be outside at a real RC racetrack in Fremont on May 28. Fully autonomous racing, head-to…
Apr 30
DIY Robocars via Twitter
RT @f1tenth: Our Spring 2022 F1TENTH course @PennEngineers is coming to an end with a head-to-head race as a big finale. So proud of our st…
Apr 26
DIY Robocars via Twitter
RT @DanielChiaJH: I wrote a thing! Throughout the development of my @diyrobocars car I've been using @foxglovedev Studio to visualize and d…
Apr 23
DIY Robocars via Twitter
RT @SmallpixelCar: My new car for high speed. Low body, everything ( @NVIDIAEmbedded Jetson Xavier NX, @emlid RTK GPS, IMC) under the deck…
Apr 23
DIY Robocars via Twitter
Apr 21
DIY Robocars via Twitter
RT @f1tenth: F1TENTH Race training setup @PennEngineers for our upcoming ICRA2022 @ieee_ras_icra competition. @OpenRoboticsOrg @IndyAChalle…
Apr 21
DIY Robocars via Twitter
RT @fatcatFABLAB: Proud to be hosting a restarted DIY Robocars NYC Meetup April 26. Come by if you want to talk about and race self-driving…
Apr 17
More…