TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (405 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (133 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 (141703 times)
  2. FAT32 Library (74778 times)
  3. Network Ethernet Library (59221 times)
  4. USB Device Library (49226 times)
  5. Network WiFi Library (44999 times)
  6. FT800 Library (44536 times)
  7. GSM click (31203 times)
  8. mikroSDK (30104 times)
  9. microSD click (27586 times)
  10. PID Library (27543 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

Generating Sin wave by Timer PWM with DMA

Rating:

0

Author: Olexiy Bondar

Last Updated: 2017-12-06

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Internal MCU modules

Downloaded: 803 times

Not followed.

License: MIT license  

example of generating sin wave with timer PWM by DMA and measuring it by ADC with timer triggering(sending by uart to PC). Display data on PC with SerialPlot

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Generating Sin wave by Timer PWM with DMA " changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Generating Sin wave by Timer PWM with DMA " changes.

Do you want to report abuse regarding "Generating Sin wave by Timer PWM with DMA ".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

view

view

view

View full image
schem

schem

schematics is quite simple, just 1-st order low pass filter from timer output to ADC.

View full image
smart sin

smart sin

used to generate sin table for timer. http://tahmidmc.blogspot.com/2012/10/smart-sine-software-to-generate-sine.html

View full image

serial plot

used to show measured data https://hackaday.io/project/5334-serialplot-realtime-plotting-software

Watch on YouTube

ALSO FROM THIS AUTHOR

FFT + SIN Gererator

0

example is based on sin wave generator example: https://libstock.mikroe.com/projects/view/2206/generating-sin-wave-by-timer-pwm-with-dma with addind FFT(Fast Fourier Transform) to see frequency domain instead time domain on PC.

[Learn More]

Window functions + FFT

0

Window function is wide using in DSP. for more information read wiki: https://en.wikipedia.org/wiki/Window_function this exemple is based on FFT + SIN Gererator https://libstock.mikroe.com/projects/view/2207/fft-sin-gererator

[Learn More]

STM32 rotary encoder + timer

0

encoder processing by STM`s timer.

[Learn More]