element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Community Hub
Community Hub
Member's Forum Replace Multi function button on Maker Hawk USB Tester
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Leaderboard
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Community Hub to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 1 reply
  • Subscribers 505 subscribers
  • Views 87 views
  • Users 0 members are here
  • help
  • electronics
Related

Replace Multi function button on Maker Hawk USB Tester

Angel
Angel 16 days ago

Hello,

  I have been working on a circuit to do the following:

  Use a push button to create an arbitrary number of pulses. Input frequency is not important. Then output the pulses at a desired frequency and pulse width. The output is initiated with a manual trigger. Output stops when the counter runs to zero or no more pulses 

Circuit Break Down:

  1. I am using a switch to generate an arbitrary number of pulses. A pulse for every button press is created. I have a Schmitt trigger to create accurate input data pulses. I have this part of the circuit built. No questions here.

  2. Store the pulse count into an IC and when ready output the pulses equal to the stored pulse count. I am stuck at this part of the circuit?

  3. Temporally I am using a CD4021. I can adjust the rate of input pulses ( Serial in Pin 11 )  by adjusting the clock ( Clock Pin 10 ) with a signal generator. The output pulses appear at the output ( Q8 Pin 3 ) at the desired output rate and pulse width equal to the clock pulse. This part looks great

The problem I am having with the CD4021. Is that it is storing a weighted number which is 2^8. The output is also weighted number. I need to convert the output of the CD4021 to real pulses. 

                 It is a requirement to store the pulse count in advance.

                It is a requirement to output pulses represented by the stored pulse count

                Trigger the output with a manual trigger. This step is just start the output. The output stops when the stored pulse count runs to zero or no more pulses.

 The purpose of the circuit is to replace  the multi function button on the Maker Hawk Load Tester. Which works on button presses and the frequency of the button when it it pressed.  Its the lower right hand black push button button

 I made this work with a Microchip and did the same with an Arduino. I would like to make an actual circuit using IC's and discrete components. 

image

  • Sign in to reply
  • Cancel
  • shabaz
    shabaz 16 days ago

    I guess you're trying to automate a load tester which may not have a computer interface? Is that the case, or is there some other reason for why you wish to use pulses to replace the push-switch operation?

    You mention you made it work with an Arduino. What's the reason to try to do this with old logic ICs? Is it to save cost, or to implement something you're currently unable to do with the Arduino code?

    Can you share your Arduino code, so that it is clear what you're trying to implement with logic ICs? It will be easier for people to see the timings and other things missing from your description, if people can see the Arduino code.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube