UART to WiFi.....Am I missing something?
Posted: Thu Nov 29, 2018 9:16 am
Hello!
I have several things I wish to discuss, and maybe find some answers.
I recently bought an ESP-01. Now, from what I understand, you can connect a UART to it and then set the ESP-01 up as an access point, connect your PC to that access point and somehow receive that information over WiFi?
I am not using an Arduino. I made a simple board with a PIC16F1826 on it, a TS1117 3.3V regulator, some capacitors and a programming header for the pic all powered by three AA 1.5V cells. I wrote a tiny program for the PIC to increment a counter every cycle and transmit that counter out on the Tx pin which is connected to the Rx of the ESP-01 (Although I think that might be terrible mistake number 1). It is that counter value which I would like to receive over WiFi. Later I would like to transmit longer strings.
Now, to communicate with the ESP-01, I have cut the Tx line from the PIC momentarily and connected up a CP2102 with a USB socket. Anyway, I can communicate with the ESP-01 using AT commands just fine. I set it up as a SoftAP, gave it a SSID and password, I can connect to it with my PC and everything works great up to that point. But now what? I'm missing something. TCP-SSL? I fear that I don't understand enough about TCP/IP or SSL or web servers to make this work.
If anyone has any input, it is greatly appreciated.
Thank you and sorry about the ramble.
I have several things I wish to discuss, and maybe find some answers.
I recently bought an ESP-01. Now, from what I understand, you can connect a UART to it and then set the ESP-01 up as an access point, connect your PC to that access point and somehow receive that information over WiFi?
I am not using an Arduino. I made a simple board with a PIC16F1826 on it, a TS1117 3.3V regulator, some capacitors and a programming header for the pic all powered by three AA 1.5V cells. I wrote a tiny program for the PIC to increment a counter every cycle and transmit that counter out on the Tx pin which is connected to the Rx of the ESP-01 (Although I think that might be terrible mistake number 1). It is that counter value which I would like to receive over WiFi. Later I would like to transmit longer strings.
Now, to communicate with the ESP-01, I have cut the Tx line from the PIC momentarily and connected up a CP2102 with a USB socket. Anyway, I can communicate with the ESP-01 using AT commands just fine. I set it up as a SoftAP, gave it a SSID and password, I can connect to it with my PC and everything works great up to that point. But now what? I'm missing something. TCP-SSL? I fear that I don't understand enough about TCP/IP or SSL or web servers to make this work.
If anyone has any input, it is greatly appreciated.
Thank you and sorry about the ramble.