wallpaper

Sunday, 25 February 2018

WEEK 5 : SOLDERING THE COMPONENTS AND BUILDING A BLUETOOTH APPS

Assalammualaikum..

For this week i have been given 2 tasks which are the first one is to connect all the components together to the microcontroller , the 2nd one is to fix the application i have build before so that it can be connected easily to the bluetooth module using application


Task 1 progress:

There are 2 components i should connect it to the arduino nano which is the first one the bluetooth module and followed by the max-sonar sensor .

for bluetooth module which is HC06 we do have 4 pins to be connected to the arduino nano which is pin Vcc, Gnd , Txd and Rxd. For the pin Txd of the bluetooth module connect it to the Rxd of the arduino and vice versa for the Rxd of Bluetooth module .

For max-sonar sensor that act as a detector for the obstacle , it also has 4 pins same as Bluetooth module , but for this sensor the Txd and Rxd i connect it to the pin 8 & 9 of the  arduino .




This is how it looks after the connection .



Task 2 progress :

Before i proceed with the explanation on the progression i have go through , this is the original application to connect the application with device but unfortunately there is an error which lead the device cannot connect to the application








After the first application i made failed ! i make another apps to fix the problem .






This is the interface of the apps once you dowload the application



this is the designed coding for this application .




This is the video i took after the application done .The application running  smoothly after the 2nd one application build .The application can connect  to the HC-06.,

thank you .Thats all for this week update


Monday, 19 February 2018

week 4 : Coding Arduino And An Application Building

assalammualaikum ..

for this week i have been working on how to measure and detect the distance using the arduino and ultrasound and build an application
so here the coding :

#define trigPin 5
#define echoPin 4

void setup() {
  Serial.begin (9600);
  pinMode(trigPin, OUTPUT);
  pinMode(echoPin, INPUT);
}

void loop() {
  float duration, distance;
  digitalWrite(trigPin, LOW);
  delayMicroseconds(2);

  digitalWrite(trigPin, HIGH);
  delayMicroseconds(10);
  digitalWrite(trigPin, LOW);

  duration = pulseIn(echoPin, HIGH);
  distance = (duration / 2) * 0.0344;

  if (distance >= 400 || distance <= 2){
    Serial.print("Distance = ");
    Serial.println("Out of range");
  }
  else {
    Serial.print("Distance = ");
    Serial.print(distance);
    Serial.println(" cm");
    delay(500);
  }
  delay(500);
}
from the coding  it will display the distance between ultrasonic sensor and the obstacales



for the application , i decided to use another android inventor at first which is  App Inventor 2 through online. I have design on how the apps will be connected through the bluetooth .


this figure is suppose show how on the apps will be looked on the simulation.We just have to connect and pair the device and ultrasonic sensor..

The coding of the apps is set as below 


but unfortunately , after the coding has been constructed and when come the time to stimulate it , the installer itself cannot be done .

this screen  keep in this situation for an hour . So i decided to try the same coding on another installer later .

For the design ,I have bought a wrist band for an athlete as a base to put all the component



but as i look on this wrist band i thought that it might be a difficulty for the user so i design it more friendly user so then it becomes like this


i  design the wrist band to be more wearable to the blind people .


I also include some velcro in order so in can be adjustable to  the size of the wrist for different user .


A pocket lookalike also i design on this wrist band in order to put all the components together ,


Sunday, 11 February 2018

week 3 : Working On the To Do List

Assalammualaikum..

As what I am planning for the previous week , this week I am going to look for all the components that have been listed after my 2nd meeting with Dr Masum .

First and foremost , I am doing the searching for those components through online . I can conclude that most of the stuff are available and common at all electronic outlet except for this specific range finder ultrasonic sensor
This is the easy-to-use MaxBotix ultrasonic range finder.I am  extremely pleased with the size, quality, and ease of use of this little range finder. The serial interface is a bit odd (it's RS232 instead of standard TTL), but the PWM and Analog interfaces will allow any micro to listen easily enough. The sensor provides very accurate readings of 0 to 255 inches (0 to 6.45m) in 1 inch increments with little or no dead zone!

Features:
  • 42kHz Ultrasonic sensor
  • Operates from 2.5-5.5V
  • Low 2mA supply current
  • 20Hz reading rate
  • RS232 Serial Output - 9600bps
  • Analog Output - 10mV/inch
  • PWM Output - 147uS/inch
  • Small, light weight module
  • Specific model: MD1010

As this sensor is quite rare and odd , I decided to buy it online through Cytron Marketplace Online Website . I have ordered it on Thursday 8 february 2018 . The sensor is still in shipping process . Maybe it will arrive  in these Tuesday 13 February .It costs RM128 included shipping fee .


For arduino nano , I went to JALAN PASAR on Thursday ,8th February by car right after my class at 2PM . I went there for looking on the microcontroller . Fortunately , there is soldered arduino nano included with the usb mini . I bought 2 for this set since I am preparing for a backup . I did also bought the common ultrasonic sensor  for do the testing on the arduino 

As the software part , I have bought the android studio from the market and I download by myself the arduino installer . I am downlloading it by referring to the specific website that taught me how to download .

For this upcoming week , I am going to construct a simple application in order for me to get use to this android studio. I do also  looked on how to test the Arduino  and the Ultrasonic sensor on youtube  .I am going to test it later after the ultrasonic sensor arrive.

Thats all update for the 3rd week . Thank you :)

Saturday, 3 February 2018

WEEK 2 : The 2nd Meeting With Dr Masum

 Assalammualaikum WBT ...

On the 5th of February , Maisarah and I went for our 2nd  meeting with Dr Masum for our project. In our meeting , Dr Masum start the meeting with detail on Sara's project and continued with  mine.

For my part , Dr Masum explained back the concept of my project in order to get me understand 100% how my project going to work and how the user can have the benefits from my project.So after meeting i came out with flowchart on how the project going to work in order for me to fully understand the project and keep me on track.




                   
Figure 1 : the flowchart on how the blind watch works

In our meeting also , Dr Masum stated that my project will be divide to 2 parts which is the first part is hardware and the second part is software .

For hardware , these part will be focused on the wrist part itself which is on the connection of the range finder ultrasonic sensor in detecting the obstacles . We decided to use the small micro-controller to control the ultrasonic sensor and transfer the data to the user .

For software part , I have to construct an application in order to get the user easier in navigate him/herself while using this blind watch , In order to build this application , I have to download android installer . 

The end of our meeting i have few list to be done in week 3 
  1. Buy the component part
    -Range Finder Ultrasonic Sensor
    -Arduino Nano with usb mini
    -Wrist Band for attaching the Ultrasonic Sensor
  2. Install the android user and play around with the installer in order to understand the use of this installer .
so starting for this week till week 3 i am going to complete all above list to do 

That is all for my 2nd week update. Thank u :)