Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hi spirotechgroup,
If you are using mikroC compiler "ADC_Get_Sample" can be used for sampling the ADC values.
- - - Updated - - -
Hi PLEG54,
If you intend on using any PC fans or high RPM fans in the future you should use a BC337. It can go up to 800ma where as the BC547 is rated at 100ma. A...
Hi PLEG54,
Thank you for taking your time to test the code. I'd like to ask a few questions from you.
What was the reason for this behavior and how did you solved it ?
Thank You.
Hi pic.programmer,
I tried your code and still it's not working. I have attached the project files as requested. It has all the possible things i have tried. Could you please have a look at it and try it from your end to see if its working.
All suggestion and help is really appreciated.
Thank...
Hi pic.programmer,
Right now I'm unable to send the files. As soon as i get home I'll upload the project files to you.
Thank You.
- - - Updated - - -
Hi Brian,
For now I have disabled the WDT and using below code to find the exact problem.
unsigned int Temp, Temp_Old;
unsigned int...
Hi andre_teprom,
The fan actually turn on. It's a 12V @ 350ma fan. I think the problem is with the code. According to mikroc forum the ADC_Get_Sample output a decimal value between 0 to 1023.
When i measured the room temperature with a arduino it shows between 27c to 29c. My laptop...
Hi Brian,
I have already enabled the WDT in the code. I do not understand what you mean by "they are currently using a 'reserved' value with the WDT turned off in software". Could you please tell me how to override by the CONFIG word.
Is my math wrong or too much for this program. I think...
Hi Guys,
I'm still trying to get my PIC12F683 based temperature controlled DC fan to work, but with no luck. No matter how much i try the fan won't spin at all. I do not have any special equipment to debug this or even see the temperature reading. This is the new code i have. I'm using mikroc...
Hi Brian,
I'm using the mikroC PRO PIC Compiler as pic.programmer stated. I'm really new to pic programming and wasn't sure how to do thing the proper way.
- - - Updated - - -
Hi pic.programmer,
You are correct. I should divide 1023 by 4 to get the proper value. The compiler didn't show any...
Hi Guys,
I'm attempting to build a temperature controlled DC fan based on a PIC12F683 micro controller. Currently my circuit is not working and i need some help to find out the problem. So far this is what i have.
unsigned long int Temp;
unsigned int adc_sample_1, adc_sample_2;
unsigned...
Hi betwixt,
The USART looks promising, and thank you for suggesting. By now I'm well aware of the ICSP ports and gonna put a connector for it.
I have one dough, whether the pic micro controllers I have mentioned in the 1st post is an overkill for my purpose. Do you think a small pic would be...
Hi betwixt,
Well, right now i have no plans for any communication interface, but that seems interesting if i could implement remote monitoring through it. BTW is it possible to add USB externally to the system if the PIC does not have it internally.
Is there any other useful features which you...
Hi,
I think it would be good if you can buy a factory made power cord as trying to build one will probably cost you more money. Also proper care should be taken to isolate each plug base and a good enclosure should be used as well. Otherwise you may end up with a short circuit and burn down...
Hi betwixt,
Thank you for taking the time to read this thread. Yes, you are correct. Many mcu can do all of that. but my real concerns are the power consumption, memory and IO pins of the micro controller. Also I'd like to know whether there better alternative out there.
Can you please tell...
Hi All,
I'm planning to build a PWM solar charger for home use with flexibility/scalability in mind. I'm a beginner with less experience in pic programming. I expect to incorporate the solar charger with below features.
1. Based on PWM algorithm
2. Charging multiple 12V sealed lead acid...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.