#98 Nextion Display - Dual State button connected to Arduino - Nextion Tutorial

preview_player
Показать описание
I show how to control a Nextion display dual state button using an LED output on an Arduino Mega board.

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

These demonstrations of practical applications really are helpful. Thanks.

searchtruth
Автор

Always interesting ideas to get inspiration in the Arduino community thanks for sharing.

xAudio
Автор

Greetings! Thankyou for this wonderful tutorial of yours. I have a question, though. I have a project set up like this: a relay controlled by a nextion display containing two pages, the first one is for the logo and the second is for the buttons. For the buttons, I use a dual-state-butons to control the status of the relay so when you click the button, the status of the relay triggers ON and persists until I click the button again. My problem is that when I go back to the first page containing the logo while a button is clicked on the second page, the status of the button in the second page resets while my relay continues to be ON. So it seems the use of dual state buttons is compromised. Do you know what should i do to to fix my problem? Thank you for your insight.

almagnejandelarmente
Автор

This is such a great tutorial! Im having touble finding the files for download. I found the video in the old website, but there are no links for downoading files, am I looking for them in the wrong place?

DianaMartinez-sujh
Автор

Hi. great work with all the videos!
Hope you can help... I am trying really hard to find a video to see 2 dual-state buttons turning on 2 separate LEDs. This is all I will need in my project for now, but I can't find how to do this. I find many videos of how to use a dual-state button to turn on 1 LED, but nowhere about multiple dual-state buttons... Please help....

heinrichdutoit
Автор

Hi.Can I get the sketch Arduino of that video? THANKS!

rockrock
Автор

hi,
I want to trigger Nextion button from arduino, not per hand on the display. do you know, how to trigger dual button from arduino to Nextion display.

plaketal
Автор

Hi, sorry if I persist with the questions but I can't understand, if I only have a "dual state button" how can I send the two states separately to arduino to make him do a different action for each state?
I have performed many tests but I cannot understand how to do it.
I'm a tough head :-)

agib
Автор

How I can get the code from this project ?

Neomight
Автор

hi there I copy and paste the code_5 from the text file to Arduino, and verify it show this message (error: 'Serial2' was not declared in this scope) I don't know what I have missed! Can you please help me?

daryl
Автор

hi, do you have one example only one button, please.

dashasaldivarfavelac
Автор

what the code should look like if I would like to control the LEDs with buttons. without flashing, only send data from nextion to Arduino - enable or disable with the button

and by the way, can't download files from the site

kamilzdunczyk
Автор

hi can make vdo control 6 relay channel using HMI nextion 7" display with arduino mega.?. thnx in advance and i like your vdo tutorials just learning...

TheWindtalker
Автор

Heelo . You can sending data HMI TJC with arduino mega please. Example led on, off please . Sorry I study English very Bad. Sorry

thienle
Автор

cov bt0.val, va0.txt, 1
va0.txt=+"bt0"
print va0.txt

Error:Invalid Variables:va0txt( Double click to jump to code)
Error:Invalid Variables:va0.txt( Double click to jump to code)
Error:Invalid Variables:va0.txt( Double click to jump to code)
Error:Compile failed! 3 Errors, 0 Warnings,
Where did I go wrong?

jittaweemetesirorat