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.