Author |
Message |
Topic: SHT11-too high temperature readings |
tomcuga
Replies: 7
Views: 12235
|
Forum: General CCS C Discussion Posted: Fri Jul 16, 2010 12:07 am Subject: SHT11-too high temperature readings |
Thank You very much PCM Programmer for great explanation as always!
I understand that, but it's more "clearer" to me and easier to understand
to use pointer variables:
send variables ad ... |
Topic: SHT11-too high temperature readings |
tomcuga
Replies: 7
Views: 12235
|
Forum: General CCS C Discussion Posted: Thu Jul 15, 2010 1:23 pm Subject: SHT11-too high temperature readings |
Thanks SherpaDoug and asmallri.
I am able to answer only on asmallri's questions 2 and 6. I'm not the expert
in temperature measurement so I don't understand other questions
Yes, my bot ... |
Topic: SHT11-too high temperature readings |
tomcuga
Replies: 7
Views: 12235
|
Forum: General CCS C Discussion Posted: Wed Jul 14, 2010 12:54 pm Subject: SHT11-too high temperature readings |
I found on Mikroelektronika's forum topic about the same problem I have.
Self heating is obviously a problem with this sensor. Some people suggest
to supply sensor from PIC pin - to be able to suppl ... |
Topic: SHT11-too high temperature readings |
tomcuga
Replies: 7
Views: 12235
|
Forum: General CCS C Discussion Posted: Wed Jul 14, 2010 12:05 am Subject: SHT11-too high temperature readings |
Hello,
My SHT11 sensor shows too high temperature values.
When I used 5V power supply with formula T=0.01*raw-40.1
temp reading was about 3.0 degrees higher and with 3.3V
sensor supply and formul ... |
Topic: "hierarchical menus in embedded systems"-port to C |
tomcuga
Replies: 4
Views: 7769
|
Forum: General CCS C Discussion Posted: Fri Jul 09, 2010 12:38 am Subject: "hierarchical menus in embedded systems"-port to C |
Code from article is available here:
ftp://ftp.circuitcellar.com/pub/Circuit_Cellar/2003/160/Kagan-160.zip |
Topic: "hierarchical menus in embedded systems"-port to C |
tomcuga
Replies: 4
Views: 7769
|
Forum: General CCS C Discussion Posted: Tue Jul 06, 2010 12:16 pm Subject: "hierarchical menus in embedded systems"-port to C |
I can send Circuit Cellar num 160 in PDF to everyone interested in. I don't know how to attach PDF to my forum post.
It's very generic approach to menu system and relatively easy to change
menus so ... |
Topic: "hierarchical menus in embedded systems"-port to C |
tomcuga
Replies: 4
Views: 7769
|
Forum: General CCS C Discussion Posted: Tue Jul 06, 2010 12:03 am Subject: "hierarchical menus in embedded systems"-port to C |
There was a very interesting article "hierarchical menus in embedded systems" on #160 ( nov 2003) issue of circuit cellar by aubrey kagan.
Has anyone try to port the code from this interest ... |
Topic: PIC24FJ input change notification interrupt |
tomcuga
Replies: 1
Views: 7012
|
Forum: General CCS C Discussion Posted: Fri Mar 05, 2010 1:43 pm Subject: PIC24FJ input change notification interrupt |
Hello,
Can someone please help me with ISR routine for input change
notification interrupt on PIC24FJ256GB110?
I found the following constants in .h file:
#define INT_CNI 84
#define I ... |
Topic: IR remote pulse measuring problems, need help? |
tomcuga
Replies: 11
Views: 12749
|
Forum: General CCS C Discussion Posted: Thu Aug 13, 2009 1:36 pm Subject: IR remote pulse measuring problems, need help? |
I tried the code of Newguy which I referenced in last mail. The symptoms are very similar: Sometimes (often) it is necessary to press button more times to decode successfully.
I also noticed some sp ... |
Topic: IR remote pulse measuring problems, need help? |
tomcuga
Replies: 11
Views: 12749
|
Forum: General CCS C Discussion Posted: Wed Aug 12, 2009 11:19 am Subject: IR remote pulse measuring problems, need help? |
Yes, I found very similar code from author newguy here:
http://www.ccsinfo.com/forum/viewtopic.php?t=21290&highlight=leadin+sequence
This author decodes each bit immediately after reception. ... |
Topic: IR remote pulse measuring problems, need help? |
tomcuga
Replies: 11
Views: 12749
|
Forum: General CCS C Discussion Posted: Tue Aug 11, 2009 1:58 pm Subject: IR remote pulse measuring problems, need help? |
This is my complete code for now. It is very ugly at some places and functionality is very poor unfortunately. Sometimes I need to press button 5 to 10 times and nothing, sometimes every press is deco ... |
Topic: IR remote pulse measuring problems, need help? |
tomcuga
Replies: 11
Views: 12749
|
Forum: General CCS C Discussion Posted: Tue Aug 11, 2009 8:59 am Subject: IR remote pulse measuring problems, need help? |
but screenshot for counter value of 32 shows that PIN_A2 is toggled after 28 edges which is wrong. The following screenshots shows only first press of remote button is OK (this was immediately after P ... |
Topic: IR remote pulse measuring problems, need help? |
tomcuga
Replies: 11
Views: 12749
|
Forum: General CCS C Discussion Posted: Tue Aug 11, 2009 4:05 am Subject: IR remote pulse measuring problems, need help? |
to Ttelmah:
You are right, but it's not important to me right now. What ever number I use for counter I can't get precise number of edges. PIN_A0 is toggling on every falling edge of signal on RB0 wh ... |
Topic: IR remote pulse measuring problems, need help? |
tomcuga
Replies: 11
Views: 12749
|
Forum: General CCS C Discussion Posted: Mon Aug 10, 2009 2:25 pm Subject: IR remote pulse measuring problems, need help? |
Hello to everyone!
I try to write some code for IR remote control decoding. After a lot of coding I think that I locate the problem which I can demonstrate with following short code snippet:
#in ... |
Topic: pickit2 as a debuger on 16F876 |
tomcuga
Replies: 0
Views: 3205
|
Forum: General CCS C Discussion Posted: Thu Jul 12, 2007 1:08 am Subject: pickit2 as a debuger on 16F876 |
Do anyone have any experience with PicKit2 as a debuger tool?
I have a simple led blinking program written in CCS (v4.038) for PIC16F876A which I programmed with PicKit2 from Mplab (v7.61a) and thi ... |
|