Arduino Forum

Using Arduino => LEDs and Multiplexing => Topic started by: Dawiinci on Mar 19, 2014, 09:21 pm

Title: Output not triggering relay
Post by: Dawiinci on Mar 19, 2014, 09:21 pm
I have received my first Arduino Yun.

Currently I'm testing my circuit with a mosfet switching on a relay. It works when I manually use the 5V port of the Yun but not with the Blink sketch mapped to port 6. The LED blinks though if changed to 13.

Am I missing something?
Title: Re: Output not triggering relay
Post by: raschemmel on Mar 19, 2014, 11:43 pm
schematic or wiring list and code. (oh yeah, and photo)
Title: Re: Output not triggering relay
Post by: Dawiinci on Mar 20, 2014, 09:19 am
It is simply the Blink sketch.

The MOSFET works with direct 5 or 3.3 V. So it can't be the circuit.

I use a BS170.
Title: Re: Output not triggering relay
Post by: Paul__B on Mar 20, 2014, 10:55 am

It is simply the Blink sketch.


To "channel" raschemmel if I may, it is clearly not "simply" the "blink" sketch, as you are connecting it to something external to the Arduino.

To figure out the problem, we want to see your circuit, preferably a clearly focused photograph, correctly exposed in good lighting so that every detail can be followed, published using the "Additional options" on the "Post Reply" page in a resolution no larger than 1024 by 768 (and 800 by 600 will usually suffice if the photograph is clear).

In addition, the code you are actually using with this particular circuit, posted using the "code" tags (the [ # ] icon).
Title: Re: Output not triggering relay
Post by: raschemmel on Mar 20, 2014, 05:04 pm
I saw that comin' a mile away....
Title: Re: Output not triggering relay
Post by: Paul__B on Mar 21, 2014, 04:20 am

I saw that comin' a mile away....


We need a keyboard macro.   :D
Title: Re: Output not triggering relay
Post by: Dawiinci on Mar 23, 2014, 12:17 pm
The MOSFET wasn't triggered by the OUTPUT pins. Replaced it and now it works.
Title: Re: Output not triggering relay
Post by: raschemmel on Mar 23, 2014, 07:42 pm
WOW, SUCCESS in under 10 Replies ! That's almost a record .