Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Resource icon

Servo Motor Controller 2015-04-27

Here is a little project that uses the Mikroelektronika Mini-M4 for STM32 board to implement a PWM controller for a servo motor. I wanted to do a pan and tilt mechanism but got distracted by another project so I haven’t yet finished this one. I was asked to post it as-is for now.

You can find the mechanism here:

http://www.robotshop.com/ca/en/lynxmotion-micro-pan-and-tilt-kit-with-servos-black.html

The picture shows how to connect one motor to the controller board and to a 5 Volt power supply.
DSC_3321.JPG
RB-Lyn-316.jpg


April 30, 2015.
I finally found some time to finish this project. I also wrote a test program to exercise the servos (see ServoControl.exe).

May 4, 2015.
I realized that the .dll file was missing and is required in order to make the program work. Here is the complete Delphi 7 project for those who wish to modify it for their own use. Included is the missing .dll file.
  • DSC_3321.JPG
    DSC_3321.JPG
    420.4 KB · Views: 1,946
  • RB-Lyn-316.jpg
    RB-Lyn-316.jpg
    70 KB · Views: 1,783
  • ServoVer2.zip
    562 KB · Views: 837
  • ReadMe.pdf
    547.5 KB · Views: 1,050
  • ServoControl.zip
    279.7 KB · Views: 638
Author
Val Gretchev
Views
7,836
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Val Gretchev

Latest threads

New Articles From Microcontroller Tips

Back
Top