so i want to use pin 4 (SCK) and 6 (MOSI) of P503 for eQEP encoder inputs A 
and B. If i read correctly, those are pins P9.31 for SCK and P9.30 for MOSI.
I set them to input like so: config-pin 931 input
                                       config-pin 930 input

but how do i connect those pins to p9.92 and P9.27?

do i need to make sure the voltage don“t go above 3.3v? Because it says 
SCK-5V and  MOSI-5V

Am Mittwoch, 28. September 2016 02:01:14 UTC+2 schrieb Charles Steinkuehler:
>
> Why do you need a 3.3V regulator?  The BBB supplies 3.3V which 
> probably has enough current capacity to drive whatever I/O circuits 
> you need to hook up. 
>
> If you are referring to the eQEP0 inputs signals, if your encoder 
> provides 5V signals (likely) you just need to make sure they never go 
> above 3.3V.  There are various ways to do this using FETs, level 
> translator ICs, and many other solutions. 
>
> If you do not need all the limit switch and SPI expansion signals on 
> the CRAMPS board, the easiest thing to do might be to use the existing 
> protection chip and wire the "clean" version of the input signals to 
> more than one BeagleBone I/O pin.  For instance, you could use the 
> Z-Min and Z-Max inputs (on P502) for your encoder inputs, then connect: 
>
>   P9.11 (Z-Max) to P9.92 (eQEP0A_in) 
>   P9.13 (Z-Min) to P9.27 (eQEP0B_in) 
>
> Make sure that P9.11 and P9.13 are setup as inputs, and set P9.92 and 
> P9.27 to eqep inputs, and you should be good. 
>
> On 9/27/2016 6:37 PM, Sag ich Dir nich wrote: 
> > can i use a normal resistor to get 3.3v out of 5v or do i have to use a 
> step 
> > down voltage regulator, that outputs 3.3v and works with 4v? (when it is 
> a 
> > constant voltage of 5v, i could use a regulator but i dont know what to 
> use for 
> > signal because it is a frequency, not a constant) in case of a 
> regulator, i 
> > would use this 
> > one: 
> http://www.exp-tech.de/pololu-3-3v-2-6a-step-down-voltage-regulator-d24v22f3 
> > 
> > Am Sonntag, 25. September 2016 18:35:05 UTC+2 schrieb Charles 
> Steinkuehler: 
> > 
> >     On 9/25/2016 10:33 AM, Sag ich Dir nich wrote: 
> >      > Hi, 
> >      > 
> >      > does anybody know where on the CRAMPS board the eQEP0A_in (P9.92) 
> and 
> >     eQEP0B_in 
> >      > (P9.27) pins are? (i mean the physical pins) I need them for an 
> Encoder for 
> >      > Spindle control 
> > 
> >     Schematics are online: 
> >     
> https://github.com/cdsteinkuehler/bobc_hardware/blob/CRAMPS-v2.2.1/CRAMPS/CRAMPS.pdf?raw=true
>  
> >     <
> https://github.com/cdsteinkuehler/bobc_hardware/blob/CRAMPS-v2.2.1/CRAMPS/CRAMPS.pdf?raw=true>
>  
>
> > 
> > 
> >     eQEP0A_in (P9.92): 
> >     SPLCS1 on the CRAMPS board, which is available on P303 pin 4 (with 
> no 
> >     input protection, so make sure your signal is 3.3V or less). 
> > 
> >     eQEP0B_in (P9.27): 
> >     FET3 on the CRAMPS board.  This goes to the '244 buffer driving the 
> >     FETs, so you will need to wire directly to the P9 header.  Again, 
> make 
> >     sure the signal is 3.3V or less, and do *NOT* use the FET3 output 
> (E1 
> >     heater) when running the encoder.  You might even want to remove the 
> >     FET from the board. 
> > 
> >     -- 
> >     Charles Steinkuehler 
> >     [email protected] <javascript:> 
> > 
> > -- 
> > 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 [email protected] <javascript:> 
> > <mailto:[email protected] <javascript:>>. 
> > Visit this group at https://groups.google.com/group/machinekit. 
> > For more options, visit https://groups.google.com/d/optout. 
> > 
>
>
> -- 
> Charles Steinkuehler 
> [email protected] <javascript:> 
>

-- 
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 [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to