Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3923

Beginners • Re: How can I drive a vibrating motor by GPIO?

$
0
0
Try three connections:
pi 3V3 to controller board Vcc
pi GND to controller board GND
pi GPIO18 to controller board EN (enable)

Then without writng any .NET code or python code, start a Terminal on the pi and type this:

Code:

raspi-gpio set 18 op dh
what happens?
Then

Code:

raspi-gpio set 18 op dl
what happens?

Statistics: Posted by neilgl — Sat Aug 10, 2024 8:04 pm



Viewing all articles
Browse latest Browse all 3923

Trending Articles