Instructables - DIY Bluetooth Phone Controlled BB-8 .

2y ago
17 Views
2 Downloads
8.36 MB
44 Pages
Last View : 23d ago
Last Download : 3m ago
Upload by : Shaun Edmunds
Transcription

DIY Bluetooth Phone Controlled BB-8 Droid with Arduino UNOby Imetomi on December 25, 2015Table of ContentsDIY Bluetooth Phone Controlled BB-8 Droid with Arduino UNO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1Intro: DIY Bluetooth Phone Controlled BB-8 Droid with Arduino UNO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3Step 1: How does BB-8 works? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4Step 2: Other Maker's Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5Step 3: My Desing and Concept . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5Step 4: Choose your microcontroller! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6Step 5: LinkIt ONE: Parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7Parts: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7Step 6: LinkIt ONE: The 1 Motor Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8Step 7: LinkIt ONE: The Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10Step 8: LinkIt ONE: The Audio Amp for Sound Effect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11Step 9: LinkIt ONE External Battery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11Step 10: LinkIt ONE: The test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12Step 11: Arduino UNO: Parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13Parts: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13Step 12: The Ardiuno Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16Step 13: Choosing the Power Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17Step 14: Build the Power Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17Step 15: Choosing Motors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18Step 16: The Circuit (Hardwere Part) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19Step 17: The Motor Shield . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20Step 18: A Quick Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21Step 19: The Mechanism . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22Step 20: The Body in the Sphere . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23Step 21: Steering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24Step 22: The Servo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26Step 23: Optional Upgrade (head spin) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27Step 24: The Head . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28Step 25: Quick Test (Again) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29Step 26: Adding Some Extra Weight For Better Steering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . one-Controlled-BB-8-Droid-With-Ard/

Step 27: Preparing for Paint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31Step 28: Painting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32Step 29: The Pattern . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34Step 30: Gluing the Pattern . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34Step 31: The Eyes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35Step 32: The Head Pattern . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37Step 33: Decoration of the Head . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38Step 34: Still Decorating. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39Step 35: Details On the Body . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40Step 36: How to use the app? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42Step 37: This is droid you are looking for! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . one-Controlled-BB-8-Droid-With-Ard/

Author:Imetomi ThomasMy name is Thomas (Tamas) and I am 16 years old Hungarian guy. I love the electronics, and I just like to invent something new, that never was before. Iwant to show another point of view and new ideas with my instructables. Hope you like it!Intro: DIY Bluetooth Phone Controlled BB-8 Droid with Arduino UNOI'm a huge Star Wars fan and when I saw the Star Wars: The Force Awakens I thought that I need a BB-8 droid. It was awesome how this little sphere moved in themovie. So I decided that I'll make this droid that is based on the Arduino UNO (or other microcontroller). In this instructable I'm going to show how to build this droid withthe LinkIt ONE that is a very popular board these days on the Instructables, so in a few steps I'll explain the code and if you want to use a LinkIt ONE you have to build amotor driver circuit that is also explained in my instructable. What if you haven't a LinkIt ONE? Don't worry I used an Arduino UNO clone to build my project, becausethe Arduino is much more popular than any other microcontroller, the LinkIt ONE is a short upgrade in four steps for LinkIt ONE users.Some features:phone controlledvoice controlledArduino basedrealistic head and body motionlight effectssound effectsThis BB-8 model can be controlled with a smartphone using an application downloaded from the Play Store, iOS users have to use another app, because this one isn'tcompatible with iDevices, I'll insert links for different apps for the Apple users. Can be controlled even with voice commandsusing another Android application. BB-8 haslight and sound effects just like in the movie. This droid is able to move his head, can turn left and right, moves forward or backward. The body moves realistic too, butthere is difference between the original and my mechanics. Eventually is a good replica, it's only a little bit smaller than the original.So my first intent was to make a realistic R/C replica of the BB-8. My second intent was to build this droid at very low cost. I didn't want to spend a lot of money for thisproject and I think succeed, the full cost is less 40. This is relatively cheap, if you check the prices of the BB-8 toys. If you want to build this droid please read everysteps attentively. Every single detail can be useful and tooth-Phone-Controlled-BB-8-Droid-With-Ard/

Step 1: How does BB-8 works?This website explains very good how the original BB-8 would work. The mechanism is complex and requires a lot of motors, gyroscope and a better circuit. The head canbe kept and moved using magnets that are in the th-Phone-Controlled-BB-8-Droid-With-Ard/

Step 2: Other Maker's DesignI think James Bruton's design is one of the best that I saw on the internet. It's simply awesome. But Mike Senna's droid is amazing too. I know that mine isn't so goodlike those, but I tried to make something new, invidual without copying the design of these two amazing makers.Step 3: My Desing and ConceptI made some drawings about my plan. I used a cardboard globe for head and a plastic hamster ball to make the body. In this hamster ball is placed the Arduino and themotors. The M1 (motor) moves the droid forward and backward, the M2's role is to turn the body left or right. To the M2 should be connected something metal or anythingthat has big weight, otherwise the droid won't be able to turn left or right. As a weight I simply used the two batteries, so don't need to add extra weight. Later I'll explainthis featurette. The Servo moves the head on the body forward and backward and the M3 turns the head left or right. The head can be attached to the droid usingmagnets.The size of the bigger ball's diameter is 17 centimeters. The smaller half ball is a cardboard ball that's diameter is 11 uetooth-Phone-Controlled-BB-8-Droid-With-Ard/

Step 4: Choose your microcontroller!As said I'll show you the instructions with both microcontrollers, but I'll build the droid with the Arduino UNO. So if you want to add special effects like sound use a LinkItONE, but I recommend to use a well-known Arduino UNO with an Adafruit motor shield. Both circuits has advantages, like:LinkIt ONE:build-in Bluetoothsound effectslight effectsBut is incompatible with Adafruit motor shield, you'll need to make a motor shield. And can't move the head.Arduino UNO:motor shield compatiblelight effectsmuch more realistic motionIf you use Arduino you'll need a HC-06 Serial Bluetooth module and you can't build in sound effects. In the next four steps I'll show how to use the LinkIt ONE with a DIYmotor shield, so if you are an Arduino user skip these h-Phone-Controlled-BB-8-Droid-With-Ard/

Step 5: LinkIt ONE: PartsYou'll need the following tools:soldering ironglue gunwire stripper/cutterPC with Arduino IDE and LinkIt ONE libraryParts:Mediatek LinkIt ONE Developer Board3 DC MotorsServo MotorL293D Motor Driver1k resistorRed/Green/Yellow LEDBattery (Included with the LinkIt ONE kit)Bluetooth AntennaExternal Battery (2x Lithium-Ion Batteries)Screw TerminalsThe other parts are the same as the Arduino UNO users: motors, sphere, Phone-Controlled-BB-8-Droid-With-Ard/

Step 6: LinkIt ONE: The 1 Motor DriverNow you have to make this very low cost motor shield/driver. With this circuit you can control your motors in two directions: forward and backward. I marked theconnection point between the LinkIt and the circuit: D5, D6, D10 and D11, these digital output pins can control the code with my code, So if the LinkIt One example pullsup the D6 to HIGH the motor th-Phone-Controlled-BB-8-Droid-With-Ard/

e-Controlled-BB-8-Droid-With-Ard/

Step 7: LinkIt ONE: The CodeAfter building the circuit download this or write an own code to recieve the bytes from the application. This code creates a bluetooth server, reads incoming bytes thenreacts to them by moving the servo and motors, turning on light or sound effects.File DownloadsBB-8 LinkIt ONE.ino (3 KB)[NOTE: When saving, if you see .tmp as the file ext, rename it to 'BB-8 LinkIt ONE.ino']Step 8: LinkIt ONE: The Audio Amp for Sound EffectDownload BB8.mp3 file put on an SD card and plug in the LinkIt ONE.If you want to add sound effect build this small circiut that amplifies the sound signal from the microcontroller. I couldn't build this circuit because I needed time for theArduino Uno part, so I just made a quick test with my earphone, but if you have questions feel free to Phone-Controlled-BB-8-Droid-With-Ard/

File DownloadsBB8.mp3 (216 KB)[NOTE: When saving, if you see .tmp as the file ext, rename it to 'BB8.mp3']Step 9: LinkIt ONE External BatteryYou have to make a 7.4v battery for the motors. My solution was to connect two 18650 batteries in th-Phone-Controlled-BB-8-Droid-With-Ard/

Step 10: LinkIt ONE: The testI used some motors to test the circuit and the coed and they worked fine. At first launch the servo had some issue, but after this worked without problems. The soundthrough the earphones was very good. Look at the video if you want to see how it works. With this step I finished the explanation and instructions for the LinkIt ONE. Goto the mechanism part to see how to build the h-Phone-Controlled-BB-8-Droid-With-Ard/

Step 11: Arduino UNO: PartsYou'll need the following tools:soldering ironglue gunwire stripper/cutterPC with Arduino IDE and Adafruit Motor Shield LibraryParts:Electronics:Arduino Uno (buy from Amazon or eBay)HC-06 Serial Bluetooth ModuleMotor Shield18650 Lithium-Ion Battery (I salvaged mine from an old laptop, if you buy online beware fake Ultrafire batteries)DC Motors with Gears (3 Pieces)Servo MotorBlue LEDJumper Wires5.5mm Power JackMechanism:Some Lego PartsA Hamster BallA Plastic Globe (for head)Srews and Zip TiesPlastic or Plexy Glass sheetsMagnetsAppearence and Paint:White Paint SprayBlack PaintBlue and Orange PaintPing-Pong Ball (for eye)Black MarkerSoftware:Ardiono IDEAdafruit Motor Shield LibraryBT RC Car Android AppFor paint you can use anything or any technique, example: print the circles of BB-8 then glue on the h-Phone-Controlled-BB-8-Droid-With-Ard/

e-Controlled-BB-8-Droid-With-Ard/

Step 12: The Ardiuno CodeThis part is easy for every Arduino users. Just download or copy-paste this cod

e-Controlled-BB-8-Droid-With-Ard/ Step 2: Other Maker's De

Related Documents:

Using your Bluetooth headset with the Logitech wireless hub 2 Start the Bluetooth Setup Wizard in one of three ways: Press the Connect button on your Bluetooth wireless hub.-or- Right-click the Bluetooth icon, , in the Windows taskbar and select Add a Bluetooth Device from the menu displayed.-or- Select Add a Bluetooth Device from the Bluetooth Tasks panel in the My Bluetooth

that it hung just below the center of the longest chime. I then hung the wind sail from the striker. DIY Outdoor EMT Wind Chimes: Page 11. DIY Outdoor EMT Wind Chimes: Page 12. DIY Outdoor EMT Wind Chimes: Page 13. DIY Outdoor EMT Wind Chimes: Page 14. Step 9: Conclusion

Targus USB Ultra-Mini Bluetooth 2.0 Adapter with EDR Basic Operations Start or Stop Bluetooth (for Windows 2000/ XP only) To start Bluetooth In the Windows system tray, right-click the Bluetooth icon and select Start the Bluetooth Device.The Bluetooth icon is blue in color with a white insert when the Bluetooth software is running. To stop Bluetooth

BLUETOOTH - Bluetooth Function 1. Bluetooth Function 1.1. Registering a Bluetooth Mobile Phone or Music Player 1.1.1. Pairing Mode A Bluetooth connection must first be established between your Bluetooth mobile phone

Bluetooth Hands-Free Bluetooth Hands-Free When connecting a Bluetooth device (mobile phone) to the vehicle's Bluetooth unit via radio wave transmission, calls can be made or received. For example, even if a Bluetooth device is in your coat pocket, a call can be made without taking the Bluetooth device out and operating it directly.

Bluetooth device. 5. Select your phone when it appears on the list. If your phone still does not appear, search for Bluetooth devices using your phone. From your phone, search for HandsFreeLink . 6. The system gives you a pairing code on the audio/information screen. Confirm if the pairing code on the screen and your phone match. This may .

Settings Bluetooth Bluetooth OPPO R9s huawei Avantree HS134 Connected Bose Bluetooth Audio. Not Connected Now discoverable as “iPhone(2)” MY DEVICES OTHER DEVICES To pair an Apple Watch with your iPhone, go to the Watch app. 4:30 4G Settings Bluetooth Bluetooth OPPO R9s huawei Avantree HS134 Not Connected Bose Bluetooth Audio. Not Connected

Animal Food Fun & MORE. Instructions Equipment: Paper plate Thin card (not paper as it is too thin) Yellow and brown paint (or felt pen). Yellow bendy straws (you can colour paper ones) Sellotape Glue Elastic What to do: 1) Draw this shape on the back of your paper plate and cut it out carefully. (save this to make the ears). 2) Paint the front of both pieces of the .