Search found 619 matches

by Sobrietytest
30 Aug 2010 10:00
Forum: mikroC PRO for PIC General
Topic: Cabon dioxide controller need help to make a user setpoint
Replies: 9
Views: 2985

Re: Cabon dioxide controller need help to make a user setpoi

Ignore 'Rocket', I've asked the ME team to remove him from the forum. As for your CO2 controller, I would move the LCD to PORTD and then you will be able to use the 'Interrupt on Change' feature on RB0. So you would have the 'Enter' button on RB0 and write an interrupt service routine to read the ot...
by Sobrietytest
28 Aug 2010 09:37
Forum: mikroC PRO for PIC General
Topic: Compact Flash card
Replies: 6
Views: 1797

Re: Compact Flash card

The source code for all MikroE library functions is the Intellectual Property (IP) of MikroE - asking them for their source code is the same as asking for the keys to their bank account and MikroE are unlikely to give you either. The CF card functions work very well so you don't need the source code...
by Sobrietytest
21 Aug 2010 08:52
Forum: mikroC PRO for PIC General
Topic: Question on wifi module?
Replies: 2
Views: 1255

Re: Question on wifi module?

If you use the module on its own it will accept UART comms at TTL 3.3v logic levels, so if your PIC is runnining at 5.0v you will need to use level shifters. If you choose an evaluation board, you can use either TTL 3.3v or standard RS232 levels via a MAX232 transceiver. What voltage do you intend t...
by Sobrietytest
21 Aug 2010 08:30
Forum: mikroC PRO for PIC General
Topic: pic18f4550 not working fine
Replies: 6
Views: 2224

Re: pic18f4550 not working fine

Did you create an entirely new Project along with all the correct fuse settings? It's never a good idea to transfer whole programs across to a different chip, you should do it in stages and check that each function works properly before adding the next part. Start with the register an port settings ...
by Sobrietytest
17 Aug 2010 13:46
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: Merging multiple strings
Replies: 4
Views: 2476

Re: Merging multiple strings

I see! To be honest, manipulationg strings in C is never pretty; if your not happy with the str_ functions your alternative is to use incrementing loops to fill up the resulting array - but your code will be even more long winded that it is now!
by Sobrietytest
17 Aug 2010 13:30
Forum: mikroC General
Topic: PIC, SD Card and MikroC
Replies: 5
Views: 2160

Re: PIC, SD Card and MikroC

Hi Velimir,

As a matter of interest, what is the frequency that you have set in the Project settings? In case you don't already know, this setting should be the frequency after the PLL, so if you are using 8MHz with a 4xPLL then the Project setting should be 32MHz.

ST
by Sobrietytest
17 Aug 2010 09:30
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: Merging multiple strings
Replies: 4
Views: 2476

Re: Merging multiple strings

Have you tried strcat? (See help files).
by Sobrietytest
17 Aug 2010 09:21
Forum: mikroC PRO for PIC General
Topic: Important to help,simple problem with UART
Replies: 3
Views: 1529

Re: Important to help,simple problem with UART

On a PC the COM port iterations are available from the Windows API, however it can only tell you which ports are available - not what is connected to them. If an intelligent USB device is connected, it's the device driver which shows the device information. RS232 devices don't have device drivers be...
by Sobrietytest
15 Aug 2010 12:44
Forum: mikroC General
Topic: PIC, SD Card and MikroC
Replies: 5
Views: 2160

Re: PIC, SD Card and MikroC

Ha! Serves me right for asking! :oops: Romanian? Okay, which PIC device are you using and, more importantly, what is the clock speed? I'm interested because you have reinitialised the SPI at Fosc/16, if your clock is 8MHz your SPI clock would be 500kHz which is quite slow for an SD, I would try and ...
by Sobrietytest
14 Aug 2010 22:31
Forum: mikroC General
Topic: PIC, SD Card and MikroC
Replies: 5
Views: 2160

Re: PIC, SD Card and MikroC

Hi Velimir, what exactly is the problem? You have told us that something is wrong but you did not explain why! I can guess what is wrong but you should post your code so that we can help you.

ST.
by Sobrietytest
13 Aug 2010 09:16
Forum: mikroC General
Topic: type casting
Replies: 4
Views: 1924

Re: type casting

Hi Pickrit, this is an ideal example of why you should give your variables more meaningful names! Single letter variables may be easier to type but it makes your code very difficult for other people to read, single letters should only be used for counters (e.g. for i = 0; i < 8; i++). Try using name...
by Sobrietytest
12 Aug 2010 15:31
Forum: Development Boards Wishlist
Topic: Data logger board?
Replies: 1
Views: 2191

Data logger board?

I was just looking at the MMC reday board which is a great idea, it got me thinking that quite a few people here are involved in making data loggers. It wouldn't be too much of a step forward to add a couple of features to the MMC board to make it into a universal data logger... SD/MMC RTC + battery...
by Sobrietytest
11 Aug 2010 11:52
Forum: mikroC General
Topic: RTC PCF 8583 error time with PIC 18f452
Replies: 10
Views: 4269

Re: RTC PCF 8583 error time with PIC 18f452

Arouca, I have included a .c file for an inclinometer/time logger which I designed a couple of years ago, the logger measures angle and records it on an SD card along with a time stamp. The code works in concert with a Windows interface which I wrote for purpose, the PIC sends a menu to the PC which...
by Sobrietytest
10 Aug 2010 10:01
Forum: mikroC PRO for PIC General
Topic: MMC not working?
Replies: 8
Views: 2319

Re: MMC not working?

Hi Nart, please correct me if I'm wrong but the example has been written for the PIC18F452 0 whereas you are using the PIC18F452, whilst they may seem to be directly compatable there are differences between the two devices, as shown in this document... http://ww1.microchip.com/downloads/en/DeviceDoc...

Go to advanced search