Uploaded February 2013 | Updated September 2026, 3 weeks ago
This video examines how we can drive stepper motors using C++ within Embedded Linux using the open source hardware EasyDriver board. The video begins by describing stepper motors and the effects of micro-stepping. It then discusses the EasyDriver Board (V4.4) and all of the available inputs and outputs. The board uses the Allegro A3967 which allows for full, half-, quarter and one eight micro-stepping. The video then explains C++ code that uses the GPIOs on the Beagleboard to wrap the EasyDriver with a C++ class that is easy to use by creating an object of the class for each stepper motor that is connected.
The source code in this video is available through githhub:
git clone git://github.com/derekmolloy/beaglebone
Finally I show an example of my code running on the Mercury Motor (SM-42BYG011-25), which is a low cost stepper motor.
If you use this video in your research, please cite:
Molloy, D. [DerekMolloyDCU]. (2013, Feb, 12). Beaglebone: Driving Stepper Motors in Embedded Linux using the EasyDriver Board [Video file]. Retrieved from youtube.com/watch?v=gqrjtB2cmu8
Please find more information on these videos at: http://www.derekmolloy.ie/
This video examines how we can drive stepper motors using C++ within Embedded Linux using the open source hardware EasyDriver board. The video begins by describing stepper motors and the effects of micro-stepping. It then discusses the EasyDriver Board (V4.4) and all of the available inputs and outputs. The board uses the Allegro A3967 which allows for full, half-, quarter and one eight micro-stepping. The video then explains C++ code that uses the GPIOs on the Beagleboard to wrap the EasyDriver with a C++ class that is easy to use by creating an object of the class for each stepper motor that is connected.
The source code in this video is available through githhub:
git clone git://github.com/derekmolloy/beaglebone
Finally I show an example of my code running on the Mercury Motor (SM-42BYG011-25), which is a low cost stepper motor.
If you use this video in your research, please cite:
Molloy, D. [DerekMolloyDCU]. (2013, Feb, 12). Beaglebone: Driving Stepper Motors in Embedded Linux using the EasyDriver Board [Video file]. Retrieved from youtube.com/watch?v=gqrjtB2cmu8
Please find more information on these videos at: http://www.derekmolloy.ie/




![Beaglebone: Qt Creator for C++ ARM Embedded Linux Development
This is the second video in a set of three on Qt application development on the Beaglebone or any other embedded Linux device. The first video introduces the LCD module that I used and this video is where I set up a full toolchain for C++ Qt application development under embedded Linux (Qt for embedded devices). This toolchain allows us to cross compile Qt applications for the Beaglebone, deploy the applications directly to the beaglebone with a single click and even use remote debugging using gdbserver to diagnose any problems with our applications. The main use of this platform is for GUI application development when a LCD module, or external display is present.
In the final video I demonstrate an example application that uses an accelerometer and LED to act as output/input devices and I provide the full source code.
Thad Failor (via comments below) provides some information on how to deal with the requirement to execute . /usr/local/angtrom/arm/environment-setup in advance of starting QtCreator. The steps are:
- Open Qt Creator
- Open your project
- Click Projects under [Your Beaglebone Kit]
- Click Build
- Scroll down to the bottom and click details
- Click on Batch
- Edit Paste the contents of the . /usr/local/angstrom/arm/environment-setup removing any of the export commands.
If you use this video in your research, please cite:
Molloy, D. [DerekMolloyDCU]. (2013, March, 6). Beaglebone: Qt Creator for C++ ARM Embedded Linux Development [Video file]. Retrieved from http://www.youtube.com/watch?v=kP7uvOu9hoQ
Please find more information on these videos at: http://www.derekmolloy.ie/ Beaglebone: Qt Creator for C++ ARM Embedded Linux Development](https://i.ytimg.com/vi/kP7uvOu9hoQ/mqdefault.jpg)





