Quantcast
Channel: Reprap Forum - Controllers
Viewing all articles
Browse latest Browse all 10211

can't make Endstop_1.3.1's signal detected by arduino UNO + have a weak LED's light

$
0
0
Hi,

I'm testing the Gen7_Endstop_1.3.1 on a breadboard. And I can't make it works fine.

I link the output signal of the endstop to an input belonging to an arduino UNO Board and I plug an external LED+resistor to an other arduino's output.

I use this little arduino code for polling and repeating the signal of the endstop to the external LED :
void loop()
{
   digitalWrite(outExtLed, digitalRead(InEndStop)); 
}

The endstop detects obstacle but the LED belonging to the endstop barely light up as there is only 200 uA through it. My external led don't light.

But if I unplug R3, making the endstop's led useless, the arduino detect perfectly the two state (with/without obstacle) and so my external led works fine.

I guess the endstop circuit design works fine so I don't know what I did wrong.(I use the 5 V alimentation of my arduino board as in gen7 the endstops are alimented by 5V also).

So if you can help me with that thanks ; )

Viewing all articles
Browse latest Browse all 10211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>