LDmicro 15: I2C LCD/DS3231 RTC with PIC16F876 (Microcontroller PLC Ladder Programming with LDmicro)

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ย. 2024

ความคิดเห็น • 19

  • @OnosTech
    @OnosTech  3 ปีที่แล้ว +1

    Tutorial 20 (th-cam.com/video/Tr6mZwcGyh8/w-d-xo.html) improves on programming the I2C LCD and also resolved associated issues with timers, UART, encoder and the 20x4 I2C LCD.

  • @ZawZaw-dz7vi
    @ZawZaw-dz7vi 3 ปีที่แล้ว +1

    Thank you for sharing, waiting for more video (LDmicro IR, RF433 and LoRa)

  • @Dlaba1973
    @Dlaba1973 3 ปีที่แล้ว +2

    Brilliant! Thank you brother. Keep up the good work! God bless.

    • @OnosTech
      @OnosTech  3 ปีที่แล้ว +1

      Thank you! Will do!

    • @roelgritter
      @roelgritter 3 ปีที่แล้ว +1

      Nice clear tutorial, however i will practice your ldmicro tutorials with nano.

    • @OnosTech
      @OnosTech  3 ปีที่แล้ว

      Thanks

  • @kareembaigmohammed7136
    @kareembaigmohammed7136 2 ปีที่แล้ว +1

    Sir I didn't understand one thing how u merged ld micro and Arduino ide

    • @OnosTech
      @OnosTech  2 ปีที่แล้ว

      LDmicro can generate Arduino IDE files when selected from the compile menu. It will be better to compile with methods from LDmicro Tutorial 21 and 22

  • @onoffonofre1545
    @onoffonofre1545 3 ปีที่แล้ว +1

    I did this whole process but I didn't have good results I always copy in hex and save in pic but my programs work in proteus but in practice it doesn't work even a simple counter reading on the lcd is not clear as the readings you present I'm in Brazil apologies for the translation

    • @OnosTech
      @OnosTech  3 ปีที่แล้ว

      Please share details onos.technology@gmail.com

  • @karte2626
    @karte2626 3 ปีที่แล้ว +1

    Another problem is that PORTB.0, PORTB.1, PORTB.2, PORTB.3, PORTB.4 and PORTB.5 have a high level (3-4 DCV) when they are not used in the program. If you have any rung that includes them then they go low (0 DCV) WHEN CONFIGURED AS OUTPUTS.
    PIC16F887

    • @OnosTech
      @OnosTech  3 ปีที่แล้ว

      All Port pins have pull-up resistors by default. You can change that from the "settings" menu of LDmicro with the "Set Pull-up input resistors" option

    • @karte2626
      @karte2626 3 ปีที่แล้ว

      @@OnosTech Shall I write 0x00 in this case? What would you recommend?

    • @OnosTech
      @OnosTech  3 ปีที่แล้ว

      @@karte2626 That should disable all pull-up resistors for that port.

    • @karte2626
      @karte2626 3 ปีที่แล้ว

      @@OnosTech I'll try. Thank you very much!!!

  • @karte2626
    @karte2626 3 ปีที่แล้ว

    Hi:
    I really like working with PIC16F887 and version (build_5411) works pretty well with IC2. This program works quite well.
    Anyway there are few things I hope you can help me out.
    1.- I would like to use PORTB6 and PORTB7 as INPUTS. Every time I program any of those pins as inputs the program does not work at all.
    2.- I would like to write and read registers larger than 255 to an I2C 24LC16B memory.
    I used to program in PBP (PicBasicPro) and doing so was allowed.
    Greetings

    • @OnosTech
      @OnosTech  3 ปีที่แล้ว

      I will verify your first question and revert. For you second question, Jose, the I2C developer may have to be contacted. But I think a new update of LDmicro will provide some way forward.

    • @karte2626
      @karte2626 3 ปีที่แล้ว

      @@OnosTech I appreciate it!!!