Home automation design and development by using Keil with Proteus simulation

Поділитися
Вставка
  • Опубліковано 14 гру 2024
  • Home automation design and development 8051 micro-controller using Keil with Proteus simulation

КОМЕНТАРІ • 47

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

    What if we want to change two of LEDs with fan??
    What changes does code required ??

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

    Not connected to the Vertual terminal screen so how the output can reach I think you did other things which is not in this video

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

    Sir my virtual terminal is not opening

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

    Source code which worked with me if anyone is having problems due to the working (it works for individual lamps ON/OFF only):
    #include
    sbit fan = P1^0;
    sbit light = P1^1;
    sbit television = P1^2;
    sbit machine = P1^3;
    unsigned char x;
    unsigned int l;
    unsigned int w;
    int j=0;
    unsigned char *str;
    unsigned char *Charin;
    unsigned char *p;
    //added
    void Serialwrite(char byte)
    {
    SBUF=byte;
    while(!TI);
    TI=0;
    }
    void Serialprintln(char *p)
    {
    while(*p)
    {
    Serialwrite(*p);
    p++;
    }

    }
    void Serialbegin()
    {
    TMOD=0x20;
    SCON=0x50;
    TH1=0xfd;
    TR1=1;
    }
    void main() {
    P1 = 0x00; //input ports
    Serialbegin();
    l=0;
    while(1) {
    while(RI==0);
    *Charin=SBUF;
    *str = *Charin;
    RI = 0;

    if(*str =='a')
    {
    fan = 1; //turn off, set the input to Relay 1 as low
    }
    else if(*str =='b')
    {
    fan = 0; }
    else if(*str =='c')
    {
    light = 1; }
    else if(*str =='d')
    {
    light = 0; }
    else if(*str =='e')
    {
    television= 1; }
    else if(*str =='f')
    {
    television = 0; }
    else if(*str =='g')
    {
    machine = 1; }
    else if(*str =='h')
    {
    machine = 0; }
    else if(x=='i')
    {
    //fan = light = television = machine =1;
    fan = 0;
    light = 0;
    television = 0;
    machine =0;
    }
    else if (x=='j')
    {
    //fan = light = television = machine =0;
    fan = 1;
    light = 1;
    television = 1;
    machine = 1;
    }
    }
    //str = 0;
    }

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

      UPDATE:
      change the variable in the last two else if statements from x to *str

  • @baluveeramallu6546
    @baluveeramallu6546 6 років тому +2

    Sir,I had done as you done in video,In terms of code,connections on proteus but there is no response in my Proteus animation.Can you please convey me the problems behind it.

    • @seshanandareddy6078
      @seshanandareddy6078 6 років тому

      I dont know what is your problem, do screen shots and send me mail ysnanda45@gmail.com. TQ

  • @muhammadumair486
    @muhammadumair486 18 днів тому

    My virtual machine run but don't take and display a entered number . I have written same code and circuit

  • @Mdeasak-dh3om
    @Mdeasak-dh3om 5 років тому

    superb explanince

  • @bennycolins4069
    @bennycolins4069 5 років тому

    Is their any need for a special function for delay

  • @pankajsaha5796
    @pankajsaha5796 4 роки тому +1

    Sir, i have a project, can u write a code for me? And what is the condition

  • @PardeepLabVIEW
    @PardeepLabVIEW 6 років тому

    Thankuuuu sooo much sir ji

  • @dattathreyababur7025
    @dattathreyababur7025 4 роки тому +1

    Tq so much sir

  • @Hirenpanchasara
    @Hirenpanchasara 4 місяці тому

    sir how to use 74hc164 matrix keypad

  • @tabjulagagan1587
    @tabjulagagan1587 4 роки тому

    Virtual terminal is not taking values from keyboard how to make it take values?

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

    Hello a learning room.
    Thank you for the video. I'd followed all the steps from the video but I am not getting the expected output. Actually, there's no change in the circuit after typing the inputs in the virtual terminal. Even the virtual terminal wasn't working until I checked the option of Echo Typed Characters. I need help with the same.

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

      Do u get the output now? Have your project is completed?

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

    hi i have done everything and everything is done till the end. only thing is when i type 2 or 4 in the virtual terminal nothing happens to the bulb or relay can you help me with this

  • @gajananmuttepawar873
    @gajananmuttepawar873 5 років тому

    Thank you.... it's great

  • @BABATECHNICALKNOWLEDGE
    @BABATECHNICALKNOWLEDGE 5 років тому

    Sir plz is video ka 8051 with GSM modules and LCD relay control code and circuit diagram ka link Dall dejiea

  • @mohamudabdulahi3086
    @mohamudabdulahi3086 4 роки тому +1

    thanks sir this is very very interesting bt we need the code

  • @anitham.v4322
    @anitham.v4322 6 років тому +1

    sir using this procedure I can't connect the virtual terminal..

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

    Hii sir my code not working means when i gave input there is no change in relay or bulb.

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

    can anybody provide me the link for version 3 because im not getting it anywhere

  • @parbinsultana2103
    @parbinsultana2103 4 роки тому

    Can you please share the full program video or link pls

  • @shahzadbashir609
    @shahzadbashir609 7 років тому

    what language does use for programming?

  • @LearnForFreeWithPNG
    @LearnForFreeWithPNG 4 роки тому

    Despite of adding 'RI=0' my virtual terminal is typing numbers infinitely. Please suggest modification. Anyone. Please 🙏

  • @sagargujral8835
    @sagargujral8835 6 років тому

    may i get the prteus n kiel software link want to this progrming so can u.plss hlp me i that

    • @seshanandareddy6078
      @seshanandareddy6078 6 років тому

      Give me your mail id .. i will send tolls . Thank you

    • @seshanandareddy6078
      @seshanandareddy6078 6 років тому

      drive.google.com/open?id=10s4rEGCFilVMyB2WJmNP3gbp14g4oVSp
      drive.google.com/open?id=1uuUODCihj7583H_i4pYIMO9yr3386fo2

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

    sir i am getting error in code "" error C202 : 'load4': undefined identifier""
    pls help me to fix it.

  • @JohnBusiness-i5o
    @JohnBusiness-i5o Рік тому

    Please share me the proteous software download link or zip file

  • @jiteshyadav235
    @jiteshyadav235 5 років тому +1

    sir can you send program code

  • @asilpasha8112
    @asilpasha8112 7 років тому

    I am getting unknown characters if I pressed 1 or 2 or 3 etc in virtual terminal. Solution please

    • @JaydeepKhopkar
      @JaydeepKhopkar 6 років тому +1

      Change microcontroller clock frequency from 12MHz to 11.0592MHz

  • @saibabuatmala9521
    @saibabuatmala9521 6 років тому

    Need the Proteus and program file can u provide now

  • @fennyshah1527
    @fennyshah1527 6 років тому

    can you provide the file please?

  • @RaushanKumar-kl4vu
    @RaushanKumar-kl4vu 3 роки тому

    Sir can you send me proteus simulation soft copy file 📂 with me.

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

    sir kindly provide the file

  • @anitham.v4322
    @anitham.v4322 6 років тому

    sir using this procedure I can't connect the virtual terminal..

    • @seshanandareddy6078
      @seshanandareddy6078 6 років тому

      send me problem by doing screen shot to mymail ysnanda45@gmail.com