Roboki - Session 13: Difference between revisions

From Yudurobotics
mNo edit summary
mNo edit summary
Line 1: Line 1:
= '''Building the HoopMaster Game bot  Step-by-Step''' =
='''Building the Object Finder bot Step-by-Step'''=
 
[[File:Object finder bot using Roboki setup tutorial.jpg|thumb|323x323px|Object finder bot made using Roboki utilising advanced AI recognition to detect object.]]
=== Description : ===
======'''Description :'''======
[[File:HoopMaster gaming bot.jpg|thumb|329x329px|HoopMaster gaming bot made with proximity sensor and motors powered by Roboki.]]
Let's Create an AI-powered Object Finder Robot! Using the Roboki microcontroller and a motor, we'll craft a smart robot that can detect and identify objects with advanced AI recognition. We will Program it to recognise a variety of items and step into the thrilling world of AI-driven robotics. Perfect for young engineers and engineering enthusiasts, this project is a gateway to mastering robotics and diving deep into STEM learning.
Build a fun and interactive robotics hoop game powered by Roboki! This DIY project guides you in creating a rotating basket game using a motor and proximity sensor. As the basket moves, the challenge intensifies—detecting your hand's position, the basket rotates faster the closer you get, making it a thrilling goal-scoring robot game. Perfect for kids and beginners, This innovative STEM project fosters robotics skills development through hands-on learning and creative play with a Roboki.
 
This activity is ideal for young engineers over the age of 8 who are eager to dive into microcontroller projects and fun games.
 
We are going to follow the steps in this tutorial to assemble our gaming bot.
 
 
{| class="wikitable"
{| class="wikitable"
|+
|'''<u>Contents</u> :'''
|'''<u>Contents</u> :'''
'''1. HARDWARE'''
'''1. HARDWARE'''
* Let's Make it!
*Let's Make it!*1.1 What do we need ?
 
*1.1 What do we need ?
*1.2 How is it Made ?
*1.2 How is it Made ?
'''2. SOFTWARE'''
'''2. SOFTWARE'''
*2.1 Let's Code it !
*2.1 Let's Code it !
'''3. WHAT NEXT?'''*Challenge!  
'''3. WHAT NEXT?'''*Challenge!
|}
|}[[File:Object finder in action..gif|thumb|317x317px|Object finder made using Roboki and AI mode detecting a Laptop.]]Before we begin, take a look at the picture of the bot to get a better understanding of the different parts of this object finder bot.
[[File:Hoopmaster gaming bot in action.gif|thumb|300x300px|HoopMaster gaming bot in action.]]
=='''1.HARDWARE'''==
 
===Let's make it!===
 
We are going to follow the steps in this tutorial to assemble our object finder bot. Look carefully into each of the images and follow the instructions one by one to make this wall follower bot. The colour of the blocks and parts used in the construction might differ from original, So carefully follow the instruction given below.
Before we begin, take a look at the picture of the bot to get a better understanding of different parts of this gaming bot.
===<big>1.1 What do we need ?</big>===
 
Given below are the materials required to build the object finder bot.[[File:Components required.jpg|frameless|742x742px]]
== '''1. HARDWARE''' ==
===<big>1.2 How is it made ?</big>===
 
====Follow the steps carefully to build the Object Finder Robot ====
=== Let's make it! ===
1. Place the 15 by 11 block on a flat surface.
We are going to follow the steps in this tutorial to assemble our gaming bot. Look carefully into each of the images and follow the instructions one by one to make this Hoop master gaming bot. The colour of the blocks and parts used in the construction might differ from original, So carefully follow the instruction given below.
 
 
=== '''1.1 What do we need ?''' ===
Given below are the materials required to build the HoopMaster gaming bot.
 
[[File:Materials required for the build.jpg|frameless|769x769px]]
 
 
=== '''1.2 How is it made ?''' ===
 
==== Follow the steps carefully to build the Hoop-master gaming Robot. ====
 
 
 
1. Take the motor and attach two the pegs as shown below
 
 
 
[[File:Motor and pegs.jpg|frameless|360x360px]]
 
 
 
2. Place the 15 by 11 block on a flat surface.  
 
 
 
[[File:Beam 15 placed on surface.jpg|frameless|383x383px]]
 
 
 
3. Connect the motor to this block as shown in the image.
 
 
 
[[File:Motor+beam1.jpg|frameless|379x379px]]
 
 
 
4. Once the setup is ready, carefully attach axle 5 to the motor. This creates an extension for mounting the basket to the motor.
 
 
 
[[File:Axle5+motor.jpg|frameless|382x382px]]
 
 
 
5. Take a full bush and place it onto the axle.
 
 
 
[[File:Full bush attached to axle 5.jpg|frameless|385x385px]]
 
 
 
6. Take an 11 by 5 block and slide it onto the axle.
 
 
 
[[File:Block added to axle.jpg|frameless|383x383px]]
 
 
 
7. Now, place a full bush on top of the block and onto the axle to secure it properly.
 
 
 
[[File:Bush to be added on axle+block.jpg|frameless|382x382px]]
 
 
 
8. Attach a pin connector to this block, as shown in the image.
 
 
 
[[File:Attaching pin connector.jpg|frameless|391x391px]]
 
 
 
 
9. Take a Beam 5 and attach two friction pegs to the second and fourth holes of the beam. Then, connect the beam to the pin connector.
 
 
 
[[File:Beam 5 attached to pin connector.jpg|frameless|394x394px]]
 


[[File:Beam 15 on surface.jpg|link=https://wiki.yudurobotics.com/File:Beam%2015%20on%20surface.jpg|frameless|438x438px]]


2. Take a Beam 15 and attach two 90-degree pegs to the second and second-to-last holes of the beam as shown in the image. Then, connect the beam to the block.


10. Take the 1 by 6 brick with holes and connect two pegs to the first and last hole of the brick and then attach it onto the 15 by 11 block. This brick is to which the Roboki is to be attached.
[[File:Beam 15 with pegs.jpg|link=https://wiki.yudurobotics.com/File:Beam%2015%20with%20pegs.jpg|frameless|449x449px]]


3. Take a motor and attach 4 pegs as shown below.


[[File:Motor with pegs .jpg|link=https://wiki.yudurobotics.com/File:Motor%20with%20pegs%20.jpg|frameless|446x446px]]


[[File:1by6 brick+bot.jpg|frameless|394x394px]]
4. Connect the motor to this block and beam as shown in the image.


[[File:Motor attached on block.jpg|link=https://wiki.yudurobotics.com/File:Motor%20attached%20on%20block.jpg|frameless|447x447px]]


5. Once the setup is ready carefully attach axle 5 to the motor. With this we will be creating  an extension to mount the Mobile holder.


[[File:Axle on motor.jpg|link=https://wiki.yudurobotics.com/File:Axle%20on%20motor.jpg|frameless|449x449px]]


11. Now let us attach the Roboki onto the structure. For this, we will use the brick attached to the robot to secure it in place. Fix Roboki on to the brick by applying pressure.  
6. Take a 55 mm rim and slide it onto the axle, as shown in the image.  


[[File:When rim on axle+motor.jpg|link=https://wiki.yudurobotics.com/File:When%20rim%20on%20axle+motor.jpg|frameless|443x443px]]


7. Take a pin connector and attach two pegs to it.


[[File:Roboki attached.jpg|frameless|395x395px]]
[[File:Pin connector with pegs.jpg|link=https://wiki.yudurobotics.com/File:Pin%20connector%20with%20pegs.jpg|frameless|439x439px]]


8. Take a Beam 5 and attach the first hole of the beam to the first peg on the pin connector.[[File:Beam 5 on pin connector1.jpg|link=https://wiki.yudurobotics.com/File:Beam%205%20on%20pin%20connector1.jpg|right|frameless|412x412px]][[File:Beam 5 on pin connector.jpg|link=https://wiki.yudurobotics.com/File:Beam%205%20on%20pin%20connector.jpg|frameless|412x412px]]


12. Next we need to connect the proximity sensor to Roboki using the angled port connector as shown below.
9. Similarly, take another Beam 5 and attach the first hole of the beam to the second peg on the pin connector. Then, fix the pin connector onto the rim on the axle, as shown in the image.  
[[File:Proximity sensor2.jpg|right|frameless|471x471px]]


[[File:Beam 5 on pin connector2.jpg|link=https://wiki.yudurobotics.com/File:Beam%205%20on%20pin%20connector2.jpg|frameless|416x416px]]


[[File:Proximity sensor1.jpg|frameless|425x425px]]
10. Take an 11 by 7 block and attach two pegs to it, as shown.


13. Now we must connect the motor to the Roboki. Remember the port to which motor is connected and programme it accordingly. (Refer to “Roboki Session 4")
[[File:Block added to beam5.jpg|link=https://wiki.yudurobotics.com/File:Block%20added%20to%20beam5.jpg|frameless|410x410px]]


[[File:Motors are connected to roboki.gif|center|frameless|644x644px]]
11. Fix the 11 by 7 block onto the pin connector. With this construction, we have built a mobile holder mounted on a motor.


== '''2. SOFTWARE''' ==
[[File:Block attached to beam5.jpg|link=https://wiki.yudurobotics.com/File:Block%20attached%20to%20beam5.jpg|frameless|413x413px]]


=== 2.1 Let's Code it! ===
12. Take the 1 by 6 brick with holes and connect two pegs to it and then attach it to the 15 by 11 Block as shown in the image.
Now that the design of our Bot is ready, we need to programme it using PLODE to make it a gaming robot. Follow the step by step instruction in the video given below to programme the HoopMaster gaming bot.


[[File:Brick attached to block 15 by 11.jpg|link=https://wiki.yudurobotics.com/File:Brick%20attached%20to%20block%2015%20by%2011.jpg|frameless|412x412px]]


13. Next, connect the Roboki on top of the 1 by 6 brick.


[[File:Roboki attached to brick.jpg|link=https://wiki.yudurobotics.com/File:Roboki%20attached%20to%20brick.jpg|frameless|411x411px]]


== '''3. What Next?''' ==
14. Now, connect the motor to the Roboki. Make a note of the port to which the motor is connected and program it accordingly. (Refer to Activity 4 "Spin Wheel.")[[File:Motors being connected to object finder bot.gif|center|frameless|411x411px]]15.All that is left is to attach our Mobile on the bot for using its camera to detect objects using our AI app mode in PLODE. So for that, we will take two rubber bands and add it to the mobile and mount the mobile to this block as shown below. During this step, make sure to support the body of the bot from the side, so as to not break the structure. [[File:Fixing mobile onto the object finder bot .gif|center|frameless|411x411px]]
=='''2. SOFTWARE'''==
===2.1 Let's Code it !===
Now that our Bot is ready, we need to programme it using Plode to make a wall-following robot.Follow the step by step instruction in the video given below to programme the object finder bot.


=== Challenge ! ===
==3. What Next?==
Create different projects using Roboki and explore their applications in the real world.
===Challenge!===
Create a robot capable of detecting a red ball, moving towards it, and accurately hitting it towards a specified target.

Revision as of 12:08, 12 September 2024

Building the Object Finder bot Step-by-Step

Object finder bot made using Roboki utilising advanced AI recognition to detect object.
Description :

Let's Create an AI-powered Object Finder Robot! Using the Roboki microcontroller and a motor, we'll craft a smart robot that can detect and identify objects with advanced AI recognition. We will Program it to recognise a variety of items and step into the thrilling world of AI-driven robotics. Perfect for young engineers and engineering enthusiasts, this project is a gateway to mastering robotics and diving deep into STEM learning.

Contents :

1. HARDWARE

  • Let's Make it!*1.1 What do we need ?
  • 1.2 How is it Made ?

2. SOFTWARE

  • 2.1 Let's Code it !

3. WHAT NEXT?*Challenge!

Object finder made using Roboki and AI mode detecting a Laptop.

Before we begin, take a look at the picture of the bot to get a better understanding of the different parts of this object finder bot.

1.HARDWARE

Let's make it!

We are going to follow the steps in this tutorial to assemble our object finder bot. Look carefully into each of the images and follow the instructions one by one to make this wall follower bot. The colour of the blocks and parts used in the construction might differ from original, So carefully follow the instruction given below.

1.1 What do we need ?

Given below are the materials required to build the object finder bot.Components required.jpg

1.2 How is it made ?

Follow the steps carefully to build the Object Finder Robot

1. Place the 15 by 11 block on a flat surface.

Beam 15 on surface.jpg

2. Take a Beam 15 and attach two 90-degree pegs to the second and second-to-last holes of the beam as shown in the image. Then, connect the beam to the block.

Beam 15 with pegs.jpg

3. Take a motor and attach 4 pegs as shown below.

Motor with pegs .jpg

4. Connect the motor to this block and beam as shown in the image.

Motor attached on block.jpg

5. Once the setup is ready carefully attach axle 5 to the motor. With this we will be creating  an extension to mount the Mobile holder.

Axle on motor.jpg

6. Take a 55 mm rim and slide it onto the axle, as shown in the image.

When rim on axle+motor.jpg

7. Take a pin connector and attach two pegs to it.

Pin connector with pegs.jpg

8. Take a Beam 5 and attach the first hole of the beam to the first peg on the pin connector.

Beam 5 on pin connector1.jpg

Beam 5 on pin connector.jpg

9. Similarly, take another Beam 5 and attach the first hole of the beam to the second peg on the pin connector. Then, fix the pin connector onto the rim on the axle, as shown in the image.

Beam 5 on pin connector2.jpg

10. Take an 11 by 7 block and attach two pegs to it, as shown.

Block added to beam5.jpg

11. Fix the 11 by 7 block onto the pin connector. With this construction, we have built a mobile holder mounted on a motor.

Block attached to beam5.jpg

12. Take the 1 by 6 brick with holes and connect two pegs to it and then attach it to the 15 by 11 Block as shown in the image.

Brick attached to block 15 by 11.jpg

13. Next, connect the Roboki on top of the 1 by 6 brick.

Roboki attached to brick.jpg

14. Now, connect the motor to the Roboki. Make a note of the port to which the motor is connected and program it accordingly. (Refer to Activity 4 "Spin Wheel.")

Motors being connected to object finder bot.gif

15.All that is left is to attach our Mobile on the bot for using its camera to detect objects using our AI app mode in PLODE. So for that, we will take two rubber bands and add it to the mobile and mount the mobile to this block as shown below. During this step, make sure to support the body of the bot from the side, so as to not break the structure.

Fixing mobile onto the object finder bot .gif

2. SOFTWARE

2.1 Let's Code it !

Now that our Bot is ready, we need to programme it using Plode to make a wall-following robot.Follow the step by step instruction in the video given below to programme the object finder bot.

3. What Next?

Challenge!

Create a robot capable of detecting a red ball, moving towards it, and accurately hitting it towards a specified target.