Re: [Machinekit] CRAMPS kicad errors

2017-05-23 Thread Charles Steinkuehler
That part will be fine.  There are lots of manufacturers making the
2N7002K (Vishay, Diodes Inc., Fairchild, ON, Toshiba, NXP, etc), and
each has a slightly different part number.

On 5/23/2017 3:46 AM, Klemen Živkovič wrote:
> I checked on Farnell and see that this N channel fet was removed from 
> production 
> (oops), so alternative they offer me is:
> NX7002AK. Will this be OK ?
> Ok now I understand estop logic ;)
> 
> regards
> 
> On Fri, May 19, 2017 at 4:19 PM, Charles Steinkuehler 
>  > wrote:
> 
> On 5/19/2017 3:25 AM, Klemen Zhivko wrote:
> > Thank you Charles,
> >
> > one additional CRAMPS related question:
> >
> > I want  to stop machine when error happens on stepper driver - in that 
> case my
> > error signal from stepper driver is low (0V) - if there is no error 
> this signal
> > is high (5V)
> > To what pin on cramps should I connect this signal so that any error 
> (0V) will
> > interrupt (estop) machinekit?
> >
> > I thought about connecting any of 5 stepper motor drivers error signal 
> to
> > P302-Pin1 on CRAMPS - will that work?
> 
> Not without some logic.
> 
> When the ESTOP signal is low, everything is OK.  You need to make the
> ESTOP line high when there is a fault (the error signal is low).
> 
> The easiest way to do this would be to put a "switch" in the ESTOP
> chain.  You can use the same 2N7002K FETs I use for this:
> 
> * Tie the gate to your error signal
> 
> * Tie the source to P302 pin 1
> 
> * Tie the drain to P302 pin 2
> 
> * If you have a physical ESTOP switch or chain, just put the FET in
> series with the physical switch, with the source towards pin 1 and the
> drain towards pin 2.
> 
> Then when everything is OK (error is high) the FET will conduct (looks
> like a wire or closed switch) and when there is a fault (error is low)
> the FET will turn off, breaking the ESTOP chain.
> 
> Almost any small-signal FET will work, I just like the 2N7002K because
> it's readily available, inexpensive, and there's protection on the
> gate (the "K" part of 2N7002K) so they are fairly robust when
> hand-soldering and don't (easily) get zapped by ESD.
> 
> --
> Charles Steinkuehler
> char...@steinkuehler.net 
> 
> --
> website: http://www.machinekit.io blog: http://blog.machinekit.io github:
> https://github.com/machinekit
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "Machinekit" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/machinekit/OE5ql_vDCT4/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> machinekit+unsubscr...@googlegroups.com
> .
> Visit this group at https://groups.google.com/group/machinekit
> .
> For more options, visit https://groups.google.com/d/optout
> .
> 
> 
> -- 
> website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
> https://github.com/machinekit
> ---
> You received this message because you are subscribed to the Google Groups 
> "Machinekit" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email 
> to machinekit+unsubscr...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/machinekit.
> For more options, visit https://groups.google.com/d/optout.
> 


-- 
Charles Steinkuehler
char...@steinkuehler.net

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.


Re: [Machinekit] CRAMPS kicad errors

2017-05-19 Thread Klemen Zhivko
Thank you Charles,

one additional CRAMPS related question:

I want  to stop machine when error happens on stepper driver - in that case 
my error signal from stepper driver is low (0V) - if there is no error this 
signal is high (5V) 
To what pin on cramps should I connect this signal so that any error (0V) 
will interrupt (estop) machinekit?

I thought about connecting any of 5 stepper motor drivers error signal to 
P302-Pin1 on CRAMPS - will that work?

regards 

Dne sreda, 17. maj 2017 13.55.35 UTC+2 je oseba Charles Steinkuehler 
napisala:
>
> On 5/17/2017 4:32 AM, Klemen Zhivko wrote: 
> > Dear all and Charles, 
> > 
> > I want to build custom hat for cramps, where I could have connectors for 
> stepper 
> > signals, modiy E-STOP, add some custom connectors, etc... 
> > So to get pcb footprint of cramps I open CRAMPS kicad project and KICAD 
> throws 
> > this errors: 
> > Do I need to setup this libraries somewhere in kicad settings or 
> anything else I 
> > should do to overcome this problem? 
> > 
> > It seems kicad finds those libraries since it references it correctly... 
> I am 
> > using nigtly build of KICAD since somee other project needs that. 
>
> I have not migrated from KiCad 4022 stable version for Windows. 
>
> I'd recommend trying 4022, a *LOT* of stuff has changed in the newer 
> KiCad releases. 
>
> -- 
> Charles Steinkuehler 
> cha...@steinkuehler.net  
>

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.


Re: [Machinekit] CRAMPS kicad errors

2017-05-17 Thread Charles Steinkuehler
On 5/17/2017 4:32 AM, Klemen Zhivko wrote:
> Dear all and Charles,
> 
> I want to build custom hat for cramps, where I could have connectors for 
> stepper 
> signals, modiy E-STOP, add some custom connectors, etc...
> So to get pcb footprint of cramps I open CRAMPS kicad project and KICAD 
> throws 
> this errors:
> Do I need to setup this libraries somewhere in kicad settings or anything 
> else I 
> should do to overcome this problem?
> 
> It seems kicad finds those libraries since it references it correctly... I am 
> using nigtly build of KICAD since somee other project needs that.

I have not migrated from KiCad 4022 stable version for Windows.

I'd recommend trying 4022, a *LOT* of stuff has changed in the newer
KiCad releases.

-- 
Charles Steinkuehler
char...@steinkuehler.net

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.