TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (396 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (127 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 (140713 times)
  2. FAT32 Library (73182 times)
  3. Network Ethernet Library (58132 times)
  4. USB Device Library (48290 times)
  5. Network WiFi Library (43926 times)
  6. FT800 Library (43414 times)
  7. GSM click (30417 times)
  8. mikroSDK (29117 times)
  9. PID Library (27132 times)
  10. microSD click (26776 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: 779 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

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]

FIR(Finite impulse response) + FFT(Fast Fourier Transform)

0

Finite impulse response (FIR) filters is wide using in DSP. here is examlple of low pass filter. for more information read wiki: https://en.wikipedia.org/wiki/Finite_impulse_response this exemple is based on FFT + SIN Gererator https://libstock.mikroe.com/projects/view/2207/fft-sin-gererator

[Learn More]

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]