TOP Contributors

  1. MIKROE (2655 codes)
  2. Alcides Ramos (352 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 (136761 times)
  2. FAT32 Library (69969 times)
  3. Network Ethernet Library (55942 times)
  4. USB Device Library (46268 times)
  5. Network WiFi Library (41888 times)
  6. FT800 Library (41182 times)
  7. GSM click (28986 times)
  8. PID Library (26414 times)
  9. mikroSDK (26368 times)
  10. microSD click (25380 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: 740 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]

STM32 rotary encoder + timer

0

encoder processing by STM`s timer.

[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]