Smart LPG Cylinder Stand

Take the worries of booking gas cylinder away use our innovative cylinder stand.

IntermediateFull instructions provided24 hours297
Smart LPG Cylinder Stand

Things used in this project

Story

Read more

Code

code for weight measurement

Arduino
Using HX711 module and MSP430G2 board
#include "HX711.h"
HX711 scale(12, 11);   
long int ZF;
void setup() {
Serial.begin(38400);
Serial.println("Initial reading ");
Serial.print("read:");
Serial.println(scale.read());    
ZF = scale.read_average(20);
Serial.print("read average: \t\t");
Serial.println(scale.read_average(40));
}

void loop() {
  //Serial.println("Zero factor");
//Serial.println(ZF);
 delay(1000);
 long int test=(scale.read()ZF);
  //Serial.println(test);
  int value= test;
 Serial.println("the weight is :");
  Serial.print(value/7500);

 // scale.power_down();            
  delay(1000);
 // scale.power_up();
}
// VIVEK CHHABRA BTECH CSE MRU
// AKASH DUBEY BTECH CSE MRU

Credits

Dr. Umesh Dutta

Dr. Umesh Dutta

38 projects • 39 followers
Working as Director of Innovation Centre at Manav Rachna, India. I am into development for the last 12 years.
Texas Instruments University Program

Texas Instruments University Program

91 projects • 94 followers
TI helps students discover what's possible to engineer their future. Learn about TI tech for the classroom: www.university.ti.com
Energia

Energia

34 projects • 22 followers
Founder of @energiaproject
Akash Dubey

Akash Dubey

1 project • 0 followers
VIVEK CHHABRA

VIVEK CHHABRA

1 project • 0 followers

Comments