Components and supplies
Coroplast
PS2 Controller
Motors & Back Wheels
Connector Adapter, DC Power - 2.1mm
18650 Rechargeable Batteries 3.7v
Jumper Wires
18650 Battery Storage Case
Arduino UNO
Swivel Caster Wheel
Motor Driver Module Shield
UNO R3 Sensor Shield V5.0
Tools and machines
Canary Cardboard Scissors
SKIL Cordless Screwdriver
Apps and platforms
Arduino Web Editor
Project description
Code
Downloadable files
PS2 Controller Bluetooth Wiring
Diagram that displays how to connect the bluetooth wiring up to the sensor shield.
PS2 Controller Bluetooth Wiring
Motor Board
This is wiring for the motor board. Shows how the motors are connected to the motor board and also how the wires are connected from the motor board to the sensor shield.
Motor Board
Extra Motor Wired To Sensor Shield & Breadboard With Resistor
This is an extra motor that was added to activate a flipper when the PS2 X button is pressed.
Extra Motor Wired To Sensor Shield & Breadboard With Resistor
PS2 Controller Bluetooth Wiring
Diagram that displays how to connect the bluetooth wiring up to the sensor shield.
PS2 Controller Bluetooth Wiring
Motor Board
This is wiring for the motor board. Shows how the motors are connected to the motor board and also how the wires are connected from the motor board to the sensor shield.
Motor Board
Extra Motor Wired To Sensor Shield & Breadboard With Resistor
This is an extra motor that was added to activate a flipper when the PS2 X button is pressed.
Extra Motor Wired To Sensor Shield & Breadboard With Resistor
Documentation
Motor Connector - Single Piece
This is a 3D printed connector piece that we used to attach to the ends of the motors so we could easily connect dowels to them.
Motor Connector - Single Piece
Motor Connector - 12 Pack
12 pack of the 3D printed connector piece that we used to attach to the ends of the motors. Use this if you want to print a lot of these for a class, otherwise use the Motor Connector - Single Piece .stl to print just 1.
Motor Connector - 12 Pack
3D printed Spinner
This is a 3D printed spinner one of the students created that was attached to one of the motors. It is activated when the PS2 controller X button is pressed.
3D printed Spinner
Motor Connector - Single Piece
This is a 3D printed connector piece that we used to attach to the ends of the motors so we could easily connect dowels to them.
Motor Connector - Single Piece
Motor Connector - 12 Pack
12 pack of the 3D printed connector piece that we used to attach to the ends of the motors. Use this if you want to print a lot of these for a class, otherwise use the Motor Connector - Single Piece .stl to print just 1.
Motor Connector - 12 Pack
Comments
Only logged in users can leave comments
mistylackie
2 years ago
Thanks for this! Looks awesome! We will load it on one of the bots next club session.
Anonymous user
2 years ago
Hi Misty, I run a mobile makerspace and have been wanting to try this project out with some of our junior high kids. I'm having a lot of difficulty getting the PS2 controller to work, though; it seems to connect but when I go into the serial monitor it will say no controller found. What resources do you recommend for troubleshooting? Thanks! JC
mistylackie
2 years ago
I am so sorry, I just now saw your comment. Not sure if you ever figured this out but we did periodically have issues when multiple students tried connecting their controllers at the same time. Blue tooth conflicts between controllers. What we ended up doing is having 1 student connect at a time away from the other blue tooth modules/controllers. Once connected, it was fine but when trying to connect with multiple blue tooth modules nearby it caused headaches.
Anonymous user
2 years ago
Misty, I noticed that the code is no longer posted. Would it be possible to get this sketch from you? I'm starting a robotics/microcontroller class next year and I'd love to use this.
mistylackie
2 years ago
Are you not able to access the code from https://create.arduino.cc/editor/mistylackie/4989c0b4-cd40-4a25-9f77-29dddec5ee66/preview If not, let me know and I will stick it up on github. Awesome about the robotics/microcontroller class. Sounds fun!
Anonymous user
2 years ago
Thank you Misty. The mistake was on my end. Everything looks great.
Anonymous user
4 years ago
Mistylackie, Wow! Thank you so much for sharing this all out. I don't know if you still monitor this, but if so.... do you happen to have any good recommendations for a weapon motor for this project (I don't think I saw specs above). We're going to give this a shot. Edit: Ahh, from zooming in on your students' work, it looks like you just used the same motor as the wheels. We'll start there. Best Brady
Anonymous user
5 years ago
Hi Misty, I run a mobile makerspace and have been wanting to try this project out with some of our junior high kids. I'm having a lot of difficulty getting the PS2 controller to work, though; it seems to connect but when I go into the serial monitor it will say no controller found. What resources do you recommend for troubleshooting? Thanks! JC
mistylackie
2 years ago
I am so sorry, I just now saw your comment. Not sure if you ever figured this out but we did periodically have issues when multiple students tried connecting their controllers at the same time. Blue tooth conflicts between controllers. What we ended up doing is having 1 student connect at a time away from the other blue tooth modules/controllers. Once connected, it was fine but when trying to connect with multiple blue tooth modules nearby it caused headaches.
mmteeter
5 years ago
Misty, I noticed that the code is no longer posted. Would it be possible to get this sketch from you? I'm starting a robotics/microcontroller class next year and I'd love to use this.
mistylackie
2 years ago
Are you not able to access the code from https://create.arduino.cc/editor/mistylackie/4989c0b4-cd40-4a25-9f77-29dddec5ee66/preview If not, let me know and I will stick it up on github. Awesome about the robotics/microcontroller class. Sounds fun!
mmteeter
2 years ago
Thank you Misty. The mistake was on my end. Everything looks great.
Anonymous user
6 years ago
Single analogue joystick input control - major improvement IMHO. https://gist.github.com/klattimer/151d9cf133d595db7d7517ac07d9f671 YW
mistylackie
2 years ago
Thanks for this! Looks awesome! We will load it on one of the bots next club session.
Build a Battle Bot Controlled with a PS2 Controller | Arduino Project Hub
Anonymous user
2 years ago
Single analogue joystick input control - major improvement IMHO. https://gist.github.com/klattimer/151d9cf133d595db7d7517ac07d9f671 YW