BB-D2 Remote Controlled Droid

by skleinswim in Circuits > Arduino

154 Views, 2 Favorites, 0 Comments

BB-D2 Remote Controlled Droid

IMG_0650.JPEG
IMG_0080.JPEG
IMG_0155.JPEG
IMG_6010.JPG
IMG_9893.JPEG

This was a project that was completed for a class, but is also a hobby project. It is a 1:1 scale version of the droid, BB-8, from Star Wars that can be remote controlled.

Supplies

In addition to the parts linked below, you will also need an abundance of various screws, washers, and nuts, 3D printer plastic (ABS recommended), a way to program arduino code, and the proper PPE. The paint for the droid is optional.


https://www.amazon.com/gp/product/B07G99NNXL/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

https://www.amazon.com/gp/product/B07SBYZ4G5/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

https://www.amazon.com/gp/product/B008GRTSV6/ref=ppx_yo_dt_b_search_asin_image?ie=UTF8&psc=1

https://www.amazon.com/gp/product/B01F53P7CW/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

\https://www.amazon.com/gp/product/B01IK78PQA/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

https://www.amazon.com/gp/product/B00O1722NG/ref=ppx_yo_dt_b_search_asin_image?ie=UTF8&psc=1

https://www.amazon.com/gp/product/B07MQKCB7F/ref=ppx_yo_dt_b_search_asin_image?ie=UTF8&psc=1

https://www.amazon.com/gp/product/B07ZGH1CGC/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

https://www.amazon.com/gp/product/B0012DNFP6/ref=ppx_yo_dt_b_search_asin_image?ie=UTF8&psc=1

3D Print

FJTOCSKLVJJJXAZ.jpg
FCPOPXSLVJJJXHH.jpg
FTPOHBKLVJJJXAY.jpg

You will want to start by printing all the files. The ball can be assembled in any combination of panels but for screen accuracy, see the picture with the six different sides. The internal workings do not have a specific assembly order but it is recommended to install the motors to their housing first before completing the assembly. Please see the pdf for a photo of how the completed assembly should look. The ball should be assembled into 2 halves to allow maintenance.

Code

Wiring and Electronics Setup: The wiring setup for the internal Arduino, essential for motor control and wireless communication, has been completed as follows:

Motor Driver:

0V to GND

S1 to TX->1

5V to VIN

M1A to motor 1 PWR

M1B to motor 1 GND

B+ to 12V

B- to GND

M2A to motor 2 PWR

M2B to motor 2 GND

Transceiver:

VCC to 5V

GND to GND

CE to 7

CSN to 8

SCK to 13

MO to 11

M1 to 12

IRO to NA


The servos should be attached to any PWM pins available and connected to power and ground.

The joysticks should be connected to your transmitter and can use any analog input pins as well as the proper ground pins.

While the power supply used was 12V, the servos are only rated for 8.4, so a buck converter would be recommended to step the voltage down as to not fry the servos.

The arduino can be powered by the motor driver, but the nano in the transmitter will need its own supply.