Submitted by stephenjeffers@... on Fri, 03/15/2019 - 17:23
I am VERY new to this so possibly a daft question but can i control a motor (linear actuator) by sending LOW/HIGH command to a specific Raspberry Pi GPIO pin eg. GPIO.setup(21,GPIO.LOW) ?
Secondary question is how do I reverse polarity ?
thanks
piborg
Sat, 03/16/2019 - 11:32
Permalink
ThunderBorg uses I2C
The ThunderBorg works by sending commands over the GPIO using messages known as I2C. This is done over the SDA and SCL pins on the GPIO connection.
The ThunderBorg examples (install instructions found here) have a library, ThunderBorg.py, which makes controlling the motors simple :)
Here is a basic example of driving motor #1 in both directions:
stephenjeffers@...
Sat, 03/16/2019 - 16:29
Permalink
brilliant
works a treat, thanks !