Friday, September 27, 2019

Week 9 - Arduino Coding Upload and Blynk Setting (Troubleshooting Week)

Belowis the coding use in arduino for the sorting and monitoring purposes:

#include <Servo.h>

Servo myservo1;  // create servo object to control a servo


#define BLYNK_PRINT Serial
#include <ESP8266_Lib.h>
#include <BlynkSimpleShieldEsp8266.h>

char auth[] = "rPCNUbMxbzdkCQ5ERfCUj-83Jj5eGouh";
char ssid[] = "Wifi_Project";
char pass[] = "1a2b3c4d5e";
#define ESP8266_BAUD 115200
ESP8266 wifi(&Serial);

#define trigPin1 2
#define echoPin1 3

#define trigPin2 4
#define echoPin2 5

int ir,metal;

long duration, distance, Sensor1,Sensor2;

void setup() {

   myservo1.attach(9);
      myservo1.write(90);
pinMode(trigPin1, OUTPUT);
pinMode(echoPin1, INPUT);
pinMode(trigPin2, OUTPUT);
pinMode(echoPin2, INPUT);
pinMode(A0,INPUT);
 Serial.begin(ESP8266_BAUD);
 //Serial.begin(9600);
 delay(10);
 Blynk.begin(auth, wifi, ssid, pass);

}

void loop() {
 Blynk.run();

ir = digitalRead(A0);
metal=digitalRead(A1);

SonarSensor(trigPin1, echoPin1);
Sensor1 = distance;
Serial.print("Sensor Metal: ");
Serial.println(Sensor1);

SonarSensor(trigPin2, echoPin2);
Sensor2 = distance;
Serial.print("Sensor Non Metal: ");
Serial.println(Sensor2);

Serial.print("IR: ");
Serial.println(ir);

Serial.print("Metal: ");
Serial.println(metal);

Blynk.virtualWrite(0,Sensor1);
Blynk.virtualWrite(1,Sensor2);

if(metal == 0 && ir == 1) //no object
{
    myservo1.write(90);
}

if(metal == 1 && ir == 0) //metal
{
    myservo1.write(50);
}

if(metal == 0 && ir == 0) //non metal
{
    myservo1.write(130);
}

delay(1000);

}

void SonarSensor(int trigPin,int echoPin)
{
digitalWrite(trigPin, LOW);
delayMicroseconds(2);
digitalWrite(trigPin, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin, LOW);
duration = pulseIn(echoPin, HIGH);
distance = (duration/2) / 29.1;

}

The project is success even though the servo motor is a bit loose and needed to be glue.


Lastly is the blynk apps display, the project will not move if not linked to the apps/wifi.


Monday, September 16, 2019

Week 8 - Circuit, wiring installation, software arduino coding upload and syncing with Blynk

On this week, most of critical part is done, first is installing the servo motor to the body as in picture below:


after that the wiring continues until the sensor and arduino is attached with the body until it became as below picture but it is not fully attach as I only use double sided in case of troubleshooting:




Friday, September 6, 2019

Week 7 - Fabricated the project body with external parties

As from the previous week, the project body is sent for fabrication during semester break.It is made at furniture store as the body of this prototype is made from wood. The measurement should be, 40W x 36D x 42H. Below is the drawing of the project body:

By the end of week the project fabricated is done and wiring is also done, below are the picture of the body:

Thursday, August 29, 2019

Week 6 - Actual circuit construction (Metal and Ultrasonic sensor)

As the main circuit is already constructed and waiting to be installed, I continue to construct the other 2 sensor which is the ultrasonic and metal sensor, this metal sensor is different from the original planned, but the shop mention that the function is the same as the previous sensor and it has longer life span.

While doing and studying the circuit function and all, I am searching for any wood shop around PJ area to fabricate my project body. It is to make sure that the price is affordable and as budget. The body dimension should be 40W x 36D x 42H in cm.

NOTE: This is an early stages of circuit construction and not fully measure to the project body or mainframe.

Friday, August 23, 2019

Week 5 - Workshop on Chapter 4, 5 and Abstract in Thesis Writing

This workshop is conducted at TTL2 by Dr. Imran, basically he explain about result and discussion to be put and analyse in the report writing. Below are the slide during the session.

Friday, August 16, 2019

Week 4 - Actual Circuit Construction (Arduino, Servo Motor and Voltage Regulator)

During this week, the actual circuit is constructed and the focus was to connect the LM 7596, Arduino UNO and the servo motor. Below are the picture of servo wire construction on going but not yet install at the project body as it is not begin yet;






Note that the circuit is not running yet due to incomplete circuit construction as it will be done when the project body is fabricated. This is an early stages of circuit construction and not fully measure to the project body or mainframe.

Thursday, August 8, 2019

Week 3 - Circuit construction finalize in Proteus

During this week, the circuit from FYP1 will be used and it is finalize, but it is not functioning even after converting the coding into HEX file, it shows error as the functioning wifi is not in the software so it cannot function unless working wifi is available in PROTEUS. So the project will be constructed without simulation.

Below is the recap on the circuit

At the same time, some of the part is bougt, which is the
  • Arduino UNO
  • Servo Motor
  • Wifi Module
  • Ultrasonic sensor
The metal sensor is not bought yet as the one to be use is out of stock, as this project is not using IR sensor as mention in FYP1. Below are metal sensor thought to be use but out of stock :



Wednesday, July 31, 2019

Week 2 - FYP2 Introductory Briefing

Title : First FYP Briefing

Activity :
On 31/7/2019(Wednesday), FYP2 introductory briefing was conducted. The briefing was conducted in TTL G04 and the attendance is compulsory.
The briefing was conducted by Sir Imran and announce that he is the updated FYP advisor.

Objective and content of briefing :
  • To explain about FYP2 calendar
  • To inform student to update their project frequently
  • To update the FYP2 Title changing (if needed)
  • To explain about Project Assessment
  • To announce the Presentation day
  • To inform the Submission date of project

Handout and Photos:


Saturday, July 27, 2019

Week 1 - FYP2 Recap, Downloading and Installing Software

A quick recap on this Sorting and Monitoring of Recycle Item, basically this project will maintain the same title as before as it is more clear to use the function of the project as a title. The main function is still to detect and sort the general waste and aluminium or metal waste, Moreover it will be having a monitoring function to monitor the trash level. As decided the body of the project will be using a wood as this is just a prototype. It will also maintain all the function, software, hardware use as previous presented on FYP 1

As a start, I downloaded and updated all the software needed for this project because some of the software installed in my laptop is not in use for some time and cannot be use anymore. This week is also use to recap and get familiarize back with the software in order to develop the project. Below are the example of sofwares to be used. Below are the software downloaded and used;

1) Proteus

I used proteus for the circuit design and to simulate the circuit and check whether there is an error or not. Moreover, it is compatible with arduino software that I am using. As u can see from previous picture, my circuit is constructed using this software. 

2) Arduino

I use this software to write the program of the project .Furthermore i use this Arduino also simplifies the process of working with microcontrollers, but it offers some advantage for teachers, students, and interested amateurs over other systems:


1. Inexpensive - Arduino boards are relatively inexpensive compared to other microcontroller platforms. The least expensive version of the Arduino module can be assembled by hand, and even the pre-assembled Arduino modules cost less than $50

2. Cross-platform - The Arduino software runs on Windows, Macintosh OSX, and Linux operating systems. Most microcontroller systems are limited to Windows.

3. Simple, clear programming environment - The Arduino programming environment is easy-to-use for beginners, yet flexible enough for advanced users to take advantage of as well. For teachers, it's conveniently based on the Processing programming environment, so students learning to program in that environment will be familiar with the look and feel of Arduino

4. Open source and extensible software- The Arduino software is published as open source tools, available for extension by experienced programmers. The language can be expanded through C++ libraries, and people wanting to understand the technical details can make the leap from Arduino to the AVR C programming language on which it's based. Similarly, you can add AVR-C code directly into your Arduino programs if you want to.

5. Open source and extensible hardware - The Arduino is based on Atmel's ATMEGA8 and ATMEGA168 microcontrollers. The plans for the modules are published under a Creative Commons license, so experienced circuit designers can make their own version of the module, extending it and improving it. Even relatively inexperienced users can build the breadboard version of the module in order to understand how it works and save money.


Friday, June 14, 2019

Week 15 - 17 Report Submission and Blog Updated

During this whole week the focus stay on drafting the report for proposal and submitted to supervisor for the plagiarism check, below are the attempt of the plagiarism check

Chapter 1 First Plagiarism Check
Chapter 2 First Plagiarism Check
Chapter 3 First Plagiarism Check

and after the result of plagiarism check is not convincing Supervisor ask to repair and submit a full  compiled report for next plagiarism check.

Full Report PlagiarimCheck Result

With the result of 4% the hardcover is submit later on 12th JUNE 2019

The blog is also finished and updated during this 3 weeks period

Friday, May 10, 2019

Week 13 - FYP1 Proposal Defense Day (8/5/2019)

By this week all preparation and focus stay on the presentation slide and the slide is later on shows to supervisor;

Friday, May 3, 2019

Week 12 - Simulation and Drawing

This is a week before presentation day, so i focuse on designing the proteus circuit which dont have the coding yet, but roughly this is the circuit and connection use to develop the project;


















Next is the drawing of the project, the sketching below show how the sorting plane should be functioning:


Saturday, April 27, 2019

Week 11 - Sensor to be use (Research and Findings)

As the project has 2 main function which sorting and monitoring, below are the sensor decided to be use for the project. Sorting function is divided into 2 types. At the same time, Arduino UNO is also to be use as it is cheaper compared to the Rasberry Pie.

Sorting Sensor are:
This is the IR Sensor which use to detect any item that go through it, the working principle of this IR sensor are easily shown on the diagram below.

The next sensor use in this sorting system is metal sensor, basically this sensor detect any type of metal that go through it and will send signal to processor which arduino to move the servo motor which support the plane movement.


Lastly is the monitoring system that use ultrasonic sensor to monitor the trash level;



Friday, April 26, 2019

Week 11 - Final FYP1 Briefing (24/4/2019) and Chapter 3 Block Diagram

During this week, a final briefing on FYP Proposal Defense Day was conducted by Dr. Imran and Dr. Marwangi. Speaker explain about :
  • Tips and Trick during presentation
  • What to be presented and highlighted on presentation day
Lastly speakers update about progress and proposal report submission.

At the same time, I have finish the block diagram, flowchart and decide on the sensor to be use. It is shown below;


Saturday, April 20, 2019

Week 10 - Chapter2

This week is the beginning of journal study for the project, i have compose a few journal in my literature review which are referred to below journal:

[1]      Clean Malaysia. “Shopping Center Leads the way for Recycling in Malaysia.”, 27 Oct. 2015, cleanmalaysia.com/2015/10/27shopping-center-leads-the-way-for-recycling-in-malaysia/.

[2]      Campbell, Will. “Mixed Materials: Garbage in the Recycling is Messing Up the Industry.” Spokesman.com, The Spokesman-Review, 7 Oct.2018, www.spokesman.com/stories/2018/0ct/07mixed-materials-garbage-in-the-recycling-is-messin/.

[3]      The Kee Leong. “Smart Recycle and Reward Bin.” UTAR Institutional Repository, 1 May 2011, eprints.utar.edu.my/94/.

[4]      Mustafa and Ku Azir. “Smart Bin: Internet of Thing Garbage Monitoring System” MATEC Web of Conferences, Vol. 140, p.01030, 2017.

While below is the composed literature review:

We can comprehend nowadays, the garbage bin frequently being overfilled and sometime the excess trash often places beside the bin where it should not be. These practices may lead to increases of mosquitos breed and insect where later on brings various diseases. [1] Clean Malaysia article state that consistently a normal of 30,000 tons of garbage has been created and the rate of reusing is only 5 percent. Besides that, unveiled by National Ministry of Urban Wellbeing, Housing, and Local Government, these practices influence the air contamination on earth. [1] On the other hand, as stated in Clean Malaysia article, one of Malaysia initiative in tackling the issue is by letting the shopping center leads the way to recycling but internationally speaking, [2] from a Spokesman-Review article written by Will Campbell, the sorting of mix recycle item has been the top problem face by the modern recycling system.

[3] This is a project report inscribe by The Khee Leong, a student from University Tunku Abdul Rahman. From the report written, the writer indicates that there is a separation of container process, this is almost similar from sorting system that would be develop for the Sorting and Monitoring of Recycle Item with IOT. On top of that, the writer tells that servo motor is the most suitable used for this purpose because servo is an automated system if else, a mechanism which adjust itself during continued operation through feedback. Moreover, the writer project needs an accurate mechanism to separate the container, thus the servo motor is easy to be control. Literally speaking, Sorting and Monitoring of Recycle Item with IOT will be using similar motor for the sorting mechanism as it proven to be functional.

[4] This is a research done by Mustafa and Ku Azir from Universiti Malaysia Perlis. In general, waste management is an activity to handle or administer waste from beginning until its final disposal. This activity have is currently handled by using a manual eye monitoring where the worker has to check frequently the waste quantity. Without a doubt every time this activity is happening, contamination will occur to the person. By using a more systematic waste monitoring technology, work can be done more efficiently. In response to this reason, they research and build a project of monitoring system using ultrasonic sensor and at the same time introduce the function of IOT.

Conclusion: So base on this 3 input, i manage to decide which technical sensor and type of monitoring sensor to be use for the project. It also give strong reason for me to proceed with the project

Friday, April 12, 2019

Week 9 - 3rd FYP1 Workshop (10/4/2019)

Title: Workshop on Methodology (Chapter 3), Preliminary Result (Chapter 4) & Abstract Writing.

In this workshop which is conducted by Dr.Imran at TTL2, emphasize on Chapter 3 which is the Methodology. In this methodology contain the technical part of the project base FYP which are:

  • Block Diagram
  • Flowchart
  • Schematic Diagram
  • Simulation Software
  • Plan Layout
  • List of component/equipment
  • Cost Estimation
  • Gant Chart


Dr. Imran also encourage to start the abstract part but my part was done and discussed with supervisor before.

Sunday, April 7, 2019

Week 8 - Chapter1

The first chapter of the report was draft, firstly the project background below;

The brief about this project is it's an automated recycling bin. The reason it is automated because it can automaticcally sort between metal and nonmetal items. Hence, the technology use in this project is a combination of electronic sensors an electrical motor which is process by arduino uno. In addition, it is also has an extra function of Internet of Thing (IOT) in parallel to internet development nowadays.

Second is the Problem Statement below:

These days, we can see that there are a lot of recycling campaign made by government, beside that, there is a lot of NGO working on the awareness of recycling. As a result, many recycle bin were put in attractive spot, but, the problem of mixed trash in the recycle bin still occur even though it is label and tagged accordingly. Recycling itself cost more than landfilling that same waste, now company have to think about the cost of sorting the mixed trash or recycle item. So, the sorting system is design to lessen the problem of sorting the mixed trash. Next, it is quite troublesome for some waste management workers to monitor the trash level all the time. As example those who work in a big shopping mall with less manpower, they have to monitor the recycle bin level, which is time wasting, so the monitoring system will assist them to work efficiently. Lastly, is the problem of hygiene. The issue is where the workers that normally affiliate with trash is more likely to be infected. To sum up the project sorting and monitoring function will likely avoid the workers to work directly and often with trash or recycle item.

The objectives for this project are:                                                     
  i.      To reduce the mix trash problem in recycle bin
 ii.     To implement IOT the technology into a recycle bin system
 iii.  To reduce the time of human being reacting with dirty recycle bin

As far. this is the managed draft of chapter1 without further check from supervisor and will be submitted for checking after compiled.

Saturday, March 23, 2019

Week 7 - 2nd FYP1 Briefing (20/3/2018)

Title: Workshop on Introduction (Chapter1) and Literature Review (Chapter2) Writing

Activities: On 20th March 2019, the 2nd FYP briefing was conducted at TTL2 from 3pm-4pm.
                  The talk workshop was conducted by Dr Imran Mohamad Sofi

The main point that was highlighted on this briefing was :

  • To write a good FYP1 report according to structure given
  • To write a compact Introduction of the FYP1 report
  • To organize and write a fine Literature Review
Lastly Dr.Imran reminded all the student to start the report early. Below are the note on that date;





Saturday, March 16, 2019

Week 6 - Abstract Draft and Finalize

Activity: Supervisor has reply the email and inform which part of the abstract to be improve and                         updated

Below is the comment on the abstract,

As commented on the above picture, I have write more clear and concise abstract base on supervisor comment and below is the abstract updated:


Sunday, March 10, 2019

Week 5 - FYP Title Registration Week

By this week, project abstract is draft roughly. It is to get a sneak peak of the project overview. Below is the rough draft of the abstract to be sent to supervisor:

During the final year studies, each student of UniKL British Malaysian Institute is assigned to complete the Final Year Project 1 or also known as FYP 1 with code WPB49804. The main objective of this project is to teach students how to think in advance way, to gain first class experience of designing, making wiring connection and troubleshooting where all the knowledge and skills learned from previous semester is to be apply. To fulfil the requirement I have decided to implement a new technology on recycling bin which is call Sorting and Monitoring of Recycle item with IOT. The main objective of this project is to reduce the problem of mix trash in a recycling bin which result to a higher cost and time wasting.
As a start, this project will sort two item which is empty water can and also plastic tupperware. Besides that, the trash level in the bin can be monitor by using IOT which made the cleaning or trash collection more efficient.

At the same time, supervisor also register my project officially as no further change of the title is discussed. The due date for the fyp title registration is on 8th March 2019.

Sunday, March 3, 2019

Week 4 - Title discussion and selection with Supervisor


Title : Supervisor 2nd Meeting

Objective :
  •          To discuss and declare a suitable FYP title.
  •          To discuss a suitable logbook/blog writing
  •          To discuss the next step of FYP1,
Activity :

This is the 2nd meet with the supervisor. As she required from the previous meet, 
a few project title is list out and presented to her. I came out with a few ideas and the one that suit Madam requirement is the Sorting and Monitoring of Recycle item with IOT.
At the same time we also discussed about logbook or blog writing and agreed to produce a blog for the purposes of project monitoring and drafting. Lastly Mdm. request for a project Abstract to be draft.

Discussion Photos :








Thursday, February 21, 2019

Week 3 - Introductory FYP 1 Briefing

Title : First FYP Briefing

Activity :
On 20/2/2019(Wednesday), FYP1 introductory briefing was conducted. The briefing was conducted in TTL G04 and the attendance is compulsory.
The briefing was conducted by Madam Siti Marwangi and FYP comittee.

Objective :
  • To find and declare FYP supervisor within due date.
  • To know and declare the detail about FYP title within due date
  • To determine the requirements needed in FYP.


Content :
In the briefing, the FYP committees have briefed us about :
  •  Introduction
  • Objectives
  •  Credits and duration (schedule given)
  • Scope of projects
  • Title selection (handout given)
  • Project Assessment
  • Presentation day
  • Submission date of project


Conclusion :
The students were required to carefully select the title of the project. For degree students, the title must reflect the capability and knowledge of a degree student. Students may select the titles that are offered by lecturers (FYP supervisors) or come out with own ideas. Speaker also inform that we can refer to http://fyp.bmi.unikl.edu.my/ regarding previous FYP ideas

Handout and Photos:


Wednesday, February 13, 2019

Week 2 - Scouting for FYP supervisor

Title : Scouting for FYP supervisor

Activity :
On 2nd week, I basically was scouting for potential supervisor to guide my FYP1. As I scouted I met my previous Electronics 2 lecture which is Madam Norhayati bte Yussof which is a lecture in Electronics Engineering Section. She agreed to be my FYP supervisor



Objective :
  • To find and declare FYP supervisor within due date.
  • To know and declare the detail about FYP title within due date


Content :
In the first meet, supervisor did request for :
  • Suggested project/ Project titles
  •  Project description
  • Scope of projects


Conclusion :
The ideas of project is to be discussed on the next meeting.

Saturday, February 9, 2019

Week 1 - Self Introduction

Assalamualaikum, my name is AHMAD AIZAT BIN ARZMI. I am a student of UniKL British Malaysian Institute. My course is Bachelor of Engineering Technology (HONS) in Electronics. Basically, this blog is about my progress report on my Final Year Project. All the works or research that I've made will be updated in this blog.