53- Project 2 Automatic Temperature Control, part 4 | mikroC Pro for PIC Tutorial

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

КОМЕНТАРІ • 40

  • @StudentCompanion
    @StudentCompanion  4 роки тому +2

    If you found this video useful, please give it a thumbs up 👍 and subscribe to the channel. Also, let me know what topics you want me to cover in future videos by commenting below.
    By simply liking the video or a short comment like Thanks, helps this video in UA-cam algorithm to be found by others. It helps us a lot.

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

    most outstanding project ever on youtube

  • @ahjin1604
    @ahjin1604 8 місяців тому

    Hello sir, I would like to ask why in the case when Temp_Ref == ActualTemp my simulation does not run?

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

    Great tutorial. Thanks

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

    Hi! Can you help me with the pcb file? I can't find the microcontroller in Eagle and if I put another one, it not match the pins. Thank you! Have a great day.

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

      Hi. Do you want the Gerber files to build your PCB or Eagle files? If you need Gerber files they can be downloaded from this link at the bottom of the article: www.studentcompanion.co.za/automatic-temperature-control-system-using-pic-microcontroller-flowcode/
      If you need Eagle files, please ask your question in the forum on our website, there we can upload files. We can't upload files on UA-cam.

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

      OK, thank you.

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

      You are welcome

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

    plz add some degree of delay between heater & fan switching for not oscillating

    • @StudentCompanion
      @StudentCompanion  5 років тому +2

      You can add it yourself as we explained in the video, there are so many features that can be added to this project, we added what we thought important. You can add what's important to you.

  • @mehmetozdemir7043
    @mehmetozdemir7043 6 років тому +3

    very good educational videos but we need more xc-8 tutorials

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

      Thank you for your feedback. It's from these feedback that we know what you are looking for so that we can plan for the next videos.
      Thanks

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

      What kind of topics you would like to be covered in future XC8 tutorials?

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

      thanks for your quick reply. now i'm trying to switch pbp3 to mplab xc8. your great videos are helping me very much. some graphical display tutorials would be good. one wire protochol examples, rtc ic communication examples.

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

      Ok thank you. Just subscribe to our UA-cam channel and you'll be notified when we upload new tutorials

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

    please can you give me the code because the link is not working any more

  • @keshenanaidu7160
    @keshenanaidu7160 6 років тому +3

    Thanks.

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

    adding humidity sensor to this project will make it complete and relevant to world of innovation pliz consider

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

      Definitely we will consider that. Thanks for your suggestions.

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

    AWESOME!!!❤💕

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

    Sir, what to choose mp lab, micro c or flowcode, from where to start im beginer

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

      It's difficult to suggest. Only you can make that decision based on your affordability and your future plans. Generally for beginners Flowcode is the easiest to learn and understand the basics of microcontroller programming. The next is mikroC and last is MPLAB. So try watching at least 2 tutorials of each covering the same topic and see where youcan start. Use the tool that you can understand easily and continue with it untill you require to use a different tool in the future. It wont be difficult to switch to a different tool once you master the basics.

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

    hey sir ? may u share the coding for PIC 16F877a temperature control system at computer room

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

      Hi. There are some few changes, please read this discussion for more information: www.studentcompanion.co.za/forums/topic/is-there-any-changes-on-the-code-if-i-change-it-to-pic16f877a/

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

      Or this one: www.studentcompanion.co.za/forums/topic/can-i-use-pic16f877a-as-the-microcontroller-for-automatic-temperature-control/

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

    hey sir can u share the code with me please ?

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

    you trigger the buzzer when actual value greater than 40. I want replace 40 by any numbers those I type in from keypad.
    Lcd_Cmd(_LCD_CLEAR); // Clear display
    Lcd_Out(1, 4, "Set Alarm");
    buzzer = 0;
    Lcd_Out(2, 1, "Alarm: ");
    while(1)
    {
    do
    kp = Keypad_Key_Click(); // Store key code in kp variable
    while (!kp);
    if ( kp == ENTER )break;
    if (kp > 3 && kp < 8) kp = kp-1;
    if (kp > 8 && kp < 12) kp = kp-2;
    if (kp ==14)kp = 0;
    if ( kp == CLEAR )goto START;
    Lcd_Chr_Cp(kp + '0');
    buzzer =(10*buzzer) + kp;
    }
    Lcd_Cmd(_LCD_CLEAR);
    Lcd_Out(1, 1, "Alarm: ");
    intToStr( buzzer,Txt);
    inbuzz = Ltrim(Txt);
    Lcd_Out_CP(inbuzz);
    in main() I compare the error between actual value and temp_ref to inbuzz
    if ((ActualTemp - Temp_Ref) > inbuzz ) //If Temp reaches critical temperature of 40.
    {
    Sound_Play(880, 1000); // Play sound at 880Hz for 300ms
    LED = ~LED ; //Blink LED
    delay_ms(200); //200ms delay
    }
    else
    {
    LED = OFF;
    }
    It's not working. I dont know where im wrong. I hope for your support.

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

      Your inbuzz is string not a number, why are you comparing with a string?

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

      @@StudentCompanion right. I made a dumb mistake haha. It works. Thanks for response. Looking for more projects from you guys. Your channel helps me so much.

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

      You are welcome!
      What was the actual mistake?

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

      @@StudentCompanion yep.inbuzz was string. I changed it to buzzer. buzzer was int type.
      if ((ActualTemp - Temp_Ref) > buzzer )

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

      Great!

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

    include humidity sensor in this project

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

      Ok. We will consider it. We keep on adding features on this project based on new covered tutorials