Author |
Message |
Topic: Simultaneous control of delay operated LEDs |
TokTok
Replies: 16
Views: 22556
|
Forum: General CCS C Discussion Posted: Thu May 01, 2014 5:12 am Subject: Simultaneous control of delay operated LEDs |
Hi Mike and all,
Having read the PIC 18F2580 data sheet and the CCS C manual regarding the TIMER 2, I still cant seem how to piece together how the three arguments that go into the setup_timer_2(); ... |
Topic: Simultaneous control of delay operated LEDs |
TokTok
Replies: 16
Views: 22556
|
Forum: General CCS C Discussion Posted: Tue Apr 29, 2014 8:26 am Subject: Simultaneous control of delay operated LEDs |
Hi All,
@Mike Walne:
Thanks for the reply. I really appreciate the code.
There's just one bit I need to clearly understand is the 249 setup_timer_2(T2_DIV_BY_16, 249, 1);
Based on the CCS ... |
Topic: Simultaneous control of delay operated LEDs |
TokTok
Replies: 16
Views: 22556
|
Forum: General CCS C Discussion Posted: Mon Apr 28, 2014 8:49 am Subject: Simultaneous control of delay operated LEDs |
Hi Ttelmah,
Thanks for the reply.
I don't fully get the following bit of your suggestion below:
Then your four instructions selecting the different things to do, are all executed before the ... |
Topic: Simultaneous control of delay operated LEDs |
TokTok
Replies: 16
Views: 22556
|
Forum: General CCS C Discussion Posted: Mon Apr 28, 2014 4:29 am Subject: Simultaneous control of delay operated LEDs |
Hi all,
Following the advice from Mike Walne plus the sample code in the CCS C compiler manual the code below is my first attempt to enable the multiple operation of relays using a timer and its inte ... |
Topic: Simultaneous control of delay operated LEDs |
TokTok
Replies: 16
Views: 22556
|
Forum: General CCS C Discussion Posted: Fri Apr 25, 2014 9:45 am Subject: Simultaneous control of delay operated LEDs |
Hi all,
Apologies if this sound trivial but currently I’m stuck in terms of figuring out the logic to complete what I suspect is a fairly easy task.
I’m currently turning on my LEDs for a cert ... |
Topic: RS232 get between PIC18F2580 and Telegisis Zigbee module |
TokTok
Replies: 60
Views: 89449
|
Forum: General CCS C Discussion Posted: Mon Feb 24, 2014 6:55 am Subject: RS232 get between PIC18F2580 and Telegisis Zigbee module |
HI Guys,
Any ideas regarding my last post as seen above?
Thanks. |
Topic: RS232 get between PIC18F2580 and Telegisis Zigbee module |
TokTok
Replies: 60
Views: 89449
|
Forum: General CCS C Discussion Posted: Fri Feb 21, 2014 3:53 am Subject: RS232 get between PIC18F2580 and Telegisis Zigbee module |
Hi ezflyr,
Thanks for the reply. Sorry for my incorrect use of string. I'm used to saying string as I also write Java code.
I've added your suggestions in my code as seen below and when I send ... |
Topic: RS232 get between PIC18F2580 and Telegisis Zigbee module |
TokTok
Replies: 60
Views: 89449
|
Forum: General CCS C Discussion Posted: Thu Feb 20, 2014 11:28 am Subject: RS232 get between PIC18F2580 and Telegisis Zigbee module |
Hi all,
I was able to overcome my RS232 hardware issues by purchasing the following add on board from Mikro Elektronika - http://www.mikroe.com/downloads/get/1276/max232_manual_v100.pdf.
I can ... |
Topic: Temperature A/D conversion - LM35DT to PIC18F2580 |
TokTok
Replies: 24
Views: 45357
|
Forum: General CCS C Discussion Posted: Tue Feb 11, 2014 9:23 am Subject: Temperature A/D conversion - LM35DT to PIC18F2580 |
Hi asmboy,
I intend on measuring temperature ranges between -30 degrees Celsius to 45 degrees Celsius hence the reason I selected the LM35 which is rated for full -55 degrees Celsius to 150 degrees ... |
Topic: RS232 get between PIC18F2580 and Telegisis Zigbee module |
TokTok
Replies: 60
Views: 89449
|
Forum: General CCS C Discussion Posted: Tue Feb 11, 2014 9:01 am Subject: RS232 get between PIC18F2580 and Telegisis Zigbee module |
Hi ezflyr,
As you mentioned in your post I'm also expecting a response in the following manner
A : 1
B : 1
C : 1
Z : 2
but what appears on my terminal program is around the lines
A ... |
Topic: RS232 get between PIC18F2580 and Telegisis Zigbee module |
TokTok
Replies: 60
Views: 89449
|
Forum: General CCS C Discussion Posted: Tue Feb 11, 2014 9:00 am Subject: RS232 get between PIC18F2580 and Telegisis Zigbee module |
Hi Ttelmah,
Thanks for the reply.
2) Many of the later low power chips have drivers with lower drops, and generate less from the charge pumps. The Atmel 'near equivalent' chip you pointed to ... |
Topic: RS232 get between PIC18F2580 and Telegisis Zigbee module |
TokTok
Replies: 60
Views: 89449
|
Forum: General CCS C Discussion Posted: Mon Feb 10, 2014 3:31 am Subject: RS232 get between PIC18F2580 and Telegisis Zigbee module |
Hi ezflyr,
Thanks for the reply. I'm definitely not showing you my interpretation of which characters are being sent back by the PIC but showing you exactly what the PIC is giving back through the ... |
Topic: RS232 get between PIC18F2580 and Telegisis Zigbee module |
TokTok
Replies: 60
Views: 89449
|
Forum: General CCS C Discussion Posted: Fri Feb 07, 2014 10:53 am Subject: RS232 get between PIC18F2580 and Telegisis Zigbee module |
Hi ezflyr,
If it were me, the next step would be to get the serial interrupt routine working correctly. I would not bother to use the LEDs for this stage of my troubleshooting as you'll get muc ... |
Topic: RS232 get between PIC18F2580 and Telegisis Zigbee module |
TokTok
Replies: 60
Views: 89449
|
Forum: General CCS C Discussion Posted: Fri Feb 07, 2014 10:23 am Subject: RS232 get between PIC18F2580 and Telegisis Zigbee module |
Hi ezflyr,
I'm trying the fprintf(PCTWO, "%c : %u\n\r", RcvChar, RxState); at the moment and will get back with the outcome.
Thanks,
Alex |
Topic: RS232 get between PIC18F2580 and Telegisis Zigbee module |
TokTok
Replies: 60
Views: 89449
|
Forum: General CCS C Discussion Posted: Fri Feb 07, 2014 8:00 am Subject: RS232 get between PIC18F2580 and Telegisis Zigbee module |
HI ttelmah,
Thanks for the reply. I've cross checked the polarities of the capacitors (I went through this guide http://www.wjoe.com/capacitorinfo.htm just to make sure I was cross checking the pol ... |
|