Result and Discussion
Result and Discussion
Result
In this project we use Proteus Professional 8 software to generate the simulation results. The LDR on
the Proteus transforms light intensity to voltage. If the recorded voltage value is low, the amount of light
transmitted is also low. The absorption of light will alter as the intensity of the light changes.
Once the system designed and developed an Arduino code will be written and uploaded to hardware
prototype. The prototype will classify high and low nitrate level of a sample.
The system developed will start by displaying welcome. It will wait the user for 30 seconds to insert
sample. Then it displays the final intensity of nitrite/nitrate in terms of millivolts.
Discussion
#define LDR A0 /
#include <LiquidCrystal.h> //
LiquidCrystal lcd(rs, en, d4, d5, d6, d7); //LCD pins used in arduino
double value_of_nitrate;
void setup() {
Serial. begin(9600);
lcd.begin(16,2);
pinMode(Blue, OUTPUT);
pinMode(Red, OUTPUT);
digitalWrite(Blue,HIGH);
digitalWrite(Red,HIGH);
lcd.print("Welcome ");
lcd.setCursor(0,1);
delay(2000);
void loop() {
lcd.setCursor(0,1);
lcd.print("Bilirubin Sample");
delay(5000);
lcd.clear();
lcd.print("Waiting");
delay(5000);
digitalWrite(Red,HIGH);
digitalWrite(Blue,LOW);
delay(5000);
lcd.setCursor(0,1);
value_of_nitrate =analogRead(A0);
lcd.print(value_of_nitrate);
delay(2000);
if((IfB<170) &&(IfU<75))
{
lcd.clear();
lcd.print("Result");
lcd.setCursor(0,1);
lcd.clear();
lcd.print(" Result");
lcd.setCursor(0,1);
delay(100000);
Apendesis
Ardiuno code