Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

ESP8266 and GUI-O application

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> AVR
View previous topic :: View next topic  
Author Message
bellon

Bascom Member



Joined: 01 Mar 2019
Posts: 30

switzerland.gif
PostPosted: Fri Jan 20, 2023 9:28 am    Post subject: ESP8266 and GUI-O application Reply with quote

Hello,
I installed the GUI-O application on my smartphone and managed to connect to my wiffi router. Now my application (an Arduino Nano board sends data to an ESP8266 V2) but I didn't quite understand how to connect ESP8266 V2 with my wiffi router to be able to display this data on the GUI_O application. (I was inspired by Matjazs' post on this forum. Thanks to him!
Thanks for your help !!

(BASCOM-AVR version : 2.0.8.5 , Latest : 2.0.8.5 )
Back to top
View user's profile
plouf

Bascom Member



Joined: 19 Jan 2012
Posts: 63
Location: Athens,Greece

greece.gif
PostPosted: Fri Jan 20, 2023 1:33 pm    Post subject: Reply with quote

gui-o has its own forums, there you should better more support for gui-o
https://forum.gui-o.com/

_________________
Christos
Back to top
View user's profile
matjazs

Bascom Member



Joined: 08 Nov 2016
Posts: 67

PostPosted: Fri Jan 20, 2023 3:36 pm    Post subject: Reply with quote

This example describes how the ESP8266 works as a bridge (serial 232 over WiFi/internet).
The best way to do this is to use the ESP8266 Wemos D1 mini module https://www.faranux.com/product/esp8266-esp-12-nodemcu-wemos-d1-mini-wifi-4m-bytes-development-board-module/,
because it contains a USB mini connector for programming and verification. Of course, any other ESP8266 can be used.

A simple method of preparing the module is described:

1. Download the Arduino IDE
2. Download ESP8266_GUI-O_pairing_libs.zip and extract the archive
3. Download ESP8266_GUI-O_pairing_source.zip and extract the archive

Details are described here in the section: Auto Pairing ESP8266 & Arduino & GUI-O
https://www.gui-o.com/examples
When the ESP is programmed, the blue LED flashes.

To pair, open the GUI-O app https://play.google.com/store/apps/details?id=com.guio.guioapp&pli=1 and go to Settings/Quick pair/Direct device paring/
find your module named guio_xxxxxxx running in AP mode (password is 12345678), follow the instructions to connect to your WiFi (SSD/password...)
When pairing is complete and the module is connected (the blue LED lights up constantly), for checking use the terminal emulator to verify and verify sending in both directions.
ESP8266 in this case works as serial (RS232) communication via WiFi/internet. In other words, the same if we use the bluetooth module f.e. HC06.
After that connect modul in your hardware on serial port (Tx Rx) and enjoy. Wink
Back to top
View user's profile
bellon

Bascom Member



Joined: 01 Mar 2019
Posts: 30

switzerland.gif
PostPosted: Fri Jan 20, 2023 5:16 pm    Post subject: Reply with quote

Matjzas,
For more precision, my application is programmed with Bascom and not in C. I took over the one you posted on this forum. But my problem is the following: when I am in "Settings/Quick pair/Direct device paring/
I can't find the module named "guio_xxxxxxx" and when the app goes to wiffi, there is no guio_xxxxxxx. I must be missing something, but what?
Thank you for your dedication. Bernard
Back to top
View user's profile
matjazs

Bascom Member



Joined: 08 Nov 2016
Posts: 67

PostPosted: Mon Jan 23, 2023 8:30 am    Post subject: Reply with quote

Hello.
Here is my second explanation how you can prepare the ESP8266 for use in Bascom - with screenshots and comments. (GUI-O ESP8266 Preparation Bascom.pdf)
The Arduino *.ino and lib-i files are also attached.

I hope this helped.

I also suggest you send / show us screenshots of your Bascom / GUI-O app so we can see the result Wink

1. Download Arduino and install it
https://www.arduino.cc/en/software

2. Unzip the file guio_esp8266.zip.
3. Open the guio_esp8266.ino file with Arduino.

4. Include the libraries in the Arduino
5. Compile and program the ESP8266.


All detailed explanations can be also found at
www.gui-o.com /examples
... in the section: Auto Pairing ESP8266 & Arduino & GUI-O

or forum:
https://forum.gui-o.com/
Back to top
View user's profile
JC

Bascom Member



Joined: 15 Dec 2007
Posts: 559
Location: Cleveland, OH

usa.gif
PostPosted: Mon Jan 23, 2023 7:54 pm    Post subject: Reply with quote

Wow!

Thank you!

JC
Back to top
View user's profile Visit poster's website
bellon

Bascom Member



Joined: 01 Mar 2019
Posts: 30

switzerland.gif
PostPosted: Wed Jan 25, 2023 4:02 pm    Post subject: Reply with quote

Thank you very much, great job!!
Bernard
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> AVR All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum