6- Interfacing LCD Display with PIC Microcontroller | Flowcode Beginners Tutorial

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

КОМЕНТАРІ • 111

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

    Get 20% OFF when you buy or upgrade Flowcode (any Packs) by using this discount code: SComp20
    at Checkout: www.flowcode.co.uk/buy/?
    Contact us for more information

  • @rostlaur
    @rostlaur 11 років тому +6

    These are the most important: The essentials, where pleasure and imagination are so important to stimulate. Thank you for your precious work.

    • @StudentCompanion
      @StudentCompanion  11 років тому +3

      Thank you Robert we will try to even improve more in our future tutorials

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

    I will tell you again that your videos are the most understandable and educating on the entire UA-cam because you try not to leave any stone unturned coz you explain clearly everything for a super novice to understand.PLEASE MAKE VIDEO ON HOW TO USE INTERRUPTS in flowcode v5.Thanks keep up the good work may The Almighty God Bless you.

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

      Thank you. We appreciate your feedback. And thanks a lot for watching our videos.

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

      Here is the video how to use interrupts: ua-cam.com/video/qPoMb8hmS44/v-deo.html

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

    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.

  • @TheAmazingNjut
    @TheAmazingNjut 11 років тому +7

    Thanks for another great video ! And by the way I love your accent ;)

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

    straight forward working project

    • @studentcompanionsastudentc4850
      @studentcompanionsastudentc4850 9 років тому +4

      Thanks Daniel

    • @dsimiyu520
      @dsimiyu520 9 років тому +5

      waiting for complete projects from you guys

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

      Daniel Simiyu Here is a complete project the Digital Thermometer with Flowcode part 1 and part 2: ua-cam.com/video/lLpbDDIDc0Y/v-deo.html
      Here is another one Digital Thermometer with MPLAB XC8 part 1 and part 2 as well: ua-cam.com/video/lrMXX-qBGlU/v-deo.html
      And in this week, we will upload a complete Automatic Temperature Control project

  • @amikhimji
    @amikhimji 11 років тому +4

    Great video thanks you are a good teacher

  • @segarlinktech
    @segarlinktech 7 років тому +1

    hi, student companion yes you are correct , thank you for your support appreciate , thank you very much

  • @milek021
    @milek021 11 років тому +6

    Do You have any idea about LCD connected via i2c (TWI ) ? Those IC's like pcf8574 or mcp23008 ( I2C port expanders ) are used for i2c LCD's but don't know how to work with those in flowcode... ? Any help would be much appreciated, thanks.

  • @segarlinktech
    @segarlinktech 8 років тому +2

    Hi, student companion, i have try to connect in LCD and do programming in FC7 its works well after i watching 3-times your video programming in the FC. thank you very much for this video. and hope you can make more video. in the MODBUS,CAN,I2C THANKS STUDENT COMPANION

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

      +segarlinktech thanks for your feedback. We appreciate. We will record more.

  • @breezy9013
    @breezy9013 9 років тому +5

    will the proteus simulation work without the external osc?? and what are the capacitors for?

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

      brilliant khulekani Ndhlovu The problem is not if proteus simulation will work, but your hardware will work. If in your PIC configuration you used internal Oscillator, then you don't need to have an external oscillator, but if you selected to use an external oscillator, then you must have the external oscillator. Your circuit won't work without it.
      You asked the role of the capacitor? You know every oscillator works with capacitors, they are part of the oscillator.
      Read this article to learn more on oscillators: www.studentcompanion.co.za/introduction-to-microchip-xc8-compiler/
      Watch this video to learn how to select either internal or external oscillator with Flowcode: ua-cam.com/video/-lDFfeY8LZQ/v-deo.html

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

  • @maynay14
    @maynay14 11 років тому +5

    muchas gracias por este video con lcd en flowcode saludos

    • @StudentCompanion
      @StudentCompanion  11 років тому +4

      You are welcome! And many more are comming...

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

    another question.
    Do you know about the ESD protection of LCDs?
    many lcd I have purchased have not passed ESD tests.

  • @amikhimji
    @amikhimji 11 років тому +5

    Great video thanks

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

    bonjour,
    pour lcd et flowcode, tu utilises le port B d'un 18F2220
    pourrait-on utiliser le port C d'un pic 16F876 et faire les raccordements:
    LCD PIC
    (11) D4 RC0
    (12) D5 RC1
    (13) D6 RC2
    (14) D7 RC3
    (4) Rs RC4
    (6) E RC5
    Merci pour ta réponse
    Christian

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

    How to connect Lcd to Serial (or spi) in Flowcode?
    I couldn't find a video or a lesson about it.

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

      How are settings made in Flowcode? know parallel connection. however, there is no information about the serial connection

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

      Hi, if you are using Flowcode v6, v7 or v8, it's simple, under the Displays component group select LCD (I2C), this is a serial LCD. In the component properties, the SDA and SDL pins will be selected automatically to the corresponding I2C pins on your PIC.

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

      @@StudentCompanion thank you so much
      this information will benefit me very much.

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

      You are welcome

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

      In the component properties if you click on help, there are information

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

    Your video is great to understand and learn, this video is represented design base on 4 bit dateline to LCD. Can you make video i2c LCD function is will very helpful for us and other people thank you.

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

      Thanks for your feedback. We will definitely record one video of I2C LCD.

  • @segarlinktech
    @segarlinktech 8 років тому +2

    hi, this is for flow code programming ,how to do wiring connection in the MCU . and which pin to which pin its connected base on this LCD programming in the FC? THANK YOU

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

      +segarlinktech What do you mean? Everything is explained in the tutorial.

    • @segarlinktech
      @segarlinktech 8 років тому +1

      in this video you have explain about programming in the FC6 and the wiring connection of LCD With device MCU,in Protues software its working when i saw your video. I am using FC7 and do programming exactly from your video, in the FC7 simulation its works, But when i do in physical in prototype or in the Protues Software simulation its not works, and i keep on checking MCU to LCD Data pin connection accordingly in the FC7 ,have something wrong, the PIN Connection Shows in the FC7 from MCU to LCD. this is what makes error and not working. this what i asking how the wiring connection,I follow the FC7 pin connection and test its not work. so do how to settle this problem ,need help from some like you or other people any one

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

      +segarlinktech check properly how you configured your pins in Flowcode and how you connect them in Proteus especially the E, RS and R/W pins. Which lcd are you using? The 16x2...?

  • @solomonkojah2378
    @solomonkojah2378 8 років тому +4

    hi.
    I have followed the tutorial on lcd but i keep getting an error. is there anything i need to add,
    say maybe libraries?

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

    Hi I need help.I am trying to scroll the one line of LCD 2x16 and one line want to static but I am not do so in Flowcode Please help me.

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

    Hello, I have a question regarding scrolldisplay function. I would like to keep the string on the first row in the same position and only scroll the string on second row. How do I do it?

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

      Hi. You can't. When you scroll either left or right, you are shifting the whole display not only a specific row. The way to achieve what you want to do is to scroll then display the same string on first row to your new screen position

  • @segarlinktech
    @segarlinktech 7 років тому +1

    hi, student companion , i have post the my proteus connection MCU & LCD port connection, is there any mistake in the connection ? thank you

  • @segarlinktech
    @segarlinktech 7 років тому +1

    hi, student companion i have watching few video you have posted in you tube its good for learner and its very help full . recently i have write program in FC7 lcd display 16x4 . i have error when i do simulation in PROTUES 8.5 ,but in the FC7 Simulation its works the display as well. I facing error in the PROTUES Simulation its no any character in the display when i do simulation in protues,and i have download the HEX file in the my real hardware also its same blank no character in the LCD Display 16x4 lcd. I have analyse the circuits in the protues all is in correct connection the port and the Enable,RS,RW , i am using 4bit data connection. is there any setting in the FC7 when do configure? please advise thank you

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

      +segarlinktech how is your lcd connections in Proteus and in Flowcode? Describe to which port/pins

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

    hello sir how i can print time on lcd 16x2 in flowcode .Please give me some example

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

    Hi.Top the line static and second line will scroll in flowcode Please help me

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

      As I have explained to you many times. It's impossible. When yiu scroll everything moves.

  • @bahaeddine101
    @bahaeddine101 10 років тому +4

    how to download the full version ?

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

      You must buy a license from www.matrixmultimedia.com/flowcode.php to get a full version.

  • @kajahussainarx
    @kajahussainarx 10 років тому +6

    which version are you using??

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

      We are using Flowcode for PIC V5

    • @kajahussainarx
      @kajahussainarx 10 років тому +2

      Do you know how to interface LCD in v4 for avr

    • @kajahussainarx
      @kajahussainarx 10 років тому +1

      If you can upload one video please upload it

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

      Which video you are talking about?

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

      kaja hussain We haven't used AVR before but I suppose, it shouldn't be very different to interfacing using a PIC

  • @segarlinktech
    @segarlinktech 7 років тому +1

    +segarlinktech yes we saw your message on Facebook. We have observed you used a 16x2 LCD in Flowcode but you used a different a 16x4 LCD in Proteus. You must use the same model in Flowcode and in Proteus. ( if i use 16x2 also its same no character display)

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

      +segarlinktech Ok. Zip your flowcode and Proteus files and send them to us. We will have a look and see why your project is not working.

  • @bitahwabindu7252
    @bitahwabindu7252 8 років тому +3

    Great!

  • @segarlinktech
    @segarlinktech 7 років тому +1

    connection from MCU to LCD
    MCU LCD
    PORTB.0 DATA0 (11)
    PORTB.1 DATA1 (12)
    PORTB.2 DATA2 (13)
    PORTB.3 DATA3 (14)
    PORTB.4 RS (REGISTER SELECT) (4)
    PORTB.5 E (ENABLE) (6)
    this is my connection in the PROTUES 8.5 and the Flowcode7 programming software ,please advice STUDENT COMPANION thank you

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

      +segarlinktech It's not clear the way you describe it here. Can you take a screen shot of your proteus circuit and a screen shot of your lcd connection in Flowcode. Send us those screen shot on Facebook or email

  • @segarlinktech
    @segarlinktech 7 років тому +1

    hi,student companion i have watching in you tube one of the video same problem as what i am facing in the LCD projects below is the link of you tube video please watching this .Problem Display Lcd Flowcode And Proteus.mpeg

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

      +segarlinktech you didn't post the link. Post it again so we can have a look at it

  • @segarlinktech
    @segarlinktech 7 років тому +1

    I HAVE POSTED FEW TIMES ,THE CONNECTION AS WELL

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

      +segarlinktech we are waiting for your Facebook message ir email

    • @segarlinktech
      @segarlinktech 7 років тому +1

      how to i connect you in facebook student companion

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

      +segarlinktech +segarlinktech we hope you found us on Facebook

  • @segarlinktech
    @segarlinktech 7 років тому +1

    i not receive your reply in face book or in you tube

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

      +segarlinktech we have replied to you. We don't reply immediately all the times because we are busy with other work.

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

      +segarlinktech Hi. We've checked your Flowcode project. You did not initialize the lcd. Before you use the lcd, you must initialize it first as described in this video by calling the component macro and select lcd Start. Put this lcd start on top of your loop so you can only call it once.

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

    thank you very much
    sorry my sir
    please download your file projects that you designed by flowcode

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

      Hi. What's wrong with the files?

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

      @@StudentCompanion
      sorry i need your project can you send it
      on this email
      please
      ayadsobhan1992@gmail.com

  • @segarlinktech
    @segarlinktech 7 років тому +1

    student companion,have you see my posted in Facebook ? and i am online in face book as well too. thank you

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

      +segarlinktech yes we saw your message on Facebook. We have observed you used a 16x2 LCD in Flowcode but you used a different a 16x4 LCD in Proteus. You must use the same model in Flowcode and in Proteus.

  • @segarlinktech
    @segarlinktech 7 років тому +1

    i am in facbook student companion

  • @solomonkojah2378
    @solomonkojah2378 8 років тому +4

    sorry, wrong tutorial, im following xc8

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

    Hi I need help.I am trying to scroll the one line of LCD 2x16 and one line want to static but I am not do so in Flowcode Please help me.

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

      Hi. I don't think it will be possible to scroll only one line and keep static the 2nd line of LCD.
      What you can do maybe scroll the top line and repeat the second line.

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

      No only scroll the second line and top line will static

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

      Hi.Top the line static and second line will scroll

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

      It's not impossible. When yoh scroll, tbe whole screen pixel shift to the side.

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

      Not possible

  • @segarlinktech
    @segarlinktech 7 років тому +1

    connection from MCU to LCD
    MCU LCD
    PORTB.0 DATA0 (11)
    PORTB.1 DATA1 (12)
    PORTB.2 DATA2 (13)
    PORTB.3 DATA3 (14)
    PORTB.4 RS (REGISTER SELECT) (4)
    PORTB.5 E (ENABLE) (6)
    this is my connection in the PROTUES 8.5 and the Flowcode7 programming software ,please advice STUDENT COMPANION thank you

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

      +segarlinktech the us the screen shot on Facebook or email

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

    Hi I need help.I am trying to scroll the one line of LCD 2x16 and one line want to static but I am not do so in Flowcode Please help me.

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

      In this video we explained how to scroll the LCD: ua-cam.com/video/sRxIZrUYvxc/v-deo.html

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

      thanks

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

      @@turabrashid2660 You are welcome!

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

      Can it is possible in C compiler ? I see it but i think in flowcode it is not possible .Please tell me

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

      @@turabrashid2660 I think you don't understand how that Display works. As far as I know, it's impossible, it's a hardware thing not programming. As I said, there is a workaround it, put the content of your static line in a variable, scroll the display then display your static content from the variable. From the eye, it will seems like the static text didn't move.
      You can also try other forums maybe somebody else might have a better way of ding it.

  • @segarlinktech
    @segarlinktech 7 років тому +1

    connection from MCU to LCD
    MCU LCD
    PORTB.0 DATA0 (11)
    PORTB.1 DATA1 (12)
    PORTB.2 DATA2 (13)
    PORTB.3 DATA3 (14)
    PORTB.4 RS (REGISTER SELECT) (4)
    PORTB.5 E (ENABLE) (6)
    this is my connection in the PROTUES 8.5 and the Flowcode7 programming software ,please advice STUDENT COMPANION thank you