Saturday, September 14, 2019

WEEK 7 FYP2

WEEK 7

DATE: 5/9/2019
SUPERVISOR: SIR SHAH RIZAILLI BIN MUKHTAR
👉 CONSTRUCT CIRCUIT

Activities


Figure 1: Filtering Circuit


  • After doing the first testing, it is observed that the sound sensor can detect sound even from a longer distance. So, I decide to do the filter for the sound by constructing bandpass filter circuit. The function of filtering circuit also to get a smooth waveform signal as it appeared on the oscilloscope. 
  • Frequency range between 3kHz to 5kHz based on testing using syringe pump.
  • So, resistor and capacitor used are:
  • R1= 2.4Kohm C1= 22nF
  • R2= 1.4Kohm C2= 22nF
  • Op amp LM741 is used in order to construct this circuit. 
  • However, I did not test this circuit on syringe pump yet.


WEEK 6 FYP2

WEEK 6

DATE: 28/8/2019-30/8/2019
SUPERVISOR: SIR SHAH RIZAILLI BIN MUKHTAR
👉 CONSTRUCT CIRCUIT

Activities

Figure 1:Connection sound sensor and Arduino Uno with oscilloscope 

Figure 2: Setting up oscilloscope
  • I continue doing my project at FYP laboratory as I will be using oscilloscope to measure the frequency of sound wave and its voltage. The testing is done by doing the humming sound from different distance from the sound sensor and plucking finger to see the accuracy and also the sensitivity of the sound sensor.
Humming sound:
1) 1st try: 

Frequency: 229.9Hz at 30cm distance from sound sensor

2) 2nd try
Frequency: 213.0Hz at 10cm distance from sound sensor

3)3rd try
Frequency: 238.1Hz at 5cm distance from sound sensor



👉 CONNECT WIFI USING WEMOS 

  • I would like to check the functionality of Wemos Wifi module.
  • Firstly, connect the module to the laptop by using USB cable.
  • Then, write the coding to connect to wifi as shown in the figure below.


  • Then, compile the coding and run the program.
  • Lastly, click on the serial monitor symbol to see the result. Serial monitor will show that the wifi is already connected to the phone.


👉 CONNECT WEMOS WITH TELEGRAM.
  •  I try to connect the module to telegram by testing using led. When LED is ON, telegram bot will receive notification displaying LED is ON and vice versa.
  • Connect LED to the module and by using USB cable, connect the module to laptop.

  • The coding will be like this.




  • Then, compile the coding and run the program. The problem occur when there is no notification appear on telegram when the LED is ON or OFF. 

  • I have check the coding but there is no problem with the coding. So, I google to find the answer. It shows that I need to downgrade the version of ArduinoJson as the latest version is not compatible to be used to connect to the telegram. Then, the program works.












WEEK 5 FYP2

WEEK 5

DATE: 19/8/2019-22/8/2019
SUPERVISOR: SIR SHAH RIZAILLI BIN MUKHTAR


👉 INSTALLATION OF ARDUINO IDE VERSION 1.8.8

  • If we are using the Arduino IDE software for the first time, the screen will appear like the figure below. 
  • There are also some library that need to be installed so that the programmed can be compile and run. The library include ArduinoJson, ESP8266 and also TelegramBot. For example, if we are using Blynk apps, then we need to install Blynk library. The library can be installed through board manager in the software. If fail to include one of these library, the programmed cannot be compile and will not work.


👉 TEST COMPATIBILITY OF SOUND SENSOR WITH ARDUINO UNO

Activities

Figure 1: Connection of Arduino Uno and Sound sensor


  • I have construct the circuit by connecting Arduino Uno with sound sensor module. An LED is used to show the detection of sound by the sound sensor. The LED will blink if the sound sensor detect the sound. For example, I try plucking finger near the sound sensor and the LED blink. At some moment, it also detect sound when people speaks. So, the sensitivity of the sound sensor must be fixed.

👉 MEETING WITH SUPERVISOR
  • The purpose of this meeting is to update my progress to Mr Shah Rizailli and also discussing on the signal conditioning circuit that suitable to be used for this project.
  • Supervisor also told me on how to do the data collection and to get more data as possible.