Search found 760 matches

by Raslan
22 Aug 2018 16:38
Forum: mikroC PRO for PIC General
Topic: PIC16F876A - PortC 3, 4, 5 are not outputing
Replies: 5
Views: 2501

Re: PIC16F876A - PortC 3, 4, 5 are not outputing

Problem: PortC pin 3 ,4 and 5 can not output anything This is because you configured all pins of PortC as inputs. TrisC = 0xFF ' Set Port C to digital output I wish it was easy as the above... but actually I did a mistake when I was writing my question... but in reality I did TrisC = 0x00 so the pr...
by Raslan
21 Aug 2018 21:41
Forum: mikroC PRO for PIC General
Topic: PIC16F876A - PortC 3, 4, 5 are not outputing
Replies: 5
Views: 2501

Re: PIC16F876A - PortC 3, 4, 5 are not outputing

hello do you want to display the reading of port C ? what about comparator ? I would like to make it simple like this if I write this code PortC = 0xFF then it is expected that all port C have digital High (+5V). However, the actual result is: PortC.0 is High PortC.1 is High PortC.2 is High PortC. ...
by Raslan
21 Aug 2018 08:56
Forum: mikroC PRO for PIC General
Topic: PIC16F876A - PortC 3, 4, 5 are not outputing
Replies: 5
Views: 2501

PIC16F876A - PortC 3, 4, 5 are not outputing

Good Morning MCU: PIC16F876A HW : EasyPic4 Problem: PortC pin 3 ,4 and 5 can not output anything Test Code: main: TrisB = 0x00 ' Set port B to digital input TrisC = 0xFF ' Set Port C to digital output While True PortB = PortC ' Copy the status of portC to portB Wend What is the problem? I have teste...
by Raslan
12 Mar 2015 18:34
Forum: mikroBasic PRO for PIC General
Topic: MikroProg Suit Under Windows 7 SP1 Error
Replies: 2
Views: 1355

Re: MikroProg Suit Under Windows 7 SP1 Error

Thanks Filip
Ticket has been created!
Regards
by Raslan
12 Mar 2015 06:19
Forum: mikroBasic PRO for PIC General
Topic: MikroProg Suit Under Windows 7 SP1 Error
Replies: 2
Views: 1355

MikroProg Suit Under Windows 7 SP1 Error

Hi Sorry if this topic was a duplicate (even i have tried to search for this same problem but probably I was not so lucky?) Issue: as shown in the attached photo I have uninstalled the driver and using the option Delete my Driver (under Device Manager >> MirkoEkectronic USB... >> Uninstall) Then I h...
by Raslan
09 Sep 2014 09:23
Forum: mikroBasic PRO for PIC General
Topic: LM35 + PIC16F877A instable readings
Replies: 2
Views: 1710

Re: LM35 + PIC16F877A instable readings

thank you so much for your kind reply... I will try your solutions and will be back to you soon with the results :)
Best Wishes
Razi
by Raslan
05 Sep 2014 23:05
Forum: mikroBasic PRO for PIC General
Topic: LM35 + PIC16F877A instable readings
Replies: 2
Views: 1710

LM35 + PIC16F877A instable readings

Hello, I am using EasyPIC4 hardware with LM35DZ and PIC16F877A @ 10MHz I am getting the temperature as expected but there are instability in the readings.. i.e: 29.3, 29.8, 29.3, 29.3, 29.8...etc I am powering up the EasyPIC4 from an external Lab. Power Supply (very well regulated) LM35 interfacing ...
by Raslan
31 Aug 2014 22:10
Forum: mikroBasic PRO for PIC General
Topic: [Not Related to PIC] Stepper Motor-Consuiltaion from Experts
Replies: 0
Views: 1264

[Not Related to PIC] Stepper Motor-Consuiltaion from Experts

Dear Experts at Stepper Motor's Field, I have a device which controls with a 3-phase stepper motor the device is giving error: Need a repair... if I rotate the motor's axis by my hand a little bit, the error message disappear and start to run.. but when it stops, I have two cases: 1) the motor will ...
by Raslan
31 Aug 2014 22:02
Forum: mikroBasic PRO for PIC General
Topic: deactivate comparators and A/D converters
Replies: 1
Views: 1242

Re: deactivate comparators and A/D converters

You have to check the datasheet!
Back to reference number DS39582B at page 43:

Code: Select all

ADCON1 = 0x06
by Raslan
22 May 2013 14:59
Forum: mikroBasic PRO for PIC General
Topic: Unstable Reading out from LM35 + PIC16877A + LCD >>EasyPIC4
Replies: 3
Views: 2528

Re: Unstable Reading out from LM35 + PIC16877A + LCD >>EasyP

Thank you all for your kind comments. So I ave concluded that the code itself is good and working fine as designed. But it is a problem of Noise. Well, I have noticed also this issue: when I am supplying the EasyPIC5 from an external DC supply 12 V DC, the readings are more stable than depending on ...
by Raslan
19 May 2013 18:36
Forum: mikroBasic PRO for PIC General
Topic: Unstable Reading out from LM35 + PIC16877A + LCD >>EasyPIC4
Replies: 3
Views: 2528

Unstable Reading out from LM35 + PIC16877A + LCD >>EasyPIC4

Hi, I am suffering from unstable temperature measurement's readings out of LM35 connected to PIC16F877A at 4 MHz crystal with LCD 2x16 character on EasyPIC4 hardware. Here is the code: program LM35_Test ' Lcd module connections For EasyPIC4 hardware dim LCD_RS as sbit at RD2_bit LCD_EN as sbit at RD...
by Raslan
24 Jun 2012 13:15
Forum: mikroBasic PRO for PIC General
Topic: [Hardware Problem] DS1820 with 1m Copper Cable connection!
Replies: 13
Views: 3548

Re: [Hardware Problem] DS1820 with 1m Copper Cable connectio

yes I added the 33pF capacitor and I am using the OneWire library
I do not really have doubts about he HW configuration as it works when I touch the sensor with my hand.
by Raslan
23 Jun 2012 19:52
Forum: mikroBasic PRO for PIC General
Topic: [Hardware Problem] DS1820 with 1m Copper Cable connection!
Replies: 13
Views: 3548

Re: [Hardware Problem] DS1820 with 1m Copper Cable connectio

Oops, forgot to tell you that I have one 33pF at the power lines of the PIC but not too close to the pins...

Go to advanced search