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

Search found 7 matches
CCS Forum Index
Author Message
  Topic: Help me! Interfacing PIC 16f877a with esp8266 v1
HuynhPhuc

Replies: 13
Views: 31485

PostForum: General CCS C Discussion   Posted: Sat Dec 09, 2017 1:45 am   Subject: Help me! Interfacing PIC 16f877a with esp8266 v1
Now, I press the "ON" button on the node-red 4-5 times, the C0 pin of the PIC is clicked on the 5v level. The "OFF" button is the same.
  Topic: Help me! Interfacing PIC 16f877a with esp8266 v1
HuynhPhuc

Replies: 13
Views: 31485

PostForum: General CCS C Discussion   Posted: Sat Dec 09, 2017 12:00 am   Subject: Help me! Interfacing PIC 16f877a with esp8266 v1
Aside from the electrical mismatch which needs to be corrected, my money is on this:


#INT_RDA
void ngat()
{
k=getch();
}


No circular buffer to hold the repl ...
  Topic: Help me! Interfacing PIC 16f877a with esp8266 v1
HuynhPhuc

Replies: 13
Views: 31485

PostForum: General CCS C Discussion   Posted: Fri Dec 08, 2017 11:54 pm   Subject: Help me! Interfacing PIC 16f877a with esp8266 v1
The Arduino used TTL input thresholds. The PIC uses Schottky on the SPI.

Thanks very much
  Topic: Help me! Interfacing PIC 16f877a with esp8266 v1
HuynhPhuc

Replies: 13
Views: 31485

PostForum: General CCS C Discussion   Posted: Fri Dec 08, 2017 11:54 pm   Subject: Help me! Interfacing PIC 16f877a with esp8266 v1
Please read the Ardunio datasheet as for the electrical specifications for whatever pins are used, compare those to the PIC data I refer to.

Thanks very much. I will try again
  Topic: Help me! Interfacing PIC 16f877a with esp8266 v1
HuynhPhuc

Replies: 13
Views: 31485

PostForum: General CCS C Discussion   Posted: Fri Dec 08, 2017 11:03 am   Subject: Help me! Interfacing PIC 16f877a with esp8266 v1
Sorry it won't work..
The PIC UART rcv pin is the ST type, which according to the datasheet Electrical charateristic 15.2, parameterD041 requires a MINIMUM of 80% of VDD. Given a VDD of 5 volts, 80% ...
  Topic: Help me! Interfacing PIC 16f877a with esp8266 v1
HuynhPhuc

Replies: 13
Views: 31485

PostForum: General CCS C Discussion   Posted: Fri Dec 08, 2017 9:52 am   Subject: Help me! Interfacing PIC 16f877a with esp8266 v1
That is a 5 volt PIC, the ESP8266 is a 3 volt device.
Now I have to assume you're actually using an ESP8266 MODULE, not just the 'chip'(there is a HUGE difference) so you need to post a link to the ...
  Topic: Help me! Interfacing PIC 16f877a with esp8266 v1
HuynhPhuc

Replies: 13
Views: 31485

PostForum: General CCS C Discussion   Posted: Fri Dec 08, 2017 9:22 am   Subject: Help me! Interfacing PIC 16f877a with esp8266 v1
Hi everybody,
Currently I am doing PIC 16f877a communication with esp8266 v1 (using node-red). I've been transmitting data from PIC to node-red, but when I transmit from node-red to PIC it's not. Alt ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group