self trigger

need held!.
why arduino trigger itself when connected to other component like relays,solenoid..
ex; on off led. switch on led using switch...but i dont switch the switch the led on itself..why??

Google "back EMF"

any solution for that problem?

Switching any inductive component requires a means to prevent high voltage inductive kick-back. Typically with DC you'd use a free-wheel diode across the inductive component.

If you search for relay driving circuits you'll see this in every circuit.

i used to all relay the dumping diode..but still when connected to other circuitry do the self trigger...

Keep wires short, and separate.

What load are you switching with the relay contacts?

the trigger input is connected to the c - nc of relay of other circuitry...
when i connect it itself trigger... but when i direct it without connecting to the relay is ok.

need help..!!
how to avoid false trigger..
im using internal pullup..also encountered..
try externall pullup same prob..
not pressing the button to start but it automatically trigger..why?

any suggestion??

geofmen:
any suggestion??

Yes.... furnish a schematic and your code.

Please READ THIS POST to help you get the best out of the forum.

SIMPLE TROUBLESHOOTING.

These steps may also save you some unnecessary time and effort in the forum.

COMMON ISSUES

  • Check you have a COMMON GROUND where required.

  • Where possible use USB 2.0 ports or a USB 2.0 POWERED HUB to rule out USB 3.0 issues.

  • Try other computers where possible.

  • Try other USB leads where possible.

  • You may not have the correct driver installed. CH340/341 or CP2102

  • There may be a problem with the board check your wiring first.

  • Remove any items connected to pins 0 and 1.
    COMPUTER RELATED

  • Ensure you turn off any additional security / antivirus just to test.

  • There may be a problem with the PC try RESTARTING it.

  • You may be selecting the wrong COM port.

  • Avoid cloud/network based installations where possible OR ensure your Network/Cloud software is RUNNING.

  • Clear your browsers CACHE.

  • Close the IDE before using any other serial programs.

  • Preferably install IDE's as ADMINISTRATOR or your OS equivalent
    Performing the above actions may help resolve your problem without further help.

Bob.

simple on off sequence..
button switch to start a program and relay on..
sometimes although the button switch not trigger it automatically on..the relay triggered.. im using damping diode on relay..and pinMode(sw,INPUT_PULLUP).....to trigger.

Some random behavior can be caused by stray external signals and power spikes.

A simple example is a nearby light switch or some other electrical device that sends a very small spike.

Another is a wrongly selected power supply with too little current or having a voltage drop when something attached draws too much from it.

These types of fault can be a pain to find and fix.
Common things to try include moving the project to another power source.
Checking the load of the attached devices to the power supply or monitoring with a multimeter.
Adding some shielding which could be as simple as shielded cable to any sensors or other attached devices.
Using a STAR ground approach to the common negative rail.
Shielding the Arduino itself.
Using snubber diodes and or capacitors and or ferrite rings etc. as filters.

Bob.

Same query as this?

No schematic and code?

@geofmen

Your cross posting wasted a lot of peoples time and efforts !
TOPIC MERGED.

You may want to READ THIS for future reference.
It will help you get the best out of the forum.

Bob.

Thanks Hovis !

Hi,
What do you mean by "self trigger".
Does the Arduino RESET or does the relay chatter?

What model Arduino are you using?
How are you powering your project?

We need to see your code.
We need to see a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?

Tom... :slight_smile: