Smart LPG Cylinder Stand

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

IntermediateFull instructions provided24 hours968
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
42 projects • 60 followers
Working as Director of Innovation Centre at Manav Rachna, India. I am into development for the last 12 years.
Contact
Texas Instruments University Program
91 projects • 120 followers
TI helps students discover what's possible to engineer their future.
Contact
Energia
34 projects • 26 followers
Founder of @energiaproject
Contact
Akash Dubey
2 projects • 0 followers
Contact
VIVEK CHHABRA
1 project • 0 followers
Contact

Comments

Please log in or sign up to comment.