Search found 119 matches

by around
28 Sep 2010 18:54
Forum: mikroC PRO for PIC General
Topic: 16f887 why have two vss and two vdd pins?
Replies: 7
Views: 5522

Re: 16f887 why have two vss and two vdd pins?

Brett,

You must connect all the VDD and VSS pins on the chip. The 16F datasheets are poor when it comes to this information but the 18F datasheets are much clearer.

Cheers,

Adrian
by around
05 Aug 2010 19:13
Forum: mikroC PRO for PIC Beta Testing
Topic: beta 4 opto results
Replies: 8
Views: 4943

Re: beta 4 opto results

Mince,

Maybe I am missing something here. I see a four byte difference between your Opt 4 and Opt 0 compiles.

Cheers,

Adrian
by around
17 Jun 2010 21:18
Forum: mikroC PRO for PIC General
Topic: problem with f877a and 7segment??
Replies: 4
Views: 1931

Re: problem with f877a and 7segment??

It looks like your "goto CNT;" is inside your "for" loop. As such, it keeps jumping back to the start and never gets beyond 0.

Cheers,

Adrian
by around
01 Jun 2010 18:19
Forum: mikroC PRO for PIC General
Topic: Controlling speed of motor with L293D?
Replies: 13
Views: 11063

Re: Controlling speed of motor with L293D?

It might be useful if you post a schematic of your current circuit. Your last post suggests that you may not be clear about how the L293D would use PWM to control a DC motor works. You will always see your motor voltage across the motor terminals. The L293D does nothing to change the output voltage....
by around
01 Jun 2010 17:40
Forum: mikroC PRO for PIC General
Topic: incubation machine
Replies: 5
Views: 2423

Re: incubation machine

There should be no reason that you cannot modify the code to use any "standard" I/O pins.

Cheers,

Adrian
by around
31 May 2010 21:12
Forum: mikroC PRO for PIC General
Topic: incubation machine
Replies: 5
Views: 2423

Re: incubation machine

It is easy to "bit bang" an interface for the SHTXX series devices using I/O lines. Check out the examples here

http://www.mikroe.com/eng/products/view ... t1x-board/

Cheers,

Adrian
by around
31 May 2010 16:35
Forum: mikroC PRO for PIC General
Topic: Controlling speed of motor with L293D?
Replies: 13
Views: 11063

Re: Controlling speed of motor with L293D?

Have you looked at the signal you are putting into the L293D EN pin? Is it showing the waveform you are expecting? The L293D datasheet states that 5kHz is the maximum switching frequency for PWM using the EN line. You might want to try a lower value and see if it resoilved your issue. Cheers, Adrian
by around
01 May 2010 00:52
Forum: mikroC PRO for PIC General
Topic: RamSizes: new development aid tool
Replies: 17
Views: 6742

Re: RamSizes: new development aid tool

Working fine from Canada.

Cheers,

Adrian
by around
21 Jan 2010 22:45
Forum: mikroC PRO for PIC General
Topic: Delay_ms not matching 8mhz Frequency
Replies: 16
Views: 5554

JFP, Have you included "built_in.h" in your code. I was caught by this one. I had used delay_ms in my code but had not included "built_in.h". The code complied without errors but the delays were all wrong. After reading the help file, I was surprised that the complier had not complained about the mi...
by around
11 Jan 2010 20:48
Forum: mikroC PRO for PIC General
Topic: One Wire device to measure temperature of Water
Replies: 10
Views: 3908

shanpuru,

I have used DS18X20's to measure sea water temperature. The sensor was potted in standard cold-cure epoxy (in the centre of a machined DELRIN fitting).

Cheers,

Adrian
by around
25 Nov 2009 05:27
Forum: mikroC General
Topic: Using PIC EEPROM
Replies: 2
Views: 1724

ignite,

cal_x_min, cal_x_max,...... are "int"

You are trying to store a sixteen bit value in an eight bit EEPROM location. You need to break each of the cal values into two bytes and store them across eight EEPROM locations.

Cheers,

Adrian
by around
20 Oct 2009 17:45
Forum: mikroC General
Topic: Vusb not Working
Replies: 8
Views: 3150

jonaslpalma, From the datasheet: 17.2.2.8 Internal Regulator The PIC18FX455/X550 devices have a built-in 3.3V regulator to provide power to the internal transceiver and provide a source for the internal/external pull-ups. An external 220 nF (±20%) capacitor is required for stability. Note: The drive...
by around
23 Aug 2009 07:21
Forum: mikroC General
Topic: Interrupt 18F4550
Replies: 5
Views: 5010

mori,

Have you:

a. set the IPEN bit to enable both high and low priority interrupts (power up default is all interrupts have high priority); and
b. set the priority bits for each of the timer interrupts?

Cheers,

Adrian
by around
18 Aug 2009 21:29
Forum: mikroC PRO for PIC General
Topic: uart using pic18f2580
Replies: 10
Views: 4737

An RS232 link with a total baud rate error greater than 3% would be considered unacceptable in a commercial product. 0.16% error is fine. Remembering that errors could potentially exist on both ends of the link, it is good design practice to minimize the baud rate error as much as possible. As you c...
by around
13 Aug 2009 17:13
Forum: mikroC PRO for PIC General
Topic: mikroc pro lcd problem
Replies: 13
Views: 10583

I recently had issues getting the LCD routines to work with in MikroC Pro with an 18F258. I submitted a support ticket and was told to change the initialization code for D4 and D5. I would suggest you file a ticket to confirm that it is not a definition file issue with the PIC you are using. See bel...

Go to advanced search