Measure Power Consumption Using Arduino | Simulation | Measure Voltage, Current and Power

Поділитися
Вставка
  • Опубліковано 25 жов 2024

КОМЕНТАРІ • 143

  • @ElectronicsDeveloper
    @ElectronicsDeveloper  3 роки тому +4

    source code :
    #include
    #define NUM_SAMPLES 10
    int sum = 0;
    unsigned char sample_count = 0;
    float voltage = 0.0;
    LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
    const int PT = A0;
    const int CT = A1;
    float Cur;
    float Vol;
    float Power;
    void setup() {
    // set up the LCD's number of columns and rows:
    lcd.begin(20, 4);
    // Print a message to the LCD.
    lcd.setCursor(6,1);
    lcd.print("Welcome To");
    lcd.setCursor(5,2);
    lcd.print("Energy Meter");
    //delay(5000);
    lcd.clear();
    Constants();
    }
    void loop() {
    lcd.setCursor(0, 2);
    ShowVoltage(9, 0, PT);
    Vol = voltage;
    ShowVoltage(9, 1, CT);
    Cur = voltage;
    Power = Vol * Cur;
    lcd.setCursor(7,2);
    lcd.print(Power);
    }
    void Constants()
    {
    lcd.setCursor(0,0);
    lcd.print("Voltage: ");
    lcd.setCursor(0,1);
    lcd.print("Current: ");
    lcd.setCursor(0,2);
    lcd.print("Power: ");
    lcd.setCursor(14,0);
    lcd.print("V");
    lcd.setCursor(14,1);
    lcd.print("A");
    lcd.setCursor(12,2);
    lcd.print("W");
    }
    void ShowVoltage (int x,int y, unsigned int value)
    {
    while (sample_count < NUM_SAMPLES)
    {
    sum += analogRead(value);
    sample_count++;
    delay(10);
    }
    voltage = ((float)sum / (float)NUM_SAMPLES * 5.015) / 1024.0;
    lcd.setCursor(x, y);
    lcd.print(voltage);
    sample_count = 0;
    sum = 0;
    }

  • @dheeraj9932
    @dheeraj9932 Рік тому +1

    Tq sir it was great help for my project work ❤

  • @jayaprasadb2044
    @jayaprasadb2044 3 роки тому +2

    Hello sir very good video

  • @darshanhs1932
    @darshanhs1932 3 роки тому +1

    Why you used voltmeter for measuring the current??

  • @me.shreyash
    @me.shreyash 3 роки тому +1

    Email received, Thank you sir

  • @nazifakhan4132
    @nazifakhan4132 3 роки тому +2

    Which parameters did you use? Can you please share the files with me?

    • @ElectronicsDeveloper
      @ElectronicsDeveloper  3 роки тому +1

      Here, we are measuring voltage, current and Power in watt. Ping us on our email or drop your email address will share files over there

  • @rizkyakbaryuzakhri2451
    @rizkyakbaryuzakhri2451 Рік тому +2

    sir,can you send code file?please..

  • @terlumunjoseph6779
    @terlumunjoseph6779 2 роки тому +1

    please make another video on how to setup current transformer in proteus

  • @andhikarizkitap
    @andhikarizkitap 2 роки тому +1

    may i have the parameters for this project?thx

  • @hardikajoshi6094
    @hardikajoshi6094 Рік тому +1

    hello, can I get the proteus file

    • @ElectronicsDeveloper
      @ElectronicsDeveloper  Рік тому

      Unfortunately for this project we don't have simulation files, if you did and have an error while playing simulation then share it with us over the email. We will resolve the error

    • @hardikajoshi6094
      @hardikajoshi6094 Рік тому

      @@ElectronicsDeveloper I’m unable to make the proteus circuit and I need it Urgently before 2pm today

  • @bhabanishankardas9800
    @bhabanishankardas9800 3 роки тому +1

    Can you please give me the code that you have written in Arduino. It's very urgent.

  • @jayaprasadb2044
    @jayaprasadb2044 3 роки тому +1

    Sir I'm getting voltage, current and power is zero

    • @ElectronicsDeveloper
      @ElectronicsDeveloper  3 роки тому

      Let me know which components you are selected with details of it

    • @jayaprasadb2044
      @jayaprasadb2044 3 роки тому +1

      @@ElectronicsDeveloper sir i have used same as u used but voltage current and power value is not changing

    • @jayaprasadb2044
      @jayaprasadb2044 3 роки тому +1

      @@ElectronicsDeveloper do we need to change something in order get variable value

    • @ElectronicsDeveloper
      @ElectronicsDeveloper  3 роки тому

      i don't know what you are doing wrong, Share simulation file to us on our email

    • @jayaprasadb2044
      @jayaprasadb2044 3 роки тому +1

      @@ElectronicsDeveloper pls give ur email

  • @hussainisuraj4416
    @hussainisuraj4416 2 роки тому +1

    Can i get Gsm base prepaid energy meter source code

  • @nitika__650
    @nitika__650 2 місяці тому +1

    Plz share the simulation file and code 🙏

    • @ElectronicsDeveloper
      @ElectronicsDeveloper  2 місяці тому

      Unfortunately for this project, we don't have simulation files

  • @muhilas5660
    @muhilas5660 8 місяців тому +1

    I have some issues in coding sir

  • @satyakimukherjee8601
    @satyakimukherjee8601 2 роки тому +1

    Can you please give me the Proteus file

    • @ElectronicsDeveloper
      @ElectronicsDeveloper  2 роки тому

      Will share simulation file over the email so that you need to ping us on email

  • @polar7569
    @polar7569 3 роки тому +1

    Can you send the code and proteus file, please.

  • @ahmedmohammed4755
    @ahmedmohammed4755 3 роки тому +1

    can you send the arduino code please and what's VoRs ? how can i get it ?

    • @ElectronicsDeveloper
      @ElectronicsDeveloper  3 роки тому

      Source code is already shared in comment section of the video

    • @ahmedmohammed4755
      @ahmedmohammed4755 3 роки тому +1

      where is it ?

    • @ElectronicsDeveloper
      @ElectronicsDeveloper  3 роки тому

      @@ahmedmohammed4755 check out the comment section. Try to apply filter (Newest first) if necessary, definitely you will get it

    • @nazifakhan4132
      @nazifakhan4132 3 роки тому +1

      Did you get the files? Can you please share them with me? I'll be really grateful. Thanks.

    • @ElectronicsDeveloper
      @ElectronicsDeveloper  3 роки тому

      Ping us on our email will share files over there

  • @arahmankabir8405
    @arahmankabir8405 3 роки тому +1

    Can you please give me the code.

    • @ElectronicsDeveloper
      @ElectronicsDeveloper  3 роки тому

      Can please check it out by applying filter "Newest comments first"

  • @rifatulislam8442
    @rifatulislam8442 3 роки тому +1

    Sir, can i have the project file and the Arduino code please.

    • @ElectronicsDeveloper
      @ElectronicsDeveloper  3 роки тому

      Source code already shared in comment section of video

    • @rifatulislam8442
      @rifatulislam8442 3 роки тому +1

      @@ElectronicsDeveloper sorry sir I can't find the code..
      Sir can you please send the code and simulation file to islamrifatul922@gmail.com

    • @ElectronicsDeveloper
      @ElectronicsDeveloper  3 роки тому

      Sure you will get it soon

    • @ElectronicsDeveloper
      @ElectronicsDeveloper  3 роки тому

      @@rifatulislam8442 Please checkout your email inbox recently source code shared over there but simulation file for this project no longer available

  • @mayoortechinnovations
    @mayoortechinnovations 2 роки тому +2

    Please am having some issues with a similar project that am working on please can you assist me and look at my code for possible corrections ?

  • @Zurenio
    @Zurenio Рік тому

    Error... your measures are not rms ....!!

  • @salmash4522
    @salmash4522 3 роки тому +1

    Please can u share with me the code it is very urgent !!

  • @pranavkimothi53
    @pranavkimothi53 3 роки тому +1

    please provide the simulation file and code

    • @ElectronicsDeveloper
      @ElectronicsDeveloper  3 роки тому

      If you check comment section of video then you will get source code of this project and for simulation file ping us on email

    • @pranavkimothi53
      @pranavkimothi53 3 роки тому

      Its not available in the comments.
      Please mail at pranav123433@gmail.com

    • @pranavkimothi53
      @pranavkimothi53 3 роки тому +1

      @@ElectronicsDeveloper please 🙏

    • @ElectronicsDeveloper
      @ElectronicsDeveloper  3 роки тому

      You will get it soon

    • @ElectronicsDeveloper
      @ElectronicsDeveloper  3 роки тому

      @@pranavkimothi53 Please, checkout your email inbox recently files are shared over there

  • @jayaprasadb2044
    @jayaprasadb2044 3 роки тому +1

    Its not changing sir

    • @ElectronicsDeveloper
      @ElectronicsDeveloper  3 роки тому

      Make sure your project's schematic connections are properly with same value

  • @rajasekharchinnam5505
    @rajasekharchinnam5505 3 роки тому +1

    Pls... Send the code and proteus file.. Sir its adjent

  • @victoriaa2801
    @victoriaa2801 3 роки тому +1

    Hi, can you send me the Arduino code please.

  • @rajsawant5389
    @rajsawant5389 3 роки тому +1

    Can you send me the arduino code please !!

  • @rajasekharchinnam5505
    @rajasekharchinnam5505 3 роки тому +1

    Sir.. Pls send me code sir

    • @ElectronicsDeveloper
      @ElectronicsDeveloper  3 роки тому

      Source code already shared in comment section, please check out. You will get it over email if you have unable to find out

    • @wasibsattar7855
      @wasibsattar7855 3 роки тому +1

      @@ElectronicsDeveloper sir plz share the code with me aadeezg8@gmail.com

    • @ElectronicsDeveloper
      @ElectronicsDeveloper  3 роки тому

      Sure, you will get it soon

    • @ElectronicsDeveloper
      @ElectronicsDeveloper  3 роки тому

      @@wasibsattar7855 checkout your email inbox recently files are shared over there

  • @nazifakhan4132
    @nazifakhan4132 3 роки тому +1

    Can you please send me the files for this project? It will be really helpful.

    • @ElectronicsDeveloper
      @ElectronicsDeveloper  3 роки тому +1

      Source code already shared in comment section of video

    • @asaadkhan3966
      @asaadkhan3966 3 роки тому +1

      @@ElectronicsDeveloper where is it. I can't find

    • @ElectronicsDeveloper
      @ElectronicsDeveloper  3 роки тому

      Try apply the filter Newest comment first, you will get it there

    • @ElectronicsDeveloper
      @ElectronicsDeveloper  3 роки тому +1

      @@asaadkhan3966 you will get it soon

    • @asaadkhan3966
      @asaadkhan3966 3 роки тому +1

      @@ElectronicsDeveloper I still don't get it. It's will be very helpful if you can send me as soon as possible. Thanks.

  • @ahmedmohammed4755
    @ahmedmohammed4755 3 роки тому +1

    can i dm you ?

  • @prakashvinukonda329
    @prakashvinukonda329 3 роки тому +1

    sir,
    Can you send the code and proteus file, please?

    • @ElectronicsDeveloper
      @ElectronicsDeveloper  3 роки тому

      You will get it over email only so ping us with your email address on any social media platforms