Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!
Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.
Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!
Hello all, this is my first post. I am excited to join the community; I have had my Arduino for a few years but am just now getting to put it to use. So far it has been fun and very educational.
What I want to do achieve: I have a 3.3V circuit that runs along several switches in series. These switches are attached to a relay that relies on the 3.3V to keep the circuit closed. If one of my switches fails, the relay collapses, and a warning LED lights. I want to wire my Arduino in series with these switches and if my Arduino program runs into a certain circumstance (using an if statement), I want to open the circuit at the Arduino and control the LED. Is this possible? If so, a nudge in the right direction, would appreciate.
If anyone has question or I need to clarify, please let me know. Thank you in advance!
You have a bunch of switches in series; all need to be close so the relay stays on. Now you'd like to have the arduino basically detect which switch opened. Right?
Since I do not know the exact purpose of your circuit, ... Maybe you could replace the switches with "double" switches (also called "dual" or "(DPST) Double Pole Single Throw Switch")?
These "double" switches are quite common and in fact have two independent switches build in (verify for the switch you may be using!). One half of the switch can then for your current circuit, and other half for you to connect to an Arduino pin.
Something like this (just an example I found here, for two independent circuits, but one common switch):
So one side of the switch for your existing circuit (the light bulb in the example), and the other side each to its own Arduino pin (the light motor in the example). Note: If you have more switches than pins, then you may have to work with a switch matrix (a little more complicated - but nothing scary).
Sorry it is a bit confusing. What I have is an already designed circuit that holds a relay open with 3.3V along multiple in series switches. If any of the switches open, the relay collapses closed, allowing 12V through to light a tower light.
What I am doing with the Nano, is adding another fault condition. I want the Nano in series with the already existing circuit. nothing should happen, unless my programmed condition occurs. At which point, the Nano should open the circuit, which will light my tower light. I was hoping to run the Nano in series using the GPIO pins only, but I am not finding any info related to this.
With that said, I think I am going to add a NC relay module to the Nano and have it open the relay if my condition occurs, lighting my light.
So your nano is like "one of the switches" in your current circuit. The yes, a relay could be the way to go. Definitely the easiest way.
Depending on the setup, if you choose to use a relay, then pick a relay that can match the default switch position. meaning; if a switch typically is "off", then make sure the relay is in that position when the relay isn't powered (or vice versa). Keep in mind that a relay is designed to switch occasionally. So you'd ideally want the relay to be in "rest" position, not powered, most of the time. I hope that made sense.Â
As non-mechanical alternative, you can use a so called solid state relay.
Very much depending on the rest of your circuit, there are even more potential options like using a transistor or opto-coupler.
Media Player Classic My favorite media player for Windows - light weight and supports all common video formats.
KODI (a.k.a. XBMC) KODI (XBMC) is probably the best media center application out there, suitable for multiple platforms.
Animizer Animizer.net provides complete online toolbox for animations (GIF and APNG) - Edit, Assemble, Split or Convert, it's all there.
WhyNoPadLock Test your website and discover why the green padlock is not appearing when using HTTPS
VueScan Ultimate scanning tool for Windows, Linux, and macOS, supporting pretty much any scanner, even those no longer supported by your OS. (no scanner drivers needed!)
Lazarus / FPC Lazarus / Free Pascal Compiler - A cross platform software development environment that show similarities with the good old Delphi.
Links Page These and more of our favorite links can be found on the Links Page.
New Downloads
ConnectMeNow4-v4.0.18-macOS-x86-64.dmgDate: 2024-04-24 - Size: 3.5 MBVersion 4 of ConnectMeNow - A tool for more convenient mounting of network shares under macOS. This is the Intel version which works on Intel and Apple Silicon Macs.
ConnectMeNow4-v4.0.18-macOS-arm64.dmgDate: 2024-04-24 - Size: 3 MBVersion 4 of ConnectMeNow - A tool for more convenient mounting of network shares under macOS. This is the Apple Silicon version (not suitable for Intel).
MiniWOL2 MacOS (64 bits Apple Silicon)Date: 2023-08-01 - Size: 1.2 MBminiWol is a simple, but effective application to send Wake On LAN to network devices. This is the signed 64 bit MacOS ARM (Apple Silicon) version.
MovieScanner2-2.2.3-Windows-32bit-setup.exeDate: 2023-04-12 - Size: 18.6 MBA small application that uses FFProbe to scan your video files and logs these details in a small database. This is the 32 bit Windows version.
MovieScanner2-2.2.2-Linux-GTK-64bits.tar.gzDate: 2023-04-11 - Size: 29.2 MBA small application that uses FFProbe to scan your video files and logs these details in a small database. This is the 64 bit Linux version for GTK.
MovieScanner2-2.2.2-Linux-QT5-64bits.tar.gzDate: 2023-04-11 - Size: 29.1 MBA small application that uses FFProbe to scan your video files and logs these details in a small database. This is the 64 bit Linux version for QT5.
Downloads Page Find these and more Downloads on the Downloads Page, where you will also find articles references, operating system requirements and categories.
Amazon Ads
Support us by doing your shopping at Amazon.com, either click the link, or click one of the links below …
You can also sponsor us through these Amazon offerings:
Please consider disabling your ad blocker for our website.We rely on these ads to be able to run our website.You can of course support us in other ways (see Support Us on the left).