cara membuat pompa galon otomatis tanpa arduino / pompa galon elektrik

raju Tan
9 Mar 202114:02

Summary

TLDRThis tutorial demonstrates how to create an automatic gallon pump using a sensor, transistor, and various electronic components. The step-by-step instructions guide viewers through the process of wiring the sensor to control the pump, replacing the manual button with automatic functionality. The tutorial covers essential tasks like soldering, connecting wires, and adding a switch for power management. The final setup allows the pump to activate automatically when an object is near the sensor, offering both automatic and manual control for convenience.

Takeaways

  • 😀 **Required Components**: To build the gallon water pump, you need a proximity sensor, PNP transistor (90-12), 220-ohm resistor, and wires.
  • 😀 **Disassembling the Pump**: Remove the LED and header pins from the pump to make room for modifications, such as wiring the components.
  • 😀 **Wire Connections**: Use black, yellow, and blue wires to connect the ground, output, and VCC pins, respectively, to the pump and sensor.
  • 😀 **Soldering Process**: Solder the ground wire (black) to the ground pin, the output wire (yellow) to the sensor’s output, and the VCC wire (blue) to the VCC pin.
  • 😀 **Positioning the Sensor**: Place the sensor near the pump and use a hot glue gun to secure it in position for automatic water dispensing.
  • 😀 **Transistor Setup**: Connect the collector pin of the PNP transistor to pin 5 of the sensor and the emitter pin to the positive power supply (VCC).
  • 😀 **Resistor Use**: A 220-ohm resistor is placed between the base pin of the transistor and the sensor output to protect the components.
  • 😀 **Testing the Circuit**: After assembly, the pump should activate automatically when the sensor detects an object (e.g., a glass).
  • 😀 **Adding an On/Off Switch**: An on/off switch is added to control the sensor, conserving battery when the sensor is not in use.
  • 😀 **Manual Override**: The pump still allows for manual activation via a button, in addition to the automatic sensor-triggered function.

Q & A

  • What are the main components needed to build the automatic water pump?

    -The main components include an obstacle sensor, a PNP transistor (e.g., 9012), a 220-ohm resistor, wires (black, yellow, blue), a battery holder, a switch, and the manual water pump itself.

  • What is the purpose of using a PNP transistor in this circuit?

    -The PNP transistor is used to control the flow of power between the components, enabling the automatic activation of the pump when the sensor detects an object.

  • Why do you need to remove the LED and PIN header from the circuit?

    -The LED is removed to reduce unnecessary power consumption, and the PIN header is replaced with wires to make the assembly more flexible and easier to connect to other components.

  • How are the wires connected to the sensor and the pump?

    -The black wire is connected to the ground pin of the sensor, the yellow wire to the sensor's output pin, and the blue wire to the VCC pin. For the pump, the collector leg of the transistor is connected to the 5V line, and the emitter is connected to the positive terminal (VCC). The base of the transistor is connected to the sensor’s output through a 220-ohm resistor.

  • How does the sensor trigger the pump to start dispensing water?

    -When an object, such as a glass, is detected by the sensor, it sends a signal to the transistor's base, which activates the transistor and allows current to flow from the emitter to the collector, powering the pump to dispense water.

  • What role does the resistor play in the circuit?

    -The 220-ohm resistor is placed between the base of the transistor and the sensor's output to limit the current flowing into the transistor, preventing damage and ensuring proper operation.

  • What additional feature is added to the circuit for battery efficiency?

    -An on/off switch is added to disconnect the sensor from the circuit when it's not in use, which helps to save battery power when the pump is not needed.

  • How do you manually operate the pump if needed?

    -The pump can still be manually operated by pressing the button on top, even when the automatic sensor system is in place, providing an alternative method for water dispensing.

  • What happens when the sensor is turned off using the switch?

    -When the sensor is turned off, it stops detecting objects and activating the pump. However, the manual button on the pump still works, allowing water to be dispensed by pressing the button.

  • What is the benefit of having both an automatic and manual operation for the pump?

    -Having both options provides flexibility. The automatic feature makes it convenient to dispense water without touching the pump, while the manual operation allows users to control the dispensing if the sensor is turned off or not functioning.

Outlines

plate

هذا القسم متوفر فقط للمشتركين. يرجى الترقية للوصول إلى هذه الميزة.

قم بالترقية الآن

Mindmap

plate

هذا القسم متوفر فقط للمشتركين. يرجى الترقية للوصول إلى هذه الميزة.

قم بالترقية الآن

Keywords

plate

هذا القسم متوفر فقط للمشتركين. يرجى الترقية للوصول إلى هذه الميزة.

قم بالترقية الآن

Highlights

plate

هذا القسم متوفر فقط للمشتركين. يرجى الترقية للوصول إلى هذه الميزة.

قم بالترقية الآن

Transcripts

plate

هذا القسم متوفر فقط للمشتركين. يرجى الترقية للوصول إلى هذه الميزة.

قم بالترقية الآن
Rate This

5.0 / 5 (0 votes)

الوسوم ذات الصلة
DIY ProjectWater PumpAutomationSensor SystemPNP TransistorBattery SavingElectronics TutorialAutomatic PumpSmart HomePump SensorWater Dispenser
هل تحتاج إلى تلخيص باللغة الإنجليزية؟