Author |
Message |
Topic: Temperature controlled fan using PIC 16F877A |
jwoo
Replies: 4
Views: 13363
|
Forum: General CCS C Discussion Posted: Mon Jan 01, 2018 3:39 pm Subject: Temperature controlled fan using PIC 16F877A |
'temperature' is declared as a character array.
Your test test it as if it is a numeric value. It isn't.
temperature<10 won't work at all.
temperature' where you use it will be the addres ... |
Topic: Temperature controlled fan using PIC 16F877A |
jwoo
Replies: 4
Views: 13363
|
Forum: General CCS C Discussion Posted: Mon Jan 01, 2018 2:34 pm Subject: Temperature controlled fan using PIC 16F877A |
Hello, I use 12V fan(2 wire), L293D, I want to adjust the speed of the fan according to the temperature. Fan is running but fan speed does not change according to temperature. I do not understand what ... |
Topic: [solved] Using 2 HC-SR04 with Pic16F877A |
jwoo
Replies: 8
Views: 20864
|
Forum: General CCS C Discussion Posted: Thu Dec 28, 2017 12:49 pm Subject: [solved] Using 2 HC-SR04 with Pic16F877A |
Thank you for your answers. I used an old function on the site to calculate the distance, and the system works fine with the delay when I use it. However, I don't want the second sensor to work on the ... |
Topic: [solved] Using 2 HC-SR04 with Pic16F877A |
jwoo
Replies: 8
Views: 20864
|
Forum: General CCS C Discussion Posted: Sat Dec 23, 2017 8:52 am Subject: [solved] Using 2 HC-SR04 with Pic16F877A |
You can use multiple sensors (provided they are aimed away from each other), by using time. You pulse one, and wait for it to see it's reply, then pulse the next and get it's reply. With a time gap ... |
Topic: [solved] Using 2 HC-SR04 with Pic16F877A |
jwoo
Replies: 8
Views: 20864
|
Forum: General CCS C Discussion Posted: Fri Dec 22, 2017 9:12 am Subject: [solved] Using 2 HC-SR04 with Pic16F877A |
Hello friends. I am trying to use the LM35 to take the temperature value to the LCD screen and to use the two distance sensors to do the counting. The distance sensors work separately well, the first ... |
|