Getting started with X-NUCLEO-IHM06A1 low voltage stepper motor driver expansion board based on STSPIN220 for STM32 Nucleo

Similar documents
Getting started with the X-NUCLEO-IHM14A1 stepper motor driver expansion board based on STSPIN820 for STM32 Nucleo

Getting started with the high power stepper motor driver expansion board based on powerstep01 for STM32 Nucleo

P-NUCLEO-USB001. STM32 Nucleo pack for USB Type-C and Power Delivery. Features. Description

Getting started with X-NUCLEO-LED16A1 16-channel LED driver expansion board for STM32 Nucleo

P-NUCLEO-USB001. STM32 Nucleo pack for USB Type-C and Power Delivery Data brief. Features. Description

USB Type-C and Power Delivery Nucleo pack with NUCLEO-F072RB expansion board based on the STUSB1602

USB Type-C and Power Delivery Nucleo pack with NUCLEO-F072RB expansion board based on STUSB1602. Description

NUCLEO-L496ZG. STM32 Nucleo-144 board. Features. Description

NUCLEO-L433RC-P NUCLEO-L452RE-P

EVALKIT-VL6180X. VL6180X plug-in and STM32 F401RE Nucleo board explorer kit. Description. Features

Getting started with the digital MEMS microphone expansion board based on MP34DT01-M for STM32 Nucleo

Getting started with the STM32 Nucleo pack for USB Type-C and Power Delivery with the Nucleo-F072RB board and the STUSB1602

X-NUCLEO-53L0A1. Ranging and gesture detection sensor expansion board based on VL53L0X for STM32 Nucleo. Description. Features

X-NUCLEO-53L1A1. Long distance ranging Time-of-Flight sensor expansion board based on VL53L1X for STM32 Nucleo. Description.

Getting started with X-CUBE-LED channel LED driver software expansion based on LED1642GW for STM32Cube

P-NUCLEO-53L1A1. VL53L1X nucleo pack with X-NUCLEO-53L1A1 expansion board and STM32F401RE nucleo board. Description. Features

Description. July 2016 DocID Rev 2 1/6

Sub-1 GHz RF expansion board based on the SPSGRF-868 module for STM32 Nucleo. Description

Quick Start Guide. Stepper motor driver expansion board based on L6474 for STM32 Nucleo (X-NUCLEO-IHM01A1) Version 1.

EVAL6494L. Demonstration board for L6494L gate driver. Description. Features

Motor control power board based on the SLLIMM-nano 2 nd series

Getting started with X-NUCLEO-53L1A1 long distance ranging ToF sensor expansion board based on VL53L1X for STM32 Nucleo

Getting started with the X-NUCLEO-EEPRMA1 standard I²C and SPI EEPROM memory expansion board based on M24xx and M95xx series for STM32 Nucleo

Description. January 2019 DB2381 Rev 3 1/5

P-NUCLEO-53L0A1. VL53L0X Nucleo pack with ranging, gesture detection sensor expansion board and STM32F401RE. Description. Features

X-NUCLEO-53L0A1 ranging and gesture detection sensor expansion board based on VL53L0X for STM32 Nucleo

L9958 Evaluation board for high current (8.6A) DC and Stepper Motors. Description

P-NUCLEO-6180X2. Proximity, gesture, ambient light sensor expansion board based on VL6180X for STM32L053R8. Description. Features

Getting started with the P-NUCLEO-IKA02A1 STM32 Nucleo pack for electrochemical toxic gas sensor expansion board with CO sensor

UM2051 User manual. Getting started with the STM32 Nucleo pack for USB Type-C and Power Delivery. Introduction

AN4373 Application note

STEVAL-IPMnM2N. Motor control power board based on the SLLIMM-nano 2 nd series. Description. Features. RoHS compliant

EV-VNQ7003SY. VNQ7003SY Evaluation Board. Data brief. Features. Applications. Description

EVALSTGAP1AS. Demonstration board for STGAP1AS galvanically isolated single gate driver. Description. Features

Getting started with the FP-IND-PLCWIFI1 function pack for PLC management via Wi-Fi

Getting started with the FP-NET-6LPBLE1 function pack for 6LoWPAN IoT node connection to a smartphone via BLE interface

Quick Start Guide. Stepper motor driver expansion board based on L6474 for STM32 Nucleo (X-NUCLEO-IHM01A1) Version 1.2.

AN4624 Application note

300 ma triple DC-DC converter for powering AMOLED displays. Description. Table 1: Device summary Negative voltage. Auxiliary positive voltage

EVALKITSTKNX. Miniature transceiver STKNX evaluation and development kit. Features

P-NUCLEO-IKA02A1. STM32 Nucleo pack: electrochemical toxic gas sensor expansion board with CO sensor. Description. Features

UM1853 User manual. STM32CubeF1 Nucleo demonstration firmware. Introduction

Getting started with STEVAL-IDB007V1 and STEVAL-IDB008V1 evaluation boards

EVAL6235PD. L6235 three-phase brushless DC motor driver demonstration board. Features. Description

EV-VND7040AJ. VND7040AJ evaluation board. Features. Applications

EV-VNH7040AY. VNH7040AY Evaluation Board. Features. Description

Getting started with X-NUCLEO-IHM02A1; two-axis stepper motor driver expansion board based on L6470 for STM32 Nucleo

32F412GDISCOVERY. Discovery kit with STM32F412ZG MCU. Features. Description

Getting started with the FP-SNS-ALLMEMS1 Bluetooth low energy and sensors software expansion for STM32Cube

EV-AUTO-LDOS. L5150GJ-L5300AH7-L4995AK Evaluation Board. Applications. Features. Description

STEVAL-LDO001V1. Quad high performance LDO evaluation board based on LDBL20, LDLN025, LD39130S and STLQ020. Applications. Description.

STEVAL-ISA164V1. STNRG388A evaluation board. Description. Features

Bluetooth low energy profiles for the X-CUBE-BLE1 expansion for STM32Cube. Description

Getting started with the software package for L6474 stepper motor driver X-CUBE-SPN1 expansion for STM32Cube

Getting started with the X-CUBE-NFC5 high performance HF reader / NFC initiator IC software expansion for STM32Cube

UM2091 User manual. EVAL-L9301 Demo board Hardware documentation. Introduction

EVAL6470PD. Fully integrated stepper motor driver mounting the L6470 in a high power PowerSo package. Description. Features

Getting started with the X-CUBE-SPN3 high power stepper motor driver software expansion for STM32Cube

Getting started with the X-CUBE-IKA02A1 multifunctional software expansion for STM32Cube

EVAL6470H. Fully integrated stepper motor driver mounting the L6470. Description. Features

32L476GDISCOVERY. Discovery kit with STM32L476VG MCU. Features. Description

EVAL6474H. Stepper motor driver mounting the L6474. Description. Features

Power line communication expansion board based on ST7580 for STM32 Nucleo. Description

UM2167 User manual. OrCAD PSpice model usage instructions

Getting started with MotionPM real-time pedometer library in X CUBE-MEMS1 expansion for STM32Cube

TN1235 Technical note

UM2045 User manual. Getting started with the X-CUBE-NFC3 near field communication transceiver software expansion for STM32Cube.

ST25DV-DISCOVERY. Discovery kit for the ST25DV04K dynamic NFC/RFID tag. Features

Dynamic Electro-Thermal simulator for VIPower products. Description

Getting started with the X-CUBE-SPN2 two-axis stepper motor driver software expansion for STM32Cube

32F746GDISCOVERY. Discovery kit with STM32F746NG MCU. Features. Description

STM32L4R9I-EVAL. Evaluation board with STM32L4R9AI MCU. Features

32F469IDISCOVERY. Discovery kit with STM32F469NI MCU. Features. Description

Getting started with MotionPM real-time pedometer library in X-CUBE-MEMS1 expansion for STM32Cube

STOD32W. 100 ma triple DC-DC converter for powering AMOLED displays. Applications. Features. Description

UM2350. Getting started with MotionPW real-time pedometer for wrist library in X-CUBE-MEMS1 expansion for STM32Cube. User manual.

UM1727 User manual. Getting started with STM32 Nucleo board software development tools. Introduction

Getting started with X-NUCLEO-NFC03A1 NFC card reader board based on CR95HF IC for STM32 Nucleo

EMIF06-HSD04F3. 6-line low capacitance IPAD for micro-sd card with EMI filtering and ESD protection. Features. Application.

Getting started with the ultra-low-power STM32 and LoRa Nucleo pack

UM1844 User manual. EVAL-L9958 Graphical user interface (GUI) Introduction

UM2084 User manual. Getting started with the ultra-low-power STM32 and LoRa Nucleo pack. Introduction

DT0095 Design tip. Datalogging the SensorTile through a PC. Purpose and benefits. Description

AN2470 Application note TS4871 low voltage audio power amplifier Evaluation board user guidelines Features Description

UM2276. Getting started with MotionSD standing vs sitting desk detection library in X-CUBE-MEMS1 expansion for STM32Cube. User manual.

Software GUI user guide for STEVAL-ISV021V1, STEVAL- IDS002V1 and STEVAL-IDS003V1 evaluation boards

AN2474 Application note

UM2216 User manual. Getting started with MotionFA fitness activity library in X CUBE MEMS1 expansion for STM32Cube. Introduction

STEVAL-ISV021V1. Energy harvesting demonstration kit based on SPV1050. Description. Features

UM2194. Getting started with MotionAW activity recognition for wrist library in X-CUBE-MEMS1 expansion for STM32Cube. User manual.

EMIF06-USD14F3. 6-line low capacitance IPAD for micro-sd card with EMI filtering and ESD protection. Applications. Description. Features.

AN2240 Application note

STSW-BNRG-Mesh. Mesh over Bluetooth low energy. Features. Description. Applications

STSW-L9960, STSW-L9960T Graphical User Interface (GUI) for EVAL-L9960 & EVAL-L9960T

RN0084 Release note. ST-LINK/V2 firmware upgrade. About this release note

EVLPOWERSTEP01: system-in-package integrating microstepping controller and 10 A power MOSFETs

UM2092 User manual. Basic metrology firmware for the STM32F103RD and the STPM32 devices. Introduction

This manual provides information for the final user application developer on how to use SPC57S-Discovery microcontroller evaluation board.

Using the GPIOs and interrupt controller to drive LEDs on STM8 Nucleo-64 boards

USB dongle for the Bluetooth class 2 SPBT3.0DP2 module

Transcription:

User manual Getting started with X-NUCLEO-IHM06A1 low voltage stepper motor driver expansion board based on STSPIN220 for STM32 Nucleo Introduction The X-NUCLEO-IHM06A1 is a low voltage stepper motor driver expansion board based on the STSPIN220 monolithic low voltage driver for low voltage stepper motors. It represents an affordable, easy-to-use solution for driving low voltage stepper motors in your STM32 Nucleo project, implementing portable motor driving applications such as thermal printers, robotics and toys. It includes a stepper driver able to operate in low voltage (battery) scenarios, allowing zero consumption states. The device implements current control with fixed OFF time and a maximum 1/256 microstep resolution. The X-NUCLEO-IHM06A1 is compatible with the Arduino UNO R3 connector and supports the addition of other STM32 expansion boards with a single STM32 Nucleo board. You can also mount the ST morpho connector. Figure 1: X-NUCLEO-IHM06A1 low voltage stepper motor expansion board based on STSPIN220 July 2016 DocID029504 Rev 1 1/14 www.st.com

Contents Contents UM2082 1 X-NUCLEO-IHM06A1 board overview... 5 2 Getting started... 6 2.1 Hardware and software requirements... 6 2.2 Using the X-NUCLEO-IHM06A1 expansion board with the STM32 Nucleo board... 6 2.3 Using the X-NUCLEO-IHM06A1 expansion board alone... 6 2.3.1 Hardware connections and equipment... 7 2.3.2 Operating mode... 7 3 Hardware description and configuration... 8 3.1 Selecting direction and step clock lines... 10 4 Bill of materials... 11 5 Revision history... 13 2/14 DocID029504 Rev 1

List of tables List of tables Table 1: Arduino UNO R3 connector table... 9 Table 2: ST morpho connector table... 9 Table 3: J1 connector, switches and test point descriptions... 10 Table 4: Direction selection... 10 Table 5: Step clock selection... 10 Table 6: Bill of materials... 11 Table 7: Document revision history... 13 DocID029504 Rev 1 3/14

List of figures List of figures UM2082 Figure 1: X-NUCLEO-IHM06A1 low voltage stepper motor expansion board based on STSPIN220... 1 Figure 2: Switch and connector positions... 8 4/14 DocID029504 Rev 1

X-NUCLEO-IHM06A1 board overview 1 X-NUCLEO-IHM06A1 board overview The X-NUCLEO-IHM06A1 expansion board for STM32 Nucleo is a low voltage stepper motor driver covering a wide range of applications. The key features are: Low voltage range: 1.8 to 10 V Microstep adjustment up to the 256 th step Phase current: up to 1.3 ARMS Current control with adjustable off-time Full protection overcurrent and short circuit protection Thermal shutdown Compatible with Arduino UNO R3 connector Compatible with STM32 Nucleo boards RoHS compliant DocID029504 Rev 1 5/14

Getting started UM2082 2 Getting started 2.1 Hardware and software requirements Using STM32 Nucleo boards with the X-NUCLEO-IHM06A1 expansion board requires the following software and hardware: 1 x Windows PC (XP, Vista 7,Win 8, Win 10 ) to install the software package 1 x Low voltage stepper motor driver expansion board (X-NUCLEO-IHM06A1) 1 x STM32 Nucleo development board (NUCLEO-F401RE or NUCLEO-F334R8 or NUCLEO-F030R8 or NUCLEO-L053R8) 1 x USB type A to mini-b USB cable to connect the STM32 Nucleo board to the PC X-CUBE-SPN6 software package (available on www.st.com) 1 x IDE among: IAR Embedded Workbench for ARM (EWARM) Keil microcontroller development kit (MDK-ARM) system workbench for STM32 Nucleo project 1 x stepper motor with compatible voltage and current ratings for the STSPIN220 driver 1 x external power supply or external battery suitable for the stepper motor used. 2.2 Using the X-NUCLEO-IHM06A1 expansion board with the STM32 Nucleo board The X-NUCLEO-IHM06A1 board is compatible with following STM32 Nucleo development boards: NUCLEO-F401RE NUCLEO-F334R8 NUCLEO-F030R8 NUCLEO-L053R8 To start your project: 1. Check the jumper position based on your configuration (see Section 5: "Hardware description and configuration"). 2. Connect the X-NUCLEO-IHM06A1 with the STM32 Nucleo board through Arduino UNO R3 Connectors (CN5, CN6, CN8, CN9). 3. Supply the board through the input 5 (Vin) and 6 (ground) of the J1 connector. The D5 (red) LED turns on. 4. Develop your application using the sample applications bundled with the X-CUBE- SPN6 software package. Further STSPIN220 and STM32 Nucleo support material is available on www.st.com. 2.3 Using the X-NUCLEO-IHM06A1 expansion board alone The X-NUCLEO-IHM06A1 expansion board is able to drive a low voltage stepper motor without an STM32 Nucleo board. 6/14 DocID029504 Rev 1

2.3.1 Hardware connections and equipment Getting started A suitable external power supply or external battery for the stepper motor used, connected between J1 connector pin 5 (Vin) and pin6 (ground) A secondary supply from one of the following sources: An external power supply providing 3.3 V (recommended), connected between TP3 (+VDD) and TP1 (ground). If a secondary power supply is not available, you can connect the VDD net to the Vin supply voltage by adding the R2 resistor (not mounted by default); in this configuration, Vin must be lower than 5 V. In both cases, the R4 resistor must be replaced with a 10 kω resistor (recommended value) for a VDD below 2.5 V. A waveform generator providing the signal step clock, connected between TP4 (CLK test point) and TP1 (GND); refer to the STSPIN220 datasheet for amplitude and frequency limits Stepper motor connect to J1 motor phase connector (A+, A-, B+, B-). 2.3.2 Operating mode You can adjust the following parameters: Step mode: set the desired step mode via the S1, S2, S3 and S4 switches (refer to the step mode selection table in the STSPIN220 datasheet) Motor torque (according motor requirements): using the R35 trimmer, you can set the voltage value at REF input of STSPIN220 (the maximum value is 0.5 V with VDD = 3.3 V). Motor speed: you can change this parameter through the step clock signal frequency. DocID029504 Rev 1 7/14

Hardware description and configuration UM2082 3 Hardware description and configuration The PCB silkscreen image below shows the position of the connectors and the configuration switches of the board. Figure 2: Switch and connector positions The following table provides the detailed pinout of the Arduino UNO R3 and ST morpho connectors. 8/14 DocID029504 Rev 1

Connector Pin (1) Signal Remarks Table 1: Arduino UNO R3 connector table Hardware description and configuration 1 RESET CN5 2 REF 3 MODE 2 7 Ground 3 ENABLE 4 PWM1 See Section 5.1: "Selecting direction and step clock lines" CN9 5 DIR 2 See Section 5.1: "Selecting direction and step clock lines" 6 MODE 1 7 PWM2 See Section 5.1: "Selecting direction and step clock lines" 8 DIR 1 See Section 5.1: "Selecting direction and step clock lines" 2 VDD CN6 6 Ground 7 Ground Notes: (1) unlisted pins are not connected Table 2: ST morpho connector table Connector Pin (1) Signal Remarks 9 Ground 17 MODE 2 19 REF 21 RESET CN10 23 DIR 1 See Section 5.1: "Selecting direction and step clock lines" 25 PWM2 See Section 5.1: "Selecting direction and step clock lines" 27 MODE 1 29 DIR 2 See Section 5.1: "Selecting direction and step clock lines" 31 PWM1 See Section 5.1: "Selecting direction and step clock lines" 33 ENABLE 12 VDD CN7 20 Ground 22 Ground Notes: (1) unlisted pins are not connected DocID029504 Rev 1 9/14

Hardware description and configuration Table 3: J1 connector, switches and test point descriptions Name Pin Label Description UM2082 J1 5-6 Vin - GND Motor power supply 1-4 A+, A-, B+, B- Motor phases connection S1, S2, S3, S4 - MODE1, 2, 3, 4 Step mode selection (stand-alone operation) TP1 - GND Ground TP2 - VIN Motor power supply TP3 - VDD Digital power supply (by default 3.3 V coming from STM32 Nucleo board) TP4 - CLK Step clock line 3.1 Selecting direction and step clock lines The direction and the step clock lines of STSPIN220 can be selected through dedicated resistors indicated in the following tables. Table 4: Direction selection Signal R19 R20 Connector Remarks DIR1 330 Ω Not mounted CN9 pin8 Default DIR2 Not mounted 330 Ω CN9 pin5 Table 5: Step clock selection Signal R17 R18 Connector Remarks PWM1 330 Ω Not mounted CN9 pin4 Default PWM2 Not mounted 330 Ω CN9 pin6 Ensure that these signals are used by all the stacked X-NUCLEO-IHM06A1 boards 10/14 DocID029504 Rev 1

Bill of materials 4 Bill of materials Table 6: Bill of materials Part reference Part value Part description CN5 CN6, CN9 CN7, CN10 CN8 CONN10 CONN8 N.M. CONN6 10 pin elevated socket, female, straight two part board connector 8 pin elevated socket, female, straight two part board connector Elevated Socket MORPHO connector 19x2, TH pitch 2.54 mm 6 pin elevated socket, female, straight two part board connector C1 3.3 nf, 50 V, 15 % Ceramic Capacitor, SMD 0603 C2 2.2 µf, 16 V 20 % Ceramic Capacitor, SMD 0603 C3 N. M. Electrolytic capacitor, TH D5xH11xP2 mm C4 22 µf, 16 V, 20 % Aluminum Electrolytic capacitor, SMD L4.5xW4.5 mm C5 1 nf, 50 V, 15 % Ceramic Capacitor, SMD 0603 C6 10 nf, 50 V, 15 % Ceramic Capacitor, SMD 0603 C7 22 nf, 50 V, 5 % Ceramic Capacitor, SMD 0603 C8 220 Nf, 35 V, 15 % Ceramic Capacitor, SMD 0603 D1, D2,D3, D4 LED SMD LED (yellow) D5 LED SMD LED (red) J1 Motor Connector Screw PCB terminal block 1x6 Q2 N-MOS 2N7002 or similar R1 0 Ω, 5 %, 0.125 W Resistor, SMD 0805 R2,R21 N.M. Resistor, SMD 0603 R3 18 kω, 5%, 0.1 W Resistor, SMD 0603 R4 39 kω, 5 %, 0.1 W Resistor, SMD 0603 R5, R16 330 Ω, 5%, 0.1 W Resistor, SMD 0603 R6, R7, R8, R9 680 mω, 1%, 0.33 W Resistor, SMD 0805 R10, R23, R24, R25, R26 47 kω, 5 %, 0.1 W Resistor, SMD 0603 R11 1 kω, 5 %, 0.1 W Resistor, SMD 0603 R12, R13, R14, R15 2.2 kω, 5 %, 0.125 W Resistor, SMD 0805 R17, R19, R32, R33 330 Ω, 5 %, 0.125 W Resistor, SMD 0805 R18, R20 N. M. Resistor, SMD 0805 R22 22 kω, 5 %, 0.1 W Resistor, SMD 0603 R27 22 kω, 1 %, 0.1 W Resistor, SMD 0603 R28, R29, R30, R31 10 kω, 5 %, 0.1 W Resistor, SMD 0603 DocID029504 Rev 1 11/14

Bill of materials Part reference Part value Part description R34 5.6 kω, 5 %, 0.1 W Resistor, SMD 0603 R35 1 kω, 10 %, 0.5 W UM2082 Trimmer, TH L7xW7xH5.8 mm Copal Electronics CT-6EP102 or similar S1, S2, S3, S4 Slide Switch 2-position switch, L10xW2.5xH6.4 mm TP1 TPTH-ANELLO-1MM PCB Test terminal 1 mm (black) TP2, TP3, TP4 TPTH-ANELLO-1MM PCB Test terminal 1 mm (red) U1 STSPIN220 Low voltage stepper motor driver, QFN 3x3 16L U2 SN74LVC1G125DCKR Single bus buffer gate with 3-state output, SOT-353 12/14 DocID029504 Rev 1

Revision history 5 Revision history Table 7: Document revision history Date Version Changes 04-Jul-2016 1 Initial release. DocID029504 Rev 1 13/14

IMPORTANT NOTICE PLEASE READ CAREFULLY STMicroelectronics NV and its subsidiaries ( ST ) reserve the right to make changes, corrections, enhancements, modifications, and improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders. ST products are sold pursuant to ST s terms and conditions of sale in place at the time of order acknowledgement. Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design of Purchasers products. No license, express or implied, to any intellectual property right is granted by ST herein. Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product. ST and the ST logo are trademarks of ST. All other product or service names are the property of their respective owners. Information in this document supersedes and replaces information previously supplied in any prior versions of this document. 2016 STMicroelectronics All rights reserved 14/14 DocID029504 Rev 1