sobota, 16 marca 2013

First steps

As I wrote in recent post in this post I would like to describe progress in my activities.
So, let's start.
During the recent week I have worked  on following periferials:
- Digital to analog converter
- USART to communication with PC
- Timer_3 to generating PWM
- Timer_1 to triggering DAC.

Now, I can generate sine or PWM signal by using PC. I have wrote short program in order to set sine frequency or pulse and frequency of PWM.

Below I add picture which show results of my work.


As you see I have to improve quality of sine signal. This signal is obtained directly on on output of processor. I must design analog filter to mitigate edge of generated signal.
Maximum frequency which I obtained  is up to 75 kHz when I sampling this signal with frequency 0.5 MHz.  In this case by using DAC on processor frequency more than 75 kHz is impossible.

Plan for next week:
Firstly I will design analog filter.
I will try start design PCB for this project (maybe only schematics)
I will add more signals ( i.e. triangular)

3 komentarze:

  1. Hi :) Have you achieved any progress? I am very curious how signals look like now :) Best regards!

    OdpowiedzUsuń
  2. Hi :) I have break in my work :) If I continue my work, I will write post here.
    Waiting!

    OdpowiedzUsuń
  3. witam
    Czy mozesz zrobic coś podobnego na zamówienie ?
    korted(at)rogers.com

    OdpowiedzUsuń