Sunday, 26 August 2012

Week 4
Title of Activity

Design Circuit Using Fritzing (Schematic) & DipTrace(PCB)


Objective
To build a circuit my project

Content/Procedure
Firstly build on breadboard and then transfer to schematic diagram

Design On Breadboard

                                                                        Schematic Diagram

Result/Analysis

Problem Statement
Circuit too compact with the arduino circuit , lcd and ph circuit. It make so confused too troubleshoot if got some wrong connection.
Solution
Separate the Ph Circuit from the arduino and lcd.

Conclusion
After working hard to complete the circuits involved in this project, I hope that it can function properly before the transfer it  to the pcb board.

Saturday, 18 August 2012

Week 3

Title of Activity

Testing Liquid Crystal Display (LCD)  using Arduino


Objective
- Checking whether the LCD is working.
- Check the coding to use for interface arduino to LCD

Content/Procedure
Equipment that has been used :-
- Arduino Uno (AtMega 328)
- Potential Potentiometer
- Resistor
- Jumper wired
- LCD

The circuit should been connected :-
 * LCD RS pin to digital pin 12
 * LCD Enable pin to digital pin 11
 * LCD D4 pin to digital pin 5
 * LCD D5 pin to digital pin 4
 * LCD D6 pin to digital pin 3
 * LCD D7 pin to digital pin 2
 * LCD R/W pin to ground
 * 10K resistor:
 * ends to +5V and ground
 * wiper to LCD VO pin (pin 3)


At the end the circuit should be like this,

The schematic design,


Coding program :

// include the library code:
#include <LiquidCrystal.h>

// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

void setup() {
  // set up the LCD's number of columns and rows:
  lcd.begin(16, 2);
  // Print a message to the LCD.
  lcd.print("LCD Testing");
}

void loop() {
  // Turn off the display:
  lcd.noDisplay();
  delay(500);
   // Turn on the display:
  lcd.display();
  delay(500);
}

Result/Analysis
As a result, for make sure the LCD is functioned; 
- The USB connecter have been used as a power supply. 
And the LCD will display the different style that according from code that has been used.
- The LCD has display the "LCD Testing" after enter the program that has been coding.


Conclusion
At the end the LCD display the "LCD Testing" when we supply the power using USB to arduno. The LCD will display according to your code that has been be patch into ATMel328 using Arduino Uno, it show that LCD is working perfectly and should proceed to next process.

Sunday, 5 August 2012

Week 2

Title of Activity

Looking arduino kit & electronic components


Objective
- Finding the cheapest components and quality.
- Survey hardware with appropriate budget.

Content/Procedure
This week all students involved in fyp1 & 2 should come to listen a short briefing what should they do during this semester. Students for taking subject fyp1 they have been reminded to make a blog about the project and the need to at least update their blog once a week. For those students taken subject fyp2 they should follow their plans, arrange whole semester to finishing their project according to what was planned.

Result/Analysis

After looking over all the jalan pasar, the componet that want to be purchased could not be found because the majority of the shops around here that selling arduino kits and components is quite limited. I was recommended by owner shop to buy online that in case that component that i request is unavailable at here and hard to find. He gave me some website that maybe have sell that equipment that i looking for my project. One of the link is http://myduino.com/
Conclusion
The arduino kit for my project is not available at the jalan pasar. Then i decided to buy it online but the problem is not enough fund because all equipment sell in USD so if convert to RM is too expensive, so i should hold for buying the hardware first. Then i will focus on my software next.