Author |
Message |
Topic: TC35 and PIC18F25K20 UART problem |
Dempsey
Replies: 26
Views: 35247
|
Forum: General CCS C Discussion Posted: Wed Oct 07, 2015 1:06 pm Subject: TC35 and PIC18F25K20 UART problem |
Hi,
If the Rx input is left 'floating', ie. there is nothing connected to it, noise can appear to the PIC as a received character. If you have a serial interrupt defined, this can be a problem. The ... |
Topic: TC35 and PIC18F25K20 UART problem |
Dempsey
Replies: 26
Views: 35247
|
Forum: General CCS C Discussion Posted: Wed Oct 07, 2015 12:57 pm Subject: TC35 and PIC18F25K20 UART problem |
I see in the schematic that the LCD is 5 volts and the PIC is 3 volts. That could be part of the problem as the PIC might not send a high enough '1' to the LCD data /control lines.
Also power supply ... |
Topic: TC35 and PIC18F25K20 UART problem |
Dempsey
Replies: 26
Views: 35247
|
Forum: General CCS C Discussion Posted: Wed Oct 07, 2015 10:36 am Subject: TC35 and PIC18F25K20 UART problem |
Hi,
I am using 100nF because when I touched the pins without those capacitors, the serial line was active immediatelly. About the baud rate: When I connected the TC35 to my PC I used 9600 baud on the ... |
Topic: TC35 and PIC18F25K20 UART problem |
Dempsey
Replies: 26
Views: 35247
|
Forum: General CCS C Discussion Posted: Wed Oct 07, 2015 7:11 am Subject: TC35 and PIC18F25K20 UART problem |
Here is the current code:
#include <18f25k20.h>
#include <string.h>
#fuses put,nolvp,noprotect,intrc_io,nowdt,
#use delay (clock=16MHz)
#use rs232(baud=9600, xm ... |
Topic: TC35 and PIC18F25K20 UART problem |
Dempsey
Replies: 26
Views: 35247
|
Forum: General CCS C Discussion Posted: Wed Oct 07, 2015 5:00 am Subject: TC35 and PIC18F25K20 UART problem |
Hi,
I removed all jumpers of the JP2 and connect the GSM module to my PIC. When I dial the GSM module I get the following http://www.kepfeltoltes.eu/view.php?filename=197DSC_0295.jpg character instea ... |
Topic: TC35 and PIC18F25K20 UART problem |
Dempsey
Replies: 26
Views: 35247
|
Forum: General CCS C Discussion Posted: Tue Oct 06, 2015 1:46 pm Subject: TC35 and PIC18F25K20 UART problem |
Sorry I didn't say that I have got two different GSM modules. I found a PDF http://www.sainsmart.com/zen/documents/20-012-100/GSMV1.pdf. |
Topic: TC35 and PIC18F25K20 UART problem |
Dempsey
Replies: 26
Views: 35247
|
Forum: General CCS C Discussion Posted: Tue Oct 06, 2015 11:24 am Subject: TC35 and PIC18F25K20 UART problem |
I couldn't wait. I measured a little. Between the DB9 and the Tx/Rx pins aren't connection. The Rx pin connect to the Max232 IC's 11 pin and the Tx pin connect to the Max232 IC's 12 pin. |
Topic: TC35 and PIC18F25K20 UART problem |
Dempsey
Replies: 26
Views: 35247
|
Forum: General CCS C Discussion Posted: Tue Oct 06, 2015 11:03 am Subject: TC35 and PIC18F25K20 UART problem |
Ok! Thank you. I understand. I'll try your advice tomorrow. |
Topic: TC35 and PIC18F25K20 UART problem |
Dempsey
Replies: 26
Views: 35247
|
Forum: General CCS C Discussion Posted: Tue Oct 06, 2015 10:46 am Subject: TC35 and PIC18F25K20 UART problem |
To be clear for everybody I attached a photo.
http://kepkezelo.com/images/y7gyugmlluwgq7fv2arh.jpg
I use these pins to communicate with the PIC. Should I use level converter or not? |
Topic: TC35 and PIC18F25K20 UART problem |
Dempsey
Replies: 26
Views: 35247
|
Forum: General CCS C Discussion Posted: Tue Oct 06, 2015 7:22 am Subject: TC35 and PIC18F25K20 UART problem |
Hi,
Here is the link
http://www.ebay.com/itm/New-GSM-SIEMENS-TC35-SMS-Module-Board-RS232-UART-Serial-For-Arduino-dnk-/190976532342?hash=item2c77169f76 |
Topic: TC35 and PIC18F25K20 UART problem |
Dempsey
Replies: 26
Views: 35247
|
Forum: General CCS C Discussion Posted: Tue Oct 06, 2015 5:01 am Subject: TC35 and PIC18F25K20 UART problem |
Hi,
I don't use level converter because the PIC and the GSM module are using 3,3V power supply. When I linked the PC and the PIC the communication was fine. On the PC side I used FT232R USB->Seria ... |
Topic: TC35 and PIC18F25K20 UART problem |
Dempsey
Replies: 26
Views: 35247
|
Forum: General CCS C Discussion Posted: Mon Oct 05, 2015 12:34 pm Subject: TC35 and PIC18F25K20 UART problem |
Hello,
I have a problem with my GSM module and PIC18F25K20 UART communication. First I would like to display the RING string on the LCD. Unfortunately it doesn't work because when I call the module, ... |
Topic: Does printf inhibit gets? |
Dempsey
Replies: 2
Views: 6918
|
Forum: General CCS C Discussion Posted: Sat May 09, 2015 5:02 am Subject: Does printf inhibit gets? |
Hi,
I am trying to control one output through ESP8266. First I am initializing the ESP module, it works fine but if I send "be" string to the PIC (from android device through ESP), the outp ... |
|