Raspberry Pi Interface with DC Motor Using L293D || Proteus Simulation

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ม.ค. 2025

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

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

    Informative.

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

    In my simulation the motor works very faster, is there any way to control motor speed by using code or by configuring power.

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

      Yes, there is a way to increase or decrease the speed of DC motor, its called "Pulse width modulation - PWM" . you can use pin 3, 5, 6, 9, 10, and 11 for that purpose.
      Thanks for the comment.

    • @HareeshR-mt5du
      @HareeshR-mt5du 4 หลายเดือนก่อน

      @@VirtualEngineer_MKS Thank you for replying, but i used rpi gpio functions
      i got the way to control motor speed by defining motor enable pins as pwm output as
      = GPIO.pwm(,1000)
      .start()

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

    How did you solve the error at the end of the video ? I had the same error

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

      Hi Joody, thank you for the comment.. it very easy.. if you keep update your code completely and click on simulate, the error goes off.. Try it! if it still exist please let us now.

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

      @@VirtualEngineer_MKS how did you solve the error

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

    man, I code like you 100% but it said:"TabError: inconsistent use of tabs and spaces in indentation " at line 16( GPIO.output(DC_motor_b , GPIO.LOW)), can you paste your code here, I dont know what is that error

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

      its seems like you had made mistake while coding. please check the code and run the simulation