Author |
Message |
Topic: rs485 - SP490 or MAx490 Full Duplex ??? |
piire
Replies: 4
Views: 6387
|
Forum: General CCS C Discussion Posted: Sun Sep 12, 2010 5:47 am Subject: rs485 - SP490 or MAx490 Full Duplex ??? |
Thank you for your advice, the confusion is cleared up!
regards
piire! |
Topic: rs485 - SP490 or MAx490 Full Duplex ??? |
piire
Replies: 4
Views: 6387
|
Forum: General CCS C Discussion Posted: Sun Sep 12, 2010 3:48 am Subject: rs485 - SP490 or MAx490 Full Duplex ??? |
the sp490 and max490 dont have DE and RE pins
the data sheet is below, the enable pins is used to determine if you can send or receive. or is the enable used to tell the complier that a rs485 ic is ... |
Topic: rs485 - SP490 or MAx490 Full Duplex ??? |
piire
Replies: 4
Views: 6387
|
Forum: General CCS C Discussion Posted: Sat Sep 11, 2010 4:48 pm Subject: rs485 - SP490 or MAx490 Full Duplex ??? |
hi there,
I was wondering if full duplex rs-485 chip such as the sp490 or max490 work with ccs?
do you use the following code without the enable, you normally use with the half duplex rs485, as t ... |
Topic: generate door bell sound from a pic? |
piire
Replies: 2
Views: 9548
|
Forum: General CCS C Discussion Posted: Tue Aug 24, 2010 10:44 am Subject: generate door bell sound from a pic? |
Hi there, is it possible to generate a door bell sound such as a ding dong from a pic microcontroller.
If so, can some guide me on how to go about doing this?
I know you can get separate ic whic ... |
Topic: 16F877 to 18F6622 |
piire
Replies: 4
Views: 4696
|
Forum: General CCS C Discussion Posted: Thu Mar 18, 2010 9:14 am Subject: 16F877 to 18F6622 |
hi there, i checked the connection and they look fine, but i think there is a problrm with something else as, i have found sometime both rs232 ports work, and sometimes it gives 00 00 00 00. so i trie ... |
Topic: 16F877 to 18F6622 |
piire
Replies: 4
Views: 4696
|
Forum: General CCS C Discussion Posted: Tue Mar 16, 2010 4:29 pm Subject: 16F877 to 18F6622 |
I'm using 4.104 and its on hardware.
thanks |
Topic: 16F877 to 18F6622 |
piire
Replies: 4
Views: 4696
|
Forum: General CCS C Discussion Posted: Tue Mar 16, 2010 4:18 pm Subject: 16F877 to 18F6622 |
Hi there,
I have tested my code on the 16F877 and it works brilliantly. I have had
to change to the 18F6622 as I need two hardware usarts now.
So when I connected up the 18f6622, I started to ... |
Topic: RFID Problems.... |
piire
Replies: 8
Views: 10859
|
Forum: General CCS C Discussion Posted: Mon Mar 01, 2010 1:30 pm Subject: RFID Problems.... |
By putting s[len] = '\0'; in, it has solved the problem of the three zeros! I get two constant zeros in front on each scan, which I can work with. Thank you so much, it was small mistake, but so har ... |
Topic: RFID Problems.... |
piire
Replies: 8
Views: 10859
|
Forum: General CCS C Discussion Posted: Mon Mar 01, 2010 4:39 am Subject: RFID Problems.... |
oo what a stupid mistake, i have changed to the following:
#define RFID_START_BYTE 0x02
#define RFID_END_BYTE 0x03
now the output is:
002B56AB67F1
0002B56AB67F1
0002B56AB67F1 ... |
Topic: RFID Problems.... |
piire
Replies: 8
Views: 10859
|
Forum: General CCS C Discussion Posted: Sun Feb 28, 2010 5:14 pm Subject: RFID Problems.... |
this is the data sheet for the ID12 RFID sensor:
http://www.coolcomponents.co.uk/resources/ID12/ID-12-Datasheet.pdf
thanks
piire |
Topic: RFID Problems.... |
piire
Replies: 8
Views: 10859
|
Forum: General CCS C Discussion Posted: Sun Feb 28, 2010 7:58 am Subject: RFID Problems.... |
Hi there
I'm trying to get RFID tag id on to the computer. I'm using a ID12 RFID sensor. It has a RS232 port which I have linked to the PIC16F877A.
I'm using the hardware UART for the RFID and sof ... |
Topic: simple led push button program |
piire
Replies: 7
Views: 27277
|
Forum: General CCS C Discussion Posted: Sun Feb 14, 2010 10:12 am Subject: simple led push button program |
Thanks alot for your help. The system works, I do sometimes have to press the button twice to turn the led on, but I guess thats to do with the processing power of the PIC.
Thanks alot got your all ... |
Topic: simple led push button program |
piire
Replies: 7
Views: 27277
|
Forum: General CCS C Discussion Posted: Fri Feb 12, 2010 6:17 am Subject: simple led push button program |
Hi there
I looked at your code thanks alot, but I need to connect more leds to do other operation and this code wont work for this task.
Can I use the set_tris_ operation to set inputs and outp ... |
Topic: simple led push button program |
piire
Replies: 7
Views: 27277
|
Forum: General CCS C Discussion Posted: Wed Feb 10, 2010 11:49 am Subject: simple led push button program |
Hi there, I'm trying to make a simple push button program, which turns on a led when it is pressed and then turns it off when pressed again. I have connected the + side of the led to pin C4. The push ... |
Topic: rs232 - mysql |
piire
Replies: 1
Views: 3221
|
Forum: General CCS C Discussion Posted: Tue Feb 09, 2010 3:52 pm Subject: rs232 - mysql |
Hi there,
I'm doing a project where I have a sensor which is connected to a pic microcontroller and then to a max232 chip. I have coded the microcontroller to output the data from the sensor to the ... |
|