| View previous topic :: View next topic |
| Author |
Message |
donmezbilek
Joined: 06 Jan 2024 Posts: 6
|
| ESP8266 ESP-01 Wifi Module Library |
Posted: Thu Dec 04, 2025 8:33 am |
|
|
Hello,
I am using the CCS C compiler and a custom board based on the dsPIC33EP512 series. On this board, I would like to interface an ESP8266 ESP-01 WiFi module in order to send certain values from the dsPIC to a computer over Wi-Fi.
My hardware setup:
MCU: dsPIC33EP512MU810
Compiler: CCS C (PCWHD), latest version
WiFi Module: ESP8266 ESP-01 with AT firmware
Additional Hardware: A USB–UART/ESP8266 adapter (CH340) that I use to test the ESP-01 from my PC
What I want to achieve:
Send some measured values from my board to a PC using the ESP8266 WiFi module.
My question:
Is there any example code or library for CCS C that demonstrates how to communicate with an ESP8266 (ESP-01) using AT commands over UART?
If there is an existing driver, sample project, or application note for CCS C + ESP8266, could you please point me to it?
Thank you in advance for any help or code snippets.
Best regards. |
|
 |
dyeatman
Joined: 06 Sep 2003 Posts: 1973 Location: Norman, OK
|
|
Posted: Thu Dec 04, 2025 9:30 am |
|
|
Try searching this forum for ESP8266 and you will find a lot of info.
My search found more than 30 items that include ESP8266. _________________ Google and Forum Search are some of your best tools |
|
 |
temtronic
Joined: 01 Jul 2010 Posts: 9600 Location: Greensville,Ontario
|
|
Posted: Thu Dec 04, 2025 9:38 am |
|
|
wow AT commands ! real 'old skool' ! Send a command, wait for response, act upon it.
If you configure the modem to reply with numbers and not 'verbose', you'll get faster response.
be sure to setup the UART for a 'timed' response. There's an example in the CCS manual. Without that , when the modem hangs, the PIC will hang ! |
|
 |
|