Introduction: Wireless Auto Rickshaw
Wireless Communication is a method of transmitting information from one point to another point, without using any connection like wires, cables, or any physical medium.
The transmission and reception of signals are accomplished with Antennas.
Antennas are electrical devices that transform the electrical signals to radio signals in the form of Electromagnetic (EM) Waves and vice versa.
The BBC micro: bit has an onboard transceiver that is capable of both Bluetooth Low Energy and radio communications. They use the same 2.4GHz frequency to transmit and receive the data.
The robot is controlled by tilting the micro: bit. While tilting x and y values are changed and it is read by the accelerometer sensor.......
Visit Prabal Experiential Learning (https://www.prabal.in/)
Here a lot of cool projects, Experiential learning kits are available, and also you can learn micro: bit coding in an experiential way.
Step 1: Materials Required
Step 2: Starting With Tinkercad : Auto Rickshaw Bottom Part
we will choose the following components from the Basic shapes Library. Create a bottom part using 1 box with length 158 mm, width 102 mm, and thickness 10mm . Bring a box from the basic shapes library and mark the corresponding dimensions. Now again duplicate it and place it slightly to the bottom face at 45 degrees. we can build the overall bottom part using different shapes based on our requirements.
Step 3: TinkerCad : Auto Rickshaw Top Part
create a plate using 1 box of the length 135mm and width 75 mm to make a rectangle. Use Round roof shapes from the library and place it perpendicular to the other. The edges must be in a curvature shape. Make a hole for fixing screws at the bottom part.
Step 4: TinkerCad : Auto Rickshaw Wheel Part( Front and Back Wheel)
We will choose the circular shape wheel from the TinkerCad library. The dimensions are
1. Outer Diameter = 51mm
2.Thickness of the wheel = 8mm
3.Axle hole = 3mm.
We can change the dimensions based on the servo motor size. Now duplicate the wheel as per requirement. The duplicate symbol is placed on the left side corner of the Tinkercad design page else we can use short-form ctrl + D.
Step 5: TinkerCad : Auto Rickshaw Seats(Passenger and Driver Seats)
Take a roof from basic shapes library of length 70 mm and height 33 mm. Now again duplicate it and mark the same length, height and extrude the roof part up to 166 degrees. Place it perpendicularly to the other part.
Step 6: TinkerCad : Auto Rickshaw Handle and Bumper Part
Create a bumper and handle part using basic shapes from the Tinkercad library. The bumper is used for safety purposes.
Step 7: TinkerCad : Auto Rickshaw Cover Part
create a plate using a box with a length of 83 mm and a width of 23mm. Drag a roof from the basic shapes library and place it at the edge of the box. These parts are fixed under the passenger and driver seat of the auto.
Step 8: TinkerCad : Auto Rickshaw Mirror Part
The mirror plays a vital role in all vehicles. To make a mirror shape by using half sphere and rectangle box from the basic shapes library.
Step 9: TinkerCad : Full Assemble Parts
The assemble parts are...
1. Auto rickshaw bottom part
2. Auto rickshaw top part.
4.Passenger and driver seats
8.Acrylic sheet for front mirror
Step 10: Physical Building : Fixing Servo Motor With 3D Parts
Take a two standard continuous servo motor and place it inside the bottom part of the auto-rickshaw. The axle of the servo motor should be facing opposite to each other.
Step 11: Micro:bit and LEDs With 3D Parts
Here we are using 6 LEDs for indication purposes.
2 Red LEDs for vehicle indication.
4 Yellow LEDs for Turning Indications(Left and Right).
Place all LEDs in the particular LED slots.
Step 12: Wiring Setup
To make connections, Please refers to the circuit diagram.
Step 13: Outer Coverage Parts
Once the wiring is done. Fix all coverage parts to the auto-rickshaw.
Step 14: 3D Image - Full Setup
Our wireless auto-rickshaw is ready!!!!
Step 15: TinkerCad : Electronic Components
We can choose the following components from the circuits library.
The components are
2. 360 degrees Servo Motor
3. 5mm Red and Green LED
5. AA battery for Micro: bit.
Step 16: 3D Printing - Ultimaker Cura
Export each component as an STL file, and send them to the Ultimaker Cura 3D printing software.
I used the following settings in the Creality Ender 3D printer.
Printer Nozzle Size : 1mm
Supports: enabledRetraction distance: 10 mm
Retraction retract speed: 60 mm/sec
Prime speed: 30 mm/sec
Z hop when retracted: enabled
Max Z speed: 120 mm/s
Z hop height: 1 mm
Travel speed: 200 mm/s
Layer height: 0.15 mm
Print temp initial layer: 200 Temperatures
Print Bed Temperature: 60 Temperatures
Main Printing Temperature: 180 Temperature (degrees) for main
print tempOverhang: 30 degrees
Support Pattern: Grid
Support Placement: Touching build Plate
Support Overhanging angle: 45
All the other settings: default
Infill Density: 10
Initial Layer height: 0.2
Step 17: TinkerCad : Wiring Diagram - LEDs
Light Emitting Diode(LED) has two legs. The positive terminal of the LEDs is connected to the 3.3 V of the Micro: bit. The negative terminal of the LEDs is connected to the GPIO pins of the Micro: bit. we can control the LEDs by giving LOW or HIGH signals to the GPIO pins. For my circuit, LED will glow when the GPIO pins are LOW.
Step 18: TinkerCad : Wiring Diagram - Servo Motor
Servo motor typically has three connections.
Red wire - Power supply
Brown wire - GND
Orange wire - Signal
Servo motor (brown wire) is connected to the GND of Micro: bit.
Servo motor (red wire) is connected to the 6V of External battery.
Battery (black wire) is connected to the GND of Micro: bit
Servo motor (Orange wire) is connected to the GPIO pins of Micro: bit.
Step 19: Micro: Bit Block Based Coding - Data Transmitting
Just browse makecode.microbit.org in your system. Click '+' to create a new project. Give a name to your project. Micro: bit has a Bluetooth low energy (BLE) antenna that can be used to transmit and receive messages. we want to share messages within a group of devices then each micro: bit in the group must be configured to share the same channel number. Create the channel using the radio set group from the radio menu under the On start block and set it to 1.
we will use the Basic blocks to have the show icon LEDs to represent a signal being sent out.
From the input menu, we use the logo up block, Once tilt forward, we will transmit a number 1 wirelessly.
From the input menu, we use the logo down block, Once tilt backward, we will transmit a number 2 wirelessly.
From the input menu, we usethe tilt right block, once tilt right, we will transmit a number 3 wirelessly.
From the input menu, we use On button A pressed block, once button A is pressed, we will transmit a number 5 wirelessly.
From the input menu, we use On button B pressed block, once button B is pressed, we will transmit a number 6 wirelessly.
Step 20: Micro: Bit Block Based Coding - Data Receiving
we are going to have a second micro: bit to receive a number from the first micro: bit. Create the channel using the radio set group from the radio menu under the On start block and set it to 1.
Note: Set the radio to the same channel as the first micro: bit.
Using On radio received block, we want to check to see what signal was received. In this case, we will want to check for a received number that is equal to 1 since a number was sent from the first micro: bit.
sing the if statement from the Logic blocks, we want to check if the variable holding the received number matches 1. If it matches, we want the micro: bit to do something.
If the command that was sent matches 1, we want to make both 360-degrees servo motors move forward at 80%.
If the command that was sent matches 2, we want to make both 360-degrees servo motors move backward at -80%.
If the command that was sent matches 3, we want to make one 360-degrees servo motor move forward at 80% and the second 360-degree servo motor move backward at -80%(which means right turn). Just blink the yellow led 3 times and make it off. These LED's act as a Right indicator.
If the command that was sent matches 4, we want to make one 360-degrees servo motor move backward at -80% and the second 360-degree servo motor move forward at 80%(which means left turn). Just blink another set of yellow led 3 times and make it off. These LED's act as a Leftindicator.
If the command that was sent matches 5, we want to make the servo motors ON.
If the command that was sent matches 6, we want to make the servo motors OFF.
Step 21: Wireless Auto Rickshaw - Video Demonstration
Step 22: Thank You. Have a Great Day!!!
Participated in the
Block Code Contest