Roboki - Session 4: Difference between revisions

From Yudurobotics
mNo edit summary
Tags: Reverted Visual edit
mNo edit summary
Tags: Manual revert Visual edit
Line 1: Line 1:
=== '''Building a Spin Wheel bot Step-by-Step''' ===
== '''Building a Spin Wheel bot Step-by-Step''' ==


===== Description : =====
===== Description : =====

Revision as of 16:28, 10 September 2024

Building a Spin Wheel bot Step-by-Step

Description :
Spin wheel bot made using Roboki, a colour wheel and Motor.

Create an engaging spin wheel game with our DIY project! Utilize the Roboki microcontroller to design and build a motor-controlled spin wheel, driven by a single motor for smooth rotation. Our step-by-step guide will show you how to use the built-in switch for easy activation and deactivation of the wheel’s motion. Discover the excitement of motorized game mechanics and how microcontroller-driven projects can bring your spin wheel game to life. Ideal for enthusiasts interested in hands-on microcontroller projects and motor control.

We are going to follow the steps in this tutorial to assemble a spin wheel.

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!

Before we begin, take a look at the picture of the spin wheel to get a better understanding of the different parts of this spin wheel.

1. HARDWARE

Let's make it!

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 Spin wheel bot.

1.2 How is it made ?

Follow the steps carefully to build the Spin wheel Robot.

1. Place the 15 by 11 block on a flat surface. This block will serve as the base for building the spin wheel on top of it.


Block 15 on surface.png


2. Attach an 11 by 7 block to the 15 by 11 block using two 90-degree pegs, as shown in the image. This will form the frame for building the spin wheel.

Block 11 on block 15.png


3. Take the pin connector and attach it to the 11 by 7 block as shown in the image. This will allow you to connect the motor to the structure.


Pin connector on block 11.png


4. Attach two friction pegs to the motor.


Friction pegs on motor.png


5. Connect the motor to the pin connector, as shown in the image.


Motor on block.png


6. Once the setup is ready, carefully attach axle 5 to the motor. This creates an extension for mounting the wheel onto it.


Axle 5 on motor.png


7. Attach a beam 15  at the bottom of the 11 by 7 blocks using two pegs, as shown in the image. This will enable you to connect the spin pointer to the spin wheel.


Beam 15 on block.png


8. Attach a full bush to axle 5, as shown in the image.


Bush on axle.png


9. Attach the wheel to the axle, and then add another full bush to secure the wheel in place.


Spin wheel + bush.png


10. Connect a beam 5  to the 11 by 7 block using one friction peg. This Beam 5 will now serve as the spin pointer for the spin wheel.


Beam 5 to support spinwheel.png


11. Take a 1 by 6 brick with holes, insert two pegs into it, and then attach it to the 15 by 7 block, as shown in the image.


1 by 6 brick onto block.png


12. Next, connect the Roboki on top of the 1 by 6 brick as shown in the image.


Roboki attached to spin wheel.png


13. Now, we have to connect the motor to the Roboki. Ensure the motor's port connector is properly connected to the corresponding motor pins on the Roboki, as shown in the image. It's important to remember the specific port the motor is connected to, as you'll need to program it accordingly in code Part.


Motors connected to Spin wheel.png

2. SOFTWARE

2.1 Let's Code it!

Now that the design of our Bot is ready, we need to programme it using PLODE to make a spin wheel. Follow the step by step instruction in the video given below to programme our bot.


3. What Next?

Challenge !

Modify the system to rotate the spin wheel in both clockwise and counterclockwise directions. Implement one switch for clockwise rotation and another switch for counterclockwise rotation