Using a relay to trigger Arduino

Hey All,

I tried searching but didn't find what I am looking for so hopefully it hasn't been asked before.

I have an Arduino program setup and running a stepper motor sequence. That's all working fine, triggered with a push of a button.

What I would like to do now is have that program triggered by an existing machine/outside circuit (Not an Arduino) . The circuit has higher voltage than the Arduino can handle.

Is the best way to make this work to use a relay that will close a trigger circuit for the Arduino?

I hope this makes sense.

A relay contact will work.

An opto isolator will work.

A simple transistor will work.

Does you machine have a common electrical ground that can connect to the Arduino gorund? If not, then relay or opto-isolator is the answer.
Paul

Octo - Isolator! ... Perfect!

Thank you!

I have knowledge of programming, but it's been far to long since I have dealt with any circuits and components like this. This is perfect.

looped:
Octo - Isolator! ... Perfect!

Thank you!

I have knowledge of programming, but it's been far to long since I have dealt with any circuits and components like this. This is perfect.

NO! Opto-isolator. As in optical isolator!
Paul

lol ... Damn auto correct.

Opto ... Got it.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.