# L297/L298N two phase bipolar stepper motor template ## Description This project is a two phase bipolar stepper motor based on L297/L298N Template #motorController #L297 #L298N #dc #controller #motor #referenceDesign #project #polygon ## Project Details - **Owner:** vasy_skral - **Created:** 11/6/2024 - **Last Updated:** 3/8/2026 - **Visibility:** Public - **License:** https://creativecommons.org/licenses/by/4.0/ - **Copies:** 2 ## Key Components ### CONTROL — [Pin Header 01x06 2.54mm Vertical](https://www.flux.ai/vasy_skral/pin-header-01x06-254mm-vertical~jyw.md) - Part Type: Connector - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - Pin_1 [pin 1] - Pin_2 [pin 2] - Pin_3 [pin 3] - Pin_4 [pin 4] - Pin_5 [pin 5] - Pin_6 [pin 6] ### D1 — [1N4007W](https://www.flux.ai/vasy_skral/1n4007w~xpy.md) - Datasheet URL: https://datasheet.lcsc.com/lcsc/1811031612_Shandong-Jingdao-Microelectronics-1N4007W_C108803.pdf - Manufacturer Name: Shandong Jingdao Microelectronics - Part Type: Diode - Manufacturer Part Number: 1N4007W - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - A [pin 2] - K [pin 1] ### D2 — [1N4007W](https://www.flux.ai/vasy_skral/1n4007w~xpy.md) - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: 1N4007W - Part Type: Diode - Manufacturer Name: Shandong Jingdao Microelectronics - Datasheet URL: https://datasheet.lcsc.com/lcsc/1811031612_Shandong-Jingdao-Microelectronics-1N4007W_C108803.pdf **Pins:** - A [pin 2] - K [pin 1] ### D3 — [1N4007W](https://www.flux.ai/vasy_skral/1n4007w~xpy.md) - Manufacturer Name: Shandong Jingdao Microelectronics - Datasheet URL: https://datasheet.lcsc.com/lcsc/1811031612_Shandong-Jingdao-Microelectronics-1N4007W_C108803.pdf - Part Type: Diode - Manufacturer Part Number: 1N4007W - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - A [pin 2] - K [pin 1] ### D4 — [1N4007W](https://www.flux.ai/vasy_skral/1n4007w~xpy.md) - Part Type: Diode - Manufacturer Name: Shandong Jingdao Microelectronics - Datasheet URL: https://datasheet.lcsc.com/lcsc/1811031612_Shandong-Jingdao-Microelectronics-1N4007W_C108803.pdf - Manufacturer Part Number: 1N4007W - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - A [pin 2] - K [pin 1] ### D5 — [1N4007W](https://www.flux.ai/vasy_skral/1n4007w~xpy.md) - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Diode - Manufacturer Name: Shandong Jingdao Microelectronics - Datasheet URL: https://datasheet.lcsc.com/lcsc/1811031612_Shandong-Jingdao-Microelectronics-1N4007W_C108803.pdf - Manufacturer Part Number: 1N4007W **Pins:** - A [pin 2] - K [pin 1] ### D6 — [1N4007W](https://www.flux.ai/vasy_skral/1n4007w~xpy.md) - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: 1N4007W - Part Type: Diode - Datasheet URL: https://datasheet.lcsc.com/lcsc/1811031612_Shandong-Jingdao-Microelectronics-1N4007W_C108803.pdf - Manufacturer Name: Shandong Jingdao Microelectronics **Pins:** - A [pin 2] - K [pin 1] ### D7 — [1N4007W](https://www.flux.ai/vasy_skral/1n4007w~xpy.md) - Manufacturer Name: Shandong Jingdao Microelectronics - Part Type: Diode - Datasheet URL: https://datasheet.lcsc.com/lcsc/1811031612_Shandong-Jingdao-Microelectronics-1N4007W_C108803.pdf - Manufacturer Part Number: 1N4007W - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - A [pin 2] - K [pin 1] ### D8 — [1N4007W](https://www.flux.ai/vasy_skral/1n4007w~xpy.md) - Manufacturer Part Number: 1N4007W - Part Type: Diode - Datasheet URL: https://datasheet.lcsc.com/lcsc/1811031612_Shandong-Jingdao-Microelectronics-1N4007W_C108803.pdf - Manufacturer Name: Shandong Jingdao Microelectronics - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - A [pin 2] - K [pin 1] ### M_COIL_1 — [TerminalBlock-01x02P-3.50mm](https://www.flux.ai/vasy_skral/terminalblock-01x02p-350mm~mcc.md) - Part Type: Connector **Pins:** - P1 [pin 2] - P2 [pin 1] ### M_COIL_2 — [TerminalBlock-01x02P-3.50mm](https://www.flux.ai/vasy_skral/terminalblock-01x02p-350mm~mcc.md) - Part Type: Connector **Pins:** - P1 [pin 2] - P2 [pin 1] ### POWER — [TerminalBlock-01x02P-3.50mm](https://www.flux.ai/vasy_skral/terminalblock-01x02p-350mm~mcc.md) - Part Type: Connector **Pins:** - P1 [pin 2] - P2 [pin 1] ### U1 — [L298N](https://www.flux.ai/vasy_skral/l298n~uhf.md) - Symbol Style: Parametric - Part Type: Integrated Circuit - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: L298N - Datasheet URL: https://www.st.com/content/ccc/resource/technical/document/datasheet/82/cc/3f/39/0a/29/4d/f0/CD00000240.pdf/files/CD00000240.pdf/jcr:content/translations/en.CD00000240.pdf - Manufacturer Name: STMicroelectronics **Pins:** - ENA [pin 6] - ENB [pin 11] - GND [pin 8] - IN1 [pin 5] - IN2 [pin 7] - IN3 [pin 10] - IN4 [pin 12] - OUT1 [pin 2] - OUT2 [pin 3] - OUT3 [pin 13] - OUT4 [pin 14] - SENSE_A [pin 1] - SENSE_B [pin 15] - VS [pin 4] - VSS [pin 9] ### U2 — [L297-1](https://www.flux.ai/adrian95/l297-1~wp.md) - License: https://creativecommons.org/licenses/by/4.0/ - Datasheet URL: https://www.st.com/content/ccc/resource/technical/document/datasheet/f9/35/6e/3f/48/18/48/51/CD00000063.pdf/files/CD00000063.pdf/_jcr_content/translations/en.CD00000063.pdf - Part Type: Integrated Circuit - Manufacturer Name: STMicroelectronics - Manufacturer Part Number: L297/1 **Pins:** - A [pin 4] - B [pin 6] - C [pin 7] - CLOCK [pin 18] - CONTROL [pin 11] - CW [pin 17] - D [pin 9] - ENABLE [pin 10] - GND [pin 2] - HALF [pin 19] - HOME [pin 3] - INH1 [pin 5] - INH2 [pin 8] - OSC [pin 16] - RESET [pin 20] - SENS1 [pin 14] - SENS2 [pin 13] - SYNC [pin 1] - Vref [pin 15] - Vs [pin 12] ### U3 — [L7805CV](https://www.flux.ai/adrian95/l7805cv~q03.md) - Datasheet URL: https://datasheet.octopart.com/L7805CV-STMicroelectronics-datasheet-5316848.pdf - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: STMicroelectronics - Manufacturer Part Number: L7805CV - Part Type: Integrated Circuit **Pins:** - GND [pin 2] - IN [pin 1] - OUT [pin 3] *The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/vasy_skral/l297l298n-two-phase-bipolar-stepper-motor-template~2g1](https://www.flux.ai/vasy_skral/l297l298n-two-phase-bipolar-stepper-motor-template~2g1).* --- *Generated from [https://www.flux.ai/vasy_skral/l297l298n-two-phase-bipolar-stepper-motor-template~2g1](https://www.flux.ai/vasy_skral/l297l298n-two-phase-bipolar-stepper-motor-template~2g1)*