Motor Evaluation Kit NEVC-MCTRL-100-t01-1.0.0
Firmware for NEVB-MCTRL-100-01 for trapezoidal control of BLDC motors using Hall-effect sensors
Loading...
Searching...
No Matches
Quick Start

The project code is set up to be used with the Arduino IDE. To learn more about the the Leonardo hardware and software tools, go to Arduino's [getting started page](https://docs.arduino.cc/learn/starting-guide/getting-started-arduino).

Uploading the Code

  1. Install Arduino IDE v1 or v2. Alternatively, you can also use Microsoft Visual Studio Code with the Arduino extension installed.
  2. Download and unzip a copy of the latest version of the code provided for this project.
  3. In this example, Arduino IDE v1 is used. Open main.ino with Arduino IDE.
  4. If this is the first time you are running the code with the motor provided in the kit, then you do not have to modify any parameters unless other parameters are preferred. To make changes to the the configuration for your particular motor, head to the To Do List section to see the list of changes recommended.
  5. Select the appropriate board, in this case Leonardo, from Tools > Board, the correct port from Tools > Port, and ensure the programmer is set to AVRISP mkII under Tools > Programmer.
  6. Click on the "Upload" button to compile and upload the code to the Leonardo development board.

Operating the Board

Note
Before powering on the system, it's essential to refer to the user manual for specific setup instructions related to the Nexperia's BLDC evaluation kit. The manual provides critical information on how to properly configure and prepare the system for operation. Also, refer to the Safety Precautions page.

After ensuring that the setup is in accordance with the manual, power on the system. The motor control program will start, enabling the control and operation of the BLDC motor using the Hall Effect sensors.

Next Steps

Making configuration changes

Making simple configuration changes can be done by changing the User Settable Defines in the motor header file, main.h. These are also summarized in the To Do List section.

Making code changes

Making any further changes to the code will require understanding of the whole code base and it is recommended to read through the documentation completely.

Using SCPI

The code supports basic implementation of SCPI allowing remote control by serial communication. To understand how to use this feature, please refer to the SCPI pages.