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 17 matches
CCS Forum Index
Author Message
  Topic: interference between rs232 communication and keypad
baris_akinci

Replies: 16
Views: 35716

PostForum: General CCS C Discussion   Posted: Thu Dec 15, 2016 1:32 pm   Subject: interference between rs232 communication and keypad
I pointed out the poor decoupling early on in the thread.....

I forgot to tell you thank you Ttelmah. I had stuck on keypad scanning and ISR part of the code but the problem, as you mentioned, was ...
  Topic: interference between rs232 communication and keypad
baris_akinci

Replies: 16
Views: 35716

PostForum: General CCS C Discussion   Posted: Tue Dec 13, 2016 5:13 am   Subject: rs232 communication and keypad interference
Dear All,

I have found the problem finally and get the project worked!
The problem was not about the software, it was about hardware! During test the board, I have always used my USB port with RS ...
  Topic: interference between rs232 communication and keypad
baris_akinci

Replies: 16
Views: 35716

PostForum: General CCS C Discussion   Posted: Mon Nov 28, 2016 11:12 am   Subject: rs232 communication and keypad interference
thank you so much for your advices, but still I couldn't solve the problem!

I have tried what you advices me and here is the summarize what ı have done;
- I re-organised the whole code and made ...
  Topic: interference between rs232 communication and keypad
baris_akinci

Replies: 16
Views: 35716

PostForum: General CCS C Discussion   Posted: Sat Nov 26, 2016 2:45 pm   Subject: interference between rs232 communication and keypad
One thing that leaps out on the circuit, is you show the RS232 connector (DB9), going to the PIC directly, instead of to the MAX232 where it needs to go. Duh.
Then with the RS232 interrupt enabled, t ...
  Topic: interference between rs232 communication and keypad
baris_akinci

Replies: 16
Views: 35716

PostForum: General CCS C Discussion   Posted: Sat Nov 26, 2016 12:40 pm   Subject: interference between rs232 communication and keypad
Classic ISR 'problem'.

ALL Interrupt Service Routines(ISR) MUST be short and fast !!

They must NOT contain any 'math' or 'string' functions or calculations !
They must NOT contain any delays ( ...
  Topic: interference between rs232 communication and keypad
baris_akinci

Replies: 16
Views: 35716

PostForum: General CCS C Discussion   Posted: Sat Nov 26, 2016 5:33 am   Subject: interference between rs232 communication and keypad
Hello dear forum members,

I am trying to make office entry recording system by using keypad and communicating via rs232 with host pc. I have partially completed the main part, and it is working wel ...
  Topic: problem on sending string by using fputs
baris_akinci

Replies: 2
Views: 12074

PostForum: General CCS C Discussion   Posted: Wed Sep 21, 2016 12:45 pm   Subject: problem on sending string by using fputs
thank you so much Ttelmah. I have tried your advice and got the result well.
  Topic: problem on sending string by using fputs
baris_akinci

Replies: 2
Views: 12074

PostForum: General CCS C Discussion   Posted: Tue Sep 20, 2016 1:54 pm   Subject: problem on sending string by using fputs
Hello, I need help to understand what is the main reason CCS C put extra value when I try to send string by using fputs via rs232 connection. the code belock is below


...
  Topic: timer1 problem
baris_akinci

Replies: 3
Views: 10073

PostForum: General CCS C Discussion   Posted: Thu Mar 24, 2016 5:42 am   Subject: timer1 problem
You are right Jay, sorry. here is the second code..
#include <16F628A.h>
#FUSES NOWDT,NOPROTECT, NOBROWNOUT, NOLVP,NOCPD
#FUSES INTRC_IO
#use fast_io(a)
#use delay(internal= ...
  Topic: timer1 problem
baris_akinci

Replies: 3
Views: 10073

PostForum: General CCS C Discussion   Posted: Thu Mar 24, 2016 2:38 am   Subject: timer1 problem
Hello, I have been trying to generate SPWM by using Timer1 for two output pins of 16f628a. Actually, I find and optimize this code and test it on real board. It worked well for me.
#include <16f ...
  Topic: pwm and normal output on same pin for 16f628a
baris_akinci

Replies: 16
Views: 32640

PostForum: General CCS C Discussion   Posted: Mon Mar 21, 2016 2:05 pm   Subject: pwm and normal output on same pin for 16f628a
With your advice, I tried to generate pwm by using timer1. Please check the following. Actually, this code works well in Proteus but in real, this does not work. I mean I can not control the pic and I ...
  Topic: pwm and normal output on same pin for 16f628a
baris_akinci

Replies: 16
Views: 32640

PostForum: General CCS C Discussion   Posted: Mon Mar 14, 2016 7:39 am   Subject: pwm and normal output on same pin for 16f628a
Thank you for reply Ttelmah. what I learned from your refer's topic is that the way to do SPWM is to make many ON/OFF succecivelly in microseconds and we can fading the LEDs by changing their internal ...
  Topic: pwm and normal output on same pin for 16f628a
baris_akinci

Replies: 16
Views: 32640

PostForum: General CCS C Discussion   Posted: Fri Mar 11, 2016 12:47 am   Subject: pwm and normal output on same pin for 16f628a
thank you for reply Mike, yes I try to do real hardware but for some test and improvement, I make the ISIS file simple. my last post for sim6() is just to see whether I achieved PWM or not, If I had d ...
  Topic: pwm and normal output on same pin for 16f628a
baris_akinci

Replies: 16
Views: 32640

PostForum: General CCS C Discussion   Posted: Thu Mar 10, 2016 1:01 pm   Subject: pwm and normal output on same pin for 16f628a
I think I was misunderstood here. I used two pics because I made Rf communication between 2 pics via RS232 (433 MHz TX-RX device).
this was my mistake because I forget to delete diodes before uploadi ...
  Topic: pwm and normal output on same pin for 16f628a
baris_akinci

Replies: 16
Views: 32640

PostForum: General CCS C Discussion   Posted: Thu Mar 10, 2016 7:38 am   Subject: pwm and normal output on same pin for 16f628a
http://s18.postimg.org/ywssy90bt/circuit.jpg
[url=http://postimage.org/index.php?lang=turkish]resim yükleme servisi

you can see my project for better understanding. Is there a way to connect all ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group