EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / frequency variated 24-2 pulse genration

frequency variated 24-2 pulse genration

|

Microcontroller › AVR › frequency variated 24-2 pulse genration

  • This topic has 2 replies, 2 voices, and was last updated 9 years, 8 months ago by Lovely.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • August 19, 2015 at 10:48 am #3886
    Lovely
    Participant

    hello

    i am giving a frequency variated pulse train on particular pin as input and i want a 22 pulse then 2 missing pulses as output at another pin.if i vary the frequncy of input pulse signal then frequency of output should be variy.please give your ideas and views asap.

    thanks

    August 19, 2015 at 6:32 pm #13187
    Vara Ashishkumar
    Participant

    Hey lovely,

    As my thinking you can count the incoming high or low pulse and mesure the duration of high or low pulse.Based on duration you can generate another pulse at output pin. Use the external interrupt for counting pulse and time. Suppose if high pulse coming in external interrupt pin then jump in ISR and count the pulse and start timer to calculate duration of high pulse and return back.Do same for measure low pulse duration.After counting and Same time based on duration of incoming pulse generate outgoing pulse.

    I hope it should be work and as my understanding  you want to generate 22 pulse at output pin and want to skip next two pulse and again repeated.Clear about this point so i can help you.

    September 1, 2015 at 10:33 am #13249
    Lovely
    Participant

    thanks vara ashishkumar.

    now its frequency is varying with external Frequency signal, but i cant stop the counter, i.e i am facing problem in making missing 2 pulses after counting 22.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • JBL charge 4 dead motherboard? May 23, 2025
  • Back to the old BASIC days May 23, 2025
  • Reclaiming missing motherboard header May 23, 2025
  • Need help in repairing a dead motherboard May 23, 2025
  • parallel-to-serial problem May 23, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise