Search found 120 matches

by dariush_abbasi
15 Feb 2010 08:49
Forum: mikroC General
Topic: temperature sensor (LM35) + PIC16f877 + ac motor
Replies: 9
Views: 6533

Re: temperature sensor (LM35) + PIC16f877 + ac motor

Hi,
No,not about motor,just for LM35 but the good point is the program is for Mikroc.
Be successful.
by dariush_abbasi
14 Feb 2010 22:01
Forum: mikroC General
Topic: temperature sensor (LM35) + PIC16f877 + ac motor
Replies: 9
Views: 6533

Re: temperature sensor (LM35) + PIC16f877 + ac motor

Hi,
I don't know whether helps or not but...
There is a sample code for PIC and LM35 in the book called "ADVANCED PIC MICROCONTROLLER PROJECTS IN C".
I think that would be a good start.
Be successful.
by dariush_abbasi
14 Feb 2010 21:50
Forum: mikroC General
Topic: how to send a integer via USART ?
Replies: 3
Views: 4953

Re: how to send a integer via USART ?

Hi,
I think you can send it character by character.
For example for sending 123 try to send 1 , 2 & 3 consecutively.
That is what i think.
Be successful.
by dariush_abbasi
14 Feb 2010 21:41
Forum: mikroC General
Topic: Having problem with Library example : Temp sensor 18S20
Replies: 9
Views: 3397

Re: Having problem with Library example : Temp sensor 18S20

Change PORTC.0 to PORTE.2 and check it again.
You can also check with 9 resolution.
by dariush_abbasi
14 Feb 2010 21:29
Forum: mikroC General
Topic: Are SHT11 & 18S20 sensors able to work together ?
Replies: 13
Views: 5153

Re: Are SHT11 & 18S20 sensors able to work together ?

Bon nuit,ici est nuit. Below is a fully functional code,but there are some differences in my hardware,change them according to your own. 1-I've used PIC18F877A with 8M. 2-I've used PORTD for both SHT sensor & LCD and RE2 for DS1820 sensor. /***********************************************************...
by dariush_abbasi
14 Feb 2010 19:02
Forum: mikroC General
Topic: Are SHT11 & 18S20 sensors able to work together ?
Replies: 13
Views: 5153

Re: Are SHT11 & 18S20 sensors able to work together ?

Hi.
Give me your working SHT code.
I'll add the DS1820 to it for you.
Bye.
by dariush_abbasi
13 Feb 2010 19:07
Forum: mikroC General
Topic: Are SHT11 & 18S20 sensors able to work together ?
Replies: 13
Views: 5153

Re: Are SHT11 & 18S20 sensors able to work together ?

Bonjour.
You should add the 18s20 code carefully ,for example it won't work without

Code: Select all

ADCON1 = 7;
.
Try to add one of the code to the other step by step in order to get the problem.
by dariush_abbasi
13 Feb 2010 18:51
Forum: mikroC General
Topic: Need help! SHT11 humidity & Temp sensor
Replies: 52
Views: 44306

Re: Need help! SHT11 humidity & Temp sensor


Hi crocu.
Did you get the answer for showing just 20.65 for example and not 20.6543?
If not let me know to tell you the changes.
Be successful.
by dariush_abbasi
18 Nov 2009 22:51
Forum: mikroC General
Topic: Need help! SHT11 humidity & Temp sensor
Replies: 52
Views: 44306

Thanks a lot,but i still have the problem. Would you please give me your tested ".hex" file for 16f877a and 4MH?because i want to be sure that nothing is wrong in my software. Is this code must show the "HUMI: & TEMP:" or something else without the sensor?or without connecting the sensor nothing wil...
by dariush_abbasi
18 Nov 2009 20:46
Forum: mikroC General
Topic: Need help! SHT11 humidity & Temp sensor
Replies: 52
Views: 44306

Hi crocu
I checked your last code with SHT75 (16f877a) with your same circuit but i can see nothing on LCD.
Do you know what my problem could be?
Thanks beforehand.
by dariush_abbasi
05 Sep 2009 12:14
Forum: mikroC General
Topic: connecting a common anode 7segment to PIC?
Replies: 3
Views: 2177

Thanks a lot for your replies my dear friend.
by dariush_abbasi
04 Sep 2009 22:37
Forum: mikroC General
Topic: connecting a common anode 7segment to PIC?
Replies: 3
Views: 2177

connecting a common anode 7segment to PIC?

Hi everybody.
Would you please someone tell me how can i connect a common anode 7seg to PIC?
Thanks in advance.
by dariush_abbasi
11 Aug 2009 20:00
Forum: mikroC General
Topic: SHT75
Replies: 38
Views: 20276

Hi,
I am using the sensor with 3m cable.Is this makes any problem for PIC?
I have used same sensor with 89s52 and it works well.
Bye.
by dariush_abbasi
11 Aug 2009 14:57
Forum: mikroC General
Topic: SHT75
Replies: 38
Views: 20276

Thanks a lot dear nikola.kostic.
I'll try that.
Best regards.
by dariush_abbasi
11 Aug 2009 14:41
Forum: mikroC General
Topic: SHT75
Replies: 38
Views: 20276

Really!
So,what should i do now?
I am using version 1.65,do you think that my problem is that and i should use the 2.5 version of compiler or the problem is my sensor?because just these two things are left.
Just forgive me for bothering you.
thanks.

Go to advanced search