+ Post New Thread
Results 1 to 5 of 5
  1. #1
    Junior Member level 1
    Points: 200, Level: 2

    Join Date
    Feb 2015
    Posts
    17
    Helped
    1 / 1
    Points
    200
    Level
    2

    Programming a square signal

    Hello,

    My problem is I can't have a square signal, which its period is 500 s and its duty cycle is 10%, with a function generator. So, I think I can you a FPGA to program a such signal.

    What do you think, it's feasible or not?

    Emie

    •   AltAdvertisement

        
       

  2. #2
    Advanced Member level 4
    Points: 8,521, Level: 22
    Achievements:
    7 years registered Created Blog entry
    dpaul's Avatar
    Join Date
    Jan 2008
    Location
    Germany
    Posts
    1,276
    Helped
    275 / 275
    Points
    8,521
    Level
    22
    Blog Entries
    1

    Re: Programming a square signal

    You just want to generate a signal with period = 500us and 10% duty cycle right?
    Why to make things complicated and use an FPGA? Yes definitely it is possible.
    But you can just program a generic uC and get that type o/p too.....way more easier (assuming you are not familiar with FPGAs).
    FPGA enthusiast!


    1 members found this post helpful.

    •   AltAdvertisement

        
       

  3. #3
    Junior Member level 1
    Points: 200, Level: 2

    Join Date
    Feb 2015
    Posts
    17
    Helped
    1 / 1
    Points
    200
    Level
    2

    Re: Programming a square signal

    Yeah ! I want to program a signal with period = 500 s and duty cycle = 10%.
    But the problem is my function generator has 20% such as duty cycle min value.
    if there is an easier way to solve my problem, I can use it, instead of using FPGA :)

    - - - Updated - - -

    Dpaul, what do you mean by a generic uC?



    •   AltAdvertisement

        
       

  4. #4
    Advanced Member level 4
    Points: 10,056, Level: 24
    ALERTLINKS's Avatar
    Join Date
    Dec 2003
    Location
    Pakistan
    Posts
    1,259
    Helped
    398 / 398
    Points
    10,056
    Level
    24

    Re: Programming a square signal

    Use a 4017 decade counter IC. Feed it with 20KHz. Take output from any pin.
    I know. I know. And once more - I don't know.
    I am too old and would not have enough knowledge to judge, and only have made some remarks in order not to be called ignorant.



  5. #5
    Advanced Member level 4
    Points: 8,521, Level: 22
    Achievements:
    7 years registered Created Blog entry
    dpaul's Avatar
    Join Date
    Jan 2008
    Location
    Germany
    Posts
    1,276
    Helped
    275 / 275
    Points
    8,521
    Level
    22
    Blog Entries
    1

    Re: Programming a square signal

    Quote Originally Posted by emie View Post
    Dpaul, what do you mean by a generic uC?
    A programmable micro-controller I meant.
    FPGA enthusiast!



--[[ ]]--