ULN2803A for external LED - question

Hi,

Have bought a ULN2803A darlington array and am using it for external LED's.

They work fine but they are always on. Is there a way to have  TX switch controll all LEDs such that I can switch them off during the day.

I fiddled around with pin A9 for camera shutter and got that to work on a camera shutter switch set as relay but since its a shutter functionality, it comes on and switches off after some milliseconds. Also with the camera shutter approach I lose all indications I would get if connected to the NAV lights pins.

I am contemplating putting a manual switch on the quad on the +ve wiring for all leds.

Is that the  only way?

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

Join diydrones

Email me when people reply –

Replies

  • No replies.....?

    • Hi - I had my APM setup to do what you are describing.  I could flip a switch to either turn on or off a sting of LEDs using the ULN2008 driver.  I had an output tied to relay using channel 7 through the APM.  My setup was either on or off  - no type of timer was involved.

      I don't have this setup right now as I reconfigured my copter.  

      I hope this helps.

      • Thanks this is helpful however I have different LED's wired to the ULN2803 at different pins. I have wired them as shown here: http://copter.ardupilot.com/wp-content/uploads/sites/2/2012/12/leds...

        Some Questions:

        1. How would the approach you have outlined switch off ALL LED's?

        2. How would I ensure the buzzer is not switched off.

        • I suppose a quick  way to accomplish what you are describing would be to simply add a relay to the positive lead of the circuit (based on the diagram link).  Ensure that the buzzer positive terminal bypasses the relay.  Relay could be driven by the APM as we have discussed or via a radio channel switch product.

          If you don't care to control this via the radio - simply add a switch in the same position as you have already proposed.

          I can think of other methods but this would be the fastest to implement.

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @TinkerGen_: "The Tinkergen MARK ($199) is my new favorite starter robocar. It’s got everything — computer vision, deep learning, sensor…
7 hours ago
DIY Robocars via Twitter
7 hours ago
DIY Robocars via Twitter
RT @roboton_io: Join our FREE Sumo Competition 🤖🏆 👉 https://roboton.io/ranking/vsc2020 #sumo #robot #edtech #competition #games4ed https://t.co/WOx…
Nov 16
DIY Drones via Twitter
First impressions of Tinkergen MARK robocar https://ift.tt/36IeZHc
Nov 16
DIY Robocars via Twitter
Our review of the @TinkerGen_ MARK robocar, which is the best on the market right now https://diyrobocars.com/2020/11/15/first-impressions-of-tinkergen-mark-robocar/ https://t.co/ENIlU5SfZ2
Nov 15
DIY Robocars via Twitter
RT @Ingmar_Stapel: I have now explained the OpenBot project in great detail on my blog with 12 articles step by step. I hope you enjoy read…
Nov 15
DIY Robocars via Twitter
RT @DAVGtech: This is a must attend. Click the link, follow link to read the story, sign up. #chaos2020 #digitalconnection #digitalworld ht…
Nov 15
DIY Robocars via Twitter
RT @a1k0n: Got a new chassis for outdoor races (hobbyking Quantum Vandal) but I totally didn't expect that it might cause problems for my g…
Nov 11
DIY Drones via Twitter
First impressions of the Intel OpenBot https://ift.tt/36qkVV4
Nov 10
DIY Robocars via Twitter
Nov 9
DIY Robocars via Twitter
Excellent use of cardboard instead of 3D printing! https://twitter.com/Ingmar_Stapel/status/1324960595318333441
Nov 7
DIY Robocars via Twitter
RT @chr1sa: We've got a record 50 teams competing in this month's @DIYRobocars @donkey_car virtual AI car race. Starting today at 10:00am…
Nov 7
DIY Robocars via Twitter
Nov 6
DIY Robocars via Twitter
RT @a1k0n: Car's view, using a fisheye camera. The ceiling light tracking algorithm gave me some ideas to improve ConeSLAM, and having grou…
Nov 5
DIY Robocars via Twitter
RT @a1k0n: To get ground truth I measured the rug, found the pixel coordinates of its corners, calibrated my phone camera with my standard…
Nov 5
DIY Robocars via Twitter
RT @a1k0n: @DIYRobocars is back in December, but outside. Time to reinvestigate ConeSLAM! I rigged up a quick and dirty ground-truth captur…
Nov 5
More…