174 Using the #nextion display with the #arduino without a library

preview_player
Показать описание

Start with the Nextion basic configuration
5:42 Nextion to Arduino
12:20 Arduino basic configuration
17:17 Arduino to Nextion
20:04 NExtion back to Arduino
23:50 Add a Physical button to Arduino and send the command to Nextion
25:20 Float value
28:31 Short recap
30:08 Nextion Debug

Рекомендации по теме
Комментарии
Автор

Thank you so much for your incredible videos!!
You helped me to understand Nextion and Arduino in general so much better

roberto
Автор

Thank you a lot for your videos on Arduino and Nextion touchscreens. Helped me tremendously getting both connected without a library and transmitting data both directions.

franknazari
Автор

love your videos, I've been using your videos for developing my products...

grossengineeringllc
Автор

Thanks for all your great videos and that you always try to come back to us if we have questions.

I managed to come right with most of my code just by watching your videos. I have one small question.

Explanation: I'm running a stepper motor between two set points(set points controlled with the amount of steps.) I've got a number box on the nextion screen that you add a number and once you select start it reads that number value then only move the stepper motor between the set two points for the quantity cycles that was added in the box. (I'm using the nextion.h library). example: One cycle is equal to 100 steps cw and 100 steps back in ccw then repeats for the amount of cycles you enter into the number box.

The code I'm using to move the stepper is the digital write and delay microseconds methode. And the quantity code is
unit32_t count=0;
Quantity.getValue(&count);
For(int i=0; i <count; i++)

I run the nexLoop(nex_listen_list) in the loop section. With the rest all in functions

Now my question.
If this cycle runs for example 10 cycles. I've got a top and bottom limit switch. I want to interrupt the cycle at any stage, for example if its busy with the 5th cycles out of the 10 and I press "end cycle button" on the nextion screen, it needs to finish the cycle in progress and come to a stop at the bottom limit switch without finishing the entire 10 cycles and wait for another function to be given by the nextion. How would one go about this? I'm stuck with this one...

Thanks for your help

ApexProtectionSA
Автор

I subscribed to your videos ages ago. They've given me tremendous help - thank you! - given the general lack of any meaningful help from Nextion. One thing I'd love is that Nextion address their truly horrible white space intolerant, ";" hating version of "C" along with providing some means to embed functions. i.e if they just made their "C version" actually, well, C? As is. It's a horrible bastardised mess. You do get used to it - but afterward feel like you need a long hot shower with plenty of soap.

AlbertDongler
Автор

As clear and well explained as always, thanks a lot! I have one question: why do you put everything you're sending from the arduino to the nextion inside the AsyncDelay?

DianaMartinez-sujh
Автор

😊just discovered your vids, maybe you address in one I’ve not seen yet, but curious why you prefer not using Nextion library.

chuckv
Автор

I appreciate your videos, but I'm not real keen on your Nextion Editor screen layout used in the videos... I use the normal layout, so it's confusing to try to follow what you are doing, when I expect a normal layout.... that, and the overly magnified cropping used doesn't show enough of the editor.

Just some thoughts about possible ways to make it easier for us to follow along with you 🙂

beforebefore
Автор

Best tutorial on nextion display,
Can you please make a tutorial with nextion and ultrasonic sensor? Thank you

mahefaranja
Автор

One more thing... Would it be possible for you to increase your audio level? I have to run my volume to absolute maximum to hear you, but when an ad plays in the middle of the video, it blasts my ears from the high volume... it's a huge difference between normal YouTube videos and yours.
Again, I really appreciate the content, but just trying to help you improve.

beforebefore
Автор

Love all your videos, I use nextion with ESPHome and Homeassistant which with the advent of the Sonoff NS Panel the nextion has exploded in popularity in those communities.
I'm using a Nextion Intelligent at present and wondering if you know how to or if it's even possible to upload .png files over serial to the SD card. One of the biggest drawback to these displays is the inability to render a picture from ESPHome http folder - my use case would be to display a snapshot saves in a local folder on my Homeassistant url when the doorbell rings.
Thanks in advance if you have any clues or ideas

simonburke
Автор

my nextion display got bricked during a fw update, can i buy new nextion and dump the .bin flash to the bricked one ?

TECHNO_TURK
Автор

I want like this. Can I have HMI File please?
I can't write it myself
I have no knowledge
Add a Physical button to Arduino and send the command to Nextion
ขอบคุณมากครับ
Vidio 24:50

jittaweemetesirorat
Автор

I can only press button arduino off.
cannot
on
😭😭😭

jittaweemetesirorat
visit shbcf.ru