TOP Contributors

  1. MIKROE (2779 codes)
  2. Alcides Ramos (376 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (97 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 (139563 times)
  2. FAT32 Library (72041 times)
  3. Network Ethernet Library (57254 times)
  4. USB Device Library (47615 times)
  5. Network WiFi Library (43219 times)
  6. FT800 Library (42559 times)
  7. GSM click (29930 times)
  8. mikroSDK (28292 times)
  9. PID Library (26930 times)
  10. microSD click (26309 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: 763 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

Traffic Flow Recorder (TFR)

0

This project combines several examples into a single application implementing a traffic movement data logger. The collected data can be used to justify signal lights or to change the signaling sequence of existing lights. The hardware used for this project is mikromedia for Stellaris® M3 board.

[Learn More]

Ethernet/Internet Applications for MultiMedia PIC32MX7

0

This is an example of Ethernet communications with Servers and Clients operating simultaneously. Both TCP and UDP protocols are tested. The microcontroller uses the Core Timer to implement a system clock with 1 millisecond resolution. Test programs for the PC are included.

[Learn More]

Adding WiFi to a MultiMedia Board for Stellaris M3

0

This project shows how to give a multi-media board wireless access to an Internet router and implements a simple UDP server/client communications protocol.

[Learn More]