Pul and dir signals see the wiring diagram do not try to use the rpi to sink current from a 50 vdc source. Raspbian is the officially supported os for raspberry pi but there are many other linux oses adapted for the pi for example ubuntu mate.

The Pi4j Project Control Example
Raspberry pi wiring diagram software. Sudo apt get purge wiringpi. This instructable follows the steps i took to connect a raspberry pi 3b to a tb6600 stepper motor controller a 24 vdc power supply and a 6 wire stepper motor. Code the classics volume 1 build your own first person shooter in unity the official raspberry pi projects book volume 5 book of making volume 2. Read it now hackspace issue 32. Read it now wireframe issue 40. If you dont have the coin acceptor yet you can still proceed to install the software and configure your wifi vending machine as long as you have araspberry pipower supplyfor raspberry pi and amicro sd cardyou wont be able to test the payment functionality though.
Keep your eyes to the skies. This is a good idea to do regularly anyway sudo apt get update sudo apt get upgrade to obtain wiringpi using git. If you get any errors here make sure your pi is up to date with the latest versions of raspbian. Prepare the materials needed. Raspberry pi python and a tb6600 stepper motor driver. If you have a non raspbian os youll need to install wiringpi from source through the following steps.
Meet the makers going higher further faster. Build your own raspberry pi 4 games console.