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 28 matches
CCS Forum Index
Author Message
  Topic: Two Hardware serial ports in PIC18F26K22-Issues
ratheeshbr

Replies: 5
Views: 15875

PostForum: General CCS C Discussion   Posted: Sat Aug 25, 2018 7:17 am   Subject: Two Hardware serial ports in PIC18F26K22-Issues
I am trying to get GPS data connected to UART1 and print it through the second UART to my serial console.
Do I have to use streams?
I am getting some garbage values in between. What may be the reas ...
  Topic: Receiving SMS from GSM modem
ratheeshbr

Replies: 5
Views: 7983

PostForum: General CCS C Discussion   Posted: Sun Mar 03, 2013 9:11 am   Subject: here is my code

#define max 65534
#include<16f877a.h>
#device ADC=10
#device *=16
#include"pic1.h"
#include"lcd1.h"
#include<string.h>
#define ir rd2
#define device1 rc3
#de ...
  Topic: Receiving SMS from GSM modem
ratheeshbr

Replies: 5
Views: 7983

PostForum: General CCS C Discussion   Posted: Sun Mar 03, 2013 7:59 am   Subject: Receiving SMS from GSM modem
In my project I have to receive SMS and control the devices. I am using PIC16F877A and CCS compilor. I successfully extracted message and number and it works fine. But Along with that I am having two ...
  Topic: Out of ROM problem
ratheeshbr

Replies: 1
Views: 3814

PostForum: General CCS C Discussion   Posted: Thu Nov 08, 2012 3:41 am   Subject: Out of ROM problem
Seg 0004-07FF, 0289 left, need 0E0E
Seg 0800-0FFF, 0800 left, need 0E0E
Seg 1000-17FF, 0800 left, need 0E0E
Seg 1800-1FFF, 0800 left, need 0E0E
Seg 0000-0003, 0000 left, need 0E0E
...
  Topic: Interfacing RTC and GSM
ratheeshbr

Replies: 3
Views: 7503

PostForum: General CCS C Discussion   Posted: Tue Apr 03, 2012 5:55 pm   Subject: Interfacing RTC and GSM
Both RTC and GSM works independently.
But GSM is not working, means messages are not received by the controller. I tried to use interrupt but, not enough space.
  Topic: Interfacing RTC and GSM
ratheeshbr

Replies: 3
Views: 7503

PostForum: General CCS C Discussion   Posted: Tue Apr 03, 2012 12:13 am   Subject: Interfacing RTC and GSM
hi, I am tying to interface RTC DS1307 and GSM modem to control electrical devices. Both are working independently but not when integrated.
Here is my code.

#include <16F877A.h>
#define max ...
  Topic: Voltage Measurement using PIC16f877a
ratheeshbr

Replies: 9
Views: 11885

PostForum: General CCS C Discussion   Posted: Tue Mar 06, 2012 8:26 pm   Subject: Voltage Measurement using PIC16f877a
ya I changed it to 10.
  Topic: Voltage Measurement using PIC16f877a
ratheeshbr

Replies: 9
Views: 11885

PostForum: General CCS C Discussion   Posted: Tue Mar 06, 2012 7:54 pm   Subject: Details
Sorry. I forget to give the details. The circuit is nothing but a 3-0-3 centre tapped transformer- a rectifier to make it and a 10uF capacitor for smoothening and reading using ADC of PIC16f877a.
#i ...
  Topic: Voltage Measurement using PIC16f877a
ratheeshbr

Replies: 9
Views: 11885

PostForum: General CCS C Discussion   Posted: Tue Mar 06, 2012 5:19 pm   Subject: Voltage Measurement using PIC16f877a
I am trying to measure AC voltage using micro controller. I am using a 3-0-3 transformer and after converting to DC using diode, I am reading it using ADC. But the output voltage shows around 105-115 ...
  Topic: pic to pic serial communication
ratheeshbr

Replies: 12
Views: 28916

PostForum: General CCS C Discussion   Posted: Tue Feb 21, 2012 5:40 pm   Subject: pic to pic serial communication
Transmit:

#include<16F877A.h>
#use delay(clock=20000000)
#use rs232(baud=9600,parity=N, xmit=PIN_C6,rcv=PIN_C7,bits=8)
#include<String.h>
#include<pic.h>
voi ...
  Topic: pic to pic serial communication
ratheeshbr

Replies: 12
Views: 28916

PostForum: General CCS C Discussion   Posted: Tue Feb 21, 2012 5:39 pm   Subject: RX pgm
Now here is my code : Receiver
#include<16F877A.h>
#use delay(clock=20000000)
#use rs232(baud=9600,parity=N, xmit=PIN_C6,rcv=PIN_C7,errors,bits=8,stream=s1)
#use rs232( ...
  Topic: pic to pic serial communication
ratheeshbr

Replies: 12
Views: 28916

PostForum: General CCS C Discussion   Posted: Tue Feb 21, 2012 4:25 pm   Subject: pic to pic serial communication
Thanks for the replies . I will try with delay and errors. and will reply back
  Topic: pic to pic serial communication
ratheeshbr

Replies: 12
Views: 28916

PostForum: General CCS C Discussion   Posted: Tue Feb 21, 2012 8:55 am   Subject: Receive program
#include<16F877A.h>
#use delay(clock=20000000)
#use rs232(baud=9600,parity=N, xmit=PIN_C6,rcv=PIN_C7,bits=8)
#include<String.h>
#include<pic.h>

void main( ...
  Topic: pic to pic serial communication
ratheeshbr

Replies: 12
Views: 28916

PostForum: General CCS C Discussion   Posted: Tue Feb 21, 2012 8:54 am   Subject: Transmit program
#include<16F877A.h>
#use delay(clock=20000000)
#use rs232(baud=9600,parity=N, xmit=PIN_C6,rcv=PIN_C7,bits=8)
#include<String.h>
#include<pic.h>
void main(&# ...
  Topic: pic to pic serial communication
ratheeshbr

Replies: 12
Views: 28916

PostForum: General CCS C Discussion   Posted: Tue Feb 21, 2012 8:45 am   Subject: pic to pic serial communication
Compiler version 3.36
Ya I am using MAX232 on Both sides
I first checked the transmitter side by connecting it to the PC hyper terminal. Its working.

At the reliever side I am using both hardware ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group