Tagged: pulse width modulation

Servo motor 69

Library 42- Control RC servo with STM32F4

Library 42 allows you to simple connect and interface RC servo motors with STM32F4. They are small, cheap motors, commonly used for RC (Radio Control), small scale robotics and more. Servos are really simple to interface. They expect 50Hz signal on the input. According to the pulse length (duty cycle) they rotate between 0 and 180 degrees. If signal has 1ms pulse length, motor rotation will be 0 degrees and if signal has 2ms length, then it will have 180degrees rotation. Any pulse length...

PWM graph 60

Library 33- PWM for STM32F4

I had enough of each time configuring PWM for some reason, so I decided to make a library for it. This library allows you to use PWM signal on all possible timers on all possible pins for timer. I made it for controling servos, but it can be used for anything else. PWM works in FAST PWM mode. You just set your PWM frequency, timer you will use, channel on timer and you are ready to go. If you need...

All STM32F4 tutorials 47

All STM32F4 tutorials

Sometime I made a tutorial how to work with something on STM32F4xx device, because is hard and pointless to make library for it for any reason. Tutorials are set to work at least with STM32F4xx devices. Tutorials NR Name Description 1 FIRST TIME First time with STM32F429 Discovery. Coocox project tutorial 2 KEIL UVISION Default project for Keil uVision to work with STM32F4 devices 3 PWM PWM tutorial for STM32F4xx 4 NVIC Nested vector interrupt controller tutorial 5 EXTI External...