Main Content

I made this project a few months ago. A few days back, I posted a video of the project on r/Arduino on Reddit. Seeing people getting interested in the project, I decided to make this Instructable where I have made some changes to the Arduino code and added a feature. So, without further ado, let’s get started!

For this project, you will need:

An Arduino microcontroller board
A PS/2 touchpad from a laptop(Try to get one with a Synaptics chip onboard)
A ULN2003 stepper motor driver(For unipolar stepper motors(5-wire))
An L298N stepper motor driver(For bipolar stepper motors(4-wire))

6 male to female jumper wires(2 for power and 4 for digital signals)
A stepper motor
A 5-12 volt DC power source(Depending on the stepper motor)
Here, the setup is powered from a mobile phone charger that supplies 5-volts to the Arduino board and the stepper driver. Even though the stepper motor is rated for 12-volt, you can use a lower voltage supply if the torque requirements of the motor are not high because using a lower voltage supply will keep the motor as well as the driver cooler.

*Both the stepper motor drivers have the same pin connections with the Arduino board.”

Link to article