Nextion LCDs... How to comunicate ???


Closed Thread
Results 1 to 30 of 30

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132


    Did you find this post helpful? Yes | No

    Default Re: Nextion LCDs... How to comunicate ???

    The later IDE support animation and video. Maybe you can include these features also?

    Ioannis

  2. #2
    Join Date
    Feb 2013
    Posts
    1,124


    Did you find this post helpful? Yes | No

    Default Re: Nextion LCDs... How to comunicate ???

    LOL I can't make on screen button to change value on some pin, animations? too early

  3. #3
    Join Date
    Apr 2014
    Location
    OK
    Posts
    557


    Did you find this post helpful? Yes | No

    Default Re: Nextion LCDs... How to comunicate ???

    Quote Originally Posted by Ioannis View Post
    The later IDE support animation and video. Maybe you can include these features also?

    Ioannis
    The "Basic" series doesn't support these features. You must use the "Intelligent" stuff for that. If using higher end Nextion, you may not need the PIC.

  4. #4
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132


    Did you find this post helpful? Yes | No

    Default Re: Nextion LCDs... How to comunicate ???

    Yes, I do have a 10" one to test it. The demo that is loaded is very interesting but they do not have it on-line. Unfortunately I have not figured how one can do such a programming on these LCD's.





    These videos are from the demo 10" capacitive LCD.

    Ioannis

  5. #5


    Did you find this post helpful? Yes | No

    Default Re: Nextion LCDs... How to comunicate ???

    Hi mpgmike.

    Do you have any comments about adapting your example code from the magazine article for a PIC18LF26K80 at 64mhz?

    Not sure if I was allowed to post it here? But it is downloadable from the N&V site.

    Thanks Peter

  6. #6
    Join Date
    Apr 2014
    Location
    OK
    Posts
    557


    Did you find this post helpful? Yes | No

    Default Re: Nextion LCDs... How to comunicate ???

    The article used a PIC16F18426, because that's what I needed for the Small Engine Ignition Timing Controller. Using a PIC18F would require different CONFIGs and probably different SFR bits, but should work otherwise just talking to the Nextion. The K80 doesn't have enough Timers to do the full Timing Controller project.

    As for those videos, just upload 4 or 8 frames of the moving picture. Use the Timer feature (tm0) with a Variable (va0) to track sequence and the vis command to show each picture in sequence. Timer code should look like this
    Code:
    if(va0.val==1)
    {
     vis p0,1
     vis p1,0
     vis p2,0
     vis p3,0
    }else if(va0.val==2)
    {
     vis p0,0
     vis p1,1
     vis p2,0
     vis p3,0
    }else if(va0.val==3)
    .....
    }
    va0.val+=1
    if(va0.val==5)
    {
     va0.val=1
    }

  7. #7
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132


    Did you find this post helpful? Yes | No

    Default Re: Nextion LCDs... How to comunicate ???

    Great! Thanks Mike.

    Ioannis

Similar Threads

  1. Two LCDs on one PIC
    By NavMicroSystems in forum Schematics
    Replies: 6
    Last Post: - 29th January 2013, 06:56
  2. LCDs
    By Demon in forum Adverts
    Replies: 1
    Last Post: - 21st April 2012, 02:14
  3. Two LCDs on one PIC
    By lester in forum FAQ - Frequently Asked Questions
    Replies: 3
    Last Post: - 22nd February 2005, 02:28
  4. Typles of LCDs
    By mslaney in forum General
    Replies: 1
    Last Post: - 16th December 2004, 14:01
  5. Graphic LCDs
    By CocaColaKid in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 20th April 2004, 10:04

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts