1- Tell us about the idea of your project. Why do you care about this? What were you inspired by? Include images and videos of similar projects
As I am working as a teacher and some times find the student getting bored from the traditional way of teaching.
So,...
I decided to make something which encourage the student to learn and enjoy the learning process.
I designed a robot that encourages the students as it produces lights, sound and motion after the right answer or the wrong answers.
I can control this cute robot by a mobile app.
First I used the cardboard to make a model for the robot that helped me to imagine the final dimensions
I used fusion 360 to sketch the different parts of the robot
The face:
I sketched the parts of the face and used screw and nuts& t-slots.
Then I extrude them with 3 mm.
I used assemble "joints" to connect the parts together and make sure that the parts fit each others.
If there was any problem in the parts I returned back to the sketch to to fix it.
Final head parts
The Body:
I sketched the parts of the body and used screw and nuts& t-slots.
Then I extrude them with 3 mm.
I used assemble "joints" to connect the parts together and make sure that the parts fit each others.
If there was any problem in the parts I returned back to the sketch to to fix it.
I down loaded some files from the Grabcad program as a zip files then I extracted the file to use the step file so I can find the dimensions of the components. https://grabcad.com/
I make places to fix (LCD, solenoid, Arduino , Rosetta, RGB & relay.
Front body part that contains places to fix the LCD and solenoid
Back body part that contains places to fix the speakers and Arduino uno
Side body part that contains places to fix the servo motor and Arduino uno holes
Side body part that contains places to fix the servo motor and relay
I sketched the hands using the splines
The neck part and the base part of the body
I sketched this part to fix the solenoid on the front body of the body "one part"
then I used extrude and extrude cut options.
I sketched this part to fix the hands and the servo motors on the side parts of the body "two patrs"
Then I used extrude and extrude cut options.
The candy box :
I sketched the parts of the candy box and used screw and nuts& t-slots.
Then I extrude them with 3 mm.
I used assemble "joints" to connect the parts together and make sure that the parts fit each others.
If there was any problem in the parts I returned back to the sketch to to fix it.
Small handle
Front and back part of the box
Base part
sides parts
Laser cutting machine:
Tools & materials
laser work program
laser cutting machine
3 sheets of mdf
I removed all the construction lines.
I saved the sketches as dxf files and insert them in laser work program.
at the beginning I put them in one file but the fab lab specialist told me that I have to divide them in more than one sheet with max dimensions 50 X 30.
so I divided then in three sheets.
in laser work I wrote the name of the robot.
I saved the filed as rld files.
I downloaded the file on the laser machine.
make sure that the focus is ok.
I checked the working area
I used speed 12 and power 75 for cutting and speed 35 and power 300 foe scanning.
3D printing machine:
Tools & materials
cura program
3d printer
filament
I saved the files as stI files from fusion 360.
I used cura to make some modifications and get a g code file
I uploaded the files on a memory card and send it to the 3d printer.
I inserted the filament and adjusted the settings
print parts to:
fix the hands of the robot with the servo.
fix the solenoid with the on the front part.
make a part for the solenoid to close it.
I used the following to form the circuit:
1- The brain "the Arduino uno" that get its power from the PC
2- The power supply: 5 Volt adaptor
3-The input: Bluetooth module
4 -The output "Action"
speakers
mp3 module
Memory card
LCD 16x2
2 RGB LED
2 servo motors
Other helping tools
Different types of jumper wires
wire tape
soldering iron
Bread board
Steps to form the circuit:
First I tested the speakers and the LCD I used the links below to do this
https://lastminuteengineers.com/i2c-lcd-arduino-tutorial/
https://wiki.dfrobot.com/DFPlayer_Mini_SKU_DFR0299
At the beginning I used 2 RGB led and use only the red and green pins only and connect each led with a 220 ohm resistance then I uploaded the code and make sure that its working.
I connected the Bluetooth module with a voltage divided circuit with 1Kilo and 2 kilo ohms.
I connected the red LEDs on pins number 2&4
I connected the green LEDS on pins number 3&5
then connected the common of each RGB led to the ground.
Then I connected 2 servo motors with the previous circuit and upload the code and test the circuit.
The servo 1 signal is connected to pin number 6.
The servo 2 signal is connected to pin number 7.
I connected 5 volt adaptor for the motors.
Then I connected the LCD with the previous circuit and upload the code and test the circuit I followed the steps as the following site
https://lastminuteengineers.com/i2c-lcd-arduino-tutorial/
The SDA is connected to the pin A4.
The SCL is connected to the pin A5 .
As shown in the next figure
Finally I connected the speakers and the mp3 module with the previous circuit after uploading the needed sound on the memory card.
I followed the steps of this site.
https://wiki.dfrobot.com/DFPlayer_Mini_SKU_DFR0299
I connected the mp3 module with pin number 10& 11 as shown in the following figure.
I used:
The power from the the Arduino which is 5v for the 2 RGB led, speaker and LCD.
and another 5v adaptor for the 2 servo motors.
I removed the Arduino cable and powered the Arduino with 5 v adaptor.
First, I prepared and tested two RGB LED code.
Then, I prepared and tested two RGB LED with two servo motors code.
After that, I prepared and tested two RGB LED, two servo motors and LCD code.
Finally, I prepared and tested two RGB LED, two servo motors, LCD and speakers code.
I used the serial monitor to check the the input data
I included some libraries t the first.
define the red light in pin 2&4
define the green light in pin 3&5
define the servo motors in pins 6 &7
Void setup:
define all the LEDs as outputs and servos
When the incoming data from the mobile app is 1:
-The Red pins are on
-The green are off
-The servo motors moves to zero degree position.
-On the LCD screen in the first line "Wrong answer" & in the second line "Please, focus!"
-The speakers will play the first recorded voice.
this continue for 4 seconds then :
-The red light is off.
- The servo motoes returns to 90 degree position.
- The LCD becomes clear.
When the incoming data from the mobile app is 2:
-The Red pins are off
-The green are on
-The servo motors moves to 180 degree position.
-On the LCD screen in the first line "Excellent" & in the second line "I love you!"
-The speakers will play the second recorded voice.
this continue for 4 seconds then :
-The green light is off.
- The servo motoes returns to 90 degree position.
- The LCD becomes clear.
When the incoming data from the mobile app is any number nothing will happens.
Using screw joints that I have designed I can collect the different parts of the robot.
I fixed the components at the parts as LCD, Speakers, Arduino uno, servo motors and hands with nails.
I used specific tools from the lad to help me to gather all the components to be fit with each others.
The robot takes an input signal from the Bluetooth module.
The Action will be appeared through RGB, servos, LCD and the speakers.
the instructor advised me to find a way to fix the servo motor and the hand of the robot so I did that part.
When I try to collect the parts together there was a problem on one part the fab lab specialist gave me some tools to use so the parts could be fit with each others.
After fixing the components the I surprised that there is no place for the bread board so the instructor advised me to use a small bread board and bring me one to use.
When I tried to connect the RGB with male female wires I found that its not working so the instructor helped me to connect then together.
If I have more time I will try to make the solenoid works. and provide the robot with different questions so the student can answer the questions on the robot and receive the answer and a candy piece.