amplification

Status
Not open for further replies.

M.Haroon Azhar

New Member
i want to know about the amplification.i have to show the volatges on a lcd and i have mad e the circuit for it, actually i have to find strain in a L shaped beam and as you know the value of strain is small so we amplify it. i have used an amplifier**broken link removed**(please copy this link and see)but now i am getting voltages but no accurate there is lot of vrartion in voltages it doesnt stable at any specific value, my code which i used to show volatges on lcd is given below
#include <LiquidCrystal.h>
LiquidCrystal lcd(2, 3, 4, 5, 6, 7);
const int IN1 = A0;
const int IN2 = A1;
const int IN3 = A2;
const int IN4 = A3;

int OUT1=0;
int OUT2=0;
int OUT3=0;
int OUT4=0;

void setup() {
pinMode(IN1, INPUT);
pinMode(IN2, INPUT);
pinMode(IN3, INPUT);
pinMode(IN4, INPUT);
// put your setup code here, to run once:
lcd.begin (20, 4);



}

void loop()
{
OUT1=analogRead(IN1);
OUT2=analogRead(IN2);
OUT3=analogRead(IN3);
OUT4=analogRead(IN4);
lcd.setCursor(0, 0);
lcd.print ("Voltages 1 =");
lcd.print (OUT1);
lcd.print ("v ");

lcd.setCursor(0, 1);
lcd.print ("Voltages 2 =");
lcd.print (OUT2);
lcd.print ("v ");

lcd.setCursor(0, 2);
lcd.print ("Voltages 3 =");
lcd.print (OUT3);
lcd.print ("v ");

lcd.setCursor(0, 3);
lcd.print ("Voltages 4 =");
lcd.print (OUT4);
lcd.print ("v ");
// put your main code here, to run repeatedly:
delay(1000);

help me please..
i am using arudino and giving 5 volts
 
Last edited by a moderator:
spec,
This edited link works, delete the (please
E
**broken link removed**
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…