On 10/4/2016 10:29 AM, Sag ich Dir nich wrote: > 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?
You will have to physically connect the pins on the BBB (or CRAMPS) P9 header: Connect P9.42 to P9.30 Connect P9.27 to P9.31 Once you do this, make sure you NEVER set more than one of the pins wired together to be an output. > do i need to make sure the voltage don“t go above 3.3v? Because it says > SCK-5V and MOSI-5V If you connect the pins on the header-side, and hook your encoder signals to the P503 pins, you can make use of the protection chip on the CRAMPS board and you can have 5V encoder signals. -- Charles Steinkuehler [email protected] -- 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.
