Sunday, 25 February 2018

Week 5 (FYP 2)



BUYING ADDITIONAL COMPONENTS


This week, I bought additional components to make FYP 2. The project included a female wire jumper, header box, tube solder lead and 23A battery holder.



1. Female wire jumper



2. Header box




3. tube solder lead




4. 23A battery holder.





That's all for today, later I will update for more information about my progress FYP 2 project. Have a nice day you all. Thanks you for reading my blog.

 





Saturday, 17 February 2018

Week 4 (FYP 2)


Write the programming code

This is my programming code for The Development of Gas Leakage Detector for Home Appliance. But this is not already full programming code because I'm not testing yet with node mcu and there is a little bit correction in this programming code. Later I will update if the programming code was successful and does not have a correction. 


int red_led=12;
int green_led=11;
int buzz=13;
int gas_value;
int gas_avalue;
int sensorThres=400;
void setup()
{
pinMode(red_led,OUTPUT);
pinMode(buzz,OUTPUT);
pinMode(green_led,OUTPUT);
pinMode(A1,INPUT);
Serial.begin(9600);
}
void loop()
{
gas_avalue=analogRead(A0);
if (A0 > sensorThres)
{
digitalWrite(red_led, HIGH);
digitalWrite(green_led, LOW);
digitalWrite( buzz, HIGH);
Serial.println(“DANGER!!!!”);
Serial.println(gas_avalue);
}
else
{
digitalWrite(red_led, LOW);
digitalWrite(green_led, HIGH);
digitalWrite( buzz, LOW);
Serial.println(“NO LEAKAGE”);
Serial.println(gas_avalue);
}
delay(100);

}

Saturday, 10 February 2018

Week 3 (FYP 2)


1st FINAL YEAR PROJECT 2 BRIEFING


Today is the 3rd week for this FYP 2. The briefing was conducted in TTL 2 and the attendance to all FYP 2 students is compulsory. The speaker is by Dr. Siti Marwangi Mohamad Maharum and with assistance (staff) to key - in the attendance.  

     

                                    Date: 9/2/2018
                                    Venue: TTL 2
                                    Time: 3pm-5pm


In this briefing, the FYP committees have briefed us about:

  • Code of the Subject FYP must be correct and student should be register the project tittle for minor amendment before week 10.
  • Assessment that need to be cover for FYP 2 which is final report (logbook/blog) , presentation, and project proposal. 
  • FYP 2 should be continues after the proposal report with do the results & analysis , discussion , and conclusion of overall project. 












DESIGN SCHEMATIC DIAGRAM

Today I want to update my blog on the design scheme diagram. I have been researching for schematic diagrams about gas leaks and most design diagrams are the same. Therefore, I will refer to some of their design diagrams to create a simple design diagram so that can make the user comfortable when using it. However, I would refer to the co-supervisor that is Prof. Zulkifli to see whether this design diagram is appropriate or not to use when making gas leakage detectors. 












           

Saturday, 3 February 2018

Week 2 (FYP 2)


DESIGN PROJECT HARDWARE AND SOFTWARE (cont)


This week I have been meet my co-supervisor to discuss about my progress FYP 2 project. We discuss about coding and at the same time he told me to choose that I want to connect massage to the owner with wireless or blue tooth low energy which is either this two is very cheaper and can make the user comfortable to use it. The other information that I can share with you all is this project will detect sound to make every housewife or user alert about gas leakage detector. Before that, my co-supervisor told me to make some research about blue tooth low energy and easy for me to understand so that i can make it later. However, he also told me that this project can make me get the result with two solution which is grafana or MQTT.  MQTT is  (MQ Telemetry Transport or Message Queuing Telemetry Transport) is an ISO standard. 



EXPLANATION OF MQTT


What is MQTT?

MQTT (MQ Telemetry Transport or Message Queuing Telemetry Transport) is an ISO standard (ISO/IEC PRF 20922) publish-subscribe-based messaging protocol. It works on top of the TCP/IP protocol. It is designed for connections with remote locations where a "small code footprint" is required or the network bandwidth is limited. The publish-subscribe messaging pattern requires a message broker. The specification does not specify the meaning of "small code footprint" or the meaning of "limited network bandwidth". Thus, the protocol's availability for use depends on the context. IMQTT-SN  is a variation of the main protocol aimed at embedded devices on non-TCP/IP networks, such as ZigBee.


Why MQTT is used in IoT?

The connected devices need a protocol using which they could communicate only when it is required. Devices with constrained resourcesshould be able to communicate with various other heterogeneous devices. MQTT is described on the mqtt.org siteas a machine - to -machine (M2M) / IoT connectivity protocol. 





Thank you for reading my blog. Later I will update for more progress and have a nice day you alls ☺☺☺☺☺