background image

LV8548MCSLDGEVB for Brush DC motor 

www.onsemi.com 

3

 

  Include the API Library 

As shown below, navigate to Sketch

→Include 

Library→Add .Zip Library 
 

 

 
The  following  window  will  appear.  Select  the 
“LV8548_DC_APILibrary”  folder,  and  open  this 
folder as shown below. 
 
Click the folder only once and push 

“Open” button. 

Do not double click the folder. 

 

 
Unless updating the function library, including the 
API function library only needs to be done once. 
 

Writing and Compiling with the Arduino IDE

 

  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 

 

 
 
The IDE will display 

“Done compiling” after a 

successful compile has been verified. 

 

 

 

Connect the PC to the Arduino Micro via 

USB

 and select the corresponding COM port 

 

 

  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.

 

 

Summary of Contents for LV8548MCSLDGEVB

Page 1: ...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 Arduino IDE 1 8 4 3 Insta...

Page 2: ...connected Double click on the Arduino sketch This will launch the Arduino IDE Check the Appendix if the Arduino IDE is not installed The IDE will display the following message when the LV8548_DC_Progr...

Page 3: ...to be done once Writing and Compiling with the Arduino IDE Select the Arduino board to upload to by navigating to Tools Board Arduino Genuino Micro Write an Arduino sketch and navigate to Sketch Veri...

Page 4: ...ing with the Arduino IDE When evaluating the LV8548 Stepper and other motor driver modules Assuming other motor driver module libraries have already been included 1 Compile and write the program to th...

Page 5: ...allation Please press next If a User Account Control dialog box appears please select Yes The following screen will be displayed after a successful installation Make sure the GUI shortcut icon is crea...

Page 6: ...between 5mm 10mm into the output terminals on the baseboard OUT_A B C D Refer to the table below for motor connectivity OUT_A Motor1 OUT_B Motor1 OUT_C Motor2 OUT_D Motor2 Double check the motor wire...

Page 7: ...OM port and click Connect The GUI will automatically navigate to the LV8548DC tab after the Arduino installed the firmware is connected Specify the desired frequency for PWM Set the PWM mode for each...

Page 8: ...ched Appendix For more details on the following features please refer to the attached Appendix GUI Language configuration GUI Tool Tip display Help function Closing the GUI When finished exit the GUI...

Page 9: ...nerate 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...

Page 10: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information ON Semiconductor LV8548MCSLDGEVK LV8548MCSLDGEVB...

Reviews: