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 15 matches
CCS Forum Index
Author Message
  Topic: PIC10F322 - Internal Temperature Indicator
joergn

Replies: 47
Views: 113347

PostForum: General CCS C Discussion   Posted: Wed Sep 14, 2016 4:38 am   Subject: PIC10F322 - Internal Temperature Indicator
I have now on this 16F1765 the internal temp sensor on a first DUT in action and need to check the accuracy and tolerance on other chips.

I calibrated it at 0°C and 50°C manually.
It resolves 1� ...
  Topic: PIC10F322 - Internal Temperature Indicator
joergn

Replies: 47
Views: 113347

PostForum: General CCS C Discussion   Posted: Tue Sep 13, 2016 3:44 am   Subject: PIC10F322 - Internal Temperature Indicator
Thanks for the hint, I wanted to create extra delay, because of the bad samples I am wondering about, meanwhile I found inside the datasheet I have to wait 200us befor each internal tempread conversio ...
  Topic: PIC10F322 - Internal Temperature Indicator
joergn

Replies: 47
Views: 113347

PostForum: General CCS C Discussion   Posted: Mon Sep 12, 2016 10:49 am   Subject: PIC10F322 - Internal Temperature Indicator

void pcbtemp(void)
{
disable_interrupts(INT_TIMER3);
setup_vref(TEMPERATURE_INDICATOR_ENABLED|TEMPERATURE_RANGE_HIGH);
set_adc_channel(TEMPERATUR ...
  Topic: PIC10F322 - Internal Temperature Indicator
joergn

Replies: 47
Views: 113347

PostForum: General CCS C Discussion   Posted: Mon Sep 12, 2016 3:45 am   Subject: PIC10F322 - Internal Temperature Indicator
Thanks for the explanation ! The 'cheap like auto' ALSO means not precise or accurate so you NEED to calibrate every unit or accept a WIDE range as being 'valid'.

Jay

That's not a problem over a ...
  Topic: PIC10F322 - Internal Temperature Indicator
joergn

Replies: 47
Views: 113347

PostForum: General CCS C Discussion   Posted: Fri Sep 09, 2016 5:54 am   Subject: PIC10F322 - Internal Temperature Indicator
I've never understood why anyone would put an internal temp indicator inside a micro.
Jay

You want to monitor the PCB temp to shut down or regulate back the power you move over the board. The shu ...
  Topic: PIC10F322 - Internal Temperature Indicator
joergn

Replies: 47
Views: 113347

PostForum: General CCS C Discussion   Posted: Fri Sep 09, 2016 3:46 am   Subject: PIC10F322 - Internal Temperature Indicator
I am considering to use the 16F1765 internal TEMP_INDICATOR also and find this discussion quite late...

The main function I do with my pic project is to measure the LED junction temp with my new pa ...
  Topic: Best approach to variable software PWM generator
joergn

Replies: 4
Views: 11238

PostForum: General CCS C Discussion   Posted: Sat Jun 04, 2016 4:22 am   Subject: Best approach to variable software PWM generator
If a counter based PWM is done, you may want to avoid visible flicker of a PWM based LED driver, if other interrupts are may delaying such port changes.
You can disable such other interrupts when c ...
  Topic: OT - Temperature - CLOSED
joergn

Replies: 11
Views: 18967

PostForum: General CCS C Discussion   Posted: Fri Mar 11, 2016 4:38 am   Subject: OT - Temperature - CLOSED
I am using also Diodes for temp sensing and will soon have the US granted Patent doc in my hands - after paying the fees....... ;-)

But those are Power LEDs and I made an even simpler method than ...
  Topic: OT - Temperature - CLOSED
joergn

Replies: 11
Views: 18967

PostForum: General CCS C Discussion   Posted: Wed Mar 09, 2016 10:00 am   Subject: OT - Temperature - CLOSED
I have just made a 4 channel 31855K sensor board with a 18F45k22 and an FTDI USB 232R chip and control this over virtual com port driver out of Visual C++ for temp data recordings. FTDI chip gives you ...
  Topic: IO Ports as Input
joergn

Replies: 21
Views: 31011

PostForum: General CCS C Discussion   Posted: Fri Aug 08, 2014 3:11 am   Subject: IO Ports as Input
while(true)
{
if(input(pin_a1)==1)
{
while(input(pin_a1)==1);
}
++test; // should count only when button is re ...
  Topic: DSPIC33EP512GP502 not working properly.
joergn

Replies: 14
Views: 15308

PostForum: General CCS C Discussion   Posted: Fri Jul 18, 2014 8:50 am   Subject: DSPIC33EP512GP502 not working properly.
If you want to SFR registers you define them with #word:

#WORD CLKDIV = 0x0744 //this is the correct adr
#WORD PLLFBD = 0x0746 //this is the correct adr

now you can also define also the bits ...
  Topic: DSPIC33EP512GP502 not working properly.
joergn

Replies: 14
Views: 15308

PostForum: General CCS C Discussion   Posted: Fri Jul 18, 2014 8:14 am   Subject: DSPIC33EP512GP502 not working properly.
You have to verify out of the SFR registers if the clock settings are set correctly, because you mentioned that those chips should be identical, but may be not ??

If in case the behaviour is cause ...
  Topic: DSPIC33EP512GP502 not working properly.
joergn

Replies: 14
Views: 15308

PostForum: General CCS C Discussion   Posted: Fri Jul 18, 2014 6:01 am   Subject: DSPIC33EP512GP502 not working properly.
Hi, try

#use delay(internal=140000000)
  Topic: PIC18F25K22
joergn

Replies: 2
Views: 7606

PostForum: General CCS C Discussion   Posted: Thu Oct 07, 2010 2:31 am   Subject: PIC18F25K22
Hi,

I had the same problem in the beginning.
Inside the main.h file I am just using the delay command and get
the 64Mhz PLL. Inside my main code I do not
changing the clock. Best way to check t ...
  Topic: 18F45K22 ECCP unit problem
joergn

Replies: 0
Views: 6544

PostForum: General CCS C Discussion   Posted: Mon Jul 19, 2010 11:35 am   Subject: 18F45K22 ECCP unit problem
Hi, does anybody tried the 18F45K22 ?

I am using the internal osc with PLL to obtain a 64Mhz clock without external resonator but my mute is meanwhile low, because I still have not managed to bring ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group