![]() This suggests a resistor in the Nextion TX line is only required for the Intelligent displays. Update: I just came across this post in the Nextion forum: Happy Thanksgiving!, and I'm looking forward to seeing everyone in the sessions. For the projects I present you'll get the PNG files, and I'll give you the SVGs that you can modify if you want to do that.Īttached to this message is a connection diagram and a couple of preview graphics for projects that will be part of the presentation. It's free, easy-to-use, and will create PNG files that are used by the display. I really like creating nice displays, and for the "art" side of things I use Inkscape. The P2 TX pin can be connected directly to the display. You'll need a M-M cable to go from the downstream side of the resistor to the P2 RX pin. If you're using "the JonnyMac" connect the blue TX line from the Nextion to one of the 3-pin headers (signal line). When connecting to the P2 (or P1), remember to put a resistor in the TX line from the Nextion because this has a resting state of 5V (3.3K to 10K is fine). This has a jumper to set Vcc to 5V (needed for the Nextion) or 3.3V, and male headers that connect directly to the Nextion's cable. ![]() You probably have a USB-to-Serial adapter that provides 5v that you can use to run the Nextion directly from your computer while working on HMI development. There are two ways to get code into the Nextion: though a serial link, or with a microSD card. By working through some examples together, you'll get the hang of it. It's a simplification, which means for some things we have to do a bit of work. ![]() The scripting language used looks a bit like C, but doesn't follow all of C's rules nor syntax. Like any other coding, though, planning is really important. The Nextion requires a bit of programming, but it's not difficult. That said, by big ego thinks that once you've sat through my session, you'll understand how to lift good ideas from projects using other processors for your own. There are a few folks out there providing reasonable information about using the Nextion, but most online tutorials are for the Schmarschmino, not the Propeller. My goal for the first session is to save you hours of watching videos on YouTube (unless you want to). It would be useful to have essential prototyping parts, too - things like pots, resistors, buttons, LEDs, etc. Ken is creating kits to simplify ordering. Week 3: Bringing it all together with a simple touch-screen lighting controller Week 2: Reviewing protocols: Async Serial, I2C, "Smart" LEDs Week 1: The Nextion HMI - Programming the 9th Cog Information and registration link can be found here:Ī: No worries! We'll move slowly and make sure that nobody is left behind. This will be a review of P2 programming in Spin, and we'll work with the some specific hardware. You've probably seen the announcements, but we're going to do this over a 3-week period in December. thanks a lot, guys.Life has been very busy lately, but I was happy when Ken reached out and asked if I would jump back to do P2 presentations. SoftwareSerial mySerial(10, 11) // RX, TXįloat man,s,v1,b, R, a, c, L, M, N, Rrefer = 10, sum=0 i want to block that unidentified serial string. but I also received another unexpected value. for now, my communication is a success in sending and receiving. I'm trying to send and receive data from nextion 2.8-inch display.
0 Comments
Leave a Reply. |