LV8548MCSLDGEVB
Stepper Motor Driver Module Solution Kit
Quick Start Guide
Overview
The LV8548MCSLDGEVB is an
ON Semiconductor
motor driver
module featuring the
LV8548MC.
This module is capable of easily
driving a
stepper motor.
Motor driving is made easy with Arduino Micro
1)
compatibility. The
LV8548MCSLDGEVB comes with a Baseboard for facilitated
plug-and-play connectivity with an Arduino Micro.
GUI and Open-source API Functions are available for custom,
user-specific motor driving programs.
www.onsemi.com
Features:
• VCC
max
= 20 V, IO
max
=1.0 A
2)
(between
OUT_A and B, between
OUT_C and D)
•
6½12 V applications
Recommended(VCC = 4½16V Max)
•
Standby current consumption = 0
• Full step, Half step drivability
• Typical Applications: In-Home Appliances, Consumer Products,
Industrial Products
For further product information, please visit:
http://www.onsemi.com/PowerSolutions/product.do?id=LV8548MC
What you need
• PC
Windows 7, 64bit
Connected to the Internet
(Only for “Including the TimerOne Libary” on Page3)
Arduino IDE 1.8.4
3)
Installed
User with an Administrator rights
• Power Supply
AC Adapter Output voltage:4½16V
Output current:½2A
Connector specification
Polarization:Positive Center
Inner diameter=2.1mm、outer diameter=5.5mm
Recommended : WSU075-1000(Triad Magnetics)
or stabilized DC power supply, dry cell battery, etc.
LV8548MCSLDGEVB Board
ONBB4AMGEVB Board with
Arduino Micro and
LV8548MCSLDGEVB Board
1) Arduino / Genuino is ArduinoAG are registered trademarks.
2) Stress exceeding this voltage or current may risk damage to the device. Functionality and reliability may be hindered if the device
exceeds these values.
The maximum current value, IOmax, does not guarantee the module can handle that much current. If the
device overheats, thermal shutdown will occur.
3) Contents of kit may not be compatible with different versions. Please see the Appendix attached if specified version is not installed
© Semiconductor Components Industries, LLC, 2015
1
2 April 2018- Rev 1.0
LV8548MCSLDGEVB for Stepper motor
Contents of the Kit
Hardware
• LV8548MCSLDGEVB:Motor driver module
• ONBB4AMGEVB:Baseboard
• Arduino Micro
• USB Cable (Micro B-A)
• USB Thumb Drive
• Flat-tip Screw Driver
• Stepper motor MDP-35A (Nidec Seimitsu, Step angle= 7.5 deg, 12V/ 300mA) 1pc
(Brush DC Motor 1pc)
Software
(Included in USB Thumb Drive)
・・・Arduino
IDE Installer
・・・Installer
package in Japanese
・・・GUI
Related Files
・・・GUI
as well as .NET Framework4.6.1 Installer
・・・.NET
Framework4.6.1 Related Files
・・・DC
Motor Files
(Refer
to DC Motor Manual)
・・・API
Library
・・・GUI
– Arduino Firmware
・・・Instructions
for operation and setup
・・・Appendix
for supplementary material
Software Setup
Please download
found on the provided USB flash drive to any
preferred directory.
(E.g. Libraries\Documents or Desktop)
The IDE will display the following message when
the LV8548_STEP_Program.ino file is opened for
the first time. Click “OK” to continue.
This message will be 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).
API Library
The following process should be operated with
the
Arduino Micro disconnected.
①
Double click on the Arduino sketch for GUI
This will launch
the Arduino IDE.
(Check the Appendix, “How to install Arduino
IDE”, if the Arduino IDE is not installed)
*Some screen captures are taken from different motor driver modules
www.onsemi.com
2
LV8548MCSLDGEVB for Stepper motor
②
Include the API Library
As shown below, navigate to “Sketch→Include
Library→Add .Zip Library”
Select and install “TimerOne” in the search results
The following window will appear. Select the
“LV8548_STEP_APILibrary” folder, and open this
folder as shown below.
Click the folder only once and push “Open” button.
Do not double click the folder.
Compiling the Arduino Program
・Write
to Arduino
①
Select the Arduino board to upload to by
navigating to
“Tools→Board→Arduino/Genuino
Micro”
②
Write an Arduino sketch and navigate to
“Sketch→Verify/Compile” when finished
writing
Unless updating the function library, including the
API function library only needs to be done once.
Including the TimerOne Library
As shown below, navigate to “Sketch→Include
Library→Manage Libraries”
The IDE will display “Done compiling” after a
successful compile has been verified.
Once the library manager starts up, please type
“TimerOne” in the search bar at the top
*Some screen captures are taken from different motor driver modules
www.onsemi.com
3
LV8548MCSLDGEVB for Stepper motor
③
Connect the PC to the Arduino Micro via
USB
and select the corresponding COM port
as shown below
Rewrite the Arduino Program
In the case of
①
or
②
below, please rewrite the
program to the Arduino
①
When updating the API Function library
1) Delete the existing API function library by
navigating to Documents\Arduino\libraries
and deleting the
LV8548_STEP_APILibrary folder.
2) Include the latest API function library.
Please save the latest API function library
in your preferred directory on your PC.
(See Page 2, “Software Setup”)
Include the latest API function library.
(See Page 2 “API Library”)
3) Compile and write the program to the
Arduino
(See Page 3, “Writing and Compiling with the
Arduino IDE”)
②
When evaluating the LV8548 DC and other
motor driver modules
(Assuming other motor driver module libraries
have already been included)
1) Compile and write the program to the
Arduino
(See Page 3, “Writing and Compiling with the
Arduino IDE”)
In the process of uploading, the Arduino Micro
bootloader will be installed.
If you are testing the LV8548 DC module
library or any other motor driver module library
for the first time, please operate according to
their corresponding manual.
④
Upload the sketch by clicking “Sketch→Upload”
or by pressing the
○
button
→
The IDE will display “Done uploading” after a
successful upload to the Arduino
Sketches written to the Arduino will not be erased
unless rewritten
If the uploading of the program fails confirm the
details in step
①
check board name and step
③
check serial port connection.
www.onsemi.com
4
LV8548MCSLDGEVB for Stepper motor
GUI Installation
①
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_GUI) has already been
installed, please uninstall and reinstall the GUI
②
The .NET Framework4.6.1 installation window
will appear if the PC does not have the
necessary version. If .NET Framework4.6.1 is
not installed, click Accept to install.
③
Install the GUI.
Press “Next”
④
Specify installation folder, or just click “next” to
continue with the installation
The following window shows the installation in
progress. (This may take several minutes)
Please press “next”.
If the installation requires a reboot to complete, a
message will appear on the screen. Please press
“Yes” to reboot.
Once rebooted, run
installation file
again.
User administratiive rights may be required for
installation. If an alert for user account control is
displayed, please select “Yes.”
www.onsemi.com
5