Author |
Message |
Topic: HS1101 capacitance to humidity formula |
Ömer Faruk
Replies: 21
Views: 50070
|
Forum: General CCS C Discussion Posted: Thu Sep 24, 2020 1:57 pm Subject: HS1101 capacitance to humidity formula |
The formula is correct. Your capacitance reading is wrong, as I suspected
a long time ago. Their data gives the capacitance at 100RH as 193.1pF
201pF is well above this.
Thanks for your reply. I ... |
Topic: HS1101 capacitance to humidity formula |
Ömer Faruk
Replies: 21
Views: 50070
|
Forum: General CCS C Discussion Posted: Mon Sep 21, 2020 1:17 pm Subject: HS1101 capacitance to humidity formula |
cap=cap/180;
humid = -(3465.6*cap*cap*cap) + (10732*cap*cap) - (10457*cap) + 3245.9 ;
I just have realized that when i put 201pF in the equation it results in 125%.
Are you sure that the form ... |
Topic: HS1101 capacitance to humidity formula |
Ömer Faruk
Replies: 21
Views: 50070
|
Forum: General CCS C Discussion Posted: Tue Sep 15, 2020 2:35 pm Subject: HS1101 capacitance to humidity formula |
2) PCB layout/wiring can add 'stray capacitance' according to datasheet. This can be a huge problem. If PCB traces aren't perfect and clean then coated, any moisture in the air can affect the read ... |
Topic: HS1101 capacitance to humidity formula |
Ömer Faruk
Replies: 21
Views: 50070
|
Forum: General CCS C Discussion Posted: Tue Sep 15, 2020 2:30 pm Subject: HS1101 capacitance to humidity formula |
#include <18f46k22_mine.h>
#fuses HSH,NOWDT,NOPROTECT,NOBROWNOUT,NOLVP,PUT,NOCPD,NOWRT,NODEBUG,INTRC_IO,NOIESO,CCP2C1,CCP3E0,NOHFOFST,MCLR,STVREN,NOWRTB,NOEBTR,NOXINST,TIMER3C0
#device ADC=10
... |
Topic: HS1101 capacitance to humidity formula |
Ömer Faruk
Replies: 21
Views: 50070
|
Forum: General CCS C Discussion Posted: Sun Sep 13, 2020 3:07 pm Subject: HS1101 capacitance to humidity formula |
Hello Everybody,
I am trying to measure humidity with HS1101 sensor. I am using CTMU unit on pic18f46k22. I have calibrated the constant current supply as 6.1 uA. I am getting reasonable readings ... |
Topic: Humidity & Temperature Sensor |
Ömer Faruk
Replies: 24
Views: 49160
|
Forum: General CCS C Discussion Posted: Sat May 02, 2020 4:15 pm Subject: Humidity & Temperature Sensor |
Too many possible parameters:
What humidity range?
What temperature range?.
What humidity range?.
What sort of environment?.
What gas?.
How 'accurate'?.
What speed?.
The DHT-22, can be qu ... |
Topic: I need an algorithm to find out whether temp is increasing |
Ömer Faruk
Replies: 18
Views: 33365
|
Forum: General CCS C Discussion Posted: Fri May 24, 2019 2:33 am Subject: I need an algorithm to find out whether temp is increasing |
Whatever you use for detecting the temperature is OK. Personally I'd never use a resistor, simply because I'm not sure how repeatable the measurements are.
İ think it is repeatable. My results are ... |
Topic: I need an algorithm to find out whether temp is increasing |
Ömer Faruk
Replies: 18
Views: 33365
|
Forum: General CCS C Discussion Posted: Fri May 24, 2019 1:42 am Subject: I need an algorithm to find out whether temp is increasing |
Yes. If you think about even a good ADC reference, and then the conversion
5V
NTC
Measuring point
10K
0V
While measuring resistance value there is no need for a positive refe ... |
Topic: Timer 1 problem with re-entrancy |
Ömer Faruk
Replies: 3
Views: 10706
|
Forum: General CCS C Discussion Posted: Thu May 23, 2019 8:51 am Subject: Timer 1 problem with re-entrancy |
Remember though this is only a _warning_. It is saying "you might
want to re-think what you are doing", but it will still work. It means the
handling of the Timer1 interrupt will be dela ... |
Topic: I need an algorithm to find out whether temp is increasing |
Ömer Faruk
Replies: 18
Views: 33365
|
Forum: General CCS C Discussion Posted: Thu May 23, 2019 8:47 am Subject: I need an algorithm to find out whether temp is increasing |
Hello temtronic thanks for your answer but i dont want to use another component in the project. I believe there is a way for using just NTC. |
Topic: I need an algorithm to find out whether temp is increasing |
Ömer Faruk
Replies: 18
Views: 33365
|
Forum: General CCS C Discussion Posted: Wed May 22, 2019 11:24 pm Subject: I need an algorithm to find out whether temp is increasing |
Hello,
I have a homemade incubator. I use incandescent lamps as heater. I implemented on-off control of lamps. Sometimes these lamps can be broken while incubator is working. I want to know when lamp ... |
Topic: How to convert a Arduino Code to CCS |
Ömer Faruk
Replies: 13
Views: 29098
|
Forum: General CCS C Discussion Posted: Sun May 19, 2019 11:00 pm Subject: How to convert a Arduino Code to CCS |
average=(sum+3)/8; //Now average the 8 value sum (4/5 //rounding).
.
Could you please explain this row in detail.I didnt get it. |
Topic: Timer 1 problem with re-entrancy |
Ömer Faruk
Replies: 3
Views: 10706
|
Forum: General CCS C Discussion Posted: Sun May 19, 2019 4:34 am Subject: Timer 1 problem with re-entrancy |
Hello all,
I am having problem with interrupts disabled during call to prevent re-entrancy in Timer1 code. This is my code:
float toplam1=0;
float sicaklik = 0;
#int_timer1
void timer1_kes ... |
Topic: How to convert a Arduino Code to CCS |
Ömer Faruk
Replies: 13
Views: 29098
|
Forum: General CCS C Discussion Posted: Mon May 06, 2019 7:10 pm Subject: How to convert a Arduino Code to CCS |
When I read the original code, I see that ADC is sampled for 20ms. Now if the PIC is running slow, you'll get a few readings, running it at 20MHz and you'll get a LOT of readings. As pointed out, it's ... |
Topic: Reset problem when power off on raspbery pi ds3231 [Solved] |
Ömer Faruk
Replies: 6
Views: 15395
|
Forum: General CCS C Discussion Posted: Thu Mar 14, 2019 10:08 am Subject: Reset problem when power off on raspbery pi ds3231 [Solved] |
Have to agree wholeheartedly with Jay's comment.
These are small scale CMOS chips. No 'power' elements, just very
small FET's and gates. For this type of device to 'overheat', implies it has to
hav ... |
|