-
Real-time Motor and Motion Control with a Raspberry Pi without a real-time OS
Single-board computer (SBC) gained more and more popularity during the last years due its opensource software and the simple hardware. With these SBC it is possible to develop quickly and easily prototype systems or even full products. The standard Linux distributions have no real-time capabilities. For many projects like a digital weather station, this is […]
-
Driving Stepper Motors with the new TMC5160 by using TRINAMIC’s API on a Raspberry Pi
This start-up guide explains how to connect your Raspberry Pi 3 to the TMC5160-BOB – the breakout board of the brand new TMC5160. We’ll be using the internal Motion Controller and +3V3 logic supply for the TMC5160. The wiring will be limited to the basic functionality to communicate via SPI. The usage of the TRINAMIC’s API […]
-
How to drive a stepper motor via UART with your Arduino Mega using a TMC5072-EVAL
Today we show how to connect TRINAMIC’s TMC5072-EVAL via Single Wire UART to an Arduino Mega for basic operation. The wiring is limited to the basic functionality to communicate via Single Wire UART. Preperation To use the 5V version of the Arduino MEGA you have to resolder Resistor from position R3 to R8. This enables […]
-
How to drive a stepper motor with your Raspberry Pi 3/2 using a TMC5130-EVAL
In this start up guide you get explained how to connect your Raspberry Pi 3 or 2 for the basic operation of the TMC5130-EVAL board. It will use the internal Motion Controller and +3V3 logic supply for the TMC5130. The wiring will be limited to the basic functionallity to communicate via SPI. The internal CLK […]
-
How to drive a stepper motor with your Arduino Mega using a TMC5130-EVAL
Only a few wires including an SPI port are required to control TMC5130-EVAL with your Arduino. Here are the few steps required to get started. Preparation If your Arduino is a 5V type you have to resolder one resistor on the TMC5130-EVAL from position R3 to R8. This sets the logic level of the TMC5130 to +5V. While by default […]
-
TMCL: how to implement a for loop
This program demonstrates how to implement a for loop For more details look at TMCL_reference.pdf SGP 0, 2, 0 //set user variable #0 //for Loop forLoop: // add your code here // GGP 0, 2 //get user variable #0 to accu CALC ADD, 1 //add 1 to accu AGP 0, 2 //accu to user variable […]