element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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
Arduino
  • Products
  • More
Arduino
Arduino Forum Frequency Generator with 2x Variable Resistors
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 4 replies
  • Subscribers 391 subscribers
  • Views 494 views
  • Users 0 members are here
Related

Frequency Generator with 2x Variable Resistors

toxsickcity
toxsickcity over 8 years ago

Hi Guys,

 

I need serious help with starting a project, I am going to connect this to a pair of Valves, these Solenoid Valves will be very precise and will be under up to 30PSI pressure.

I need to have 1 solenoid OPEN and the OTHER CLOSED or VICE VERSA...

 

I will use an Arduino to control this and I have not started yet

 

I need to make a signal output on Pin 1 and Pin 2 be opposite! eg

when Pin 1 is OFF / Pin 2 is ON

when Pin 1 is ON / Pin 2 is OFF

 

this next section I am speaking of PIN 1.. (remembering PIN 2 will always be doing the opposite!!!)

I need to have 1 Variable Resistor (VR1)(Potentiometer) to control how long pin 1 stays ON (I was thinking a value of 0-100% of VR2)

I also need a 2nd Variable Resistor (VR2)to control how long it takes for Pin 1 to reset the cycle!

 

eg the output should be able to: Pin 1 again,. remembering Pin 2 will always be opposite!

Pin 1 stays on for 1 second every 5 seconds

or

Pin 1 stays on for 100ms every 1second

or

Pin 1 stays on for 200ms every 300ms

 

I would say the range should be, here I am unsure on converting...

I want to be able to slow to 5 seconds and go fast as (10hz - 10 times/second) is 10hz = 100ms?

 

Thanks

Shaun

  • Sign in to reply
  • Cancel

Top Replies

  • dougw
    dougw over 8 years ago +4
    It sounds like a dual 555 timer chip (556) could perform all the timing you need - variable duty cycle at a variable frequency. They can operate up to 15 Volts, so should run off the same supply as the…
  • mcb1
    mcb1 over 8 years ago +3
    Sounds simple. There are a couple of ways to do the 'opposite pin' thing. You'll need to drive the valve with a transistor or Mosfet regardless of what method is used. Unless you have something else you…
  • Jan Cumps
    Jan Cumps over 8 years ago in reply to shabaz +2
    ... using rotary encoders instead of potentiometers could help here. You can then define both their range and dynamic behaviour in the source code. You could refine the output with huge chunks when the…
Parents
  • dougw
    dougw over 8 years ago

    It sounds like a dual 555 timer chip (556) could perform all the timing you need - variable duty cycle at a variable frequency.

    They can operate up to 15 Volts, so should run off the same supply as the solenoids.

    Driving solenoids in opposite phase is as simple as connecting them in series across your supply and driving the connection between them high or low with a class B transistor pair.

    Don't forget to put snubber diodes across your solenoids.

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • dougw
    dougw over 8 years ago

    It sounds like a dual 555 timer chip (556) could perform all the timing you need - variable duty cycle at a variable frequency.

    They can operate up to 15 Volts, so should run off the same supply as the solenoids.

    Driving solenoids in opposite phase is as simple as connecting them in series across your supply and driving the connection between them high or low with a class B transistor pair.

    Don't forget to put snubber diodes across your solenoids.

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
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