-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e786e8b
commit e750332
Showing
19 changed files
with
156 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
# Adafruit PCA9685 | ||
|
||
Using a PCA9685 PWM Servo Driver to animate 2 servos. The animation is based on the IK example of the Blender Servo Animation add-on which resembles a simple neck mechanism. | ||
Using an Adafruit PCA9685 module to send servo positions. | ||
|
||
This approach is especially useful when the animation is based on multiple servos. We assume the servo ID and the used board channel are equal. Therefore, the servo with the ID 0 has to be connected to channel 0 etc. | ||
|
||
## Library Dependencies | ||
|
||
- [Adafruit-PWM-Servo-Driver-Library](https://github.com/adafruit/Adafruit-PWM-Servo-Driver-Library) | ||
|
||
## Wiring Diagram | ||
|
||
![Arduino Nano with PCA9685](../../images/arduino-nano-with-PCA9685.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,15 @@ | ||
# Multiple PCA9685 | ||
|
||
Using two PCA9685 PWM Servo Drivers to animate 2 servos. The animation is based on the IK example of the Blender Servo Animation add-on which resembles a simple neck mechanism. | ||
Using two PCA9685 PWM servo drivers to animate 2 servos. | ||
|
||
Note that the A0 address jumper has to be soldered on the second driver board. This setup can easily be extended to animate up to 32 servos. If even more servos are needed, you can also add more driver boards to the chain. | ||
|
||
We assume the servo ID and the used board channel are equal. Therefore, the servo with the ID 0 has to be connected to channel 0 etc. | ||
|
||
## Library Dependencies | ||
|
||
- [Adafruit-PWM-Servo-Driver-Library](https://github.com/adafruit/Adafruit-PWM-Servo-Driver-Library) | ||
|
||
## Wiring Diagram | ||
|
||
![Arduino Nano with 2 PCA9685](../../images/arduino-nano-with-2-PCA9685.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
# Multiple scenes | ||
# Multiple Scenes | ||
|
||
Setting up an animation consisting of 2 scenes. | ||
|
||
By default, the 2 scenes will be played synchronously in a loop. | ||
The 2 scenes will be played synchronously in a loop. It's even possible to have different playback rates (fps) and frames per animation. | ||
|
||
## Library Dependencies | ||
|
||
- [Servo](https://github.com/arduino-libraries/Servo) | ||
- [ESP32Servo](https://github.com/madhephaestus/ESP32Servo) (alternatively, when using an ESP32) | ||
|
||
## Wiring Diagram | ||
|
||
![Arduino Nano with servo](../../images/arduino-nano-with-servo.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,15 @@ | ||
# Show | ||
# Multiple Scenes with SD Card Animation Data | ||
|
||
Setting up a show consisting of 2 animations. | ||
Setting up an animation consisting of 2 scenes with their animation data being read from an SD card. | ||
|
||
By default, the 2 animations will be played synchronously in a loop. | ||
The 2 scenes will be played synchronously in a loop. It's even possible to have different playback rates (fps) and frames per animation. | ||
|
||
## Library Dependencies | ||
|
||
- [SD](https://github.com/arduino-libraries/SD) | ||
- [Servo](https://github.com/arduino-libraries/Servo) | ||
- [ESP32Servo](https://github.com/madhephaestus/ESP32Servo) (alternatively, when using an ESP32) | ||
|
||
## Wiring Diagram | ||
|
||
![Arduino Nano with servo](../../images/arduino-nano-with-sd-module.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,15 @@ | ||
# Standard Servo Library | ||
# SD Card Animation Data | ||
|
||
Using the standard Arduino servo library to send servo positions. | ||
Reading animation data from an SD card. | ||
|
||
The setup requires nothing but a micro controller and a single servo. | ||
The setup requires nothing but a micro controller and a single servo. It uses the standard Arduino servo library to send servo positions. | ||
|
||
## Library Dependencies | ||
|
||
- [SD](https://github.com/arduino-libraries/SD) | ||
- [Servo](https://github.com/arduino-libraries/Servo) | ||
- [ESP32Servo](https://github.com/madhephaestus/ESP32Servo) (alternatively, when using an ESP32) | ||
|
||
## Wiring Diagram | ||
|
||
![Arduino Nano with servo](../../images/arduino-nano-with-sd-module.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.