Hội chế đồ, nơi tụ tập của các DIY-er

How to make a pet feeder from water pipe – Part 3 : Electronic part

1/ How it works :

DC motor is started and stopped by a relay, The amount of food depends on how long the motor will run. It is fixed from 1 to 8 seconds. I use the following relay schematic to turn on and off the DC motor. Because the voltage of digital pin of NodeMCU is 3.3v so I use 3.3v relay instead of 5v one.

2/ Electronic component

Parts :

* There is a real time module in the photo, but you don’t need it in this version.

  • 1 x connecting board (feeder.brd download from here)
  • 1 x 12v or 9v DC motor with gear box
  • 1 x Đầu nối dài trục động cơ
  • 1 x NodeMCU
  • 1 x 3v3 relay
  • 1 x 1k resistor
  • 1 x 10k resistor
  • 1 x 2N3904
  • 1 x 1N4007
  • 1 x tact switch
  • 1 x DC power PCB mount
  • 1 x  2 pole screw terminal block
  • 1 x Adapter 9V

Buy them here

Once together, you are almost complete with the hardware job.

Leave a Reply



496 Duong Quang Ham, ward 6, Go Vap district, HCM city
Get in touch with us via diyoracle@gmail.com. We will reply as soon as possible.


Please make donation if the provided information is useful for you. We will spend more time to do better thing for you.


All content are under GPL-3.0 license.

Please add reference link to related post if you redistribute content from this site .