Connect with us

Pneumatic solenoid valve help

Discussion in 'Sensors and Actuators' started by Jason Barker, Apr 5, 2020.

Scroll to continue with content
  1. Jason Barker

    Jason Barker

    17
    0
    May 28, 2018
    hi guys!

    i am trying to activate a pnumatic solanoid valve with arduino. i am useing a very basic design that is from this web page https://www.bc-robotics.com/tutorials/controlling-a-solenoid-valve-with-arduino/ i must point out the solanoid is not the one on that page.
    i am useing the items it says on that page, though i did order TP120's it appears the things that came are IRLZ34N im not sure if thats the same thing or not.
    useing a 7.4 lipo it works correctly at 40PSI however it needs to work at much higher pressures.
    at 80 PSI useing a 14.8v battery it semi works. it needs 20 or so activations and each acticvation the valve works better until it works. (again it needs to work much higher)
    if the valve is not activated again within a few secconds it will need aditional activations untill it works. i have a video here
    plugging the batterys directly in to the soanoid opens it correctly, so it seems as there is something in the design thats preventing power from propperly going to it, or is cutting the power of the battery. can you help?

    thanks for your time
     
  2. bertus

    bertus Moderator

    754
    268
    Nov 8, 2019
    Hello,

    TIP120 ia a NPN Darlington transistors.
    The IRLZ34 is a N-gate mosfet.
    The arduino signal should go to the gate of the mosfet, instead of the base of the transistor.
    The source of the mosfet should be connected to ground, instead of the emittor of the transistor.
    The drain of the mosfet should go to the solinoid, in stard of the collector of the transistor.
    There should be a back-EMF diode mounten accross the solinoid.

    https://media.digikey.com/pdf/Data Sheets/Vishay Siliconix PDFs/IRLZ34,SiHLZ34.pdf

    bertus
     

    Attached Files:

  3. Jason Barker

    Jason Barker

    17
    0
    May 28, 2018
    I have tried to rearange as you said, but nothing happens now.
    https://drive.google.com/file/d/15-k8QcQ4EjI23B__Vkbt-9rd2kE_IvFz/view?usp=drivesdk
     
  4. bertus

    bertus Moderator

    754
    268
    Nov 8, 2019
    Hello,

    Do you still use the resistor on the gate?
    If so lower the value to 22 Ohms.

    Bertus
     
  5. Jason Barker

    Jason Barker

    17
    0
    May 28, 2018
  6. bertus

    bertus Moderator

    754
    268
    Nov 8, 2019
    Hello,

    Where is the ground connection from the arduino?

    Bertus
     
  7. Alec_t

    Alec_t

    2,844
    760
    Jul 7, 2015
    Can you post a link to the valve datasheet?

    Edit:
    I would recommend building your circuit on Veroboard or similar, with soldered connections. Breadboards are not designed to carry heavy current (such as your solenoid may need) and do not provide reliable connections. If the connection to your back-emf diode ever became poor or failed, your Arduino could well be fried by the solenoid's back-emf spike, assuming the Arduino and the solenoid share the same supply as shown.
     
    Last edited: Apr 5, 2020
  8. Jason Barker

    Jason Barker

    17
    0
    May 28, 2018
    The green one I forgot to plug in haha, but still nothing.
     
  9. Jason Barker

    Jason Barker

    17
    0
    May 28, 2018
    Unfortunately no data sheet it's a 27 year old solenoid so nothing available for it. It will run on the 7.4v lipo though
     
  10. Jason Barker

    Jason Barker

    17
    0
    May 28, 2018
    Once I get a working prototype I will have this made in a a proper PCB board
     
  11. bertus

    bertus Moderator

    754
    268
    Nov 8, 2019
    Hello,

    I have drawn the parts again in fritzing, as in the openings post-link:

    Arduino_solinoid.png

    Bertus
     
  12. Jason Barker

    Jason Barker

    17
    0
    May 28, 2018
    thats working alot better now thats awesome, i was able to get up to 120 PSI with the 14.8v lipo

    if i wanted to increase the stregnth of the solanoid, but keep a lower voltage battery what changes would i need to make do you know?
    idealy i would like to be able to get that high on an 11.1v lipo or 7.4v
     
  13. bertus

    bertus Moderator

    754
    268
    Nov 8, 2019
    Hello,

    This is the schematic of what I breadboarded:

    Arduino_solinoid_schematic.png

    Bertus
     
    Jason Barker likes this.
  14. Jason Barker

    Jason Barker

    17
    0
    May 28, 2018
    do you know how i could increase current/power to the solanoid without useing a larger battery?
     
  15. bertus

    bertus Moderator

    754
    268
    Nov 8, 2019
    Hello,

    The use of a mosfet in stead of the transistor already gives more power to the solinoid, as the voltage drop accross the mosfet will be lower as the transistor.

    Bertus
     
  16. Jason Barker

    Jason Barker

    17
    0
    May 28, 2018
    i need more, this solanoid was desined to do what im trying to make it with 8.4v ni-h batterys so there must be a way to increse the current even more to match the old electronics. which i cant exactl coppy because its got some sort of coating so i cant see.
    https://drive.google.com/open?id=15N1lUnRYUpuRspxl_YjVafpqlN41SnIk
     
  17. bertus

    bertus Moderator

    754
    268
    Nov 8, 2019
  18. Jason Barker

    Jason Barker

    17
    0
    May 28, 2018
  19. bertus

    bertus Moderator

    754
    268
    Nov 8, 2019
    Hello,

    Thicker wire will carry more current.
    Measure the supply voltage and the voltage accross the solenoid.
    Then you know if there is a large voltage drop accross the wires.

    Soldering will also reduce bad contacts as you might have in the breadboard.

    Bertus
     
  20. Jason Barker

    Jason Barker

    17
    0
    May 28, 2018
    i finaly managed to make the wiring propperly, and it works perfectly! so thanks for everything :) and heres a video of it :)

    https://drive.google.com/file/d/15_BeJ1VmGHpHzPGOnbCiJj2YytyAbV8S/view?usp=sharing
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-