Vivek
Published © MIT

Windows IOT - Stepper, Servo and DC motors

Windows IOT motor drivers and demo for PCA9695, ULN2003 and L298N chipsets controlling Servo, Stepper and DC motors respectively.

BeginnerProtip1 hour7,800
Windows IOT - Stepper, Servo and DC motors

Things used in this project

Hardware components

Raspberry Pi 3 Model B
Raspberry Pi 3 Model B
×1
PCA9685 16 Channel 12-Bit PWM Servo Motor Driver
×1
L298N DC Motor Drive Controller Board Module
×1
ULN2003 Motor Driver Board & 28BYJ-48 5V Stepper Motor
×1
9V Li-ion / Ni-MH Rechargeable Battery
×3
9 Volt Battery Clip Connectors
×1
SG90 Micro-servo motor
SG90 Micro-servo motor
×1
DC Motor
×1
Mini Solderless Prototype Breadboard
×1
Quimat 3.5 Inch Touch Screen
×1
Rii i8s+ Mini Wireless Keyboard
×1

Software apps and online services

Microsoft Visual Studio 2017
Windows 10 IoT Core
Microsoft Windows 10 IoT Core

Story

Read more

Schematics

Diagram

Windows IOT motor drivers Schematics

Code

To Stop and Dispose the Motors/Drivers.

C#
// To stop DC Motor 1
dcMotorDriver.Stop(L298NMotorSelection.Motor1);
// To Stop both the DC Motors
dcMotorDriver.Stop(L298NMotorSelection.All);

// To stop the Stepper Motor
stepMotorDriver.Stop();

// To Dispose all the drivers
stepMotorDriver.Dispose();
dcMotorDriver.Dispose();
pwmDriver.Dispose();

Windows IOT Motor Drivers

Credits

Vivek

Vivek

1 project • 0 followers
Bla Blaa Blaaa

Comments