PW Dixon is right : Check your calculations ...
your sensor will be hot-dead for the fan to begin turning ...
Alain
Search found 715 matches
- 02 Oct 2015 10:27
- Forum: mikroC PRO for PIC General
- Topic: Design of a PIC12F683 based temperature controlled DC fan
- Replies: 5
- Views: 1883
- 07 Jul 2015 10:53
- Forum: mikroC PRO for PIC General
- Topic: To turn off comparators for PIC16F877
- Replies: 4
- Views: 3605
Re: To turn off comparators for PIC16F877
Much better READ your manual than ever ask others ...
http://www.mikroe.com/products/view/285 ... ming-in-c/
dedicated to the '887 ... isn't life ( and MkE ! ) marvellous ???
Alain
http://www.mikroe.com/products/view/285 ... ming-in-c/
dedicated to the '887 ... isn't life ( and MkE ! ) marvellous ???
Alain
- 29 Jun 2015 17:41
- Forum: mikroC PRO for PIC General
- Topic: servo motor model SM-S430R
- Replies: 6
- Views: 3305
Re: servo motor model SM-S430R
I write code for test but the servo is rotate 360 degree and continuous how can control for this servo for example rotate 45 degree only or 90 degree or any angle can be move no way ... OR you control the angle, OR you control the speed ( better say the torque in continuous rotation ) ... you do no...
- 31 Mar 2015 16:21
- Forum: mikroC PRO for PIC General
- Topic: 16F4520 ADC with external voltage reference
- Replies: 3
- Views: 1230
Re: 16F4520 ADC with external voltage reference
So I used a normal diode in the forward bias with a resistor to have a Vref of 646 mV not so good an idea, as the voltage is temp related ( - 2. ??? mv/°C ) :roll: for your second question, It would be nice to verify if the ADC range is what you expect ... ( check parameters A20 and A20a :wink: ) A...
- 24 Mar 2015 22:14
- Forum: mikroC PRO for PIC General
- Topic: CMCON not recognized on 18F4550
- Replies: 4
- Views: 1840
Re: CMCON not recognized on 18F4550
surprising ... this one compiles fine, and, as you see it's MkC Pro example ... /* * Project name: HID Read Write Interrupt (USB HID Read & Write Test) * Copyright: (c) MikroElektronika, 2005-2010 * Revision History: 20100512: - initial release; * Description: This example establishes connection wit...
- 15 Mar 2015 11:41
- Forum: mikroC PRO for PIC General
- Topic: PicPro version 6.5.0
- Replies: 1
- Views: 1163
Re: PicPro version 6.5.0
just temporarily stop AVG ( right click on the taskbar ...) ...
you also can declare it in the AVG exceptions for further quiet downloads !
If you use the auto-upgrade everything will be fine !
Alain
you also can declare it in the AVG exceptions for further quiet downloads !
If you use the auto-upgrade everything will be fine !
Alain
- 07 Mar 2015 16:04
- Forum: mikroC PRO for PIC General
- Topic: initialization of 4x40 LCD
- Replies: 1
- Views: 1114
Re: initialization of 4x40 LCD
may be you can have help from here ...
http://docs-europe.electrocomponents.co ... 30bb8d.pdf
"HD44780" means you do not need a special driver ...
Alain
http://docs-europe.electrocomponents.co ... 30bb8d.pdf
"HD44780" means you do not need a special driver ...
Alain
- 23 Feb 2015 16:32
- Forum: mikroC PRO for PIC General
- Topic: How to use 32Mhz external clock on PIC16f1827
- Replies: 2
- Views: 1392
Re: How to use 32Mhz external clock on PIC16f1827
Hi,
You can choose :
- internal 32 Mhz : 8 Mhz internal clock + PLL x 4
- External 32 Mhz : 32 Mhz Xtal - Hs osc
- External 32 Mhz : 8 Mhz Xtal -HS osc + PLL x 4
just yours to decide ...
32 Mhz Xtal must be parallel type and both caps 15/18 pf ... pay attention to this !
Alain
You can choose :
- internal 32 Mhz : 8 Mhz internal clock + PLL x 4
- External 32 Mhz : 32 Mhz Xtal - Hs osc
- External 32 Mhz : 8 Mhz Xtal -HS osc + PLL x 4
just yours to decide ...
32 Mhz Xtal must be parallel type and both caps 15/18 pf ... pay attention to this !
Alain
- 03 Jan 2015 13:43
- Forum: mikroC PRO for PIC General
- Topic: LED dim bright using PWM....
- Replies: 3
- Views: 2111
Re: LED dim bright using PWM....
Hi, may be you could @ first clean your code as there are redundant conditions and unneccessary operations like this one adc_sample_1=adc_sample_1/1; . also consider a PWM module doesn't like its parameters to be changed too often, so, at first do not overwrite duty if no significant change ( yours ...
- 01 Dec 2014 09:47
- Forum: mikroC PRO for PIC General
- Topic: Is PIC Doomed
- Replies: 12
- Views: 3958
Re: Is PIC Doomed
Might the truth be here ???Maybe bottom line is.... If you are a professional use Microchip tools - If you program for fun, use MikroElectronica tools.
Probably ... but those telling that years ago were bashed ...
Alain
- 29 Oct 2014 23:23
- Forum: mikroC PRO for PIC General
- Topic: GP4 not working on 12F683
- Replies: 7
- Views: 2467
Re: GP4 not working on 12F683
what about your project settings ( especially clock mode ... )
Alain
Alain
- 09 Oct 2014 16:55
- Forum: mikroC PRO for PIC General
- Topic: Jumping to a function that we will never return from
- Replies: 4
- Views: 1425
Re: Jumping to a function that we will never return from
depending on the micro the compiler is creating code isn't that the best application for what we call " conditionnal compiling" ??? Directives #if, #elif, #else, and #endif The conditional directives #if, #elif, #else, and #endif work very similar to the common C conditional statements. If the expr...
- 18 Sep 2014 10:35
- Forum: mikroC PRO for PIC General
- Topic: Microchip Compiler
- Replies: 3
- Views: 2077
Re: Microchip Compiler
Hi, Trevor
This one still working fine ... I presume you are not to use the very latests chips on the market ( MikroC doesn't support them either, to the day !!! ) sooo, continue with the latest MPLAB release ...
http://ww1.microchip.com/downloads/en/D ... E_8_92.zip
Alain
This one still working fine ... I presume you are not to use the very latests chips on the market ( MikroC doesn't support them either, to the day !!! ) sooo, continue with the latest MPLAB release ...
http://ww1.microchip.com/downloads/en/D ... E_8_92.zip
Alain
- 28 Jun 2014 13:26
- Forum: mikroC PRO for PIC General
- Topic: White led light adjustments
- Replies: 3
- Views: 1766
Re: White led light adjustments
just change for a current controlled PWM, instead of a Voltage controlled PWM ...
won't be the best, but enough for your needs. ( have a look to the light vs current curve on your LED Datasheet )
or use a feedback LDR to realize a PID controller ...
Alain
won't be the best, but enough for your needs. ( have a look to the light vs current curve on your LED Datasheet )
or use a feedback LDR to realize a PID controller ...
Alain
- 01 Jun 2014 11:27
- Forum: mikroProg™ programmer and debugger
- Topic: mikroProg Suite for PIC 2.30 released - but retains bugs
- Replies: 26
- Views: 15609
Re: mikroProg Suite for PIC 2.30 released - but retains bugs
I can't believe that you have returned to this thread after a whole month Alain. I guess you solved your issue by grounding RB4. The only thing I still don't understand is whether you have PIC16F628 or PIC16F628A. I guess it doesn't matter any more. Best Regards Hi, MaGik this can't be called SOLVI...