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 11 matches
CCS Forum Index
Author Message
  Topic: Driving SPDT relay using PIC18F2580
Gaara

Replies: 20
Views: 35635

PostForum: General CCS C Discussion   Posted: Mon Feb 17, 2014 6:28 am   Subject: Driving SPDT relay using PIC18F2580
Hi all,

@Mike Walne:
Apologies. This was an error on my part WRT the post. My relay is the G5Q-1 and indeed it is an SPDT based relay. Thanks for clarifying which of the pins is the COMMON.

@T ...
  Topic: Driving SPDT relay using PIC18F2580
Gaara

Replies: 20
Views: 35635

PostForum: General CCS C Discussion   Posted: Fri Feb 14, 2014 8:34 am   Subject: Driving SPDT relay using PIC18F2580
Hi all,

@ezflyr:

thanks for the reply.


First, what is the coil voltage of your relay? Are you sure? OK, with your relay out of the circuit, use a power supply of the correct value to activ ...
  Topic: Temperature A/D conversion - LM35DT to PIC18F2580
Gaara

Replies: 24
Views: 45342

PostForum: General CCS C Discussion   Posted: Fri Feb 14, 2014 5:50 am   Subject: Temperature A/D conversion - LM35DT to PIC18F2580
Hi all,

I've purchased the LM335 and hooked it up as per figure 15 in the datasheet - http://www.ti.com/lit/ds/symlink/lm335.pdf. The voltage on the output is 2.98v which is in and round the expect ...
  Topic: Driving SPDT relay using PIC18F2580
Gaara

Replies: 20
Views: 35635

PostForum: General CCS C Discussion   Posted: Thu Feb 13, 2014 11:11 am   Subject: Driving SPDT relay using PIC18F2580
Hi alan

I believe the PIC is running at the correct speed as the LED I call REL_1 in my code (i.e. the relay connected to the optocoupler which is connected to PIN_C1 ) is toggling at the correct s ...
  Topic: Driving SPDT relay using PIC18F2580
Gaara

Replies: 20
Views: 35635

PostForum: General CCS C Discussion   Posted: Thu Feb 13, 2014 10:36 am   Subject: Driving SPDT relay using PIC18F2580
Hi Ttelmah,

Thanks for the reply.

1) If a pin won't do what you expect, look what else is on it. In your case, RC1, is the timer1 oscillator input. If you look in the data sheet at the I/O summa ...
  Topic: Driving SPDT relay using PIC18F2580
Gaara

Replies: 20
Views: 35635

PostForum: General CCS C Discussion   Posted: Thu Feb 13, 2014 7:59 am   Subject: Driving SPDT relay using PIC18F2580
Hi all,

I’m working on driving a relay i.e. the Omron G5Q-1A with a PIC18F2580 using a Darlington transistor array specifically the ULN2803A. I’m utilising the ULN2803A as I need to drive more ...
  Topic: Temperature A/D conversion - LM35DT to PIC18F2580
Gaara

Replies: 24
Views: 45342

PostForum: General CCS C Discussion   Posted: Wed Feb 12, 2014 7:39 am   Subject: Temperature A/D conversion - LM35DT to PIC18F2580
Hi temtronic,

thanks for the reply.


Depending on the application,you have to decide if accuracy of a wide range is critical( say +-.25*C) or not(+-1*C) is OK.Also how 'fine' a reading has to b ...
  Topic: Temperature A/D conversion - LM35DT to PIC18F2580
Gaara

Replies: 24
Views: 45342

PostForum: General CCS C Discussion   Posted: Wed Feb 12, 2014 7:03 am   Subject: Temperature A/D conversion - LM35DT to PIC18F2580
Hi Ttelmah,

Ah .. I see but just to confirm I fully understand using the LM335 with regards to my target range of -30 degrees Celsius to +45 degrees Celsius I'm I right in saying that the respectiv ...
  Topic: Temperature A/D conversion - LM35DT to PIC18F2580
Gaara

Replies: 24
Views: 45342

PostForum: General CCS C Discussion   Posted: Wed Feb 12, 2014 5:14 am   Subject: Temperature A/D conversion - LM35DT to PIC18F2580
Hi all,
Thank you for all the comments and suggestions.
@Gabriel:

Be sure to connect the LM35 accordingly to measure -temps.

the datasheet should show a diagram with 2 diodes. if i remember c ...
  Topic: Temperature A/D conversion - LM35DT to PIC18F2580
Gaara

Replies: 24
Views: 45342

PostForum: General CCS C Discussion   Posted: Mon Feb 10, 2014 11:24 am   Subject: Temperature A/D conversion - LM35DT to PIC18F2580
Thanks Gabriel. I'll have a detailed look at your proposal tomorrow morning
  Topic: Temperature A/D conversion - LM35DT to PIC18F2580
Gaara

Replies: 24
Views: 45342

PostForum: General CCS C Discussion   Posted: Mon Feb 10, 2014 8:09 am   Subject: Temperature A/D conversion - LM35DT to PIC18F2580
Hi everyone,

I'm slightly new to the world of A/D conversion especially using the CCS C compiler so forgive me if I'm asking an already answered question (I'll indicate later in the post the resea ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group