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 13 matches
CCS Forum Index
Author Message
  Topic: [SOLVED]Problems with uart+IR transmission
Huriz

Replies: 26
Views: 26880

PostForum: General CCS C Discussion   Posted: Tue Dec 04, 2012 3:45 pm   Subject: [SOLVED]Problems with uart+IR transmission
Finally I have the solution.

How I have done:

Using a NOR and a NPN transistor like the second picture.

What were my problems?

1- My baud rate 9600, was too big, I have put everything work ...
  Topic: [SOLVED]Problems with uart+IR transmission
Huriz

Replies: 26
Views: 26880

PostForum: General CCS C Discussion   Posted: Tue Dec 04, 2012 1:49 pm   Subject: [SOLVED]Problems with uart+IR transmission
Hi again.

I have put the NOR with the NPN transistor

this is the result

up = LED signal (i have seen with the phone camera that it works)
middle = 38khz
down = UART signal

http://www.te ...
  Topic: [SOLVED]Problems with uart+IR transmission
Huriz

Replies: 26
Views: 26880

PostForum: General CCS C Discussion   Posted: Mon Dec 03, 2012 3:41 pm   Subject: [SOLVED]Problems with uart+IR transmission
Tomorrow I will have the NOR gate in my home, so maybe I can test it. I hope that this is the problem. I will let you know my result.

Ttelmah, I thought that

NAND + PNP == AND + NPN

I'm w ...
  Topic: [SOLVED]Problems with uart+IR transmission
Huriz

Replies: 26
Views: 26880

PostForum: General CCS C Discussion   Posted: Mon Dec 03, 2012 3:35 pm   Subject: [SOLVED]Problems with uart+IR transmission
ok

I have this receiver that it works with 38khz
http://www.emartee.com/Images/websites/emartee.com/42186.jpg

My problem is that im not receiving what I would like. and i dont know if the reaso ...
  Topic: [SOLVED]Problems with uart+IR transmission
Huriz

Replies: 26
Views: 26880

PostForum: General CCS C Discussion   Posted: Mon Dec 03, 2012 2:45 pm   Subject: [SOLVED]Problems with uart+IR transmission
another things that i have seen, are these:

this is like mine, but with different transistor and gate, but finally they have the same ouput.

http://www.rentron.com/images/IR2.GIF
http://www.ren ...
  Topic: [SOLVED]Problems with uart+IR transmission
Huriz

Replies: 26
Views: 26880

PostForum: General CCS C Discussion   Posted: Mon Dec 03, 2012 1:43 pm   Subject: [SOLVED]Problems with uart+IR transmission
Is not a 1611, is a 1G11

Here is the link

Before start reading, A and C pins are bridged.
http://www.nxp.com/documents/data_sheet/74LVC1G11.pdf
The IR led works, I have seen with a phone how ...
  Topic: [SOLVED]Problems with uart+IR transmission
Huriz

Replies: 26
Views: 26880

PostForum: General CCS C Discussion   Posted: Sun Dec 02, 2012 2:48 pm   Subject: [SOLVED]Problems with uart+IR transmission
Sorry, I can't understand what do you mean with "no smoothing shown on the supply".

What is _lot_?

Yes it can survive with that 12R, the infrared is a small led, it doesn't need too mu ...
  Topic: [SOLVED]Problems with uart+IR transmission
Huriz

Replies: 26
Views: 26880

PostForum: General CCS C Discussion   Posted: Sun Dec 02, 2012 12:48 pm   Subject: [SOLVED]Problems with uart+IR transmission
In the last post you have the solution for my problems, thanks everybody
##############################################

Hi everybody, I'm trying to make a uart+ir transmitter but I'm having some ...
  Topic: [SOLVED] Problem 12f629 between internal osc and XT
Huriz

Replies: 10
Views: 10420

PostForum: General CCS C Discussion   Posted: Fri Jun 01, 2012 8:26 am   Subject: [SOLVED] Problem 12f629 between internal osc and XT
Hi again, I have been doing more test around the int16, and yes, delay_us(int16) doesn't work fine.

I have solved it, thank to all people for help me and for give me new ideas about how solve my pr ...
  Topic: [SOLVED] Problem 12f629 between internal osc and XT
Huriz

Replies: 10
Views: 10420

PostForum: General CCS C Discussion   Posted: Fri Jun 01, 2012 5:31 am   Subject: [SOLVED] Problem 12f629 between internal osc and XT
what do you mean with
You might not be able to use a 16bit value ?

so, you mean that the problems could come from
- the early version of my compiler
- for do a math operation inside the delay
  Topic: [SOLVED] Problem 12f629 between internal osc and XT
Huriz

Replies: 10
Views: 10420

PostForum: General CCS C Discussion   Posted: Fri Jun 01, 2012 4:12 am   Subject: [SOLVED] Problem 12f629 between internal osc and XT
++++++++++++++
Informatino updated in the main post, with the compiler verison and more things
++++++++++++++


my problem is when i put the variable in the delay, it doesnt work, i dont know why ...
  Topic: [SOLVED] Problem 12f629 between internal osc and XT
Huriz

Replies: 10
Views: 10420

PostForum: General CCS C Discussion   Posted: Thu May 31, 2012 12:41 pm   Subject: [SOLVED] Problem 12f629 between internal osc and XT
if i put this

delay_us(600-7);

instead of

delay_us(tx-7);

works fine but why this?
  Topic: [SOLVED] Problem 12f629 between internal osc and XT
Huriz

Replies: 10
Views: 10420

PostForum: General CCS C Discussion   Posted: Thu May 31, 2012 12:34 pm   Subject: [SOLVED] Problem 12f629 between internal osc and XT
Hi everybody. I have been working and reading this forum but i didnt found anything about my problem.

I have these fuses
WITH XT CRISTAL

#fuses NOWDT,NOPROTECT,NOCPD,NOMCLR,PUT,XT,NOBROWNOUT
# ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group