Python Motor Controller

If you are in search of a versatile and efficient way to control motor and automated systems with Python, you’ve come to the right place.

SoloPy supported by All SOLO Motor Controller is a Simple-To-Use, Vast and Maintained library for managing motors and actuators using the powerful Python programming language.

Python Motor Controller 1

Choose Your OS

Python is supported in several OS and Hardware, here a list of the System we write in our Articles or Tutorials.

Windows OS

Versatile connectivity options on the Windows OS using USB, UART

 

 

Linux OS

Versatile connectivity options on the Linux like OS using USB, UART, or CANopen protocols through the CANable interface.  [Soon CANable tutorial]

 

Raspberry Pi

Versatile connectivity options on Raspberry Pi using USB, UART, or CANopen protocols through the CANable interface or CAN shield

Install SOLOPY

SoloPy is Open Source,  present on GitHub, and is possible to install using PIP in a convenient and standard way

Pip command in the terminal:

python -m pip install SoloPy

Pip command in the terminal:

pip install SoloPy

Pip command in the terminal:

pip install SoloPy

SET-UP

There are several opportunities on how to connect your system to your desired SOLO Motor controller.

Alternatives:

      • USB port
      • UART pins (TX,RX, GND)
      • CAN pins (CH, CL, GND)
Python Motor Controller 2
Products Specs page here
Python Motor Controller 3
Products Specs page here
Python Motor Controller 4
Products Specs page here
Python Motor Controller 5
Products Specs page here

Code Example

Here are some examples. You can check the Repo/Examples or the Documentation to better know SoloPy

In the example PC is connected to the Motor Controller with a USB data cable.

In the example PC is connected to the Motor Controller with a USB data cable.

In the example Raspberry Pi UART (TX, RX) and GND pins are connected to the UART (RX, TX) and GND pins of the Motor Controller.


In the example Raspberry Pi  Module CAN (CH, CL) and GND pins are connected to the CAN (CH, CL) and GND pins of the Motor Controller

The following CAN transceiver module “PiCAN2” has been used to test the Example

Canopen support

Python Motor Controller 6

For demanding and industry-standard applications, the library supports the CANopen protocol, which can be used as a communication protocol, it’s as simple as the UART communication with extremely few differences, in short, the protocol is much stronger compared to UART, able to support high-intensity communication, under harsh conditions with superior error handling, and networking capabilities. 

SoloPy is a single library that contains SERIAL/UART and CANopen capabilities.

 

SOLOPY Articles

The Easiest way to control the Torque of a BLDC with Raspberry Pi using SOLO with Hall sensors feedback [+ Code]

The Easiest way to control the Torque of a BLDC with Raspberry Pi using SOLO with Hall sensors feedback [+ Code]

To control the Torque of a BLDC or PMSM motor that is equipped with HALL sensors, you need to have a Motor controller like SOLO, that has the capability of delivering High powers to the motor and at the same time, it’s smart enough to take care of stabilizing the...

read more