The Adafruit Bonsai Buckaroo is a versatile power and control board designed for small robotic projects and educational purposes. It simplifies the process of powering and controlling motors, servos, and other actuators. With its compact size and ease of use, the Bonsai Buckaroo is ideal for hobbyists, educators, and students looking to explore the world of robotics and electronics.
Pin Number | Description | Notes |
---|---|---|
1 | GND (Ground) | Common ground for all connections |
2 | VIN (Voltage Input) | 3.3V to 5V input voltage |
3 | 3V3 (3.3V Output) | Regulated output for logic |
4 | A1 (Analog Input 1) | For sensor input |
5 | A2 (Analog Input 2) | For sensor input |
6 | D1 (Digital I/O 1) | For digital signals |
7 | D2 (Digital I/O 2) | For digital signals |
8 | PWM1 (PWM Output 1) | For servo or LED control |
9 | PWM2 (PWM Output 2) | For servo or LED control |
10 | Motor+ (Motor Power Positive) | Connect to motor positive lead |
11 | Motor- (Motor Power Negative) | Connect to motor negative lead |
Powering the Board:
Connecting Motors:
Controlling Servos:
Q: Can I control more than one motor with the Bonsai Buckaroo? A: The Bonsai Buckaroo is designed to control a single motor. For multiple motors, consider using additional boards or a board with multiple motor driver channels.
Q: What is the maximum servo load I can control with the PWM outputs? A: The maximum load will depend on the servo's specifications. Ensure the servo's power requirements do not exceed the board's 3.3V output capabilities.
Q: Can I use the Bonsai Buckaroo with an Arduino UNO? A: Yes, the Bonsai Buckaroo can be used with an Arduino UNO or any other compatible microcontroller platform.
// Example code to control a servo connected to the Bonsai Buckaroo with an Arduino UNO
#include <Servo.h>
Servo myservo; // create servo object to control a servo
void setup() {
myservo.attach(9); // attaches the servo on pin 9 to the servo object
}
void loop() {
myservo.write(90); // sets the servo position to 90 degrees
delay(1000); // waits for a second
myservo.write(0); // sets the servo position to 0 degrees
delay(1000); // waits for a second
}
Remember to adjust the myservo.attach()
function to match the PWM pin used on the Bonsai Buckaroo. The example assumes the servo control signal is connected to PWM1 (pin 9 on the Arduino UNO).