Hello,
Beginning on espeasy, I connected an Arduino to a Wemos (Espeasy) via the serial port.
So far no problem. I get the info on the Wesmos (visible in the log), I joined a capture logs.
Now I would like to display information from the arduino on an OLED SSD1306 screen, to make it simple in real time.
Unfortunately, I can not do it, at the same time I do not know if it's possible. Should not I put this info in a variable?
If someone has an idea…
Thank you
ESPEASY serial port info
Moderators: grovkillen, Stuntteam, TD-er
ESPEASY serial port info
- Attachments
-
- logs.jpg (153.21 KiB) Viewed 4670 times
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: ESPEASY serial port info
You could use rules for that. The event trigger is in your case !Serial#Distance and to display the value on the display you use the corresponding OLED command and use this as your value [!Serial#Distance].
Or you could try and see if it's enough to use the value [!Serial#Distance] in the OLED setup page.
Or you could try and see if it's enough to use the value [!Serial#Distance] in the OLED setup page.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: ESPEASY serial port info
Thanks. I try it tonight.
but what is the command to send in the rules to the GPIO?
I try to use the value [!Serial#Distance] in the OLED setup page but it's not working.
but what is the command to send in the rules to the GPIO?
I try to use the value [!Serial#Distance] in the OLED setup page but it's not working.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: ESPEASY serial port info
You'll find that info on our wiki page. Come back here if you still struggle with it.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: ESPEASY serial port info
I can not do it in both cases.
On !Serial#Distance do
OLED,<5>,<5>,<[!Serial#Distance]>
endon
On !Serial#Distance do
OLED,<5>,<5>,<[!Serial#Distance]>
endon
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: ESPEASY serial port info
Code: Select all
OLED,<5>,<5>,<[!Serial#Distance]>
Code: Select all
OLED,5,5,[!Serial#Distance]
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: ESPEASY serial port info
Sorry, but it's the same.
I don't understand. I try with a text and it's not working.
I can change the state of a LED
I don't understand. I try with a text and it's not working.
I can change the state of a LED
Who is online
Users browsing this forum: Ahrefs [Bot] and 36 guests