Posts

Showing posts from August, 2019

Week 6: Telegram Bots Interfacing

Image
Date: 26/08/2019 - 30/08/2019 In this week, I had test the interfacing between sound sensor, wifi module and telegram bots. First, I had constructed a simple circuit by using resistor and led connected to NodeMCU Connection to NodeMCU Sound Sensor ------ D7 LED ------ D8 Flow Chart Arduino coding From this programming, the data will be get from digital read of sound sensor. If the data is HIGH or there is a presence of sound detect by sensor, led will turn on and bot will send message to telegram as per command in the coding. 

Week 5: WiFi module interfacing

Image
Date: 19/08/2019 - 23/08/2019 During this week, I had done a study and testing on how to interface the WiFi module with the server and my smartphone. The compatibility of the NodeMCU ESP8266 WiFi module Amica had been observed.  1. Download the library for ESP8266 WiFi in Arduino software. The address for the library can be found through Google > Arduino website > Arduino forum/community. 2. Arduino programming The WiFi module had been successful connected with server when "WiFi connected" and "Ready" message appear on serial monitor (arduino software). Overall NodeMCU ESP8266 wifi module is compatible and can be operate as per commands. 

Week 4: Telegram Bot

Image
Date: 12/08/2019 - 16/08/2019 In this week, I have done creating a telegram channel for my project. Telegram bots are the third party application that run inside Telegram which enable the interaction between users with other source. I had decided to choose Telegram as the communication platform for my project because it is widely used nowadays including in biomedical engineering field as the communication, notification and information changing in real time. How to create own bots: 1. Search for "BotFather" in Telegram Apps 2. Start the BotFather "/start" 3. Select "/newbot" to create new bot channel 4. Set the name for the bot. The name for my bot is "Syringepump_bot". BotFather will provide the token id. The purpose of the token is to command it in the programming coding in order to differentiate the bot channel. 5. Search for "IDBot". Id bot is the identification number for the telegr...

Week 3: Project Hardware

Image
Date: 05/08/2019 - 09/08/2019 In this week, I had confirmed the type and model of hardware and component that I want to used for my project prototype especially for the micro-controller board and wifi module. Here are the hardware list and description: 1. Sound sensor (KY-038)     - Sound sensor used as the input to capture audible alarm produced by medical device. 2. Uno micro-controller board     - Used to process the data needed including to convert analog to digital signal from sound sensor 3. NodeMCU ESP8266 Wifi module Amica     - Used as the data transmitter from Uno to end user smartphone (IOT system), this wifi module. I had decided to change the wifi module from Wemos D1 to ESP8266 Amica because the module is more compact in size, easy to operate and interface with other micro-controller but the functionality is still the same between both wifi module.