control dc motor via ultrasonic distance module and L298 motor driver


plz , want code make dc motor move forword when in front of ultrasonic distance module 2 seconds stop,and move backward when nothing in front ! 2 seconds ...
i tried alot , failed ! , iam using l298 motor driver.... :d






hi ramy1rafat,

we'd love help, we'll need see code , diagram of circuit.

click </> button above , paste code inside blocks.

how have 298 wired up?  motor control work using simple button presses?

pat


Arduino Forum > Community > Gigs and Collaborations > control dc motor via ultrasonic distance module and L298 motor driver


arduino

Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'