TOP Contributors

  1. MIKROE (2653 codes)
  2. Alcides Ramos (351 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (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 (136708 times)
  2. FAT32 Library (69919 times)
  3. Network Ethernet Library (55932 times)
  4. USB Device Library (46258 times)
  5. Network WiFi Library (41883 times)
  6. FT800 Library (41144 times)
  7. GSM click (28979 times)
  8. PID Library (26408 times)
  9. mikroSDK (26355 times)
  10. microSD click (25351 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: 722 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

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]

Using WiFi to set RTC on Tiva board

0

Another example of setting the real-time-clock with data obtained from an Internet time server using the external CC3000 chip on the Tiva board. The FT232 chip on the shield board is used for diagnostic messages.

[Learn More]

Designing a Microprocessor from Scratch

0

Many students in electronics learn how to use and program a microprocessor but very few know what goes on inside the chip itself. This project will give the reader insight into the inner workings of a very simple 8-bit microprocessor that can be extended to more powerful designs.

[Learn More]