TOP Contributors

  1. MIKROE (2760 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (139227 times)
  2. FAT32 Library (71733 times)
  3. Network Ethernet Library (57114 times)
  4. USB Device Library (47426 times)
  5. Network WiFi Library (43051 times)
  6. FT800 Library (42401 times)
  7. GSM click (29833 times)
  8. mikroSDK (28051 times)
  9. PID Library (26881 times)
  10. microSD click (26197 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Example

Using MINI-M4 for STM32 as a Servo Motor Controller

Rating:

0

Author: Val Gretchev

Last Updated: 2016-02-22

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Internal MCU modules

Downloaded: 758 times

Followed by: 2 users

License: MIT license  

In this example I use general-purpose timer 3, channels 1 and channel 2 to drive a pair of servo-motors in a pan and tilt mechanism. The included test program provides a convenient way to send multiple seek commands to position the servos over their complete range of motion.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Using MINI-M4 for STM32 as a Servo Motor Controller" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Using MINI-M4 for STM32 as a Servo Motor Controller" changes.

Do you want to report abuse regarding "Using MINI-M4 for STM32 as a Servo Motor Controller".

  • Information
  • Comments (0)

Example Blog

Pan and Tilt Mechanism

Pan and Tilt Mechanism

This device can support a small video camera.

View full image

Exercising the servo mechanism.

This video shows the interaction between the PC test program and the servo code driving the pan and tilt mechanism.

Watch on YouTube

ALSO FROM THIS AUTHOR

Non-Blocking Drivers for I2C1 and STMPE610 on Mikromedia Plus for STM32 Board.

0

When the Touch Panel is enabled at the same time as USB, MikroE code hangs up frequently. USB is an essential peripheral and being able to use it together with the LCD/Touch panel is absolutely a must in any application involving this board. This code provides a non-blocking driver while maintaining compatibility with Visual_TFT.

[Learn More]

WiFi ESP Click with FreeRTOS

1

This code is an example showing how to interface to the WiFi ESP click board. Comprehensive explanation of the code and files is included in the ReadMe.pdf file of the Documents folder.

[Learn More]

FM Click Example Modified for North American Tuning

0

The excellent example by mikroE of the FM Click board was implemented for European channel bands. This modified code will allow North American stations to be tuned.

[Learn More]