• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.


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 http://www.aliexpress.com/store/product/Bending-strain-gauge-sensor-module-Y3-weighing-amplifier-module/815142_32249862135.html(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()
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:

help me please..
i am using arudino and giving 5 volts
Last edited by a moderator:
Not open for further replies.

Latest threads

EE World Online Articles