How to Control a Peristaltic Water Pump with Arduino 12V/5V | REVERSE POLARITY SWITCH, WATER PUMP

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ธ.ค. 2024

ความคิดเห็น • 111

  • @sunriseboy4837
    @sunriseboy4837 หลายเดือนก่อน

    Hell...I can put batteries into a flashlight...that makes me a genius...🤣🤣🤣
    Blokes like this always mesmerize me with their ability to fix, make, and do stuff like this.
    Just fantastic.
    Thanks so much. I may even succeed!?

  • @goodbless6094
    @goodbless6094 15 วันที่ผ่านมา +1

    Very interesting.. I super new to Arduino tech thingy. You didn't mention the power rating of the relay. Does the relay has to be 12v or 5v etc? Thanks

    • @MikaelAbehsera
      @MikaelAbehsera  8 วันที่ผ่านมา +1

      The control side of the relay has to be 5v but the other side can be whatever you want within the recommended range, I do have a relay video on my channel that might help

  • @clarkarbogast
    @clarkarbogast ปีที่แล้ว +3

    Hey you should really keep uploading this was a really cool project.

    • @MikaelAbehsera
      @MikaelAbehsera  ปีที่แล้ว +2

      Thanks Clark, working on a project right now and going to continue this series, wasnt monetized until recently so all these projects over 3 years started to drain me a little too much lol

  • @Bluuplanet
    @Bluuplanet 11 หลายเดือนก่อน +1

    I need to do something similar, but with a reversable AC motor.
    The motor reverses, not by doing anything with the power supply wires, but by switching a couple of other wires under the motor's connection cover plate.
    In addition, I need to add add electric brake circuit, which does attach to the AC supply wires (it discharges a cap which momentarily puts DC into the motor winding which causes breaking). For that to work, the directional circuit must remain connected for the duration of the cap discharge.
    I have a switch like yours, a 120V AC motor, parts for the brake circuit, a relay and now I've purchased an R3 arduino with a 5-relay shield that I have a feeling that I need but I know absolutely nothing about it.
    I also have an 11 year old grandaughter who's learning to program in Python ("Hello world"). I'd enlist her help but she's 4 states away.
    Please pray for me.

    • @MikaelAbehsera
      @MikaelAbehsera  11 หลายเดือนก่อน

      oof, I need some 11 year old programmers too lol

  • @giahkim1321
    @giahkim1321 10 หลายเดือนก่อน

    Hi, I got a lot of help from this video. Thank you so much! I wonder how to connect the reverse switch with the relay cause my switch has 3 pins. And your switch had 6 pins... thanks!

    • @MikaelAbehsera
      @MikaelAbehsera  10 หลายเดือนก่อน

      Glad it helped, for the 3 pin im not sure but usually 3 pin its for 2 ON positions and 1 off in the middle, if thats true that switch wont work you need a 6 pin one !

  • @masoudmorgan2019
    @masoudmorgan2019 3 หลายเดือนก่อน

    Hi Mikael. Thanks for your great idea with your clear and simple method. I have a question. If I have 4 motors instead of one, do I need 4 rocker switches? Or is there a solution where I can use one rocker switch for four motors?

    • @MikaelAbehsera
      @MikaelAbehsera  2 หลายเดือนก่อน

      depends on if you want them all to spin in different directions, but if you want all in the same direction/flow then yes 100%, just make sure youre powersupply can handle it

  • @DanLovesFries
    @DanLovesFries 2 หลายเดือนก่อน

    Hii do you think this could be use to acrylic paints? we’re making a prototype and this is one of the best options for us

    • @MikaelAbehsera
      @MikaelAbehsera  2 หลายเดือนก่อน

      yes but I would be worried about the paint dying in the lines if you dont clean them after each use

  • @rayanemesmoudi2223
    @rayanemesmoudi2223 ปีที่แล้ว +1

    This is very helpful. If I only need my pump to flow water in one direction, can I just use the relay without an H-Bridge? Thank you

    • @MikaelAbehsera
      @MikaelAbehsera  ปีที่แล้ว

      yup! just dont do it and it will work in whatever direction you set it up in.

  • @abdessamad7654
    @abdessamad7654 หลายเดือนก่อน

    hey i am working on a mini project based on the principal of a pumped-storage hydroelectricity and the DC motor of the pump is going to work as motor and generator depending on some conditions i want to know if it produces good voltage or its designed just for being a pump (mechanically)

    • @MikaelAbehsera
      @MikaelAbehsera  20 วันที่ผ่านมา

      honestly nothing at this price range is super effichient but it gets the job done, Im sure its not bad and you can generate power but its gotta be a decently strong flow, would love to see this project when your done, join the discord it sounds super cool

  • @TheMarcoscardoso94
    @TheMarcoscardoso94 5 หลายเดือนก่อน +1

    Hi great video, you got yourself a new subscriber :) Would love to get some recommendations using this project of yours as a reference. I'm not into engineering, so this video will be of great help and sorry for the newb question I might ask. The project I'm starting involves creating a pump to feed a sick guinea pig on regular basis. He is currently on syringe feeding, but it's getting very hard for me time-wise.
    Would this pump work with wet food instead of water (food with the same consistency of yogurt)? If not, what material of the tube should I look for? Also, how can I make the pump responsive to pressure, so whenever my guinea pig sucks the food, the pump would turn on? Can the arduino be programable in order to do that?
    Thank you in advance, hope you have great success with your channel :)

    • @MikaelAbehsera
      @MikaelAbehsera  4 หลายเดือนก่อน +1

      Thanks Marco, I’m not sure about something similar to yogurt but I would test it out and see, I’m also not sure if the portions would be consistent

  • @FluidPepper
    @FluidPepper 6 หลายเดือนก่อน

    Love the video but when you are attaching wires to the system could you find a camera angle to not have you head covering your work? Love the format but its a little hard to follow when vision is obstructed

    • @MikaelAbehsera
      @MikaelAbehsera  6 หลายเดือนก่อน +1

      Yes I will work on this moving forward, thanks for the feedback

  • @ismailwahoub9452
    @ismailwahoub9452 ปีที่แล้ว

    thank you so much for this video! wonder if one/two pushbuttons will do the same function or not ?

    • @MikaelAbehsera
      @MikaelAbehsera  ปีที่แล้ว

      there was actually another comment about that above this one, its possible but not recommened since pressing both at the same time would be problematic

  • @curtjohannmaracha5235
    @curtjohannmaracha5235 2 ปีที่แล้ว +1

    this video is very helpful!! I hope you can post the part 2 of this ASAP. thank you

    • @MikaelAbehsera
      @MikaelAbehsera  2 ปีที่แล้ว

      I will!

    • @MikaelAbehsera
      @MikaelAbehsera  2 ปีที่แล้ว

      Anything specifically you’d like to see?

    • @curtjohannmaracha5235
      @curtjohannmaracha5235 ปีที่แล้ว +2

      using pH sensor please. thank you

    • @curtjohannmaracha5235
      @curtjohannmaracha5235 ปีที่แล้ว +1

      automated on and off with threshold of sensor

    • @hanzotv3
      @hanzotv3 ปีที่แล้ว

      ​@@curtjohannmaracha5235 looking forward to this as well... Running a timer for my watering system.

  • @ShrinkStar
    @ShrinkStar 3 หลายเดือนก่อน

    Is there any alternative with all the features of peristaltic valve, but the direction can be controlled by the Arduino itself without any manual intervention??

    • @MikaelAbehsera
      @MikaelAbehsera  2 หลายเดือนก่อน

      you can have a real Hbridge switch, and activate that using non manual intervention

  • @Bassmaniacon
    @Bassmaniacon 10 หลายเดือนก่อน +1

    Hej cool project. Will it work with a 24V pump?

    • @MikaelAbehsera
      @MikaelAbehsera  10 หลายเดือนก่อน

      yeah! just make sure the other components can handle 24v and that you use a powersupply for 24v, but yes it can

  • @sideswifter7541
    @sideswifter7541 9 หลายเดือนก่อน +1

    Hey, I want to use this in my project, but I need to control the speed of the pump, is there a wave to do that?

    • @MikaelAbehsera
      @MikaelAbehsera  9 หลายเดือนก่อน

      Yeah, dc speed controller!

  • @andyMutale
    @andyMutale ปีที่แล้ว +2

    Time to binge

  • @Mr_Green_102
    @Mr_Green_102 8 หลายเดือนก่อน +1

    Can you please provide the specification/name of the relay you used? Thank you.

    • @MikaelAbehsera
      @MikaelAbehsera  7 หลายเดือนก่อน

      its just a generic one off amazon/aliexpress, I stopped putting links since they always get changed by the sellers

  • @jaimegates1181
    @jaimegates1181 ปีที่แล้ว +1

    Would I be able to use arcade style buttons with this pump instead of the rocker switch? One button for direction of water flow and another button for water flow in the other direction?

    • @MikaelAbehsera
      @MikaelAbehsera  ปีที่แล้ว +1

      Yes, the wiring would be pos and negative one way for one flow and opposite for other direction, you wouldn’t even have connect them together like this, just make sure you don’t press both at the same time (not an issue with a rocker switch since it’s one or the other)

    • @jaimegates1181
      @jaimegates1181 ปีที่แล้ว

      Could you please send the code for this?

    • @WyattsVlog
      @WyattsVlog ปีที่แล้ว

      ​@@jaimegates1181 ChatGPT

  • @starryskyhighway9628
    @starryskyhighway9628 9 หลายเดือนก่อน

    just trying to make project in hydrophonic system. Thinking of having pump that automatic applying nutrients solution to the plant accordingy to it needs. Just for insight what may i add? feels free to answer me :)

    • @Great2109
      @Great2109 9 หลายเดือนก่อน

      hey brother
      i am doing the same will be helpful if we could connect

    • @MikaelAbehsera
      @MikaelAbehsera  8 หลายเดือนก่อน

      you could pump from a liquid containter into your plants and control that flow in any way you would like, I dont know much about hydrophonic but I imagine that would work

  • @Kavfall
    @Kavfall 11 หลายเดือนก่อน +2

    Do you have a list of parts and links???

    • @MikaelAbehsera
      @MikaelAbehsera  11 หลายเดือนก่อน +1

      links expired off amazon, so i removed

  • @TheJellyMango
    @TheJellyMango ปีที่แล้ว +2

    Great video man, but i noticed you havent posted any new content in the past 4 months. Are you still planning on covering the other sensors?

    • @MikaelAbehsera
      @MikaelAbehsera  ปีที่แล้ว

      yeah, getting into it again now, channel wasnt monitized till this week and all these projects started to add up

  • @DestroyerOfWorlds07
    @DestroyerOfWorlds07 8 หลายเดือนก่อน

    Can the peristaltic pump open partially to let just a little amount of water to flow, or can it only open and close fully?

    • @MikaelAbehsera
      @MikaelAbehsera  7 หลายเดือนก่อน +1

      check your other comment, hopefully my response kidna helps lol

  • @sathviksidd
    @sathviksidd ปีที่แล้ว +1

    When will the water level sensor video come out?

    • @MikaelAbehsera
      @MikaelAbehsera  ปีที่แล้ว

      Workin on them right now, is there a sensor you’d like to see specifically ?

    • @sathviksidd
      @sathviksidd ปีที่แล้ว

      @@MikaelAbehsera yes, the cheap red one for Arduino

    • @MikaelAbehsera
      @MikaelAbehsera  ปีที่แล้ว

      Link it

  • @hugandco1950
    @hugandco1950 9 หลายเดือนก่อน

    How many amps do you need for the power supply?

    • @MikaelAbehsera
      @MikaelAbehsera  8 หลายเดือนก่อน

      i think mine was 1.5a, or 2a i forgot

  • @hejxy2213
    @hejxy2213 ปีที่แล้ว +1

    I want to control the direction of water flow in code rather than physical switch is that possible??

    • @MikaelAbehsera
      @MikaelAbehsera  ปีที่แล้ว

      yes but youll need something to reverse polarity like an hbridge, i made a manual one to avoid buying more parts :)

    • @hejxy2213
      @hejxy2213 ปีที่แล้ว

      @@MikaelAbehsera what about useing a moter drive that control speed and direction?

  • @avatarofkhaine616
    @avatarofkhaine616 ปีที่แล้ว

    the tubing connected to the pump would it add bad taste to drinking water ?

    • @MikaelAbehsera
      @MikaelAbehsera  ปีที่แล้ว

      not if its food grade tubing, otherwise yes.

    • @avatarofkhaine616
      @avatarofkhaine616 ปีที่แล้ว

      @@MikaelAbehsera i'm finding some things that annoy me about various forms of plastic. the way things are phrased it's almost like none of them are safe without precautions.. sigh. what kind of tubing would you use ? platinum treated vinyl is one that looks promising its used in drink machines for example.

    • @avatarofkhaine616
      @avatarofkhaine616 ปีที่แล้ว

      @@MikaelAbehsera btw i liked your video. i had considered that exact pump for usage in my mad science project :P

  • @dhaufjebzjchseis3828
    @dhaufjebzjchseis3828 8 หลายเดือนก่อน

    could you vary the flow rate with pulse width modulation

  • @luismauromaximo3556
    @luismauromaximo3556 7 หลายเดือนก่อน

    Can ardruino nano work as wel in that set up?

    • @MikaelAbehsera
      @MikaelAbehsera  20 วันที่ผ่านมา

      yes! but you might run out of pins quickly with those

  • @heypaulleey
    @heypaulleey 7 หลายเดือนก่อน

    Did you use 12v/5v relay for that?

    • @MikaelAbehsera
      @MikaelAbehsera  7 หลายเดือนก่อน

      yes 5v control, and then 5/12/24v for the pumps usually

  • @blancagarciagracia1665
    @blancagarciagracia1665 ปีที่แล้ว +1

    Great video! What is actually the function of the relay? Thanks

    • @hanzotv3
      @hanzotv3 ปีที่แล้ว

      Arduino only use 5v power so arduino cant power the pump so he use relay and uses 12v power supply. Arduino only sends signal to the relay as to when to turn on.

    • @mr.mythoclast4451
      @mr.mythoclast4451 ปีที่แล้ว

      you can also use a Mosfet instead, but don't forget a flyback diode and be sure the Mosfet turns on with that Arduino's 5V

    • @MikaelAbehsera
      @MikaelAbehsera  ปีที่แล้ว

      relay pretty much is a switch for you to control a larger power source, like you can setup a relay on the light switch on the wall

  • @fqban305
    @fqban305 ปีที่แล้ว

    Hey man great video, how can I reach you out. I have a project that im stuck and maybe you could help me out with.

    • @MikaelAbehsera
      @MikaelAbehsera  ปีที่แล้ว +1

      I have a discord with some members and we try and help each other out there

  • @muhammedafnan1809
    @muhammedafnan1809 9 หลายเดือนก่อน

    which relay is used in this?

    • @MikaelAbehsera
      @MikaelAbehsera  8 หลายเดือนก่อน

      just the generic ardeuino ones

  • @hanzotv3
    @hanzotv3 ปีที่แล้ว

    Can arduino run a clock? Sync to local time anf switch pump by schedule?

    • @MikaelAbehsera
      @MikaelAbehsera  ปีที่แล้ว

      yes but you need a time/clock module

  • @aswanthm4199
    @aswanthm4199 10 หลายเดือนก่อน

    Can we use this pump to pump air with increased pressure

    • @MikaelAbehsera
      @MikaelAbehsera  10 หลายเดือนก่อน +1

      Not really it’s more for liquids, I would use an air pump for air

    • @ÇòWbÓy-a6k
      @ÇòWbÓy-a6k 10 หลายเดือนก่อน

      Could please suggest a small size air pump that can fit inside a tyre,​@@MikaelAbehsera

    • @MikaelAbehsera
      @MikaelAbehsera  10 หลายเดือนก่อน +1

      @Peace-yj4ry I’m not sure how that would work but my concern would be the tire would be super difficult to balance, if you want some auto pumping tire I would have a pump hidden somewhere and a 360 degree twisting air tube going into the air valve, check out how it’s done on off-road cars, super cool technology

    • @ÇòWbÓy-a6k
      @ÇòWbÓy-a6k 10 หลายเดือนก่อน

      ​​​@@MikaelAbehseraBut i need anything like that for our project, which is used to suck air from the atmosphere and increases its pressure then pump through another valve...
      Also it want to fit within the tyre

    • @MikaelAbehsera
      @MikaelAbehsera  10 หลายเดือนก่อน +2

      @@ÇòWbÓy-a6k look into off-road cars with pumps built into the cars, I think that’s what you want

  • @ObsequiousV4
    @ObsequiousV4 ปีที่แล้ว

    Nice. Machine straw

  • @guggug-4168
    @guggug-4168 9 หลายเดือนก่อน

    Hi thanks a lot for your video! your Discord link is not valid, and I wonder if you share the code anywhere?

    • @MikaelAbehsera
      @MikaelAbehsera  9 หลายเดือนก่อน

      I’m pretty sure i saw you join ? Are your “old gug”

  • @m0kcun
    @m0kcun ปีที่แล้ว

    hi, can I directly connect pump with relay without the external power source ?

    • @MikaelAbehsera
      @MikaelAbehsera  ปีที่แล้ว

      no, you need one

    • @m0kcun
      @m0kcun ปีที่แล้ว

      @@MikaelAbehsera why is that??

    • @MikaelAbehsera
      @MikaelAbehsera  ปีที่แล้ว

      How will you power the pump? The relay is only a switch for the power, it doesn’t provide power

    • @m0kcun
      @m0kcun ปีที่แล้ว

      @@MikaelAbehsera ohh I thought the power from arduino will like amplify when using the relay so it can power the pump 😅 THANKSSS!!

  • @emyemy7504
    @emyemy7504 5 หลายเดือนก่อน

    Pls it needs a wiring diagram for clarity

    • @MikaelAbehsera
      @MikaelAbehsera  4 หลายเดือนก่อน +1

      You got it on the next one

    • @emyemy7504
      @emyemy7504 2 หลายเดือนก่อน

      @@MikaelAbehsera thank you. Please where is the link to the other videos in the series where you said you will integrate these pumps with a float switch?

  • @glenndhooge6787
    @glenndhooge6787 ปีที่แล้ว

    When will we get an update? 😅

    • @MikaelAbehsera
      @MikaelAbehsera  ปีที่แล้ว +1

      still working on it ;)

    • @emyemy7504
      @emyemy7504 4 หลายเดือนก่อน

      @@MikaelAbehseraany update yet with the float switch?

  • @nickoutram6939
    @nickoutram6939 ปีที่แล้ว +2

    Surely a peristaltic pump should have a stepper motor as driver not a strandard BLDC motor (which will work but will not be able to provide the fine 'micro dosing'...) Otherwise you may as well just use any standard pump if you are just pumping water.

    • @MikaelAbehsera
      @MikaelAbehsera  ปีที่แล้ว +1

      yeah this is not a medical grade one its just a cheapo off amazon/aliexpress to demonstrate!

    • @adamnjethro4080
      @adamnjethro4080 5 หลายเดือนก่อน

      @@MikaelAbehseracould I get your help picking out some stuff I need to make this work I am clueless about this stuff I’m building a waterfall in an reptile enclosure and this looks like the perfect size I just don’t know what flow rate I need and what I need to make the pump run continuously

  • @masamudayangindah
    @masamudayangindah ปีที่แล้ว

    can I get the code sir ?
    share if u can ,thanks