background image

LV8702VSLDGEVK

www.onsemi.com

15

16. GUI Tool Tip Display

The GUI sends serial data to execute API
functions in the Arduino through USB.
With the API Hints turned on, hover over different
buttons and settings to display descriptions and
functions associated with that item.

The API hints can be turned off by navigating
through the ToolTipMode menu at the top of the
window

17. Help Function

From the help menu, it is possible to view GUI
and API version information, as well as serial
communication details.

Selecting About will display the following
window.

Product name

GUI version

API version

Selecting SerialPort will display the overview of
serial communication. 

181920

21. Arduino Program Automatic Generation

When using the GUI, automatically generated
Arduino code will be output to the log window.
It is possible to export the code to an Arduino
sketch (.ino) file that can be used with the Arduino
IDE.
Once the automatically generated code is imported
into the Arduino IDE, it is possible to mimic the
procedures from the GUI.

1) Generating and writing Arduino code
Pressing Generate Program will open a save file
dialog.

Summary of Contents for 180-6981

Page 1: ...g Micro step and Rotating at High Speed Rotation 4 Patterns can be Set for Full Half 2 Patterns and Quarter Step High efficiency Drive that Adjusts the Current to the Optimum Current according to the Motor Load and Rotational Speed in Half Quarter Step Setting The Reduction of Power Consumption Heat Generation Vibration and Noise is Achieved User friendly GUI Allows Operation Check and Sample Prog...

Page 2: ...ONTENTS OF THE KIT Hardware LV8702VSLDGEVB Motor driver module ONBB4AMGEVB Baseboard Arduino Micro USB Cable Micro B A Flat tip Screw Driver Stepper motor MDP 35A Nidec Seimitsu Step angle 7 5 deg 12 V 300 mA 1 pc Software All of the following files are included in LV8702VSLDGEVK Software English that is available on the website of the following links http www onsemi com PowerSolutions evalBoard d...

Page 3: ... displayed if the ino file is not inside of a folder with the same name E g Sketch12345 ino must be in the Sketch12345 folder 2 Include the API Library As shown below navigate to Sketch Include Library Add Zip Library The following window will appear Select the LV8702_APILibrary folder and open this folder as shown below Click the folder only once and push Open button Do not double click the folde...

Page 4: ...successful compile has been verified 3 Connect the PC to the Arduino Micro via USB and select the corresponding COM port as shown below 4 Upload the sketch by clicking Sketch Upload or by pressing the button In the process of uploading the Arduino Micro bootloader will be installed The IDE will display Done uploading after a successful upload to the Arduino Sketches written to the Arduino will not...

Page 5: ...ncluded a Compile and write the program to the Arduino See Page 4 Compiling the Arduino program S Write to Arduino If you are testing the any other motor driver module library for the first time please operate according to their corresponding manual GUI Installation 1 Double click on in the folder and proceed with the installation as shown below If a previous version of this GUI ON_MD_Module_Kit_G...

Page 6: ... User administrative rights may be required for installation If an alert for user account control is displayed please select Yes The following screen will be displayed after a successful installation Make sure the GUI shortcut icon is created on the desktop as shown below and that the program has been added to the Windows start menu Desktop Shortcut Start Menu ...

Page 7: ...UT_A B C D CN5 Firmly fix the wires by screwing down the terminals with a flat heat screwdriver Refer to the table below for motor connectivity OUT_A A Blue OUT_B A White OUT_C B Yellow OUT_D B Red Motor Wiring Diagram Do not worry about incorrect wiring Incorrect wiring will NOT cause any damage to hardware 4 Connect the Arduino to a PC using a USB cable 5 Insert the AC Power adapter into the DC ...

Page 8: ...GUI will automatically navigate to the LV8702 tab 3 Set the chip enable function As LV8702V to the chip enable function This function switches between Standby and Operating modes Operation Operating mode Standby Standby mode 4 Specify the desired motor excitation and direction of rotation Excitation Excitation Method One step Rotation Angle Full step 1 1 Step angle Half step Full torque 1 2 Step a...

Page 9: ...der Transfer Unit 7 Set the motor speed in step s or rpm step s pps Frequency of the number of steps per second rpm Rotational speed of the motor per minute Stepper motors are not intended for sudden acceleration and will vibrate if the control exceeds the maximum rotation speed When using the included reference motor with the recommended AC adaptor please set the rotation speed according to the t...

Page 10: ...ull Step is set The high efficiency drive function automatically optimizes the motor current according to the motor load and rotational speed By turning on this function power consumption heat vibration and noise can be reduced The high efficiency drive function consists of the following three parameters Efficiency ON OFF of high efficiency drive function When the high efficiency drive function is...

Page 11: ...opup message will be displayed when exiting the GUI Select Yes to quit the GUI Select No to cancel the exit and return to the main screen If the GUI is closed while the motor is still running the motor will be stopped and the window will close For more details on the following features refer to the next section on How to use the GUI Log 19 Saving the GUI Log 20 Clear the GUI Log 21 Program Generat...

Page 12: ...he work log can be saved as a txt file or a csv file 20 Clear GUI Log By pressing the CLEAR button the content displayed on the work log will be erased 21 Program Generation Pressing the Generate Program will output the executed API functions on the work log into a ino program file that can be uploaded directly with Arduino By writing the output of the ino file to Arduino motor control can be exec...

Page 13: ...o the terms and conditions during the setup by clicking the I Agree button 3 Leave the following default components to install as is and press Next 4 Set the install directory and press Install 5 If prompted please install the Arduino USB Drivers n Arduino USB Driver n Genuino USB Driver n libusb win32 n Adafruit Industries LLC Port COM and LPT n Linino Port COM and LPT 6 Below shows a completed i...

Page 14: ...s when the Read button is pressed is displayed Normal Normal conditions DST1 H DST2 H Close to Stall Electrical detection of danger of stall DST1 H DST2 L Stall Detected Electrical detection of stall state DST1 L DST2 H Warning Detects the state of short circuit between the OUT terminal and the power supply and GND of the OUT terminal and the IC overheat state DST1 L DST2 L Step Pulse Receive Erro...

Page 15: ...ation as well as serial communication details Selecting About will display the following window Product name GUI version API version Selecting SerialPort will display the overview of serial communication 181920 21 Arduino Program Automatic Generation When using the GUI automatically generated Arduino code will be output to the log window It is possible to export the code to an Arduino sketch ino f...

Page 16: ...lay function the user is able to freely adjust the rotation time as well as the interval time between each API call execution This can be used to achieve the desired stand alone operation Parameter units are msec 1000th of a second For a delay of 1 second use delay 1000 Example of changing the interval time NOTE motorRotationDeg 10 720 0 0 0 will start the motor with Full step CW 10 Step s and an ...

Page 17: ...05 C2 CAP_1005 C3 CAP_1005 C6 CAP_1005 R15 RES_1005 C7 CAP_1005 R16 RES_1005 R17 RES_1005 R1 RES_6432 R2 RES_6432 C1 CAP_50TZV 10M5X6 1 R18 RES_1005 R19 RES_1005 R20 RES_1005 R21 RES_1005 1 2 3 4 5 6 7 8 9 10 11 12 CN2 61301211121 Wurth Electronik 1 2 3 4 5 6 7 8 9 10 11 12 CN1B Wurth Electronik 61302421121 JP2 JUMPER_1005 JP3 JUMPER_1005 R22 RES_1005 C8 CAP_1005 1 2 3 4 5 6 7 8 9 10 11 12 CN1A JP...

Page 18: ...0 kW 0 1 W 5 1005 0402Inch KOA RK73B1ET 104J R21 1 Thick Film Resistor TBD 0 1 W 5 1005 0402Inch TBD R22 1 Thick Film Resistor 27 kW 0 1 W 5 1005 0402Inch KOA RK73B1ET 273J JP1 3 3 Jumper 0 W 1 W 20 1005 0402Inch KOA RK73Z1ET JP4 1 Jumper 0 W 1 W 20 1005 0402Inch KOA RK73Z1ET C1 1 VCC Bypass Capacitor 10 mF 50 V 20 5 x 5 5 Wurth Electronik 865080642006 C2 C3 C5 C6 C8 5 Ceramic multilayer Capacitor...

Page 19: ... MISO D2 D3 D4 D5 D6 D7 IO8 IO9 IO10 IO11 IO12 IO13 MOSI SCK MISO 5V A5 A4 A3 A2 A1 A0 3V3 5V TX RX TX RX V V V Table 2 BASEBOARD BILL OF MATERIALS Designator Qty Description Value Tolerance Footprint Company Part Number D1 1 Diode SOD123 ON Semiconductor MBR230LSFT1G CN1 2 2 Arduino Micro connector 1 02 x17 2 54 pitch Hirosugi Keiki FSS 41085 17 CN3 1 Module connector 1 02 x12 x2lines 2 54 pitch ...

Page 20: ...oes not convey any license under its patent rights nor the rights of others ON Semiconductor products are not designed intended or authorized for use as a critical component in life support systems or any FDA Class 3 medical devices or medical devices with a same or similar classification in a foreign jurisdiction or any devices intended for implantation in the human body Should Buyer purchase or ...

Reviews: