Menu

Nextion display baud type

Help
Haroen
2021-04-20
2021-04-21
  • Haroen

    Haroen - 2021-04-20

    Hi,
    I've been working on how to integrate the Nextion display in my projects.
    I read that the baudrate default 9600 can be changed, but can't find anything about the
    Nextion display baud type True (IdleHigh) or Negative(IdleLow).

    Is it default T or N?
    Or does it recognizes the baud type itself?

     
  • Anobium

    Anobium - 2021-04-20

    May I ask a few questions first?

    Have you used serial comms with Great Cow BASIC before?
    What chipset are you planning to use ? PIC, AVR or LGT?
    Are you planning to use hardware or software serial (depends on chipset selected) ?
    Have you reviewed the YouTube videos I posted on Nextion ?

     
    • Anobium

      Anobium - 2021-04-20

      I ask because - BPS is not a design constraint - you need decide and then setup the Nextion with your Great Cow BASIC source program BPS.

      T or N - This is governed by the Nextion. It is True but even if you want to use iNverted then you need to choose a chip capable of inverting (not all do, many do not) or use software serial.

      The Nextion determines the BPS etc. You would set that parameter in the Nextion and then match in your program.

      Using software serial will require the development of software serial libraries to support the Nextion Touch Capabilities.

      I would use the LGT. It is the faster processing chip available - has two serial (not sure if we have tested the second serial but this will be a simple job to resolve).

       
  • Haroen

    Haroen - 2021-04-20

    Thanks for the reply Anobium,
    To answer your questions
    1) not yet
    2) not decided yet, did not knew LGT is now official a gcb supported chip
    3) not decided yet, depends on point 2, chip dependent
    4) yes, but not tested that yet

    It is like I said, how to integrate the nextion display in my "existing" projects.
    Non gcb chips and code should then be replaced/converted to gcb.

    In Picaxe baudrate is set also by selecting True or iNverting.
    Some info is essential before converting projects to gcb.
    Is Nextion default 9600N or 9600T?

     
  • Anobium

    Anobium - 2021-04-20

    I have not used N or T for years.

    Assume that Nextion is not inverted.

    LGT is the way to go.

     
  • Haroen

    Haroen - 2021-04-21

    Thanks for the clarification Anobium :-)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.