Sunteți pe pagina 1din 36

Unit No : 06

Unit Name: MECHATRONICS

Mechatronics Design
System
Construction of color sorting machine

Sachin Somanna B.B 4/15/19 Mechatronics

Sachin Somanna B.B


Pearson BTEC Level 5 HND in Mechanical Engineering(RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

Introduction

In this assignment various aspects to build the given project, that is to build a mechatronics system
that is construction of color sorting machine which should sort two colors that is yellow & blue was
done with all the important relevant given tasks are done proper citation & referencing was done.

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

Contents
Components ............................................................................................................................................ 3
Design Specification .......................................................................................................................... 11
Demonstration & simulation ................................................................................................................ 12
Safe Use......................................................................................................................................... 18
Faults & rectify .............................................................................................................................. 19
Testing ................................................................................................................................................... 20
Selected Sensor ..................................................................................................................................... 23
Selected Actuator.................................................................................................................................. 24
Advantages & Disadvantages................................................................................................................ 25
Practical Results .................................................................................................................................... 26
Investigation with alternate solution.................................................................................................... 29
Evaluate................................................................................................................................................. 30
Functions & Operations ........................................................................................................................ 32
Bibliography .......................................................................................................................................... 35

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

Components

The major components used in mechatronics system,

• Arduino UNO
• Color Sensor TCS 230
• Servo Motors -2 (SG90)
• Jumper Cables

Arduino Uno,

It’s a physical circuit board used for building electronic projects, it consists of both a
programmable circuit board its often referred as a microcontroller & a piece of software which is of
an open source platform its either software or an Integrated development environment that runs on
computer, which is used to write and upload the code to the physical board.
In this project we are using Arduino Uno because it has everything, it has 14 input & output digital
pins out of which 6 can be used as PWM outputs & 6 analog inputs a USB connection, a power jack
and also a rest button, it has all the basic necessities to support the microcontroller, to use we have
to simply connect it to computer with a USB cable or use a power supply with AC to DC adapter
battery to get started .
Components present in the board,
1. USB power/jack
2. Pins (5V, 3.3V GND, Analog, Digital, PWM, AREF)
3. GND
4. 5V (4)
5. 3.3V (5)
6. Analog (6)
7. Digital (7)
8. PWM (8)
9. AREF (9)
10. Reset Button
11. Power LED Indicator
12. TX RX LED’s
13. Main IC
14. Voltage Regulator

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

Arduino Uno

Representation of Arduino Simulation software

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

(BEN, 2019)

Color Sensor TCS 230,

It is a color sensor that senses light with the help of array of 8x8 photodiodes.
Then by using current to frequency converter the readings from photodiodes and its directly
converted into a square wave with a frequency directly proportional to the intensity of light & finally
with the help of Arduino board we can read the output in form of square wave & results for the
color can be obtained. The color sensor has two color pins S0 & S1 which are used in scaling of
output frequency. The frequency can be scaled to be three different preset values of 100%, 20% or
2% this frequency scaling function allows the output to be optimized for various counter frequency
or microcontrollers.

Color Sensor TCS230

Servo Motor (SG90),

They are highly precise machine they are self-contained electric devices that rotate

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

or push parts. They are found in many equipment’s such as toys, home electronics cars & airplanes
since its very simple that makes it so reliable. The heart of servo motor is a direct current motor
similar what we find in radio controlled toy, with the help of electricity or battery they rotate at very
high RPM put produce very less torque, the gear present in the servo case converts the output to a
much smaller rotating speed but with high torque & the gears present in the servo motor are
generally made up of plastic to keep it light and economical in budget.

Servo Motor

Jumper Cables,

They are used for making connections between the Arduino’s header pin between the

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

servo motors & color sensor.

Types of jumper wires,


Male-to-male, male-to-female, female-to-female

Jumper Cables

Sensor

It is a simple device which can be defined as input device which provides an output signal with
respect to a specific physical quantity, the term mentioned ‘input’ means it’s a part of a system
which provides main control to a processor or a Microcontroller.

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

Classification of sensor,

The first classification, they are mainly divided into two types active & passive. Active sensor is those
which require external signal or any sort of power signal to operate.

Passive sensors do not require any sort of external power & it directly can generate output.

The other classification is based on detection that is used in sensor for example electric, chemical,
radioactive, biological etc.

This classification is based on their conversion that is output & input some of the common
conversion examples are photoelectric, thermoelectric, electrochemical, thermotic &
electromagnetic etc.

Final classification of sensors is of two types digital & analog,

Analog sensors produce only analog output signals just as its term ‘Analog’ that is a constant output
signal with respect to the quantity being measured.

Digital sensors work with digital or discrete data, the data sent is used for conversion & transmission

Types of Sensors,

1. Temperature Sensor,
As the name suggests it is used to measure the changes in temperature.

(Electronics hub, n.d.)

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

2. Proximity Sensor,
It is a sensor that detects the presence of any object it can be implemented
using different techniques like ultrasonic, infrared, laser or optical etc.

(Electronics hub, n.d.)

3. Infrared Sensor (IR Sensor),


It’s a light-based sensor that is used in various applications like object
detection & proximity they are usually used in remote control & mobile phones, there are
two types of IR sensors Transmissive type & Reflective Type.

(Electronics
hub, n.d.)

4. Ultrasonic Sensor,
It’s a noncontact device that is used to measure distance as well as velocity of an
Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

object. The working properties are based on sound waves with higher frequency than of human
audible range.

(Electronics hub, n.d.)

Some other sensors are,


5. Pressure Sensor
6. Accelerometer Sensor
7. Light Sensor
8. Gas, smoke Sensor
9. Color Sensor
10. Touch Sensor
11. Humidity Sensor
12. Flow and level Sensor
13. Tilt Sensor.

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

Design Specification

Aspects Specification Justification

Function To sort two colors that is blue & This is important as it shows how
Yellow. the color is sorted.

Function The microcontroller that is being This is the best suited


Used is Arduino Uno. microcontroller for given project.

Aesthetics With the help of arm which is This is a path which carries the
powered by a servo motor colored ball in it.

Aesthetics Servo motor SG90 is mechanical This acts as a actuator for the
component which is used product as it’s a mechanical
component.

Aesthetics To identify color, color sensor TCS This component is used for
230 is used detection or identification of
colors i.e. blue & yellow

Aesthetics Cardboard is used for structure To make it light weight main


structure is made of cardboard

Function The arm of my machine has extra This is important to make the
space that ball can roll freely product more convenient to
work.

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

Demonstration & simulation

Using Arduino 1.8.9 windows simulation app,

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

The code was verified, compiled & uploaded,

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

Pictures of simulation

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

Codes Used,

#include <Servo.h>
#define S0 2
#define S1 3
#define S2 4
#define S3 5
#define sensorOut 6
Servo topServo;
Servo bottomServo;
int frequency = 0;
int color=0;
void setup() {
pinMode(S0, OUTPUT);
pinMode(S1, OUTPUT);
pinMode(S2, OUTPUT);
pinMode(S3, OUTPUT);
pinMode(sensorOut, INPUT);
// Setting frequency-scaling to 20%
digitalWrite(S0, HIGH);
digitalWrite(S1, LOW);
topServo.attach(7);
bottomServo.attach(8);
Serial.begin(9600);
}
void loop() {
/*topServo.write(180);
delay(500);

for(int i = 180; i > 0; i--) {


topServo.write(i);

}
delay(500); */

color = readColor();
delay(10);
switch (color) {
case 1:
bottomServo.write(50);
break;
case 2:
bottomServo.write(75);

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

break;
case 0:
break;
default:
break;
}
delay(300);

for(int i = 65; i > 29; i--) {


topServo.write(i);
delay(2);
}
delay(2000);

for(int i = 29; i < 115; i++) {


topServo.write(i);
delay(2);
}
color=0;
}
// Custom Function - readColor()
int readColor() {
// Setting red filtered photodiodes to be read
digitalWrite(S2, LOW);
digitalWrite(S3, LOW);
// Reading the output frequency
frequency = pulseIn(sensorOut, LOW);
int R = frequency;
// Printing the value on the serial monitor
Serial.print("R= ");//printing name
Serial.print(frequency);//printing RED color frequency
Serial.print(" ");
delay(50);
// Setting Green filtered photodiodes to be read
digitalWrite(S2, HIGH);
digitalWrite(S3, HIGH);
// Reading the output frequency
frequency = pulseIn(sensorOut, LOW);
int G = frequency;
// Printing the value on the serial monitor
Serial.print("G= ");//printing name
Serial.print(frequency);//printing RED color frequency
Serial.print(" ");
delay(50);

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

// Setting Blue filtered photodiodes to be read


digitalWrite(S2, LOW);
digitalWrite(S3, HIGH);
// Reading the output frequency
frequency = pulseIn(sensorOut, LOW);
int B = frequency;
// Printing the value on the serial monitor
Serial.print("B= ");//printing name
Serial.print(frequency);//printing RED color frequency
Serial.println(" ");
delay(50);
if(R<100 & R>65 & G<130 & G>85){
color = 1; // Yellow
}
if (R<90 & R>70 & B<90 & B>60){
color = 2; // Blue
}
return color;
}

Safe Use

Safe use of fault finding,

Some risk of components is, there are open and exposed electrical parts if touched
make electrocute us and the other one is meatal work which has to be earthed becomes very
dangerous when the voltage increases.

Its very likely the above-mentioned incidents happen often during testing & finding fault usually
when conductors at high voltages are often exposed, we can minimize or reduce the risk if the
testing is done in a safe measure and isolated from all dangerous source of supply, although this is
not always possible. We have to take care ourselves and always try to prevent contact with any sort
of hazardous produced voltages.

Some serious injuries can be caused by electric shock. They can lead into serious fatal injuries &
there is also a risk of burn injuries when conductors are short-circuited. Electric shocks usually occur
when in contact with a live conductor which causes sufficient current to pass through the body
which is enough to cause injury

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

To prevent all these casualties, we should make sure all our components pass all the precautions test
to make it safe we are building our mechatronic system/color sorting machine with all the safety
standard ensured.

Faults & rectify

Some of the faults found in Mechatronic System,

Faults Reason Troubleshooting

One servo was working and Mistakes while coding and Redone the code & verified
other doesn’t improper connections & fixed the connections.

Arduino Circuit turns off Problem with power source Replaced the power source
periodically cable & fixed it.

Color separation was not Sensitivity was very low Readjusted the color sensor
accurate sensitivity.

The arm was moving very slow Too much delay time Reduced the delay time.

The balls were not falling on Variation found in angle Adjusted the servo motor angle.
the given tub

After a running the system for a Dust in Color sensor Cleaned the color sensor and
while it failed to detect the placed it in a different position.
color

All the identified faults were fixed immediately.

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

Testing

Testing of Mechatronics system,

In my mechatronics system that consists of various actuators & sensors my main components that is,
180-degree servo motor TCS 230 color sensor.

Before constructing the circuit, I used multimeter to make sure that all my components were
receiving sufficient voltage and made sure that it was receiving sufficient voltage.

Also make sure ‘d that all the wiring was done right & there was no loose connections in them, after
testing all the components and once it was working alright I connected all the jumper wires, cross
checked that everything was done right, once the circuit was completed I connected my board via
USB to my pc opened Arduino software simulation , wrote the code and complied & verified it, after
that I uploaded the code to the board after uploading the code I cross verified it make verified again
and the given mechatronics system was functioning fine.

Testing my servo Motor

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

Testing the color sensor

Testing the Board

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

Verifying the program & uploading it to Arduino

After performing the above test’s, the color sorting machine was built.

Research Methods
For my mechatronics system I have used the following methods,

• Internet,
It helped me research & find the best parts for my mechatronics system like finding the best
suitable servo motor, color sensors and choosing my Arduino board.
• Forums,
It helped me fix some of the issue’s I had with my system like I had a issue with my servo
motor not functioning
• Mentor (Ganapathi Sir),
Helped me finding solutions for the caused problem in my system. like I had accuracy issue
with my color sensor.
• Git Hub,
Helped me with the codes.
• Software’s,
Simulation software’s helped me simulate my circuit and find my issues, before building the
actual circuit.

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

Selected Sensor

The sensor I chose to use is TCS 230, the reason I chose this sensor was it can be used for various
functions, its small & affordable and it has good color accuracy basically it uses an array of 8x8
photodiodes. Then by using current to frequency converter the readings from photodiodes and its
directly converted into a square wave with a frequency directly proportional to the intensity of light
& finally with the help of Arduino board we can read the output in form of square wave & results for
the color can be obtained. Calibration of color is simple and easy in this color sensor; the color
sensor has two color pins S0 & S1 which are used in scaling of output frequency. The frequency can
be scaled to be three different preset values of 100%, 20% or 2% this frequency scaling function
allows the output to be optimized for various counter frequency or microcontrollers, it’s the highest
used color sensors in projects & it was ideal for my project so I chose this color sensor.

Color Sensor TCS 230

Color Sensor During Detecting

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

Selected Actuator

The actuator i.e. the servo motor I chose was SG 90 the reason for selection this motor is because it
has variable degree compared to a conventional DC motor & with variable degree option it was
ideal for my sliding arm which takes the color balls to their desired path and they do not require
high voltages to run, they can run on a conventional 5V battery and they are highly accurate they
run at very high RPM & produce very less amount of torque usually they are made of plastic body &
gears. They are self-contained electric devices that rotate or push parts, they are mostly use in toys,
RC cars & airplane since its very simple it makes it very reliable, they are economical on budget
because of these factors I chose this actuator, & my actuator has a sweep angle of 180 degree.

Figure 1 Servo SG90

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

Advantages & Disadvantages

Advantages & disadvantages of software simulation’s,

Advantages Disadvantages
• The first advantage is that you don’t • Although it’s a onetime investment
have spend too much to simulate software simulation software have a
compared to a real-life simulation. expensive subscription depending on
the simulation software’s usually it
varies.
• There are many free simulation
software’s which any one can try it out.
• Even though there are free simulation
software’s they do not provide all the
• We can study the behavior of built important features or some are for trial
model in the system without actually only for limited period of time.
building it.

• Creating a simulation model requires


• The Results compared to a lots of knowledge & its time consuming
actual/analytical model is very to build it. Once done it’s worth the
accurate. time & effort.

• If there any unexpected problem it can • If the program is fed wrong, the whole
be rectified easily & immediately. simulation would be a disaster.

• We can study something without • Its not lively as an actual model.


building it.

• Sometimes it’s difficult to create


• It’s not time consuming as building the simulation.
actual one and if any problem found we
can rectify it easily.

For building my mechatronics system simulation in software was very useful.

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

Practical Results

For my mechatronics system, the Arduino board was coded/programmed to sort out two colors i.e.
Yellow & blue with the help of a single-color sensor & two servo motors.

Faults,

Although the circuit and the main structure was built, the main issue was detection of colors & very
high fluctuation in RGB values & the top servo arm was inaccurate moving towards the right too
much.

Corrections Method,

To rectify the detection issue of colors, I had to recalibrate the RGB values of the color sensor even
though it was time-consuming finally the sensor was able to detect the accurate colors for yellow
and blue.

And the top servo motor issue was fixed with codes I had to change the top servo motor angle code
to 145 degree instead of 180 degree and the delay time was reduced from 100ms to 500ms.

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

Construction at initial stage

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

‘’
Color sorting machine @ angle 1

Color sorting machine @ angle 2

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

Investigation with alternate solution

As mentioned above with the issues with my color sensor detection problem, the other aspects of
my mechatronics system was working fine such as powering up the UNO board verifying & uploading
the code didn’t cause any issue’s initially I had a issue with the error code while uploading the code
to the system with some troubleshooting the issue was solved & every components was connected
using the jumper cables along with two servo motors & a color detecting sensor all the components
was fixed to the main structure & it was powered on everything was working fine initially but when
the color ball passed through the sensor it failed to recognize which leads the bottom servo of not
rotating, with this issue caused I going through the internet , various forums for the fix.

The color sensor which I had issue

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

So to fix this issue I had two options replace the color sensor with a higher grade detection one, or
find and adjust the code values so I opted to change the codes and it initially helped me but it failed
to detect again so I recalibrated the color sensor with different RGB color values which was
obtained from the colored balls i.e. blue & yellow and after calibrating it was working fine. & the
issue with top servo motor was fixed by reducing the angle which was initially set to 180 degree and
I reset it to 145 degree.

Evaluate

Design Specification,

Aspects Specification

Function To sort two colors that is blue &


Yellow.

Function The microcontroller that is being


Used is Arduino Uno.

Aesthetics With the help of arm which is powered by a


servo motor

Aesthetics Servo motor SG90 is mechanical component


which is used

Aesthetics To identify color, color sensor TCS 230 is used

Aesthetics Cardboard is used for structure

Function The arm of my machine has extra space that


ball can roll freely

From the design specification produced,

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

Operational capabilities & limitations,

Operational Capabilities;

• Even though its been coded to detect only two colors but we can recode to recognize as
many colors we need.
• The codes are can be fully customized/edited as per our requirements.
• Since the board has a voltage regulator built in, any sort of power supply can be used to
power up the board.
• The servo’s here are programmed as certain coded angles, but if needed in change the angle
can be fully adjusted ranging from 0degree-180degree.
• Its small & portable and can be coded any time.

Some of the limitations;

• Calibrating the colors is very time consuming.


• The operation of the system is slow.
• Because of high RPM the arm of the system keeps falling off.
• Sometimes the color sensors show inaccurate results.
• The servo motor’s cant withstand higher load arms.

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

Functions & Operations

Function;

To detect and sort two colored balls i.e. yellow & blue.

Operations;

Firstly the feeder has to be filled given colored balls, then power is being supplied to the
Arduino UNO board and the top servo moves carrying the ball over the sensor and the sensor
detects the color and the bottom servo moves to the programmed angle and again the top servo
moves carrying the candy & drops on the slide and it falls on the container placed on that arm angle
similarly the process keeps going on until there is no color detected by the system.

Simulation;

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

Causes of faults

The factors which was causing faults are as follows;

• Calibration issue with color sensor.


• Wrong wiring.
• Angle issue with the servo motor.
• Improper structure.
• Too much glue used.
• Error in codes.
• Flimsy structure.
• Improper position of color sensor.
• Sliding arm was too heavy

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

The following improvements have been done to the mechatronics system;

• Made the flimsy structure rigid, because too much flex was affecting the system.
• Removed unwanted glue, which affected the board wiring.
• Untangled and sorted the jumper wires, wiring was totally tangled and untidy.
• Simplified the circuit, removed the unwanted mess.
• Simplified the top & bottom arm mechanism, to make sure it runs smoothly.
• Added a reservoir on top to hold the balls, just for storing purpose.
• Repositioned the color sensor to make easy for accuracy, helps in detection of colors
• Changed the position of the main board, to make sure noting was interfering the board
• Colored the main structured with white, to make it look better.
• Made the sliding arm lighter, so no heavy load falls on motor.
• Reduced the load on servos, to make the functioning stable.
• Changed the entire sorting code, to fix the causing errors.
• Calibrated the sensor more than five times for increased accuracy, for better detection.
• Readjusted the main servo angle, to make sure the ball falls right on the hole.
• Decreased the servo delay time by 500ms, to make sure the sensor reads & detects the color
accurately.
• Fixed all the other issue caused.

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297
Unit No : 06
Unit Name: MECHATRONICS

Bibliography
BEN. (2019, march Saturday). Spark fun . Retrieved from start something :
https://learn.sparkfun.com/tutorials/what-is-an-arduino/all
Dejan. (2019, march 26). How to mechatronics. Retrieved from
https://howtomechatronics.com/projects/arduino-color-sorter-project/
Electronics hub. (n.d.). Retrieved from https://www.electronicshub.org/different-types-sensors/

Sachin Somanna B. B
Pearson BTEC Level 5 HND in Mechanical Engineering (RQF)
Regd No: 2018/8297

S-ar putea să vă placă și