Search found 172 matches

by diode_blade
29 Apr 2022 08:54
Forum: mikroC PRO for PIC General
Topic: What can I do to cut the white noise on the RDA5807M fm radio?
Replies: 1
Views: 540

Re: What can I do to cut the white noise on the RDA5807M fm radio?

You need what is called a "Sqelch circuit", in between the audio output and the speaker.
link below, just search for FM radio squelch circuits.

https://makingcircuits.com/blog/audio-squelch-circuit/
by diode_blade
24 Dec 2019 17:57
Forum: mikroC PRO for PIC General
Topic: AD9850 output issue using SPI
Replies: 17
Views: 4374

Re: AD9850 output issue using SPI

I used a couple of similar boards a few years ago to make a VFO using 2 boards with one 90 degrees out of phase with the other, just use one xtal from 1 board for both oputs so they were in sync, make sure that D0 and D1 are pulled high on the board and D2 pulled low, esential for serial mode operat...
by diode_blade
29 Nov 2019 08:45
Forum: mikroC PRO for PIC General
Topic: AD9833 Waveform Click board compatibility with 28pin chips
Replies: 3
Views: 1011

Re: AD9833 Waveform Click board compatibility with 28pin chi

Its just that is odd that Mikroe would make a Click board that restrict the chip that can be used with. It can be easily be used with other smaller chips like the 28 or 20 pins ones.
Yup, do agree with you on that, tis a bit strange.
Regards
Dave
by diode_blade
28 Nov 2019 09:10
Forum: mikroC PRO for PIC General
Topic: AD9833 Waveform Click board compatibility with 28pin chips
Replies: 3
Views: 1011

Re: AD9833 Waveform Click board compatibility with 28pin chi

No what you could do, is say use RA0 and RA1 on your 28pin pic (or any two unsed pins) for the RST and CS then just use jumper link wires from RA1 and RA0 to RE0 and RE1 pins on the port headers at the side of the V7 board, just make sure that you don't have a 40 pin pic in the board and that Ra0 an...
by diode_blade
09 Aug 2019 14:17
Forum: mikroC PRO for PIC General
Topic: Strange Behaviour PIC18F25K40
Replies: 4
Views: 1393

Re: Strange Behaviour PIC18F25K40

I have read about Silicon Errata and mikroc compiler bug with k40 device, so is this the case? The silicon errata document that Microchip produces for each range of device or family of devices will list the embedded PIC ID that it relates to, so if you have your debugger connected to your board wit...
by diode_blade
06 Aug 2019 13:50
Forum: mikroC PRO for PIC General
Topic: Unable to program - No error
Replies: 41
Views: 7643

Re: Unable to program - No error

It might be worth while disabling any modules that uses pins you are using for the LCD, using the PMD regs. Had that issue before.
by diode_blade
06 Jul 2019 14:45
Forum: mikroC PRO for PIC General
Topic: Can program but can't debug
Replies: 27
Views: 7107

Re: Can program but can't debug

Just a side note on this Filip and Bicycle, I have found that under windows 10 unless you install all the software (compiler, programmer software etc) as administrator or 'run as administrator' when installting the software it won't work. Am afraid i have found win 10 to be very annoying for this an...
by diode_blade
02 Jul 2019 08:41
Forum: mikroC PRO for PIC General
Topic: Check this strange translation
Replies: 7
Views: 2104

Re: Check this strange translation

Code: Select all

if(TGC_timer>(RX_Period/128))

Has to calculate (RX_Period/128)this bit first in your 'IF' before it can do the compare greater than '>'.
by diode_blade
20 Jun 2019 10:28
Forum: mikroC PRO for PIC General
Topic: PWM not working properly on 18F4550
Replies: 10
Views: 2458

Re: PWM not working properly on 18F4550

Ok correct me if I'm wrong but don't you still need a while/do-while loop in main func??? For other compilers the answer is yes. For mikroC the infinite loop at end is optional, since the compiler adds it anyway. Good practice to put it there, as it makes it explicit and portable. Makes debugging a...
by diode_blade
19 Jun 2019 17:28
Forum: mikroC PRO for PIC General
Topic: PWM not working properly on 18F4550
Replies: 10
Views: 2458

Re: PWM not working properly on 18F4550

void main() { ADCON1 = 0b00001010; // Configura os pinos AN0 até AN4 como analógicos // e os demais como digitais CMCON = 0b00000111; // Desabilita os comparadores internos TRISC = 0b00111001; // Configura as portas do PortC (1,2,6 e 7 como saída e // demais como entrada) PORTC = 0b00000000; PWM1_I...
by diode_blade
10 May 2019 16:57
Forum: mikroC PRO for PIC General
Topic: GLCD refresh - best method
Replies: 5
Views: 1866

Re: GLCD refresh - best method

/* Test configuration: MCU: PIC18F45K22 Dev.Board: EasyPIC7 Ext. Modules: GLCD 128x64, KS108/107 controller */ // Glcd module connections char GLCD_DataPort at PORTD; sbit GLCD_CS1 at LATB0_bit; sbit GLCD_CS2 at LATB1_bit; sbit GLCD_RS at LATB2_bit; sbit GLCD_RW at LATB3_bit; sbit GLCD_EN at LATB4_...
by diode_blade
09 May 2019 08:09
Forum: mikroC PRO for PIC General
Topic: GLCD refresh - best method
Replies: 5
Views: 1866

Re: GLCD refresh - best method

Eh up JZK, sorry not got back to you on this been too busy tied up with work stuff will still try to have a look at it though, I also had this issue but I can not remember what i did to cure it... :? Try it though without the 100 ms delay at the bottom of your main while, don't forget that there are...
by diode_blade
03 May 2019 15:50
Forum: mikroC PRO for PIC General
Topic: GLCD refresh - best method
Replies: 5
Views: 1866

Re: GLCD refresh - best method

Hi Jzk, if I get chance I will run your prog tomorrow, i have same hardware. I will post back and any improvements I will post.
Regards
by diode_blade
07 Feb 2019 13:07
Forum: mikroC PRO for PIC Beta Testing
Topic: How do you open and read *.mpkg files in Window 10 ?
Replies: 5
Views: 7517

Re: How do you open and read *.mpkg files in Window 10 ?

Someone will correct me if i'm wrong...the SPI3_Init_Advanced function is part of the Mikro C inbuilt library so won't show in the C file but you should find it in the listing if you open up the list file in the IDE, I could be wrong.
Dave
by diode_blade
06 Feb 2019 10:31
Forum: mikroC PRO for PIC Beta Testing
Topic: How do you open and read *.mpkg files in Window 10 ?
Replies: 5
Views: 7517

Re: How do you open and read *.mpkg files in Window 10 ?

Download and install this


https://www.mikroe.com/package-manager

You will then be able to open and install the mp3 click library into the Mikroc C IDE, you can also make your own mpkg packages for a piece of hardware that interfaces with a MCU and share it with others.
Dave

Go to advanced search