CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

ESP8266 ESP-01 Wifi Module Library

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
donmezbilek



Joined: 06 Jan 2024
Posts: 6

View user's profile Send private message AIM Address

ESP8266 ESP-01 Wifi Module Library
PostPosted: Thu Dec 04, 2025 8:33 am     Reply with quote

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

View user's profile Send private message

PostPosted: Thu Dec 04, 2025 9:30 am     Reply with quote

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

View user's profile Send private message

PostPosted: Thu Dec 04, 2025 9:38 am     Reply with quote

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 !
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
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


Powered by phpBB © 2001, 2005 phpBB Group