SOLO ARDUINO ENVIRONMENT

a step forward in simplification

Here you can find all the resources to work easily with ARDUINO and SOLO.

About ARDUINO 

Arduino has an amazing comminity and popularity among the Makers for all good reasons, it’s friendly for makers and for everyone that starts in electronics or for anyone who wants to make a fast and easy prototyping project.

We share a common value on how working with electronics should be,  and we are happy to support the Arduino users that choose to work also with SOLO in a multitude of ways. 

 

Arduino Environment 1

Implement Your Own Algorithms

 

Analogue Control 

It is possible to make ARDUINO and SOLO working together in a very simple way by using Analogue voltages or PWM pulses to control the basic tasks.

It’s possible to read within our Blog the simplicity and how SOLO works in Analogue Control, using Potentiometers or using other input sources.  

Digital Control 

Using our Digital Protocol we are able to comunicate to any system with UART or USB port, on top of this communication layer we have built a simplified solution for ARDUINO Users called SOLO Motor Controllers ARDUINO Library that works with UART and CANopen protocols.

When you need more sophisticated control with ARDUINO compared to Analogue Controls, you can easily use our SOLO Motor Controllers ARDUINO Library, to implement your own ARDUINO Projects using wide range of actions that are offered by SOLO in the easiest and most practical way.

SOLO Motor Controllers ARDUINO Library

Speed up your development process in 3 steps, using our Library and stay focused on your projects, the thing that really matters!

 

1- Install the Library in the Arduino IDE.

Arduino Environment 2

2- Connect Solo and Arduino

SOLO UNO wiring

SOLO MINI wiring

Important Note for ARDUINO UNO users

NOTE 1: Whenever you want to program your ARDUINO UNO board through the ARDUINO IDE, YOU need to disconnect the UART_RX of ARDUINO UNO, by not doing this, you might get some errors in ARDUINO IDE during uploading the code.

( In ARDUINO UNO, there is only 1 line of UART which is shared between the UART to USB convertor of the ARDUINO board itself which is also used for flashing the ARDUINO UNO board as well. To know more, read this post on the ARDUINO website. )

NOTE 2: For Arduinos rated at +5V, to have a consistent start-up while Arduino is connected to SOLO, you need to make sure that the +5V output of SOLO is also connected to the +5V of Arduino

(Arduino might disturbe SOLO during boot-up stages due to over-current drained from TX and RX lines.)

3- Write A few lines of codes using our library

 

You can also open library examples directly in the Arduino IDE:

Arduino Environment 5

A deep step-by-step tutorial about SOLO Arduino Library is here:

CANopen Capability

Arduino Environment 6

For demanding and industry-standard applications, the library supports the CANopen protocol, which can be used as a protocol between Arduino and SOLO, it’s as simple as the UART communication with extremely little 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. 

The SOLO Arduino Library is a merged library that contains UART and CANopen in a single place.
Read more here.

 

CANOPEN Connection

SOLO UNO wiring

SOLO MINI wiring

CANOPEN CODE

 

If you install the SOLO library in the Arduino IDE, the CANopen examples will be directly available inside the Arduino IDE Examples section

Library Explanations and Tutorials

Tutorial: How to start

You can read our Hello World  here

Code Documentation

You can access the Code Documentation  here

Example: Get Temperature

Example: Get BusVoltage

Example: Set and Get Number of Poles

Tutorial: Sensorless Speed Control of a Brushless Motor

You can read the full code and explanation here.

Tutorial: Drone/RC Car Brushless Motors in Sensorless Mode Up to 30,000 RPM

You can read the full code and explanation here.

Tutorial: Position Control of a Brushless Motor

You can read the full code and explanation here.

Tutorial: Speed and Torque Control of a Brushless Motor with Hall sensors

You can read the full code and explanation here.

Support

We try our best to support all the user. We have a section in our FORUM where you can post your question.

ARDUINO and SOLO Articles

Speed and Torque Control of a Brushless Motor with Hall sensors using Arduino and SOLO [+ Arduino Code]

Speed and Torque Control of a Brushless Motor with Hall sensors using Arduino and SOLO [+ Arduino Code]

In this article we are going to talk about how to control Torque and then Speed of a Brushless motor of any kind from BLDC, PMSM or Coreless EC brushless motors using Hall sensors as their rotor position feedback precisely and efficiently, we are also going to use a...

read more