Page 1 of 1

Cytron ESP 8266 Shield

PostPosted: Wed Oct 17, 2018 5:54 pm
by Ian2024
Hi I have some questions regarding the product above.

I am using arduino UNO

1) I want to power the shield with an external battery which provides 12v. Usually I do this by connecting my battery supply to the vin port on my arduino. Just to make sure, can I supply power using the vin port on the shield?
2) What are the functions of the GPIO pins on the shield? Can I use the normal pins instead? Is there any special cases where the GPIO pins are required?
3) I have bumped into this library https://github.com/esp8266/Arduino , can I use this to control the shield? I am aware that cytron already provided a library but I just want to know if this library can be used. I know that the library above is for programming the esp8266 module directly, writing to its memory instead of my uno's. Is it possible to directly program to the shield.

Thanks.

Re: Cytron ESP 8266 Shield

PostPosted: Fri Oct 19, 2018 1:56 pm
by ober
1. Yes and No. If you want to power the shield as standalone, please check the schematic in the product page: https://www.cytron.io/p-shield-esp-wifi or the Schematic V2.0.Supplying 12V to Vin will not work if the shield is standalone. But if it is stack on Arduino UNO, yes as the Arduino UNO will regulator the 12V from Vin to 5V and supply to the shield.
2. Which GPIO are you referring to? ESP 3.3V GPIO? Like the label says, it is from ESP :)
3. Well, if you check the User's Manual, Chapter 8 https://www.cytron.io/p-shield-esp-wifi, it explain how to load program into the ESP module and you will have to try whether you can control it or not.

Anyway, if want to program the ESP module itself, you should get ESPresso Lite V2.0 https://www.cytron.io/p-espresso-lite-2.0 instead

Re: Cytron ESP 8266 Shield

PostPosted: Fri Oct 19, 2018 7:09 pm
by Ian2024
I've decided to stick with Cytron's library. But I still have a problem,

1) how can I listen for tcp connections to a specific port?
2) How to receive udp input sent by other devices?

Re: Cytron ESP 8266 Shield

PostPosted: Mon Oct 22, 2018 10:59 am
by Ian2024
Bump @ober

I need to know how to communicate using tcp and udp

Re: Cytron ESP 8266 Shield

PostPosted: Mon Oct 22, 2018 12:29 pm
by ober
You have to try that out yourself, I have never use it in that way yet.