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
Search found 119 matches
- 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
- 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
Maybe I am missing something here. I see a four byte difference between your Opt 4 and Opt 0 compiles.
Cheers,
Adrian
- 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
Cheers,
Adrian
- 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....
- 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
Cheers,
Adrian
- 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
http://www.mikroe.com/eng/products/view ... t1x-board/
Cheers,
Adrian
- 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
- 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
Cheers,
Adrian
- 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...
- 11 Jan 2010 20:48
- Forum: mikroC PRO for PIC General
- Topic: One Wire device to measure temperature of Water
- Replies: 10
- Views: 3908
- 25 Nov 2009 05:27
- Forum: mikroC General
- Topic: Using PIC EEPROM
- Replies: 2
- Views: 1724
- 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...
- 23 Aug 2009 07:21
- Forum: mikroC General
- Topic: Interrupt 18F4550
- Replies: 5
- Views: 5010
- 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...
- 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...