Search found 65 matches

by r_teixeir
Fri Jan 19, 2018 12:39 pm
Forum: 32-Bit PIC
Topic: Pickit 3 - Easypic Pro and Easypic fusion Boards - Problem
Replies: 7
Views: 3934

Re: Pickit 3 - Easypic Pro and Easypic fusion Boards - Problem

Hi all, I set up the pickit 3 the way that johnsondav explained on the last post, but unfortunately I still get the same results for Not detecting the MCU on the board. I even tried to set manually to look for the Pic18F87K22 on the range of availability shown, but it does not carry the mcu on the l...
by r_teixeir
Thu Jan 18, 2018 3:08 pm
Forum: 32-Bit PIC
Topic: Pickit 3 - Easypic Pro and Easypic fusion Boards - Problem
Replies: 7
Views: 3934

Pickit 3 - Easypic Pro and Easypic fusion Boards - Problem

Hi all, Iam Trying to program the MCU with Pickit3 but Iam having hard time trying to figure out what´s going on. When I run the mplab IPE in order to download the code into the MCU, the mplab software says there is a non ID detection. It also happens when I use other programs for example Flowcode 6...
by r_teixeir
Wed Oct 25, 2017 11:13 pm
Forum: 32-Bit PIC
Topic: PIC32 RTCC
Replies: 12
Views: 4900

Re: PIC32 RTCC

Hi Benj It worked the modifications that I did on the code, no need to include the clear display indeed. Iam trying to turn a led on with if the count of minutes reach to 17 and stay off otherwise, but no success. I read a post that you said if there is anybody interested on the alarm you would have...
by r_teixeir
Wed Oct 25, 2017 6:23 am
Forum: 32-Bit PIC
Topic: PIC32 RTCC
Replies: 12
Views: 4900

Re: PIC32 RTCC

Hi Benj, I tried to do the modifications but i didnt work out. I will try some more approaches and see if I can pull this off.
And Ill get back to you.

Thanks

Rod
by r_teixeir
Mon Oct 23, 2017 11:39 pm
Forum: 32-Bit PIC
Topic: PIC32 RTCC
Replies: 12
Views: 4900

Re: PIC32 RTCC

Hi Benj I did the modifications you mentioned and it worked. Thank you! The only problem is that the refreshing of data displayed into the KS0108 for every second has to be clear, otherwise the numbers get overlaping to each other. I tried different places for the component macro clear display, but ...
by r_teixeir
Fri Oct 13, 2017 3:55 pm
Forum: 32-Bit PIC
Topic: PIC32 RTCC
Replies: 12
Views: 4900

Re: PIC32 RTCC

Hi Benj, I was able to get the print of data displayed on the KS0108 but the values are not changing. I tried to include as you can see on the code an increment for variables hour, min and sec, but they are not changing at all. As you mentioned on your last post, I enabled the secondary oscillator a...
by r_teixeir
Wed Oct 11, 2017 1:04 pm
Forum: 32-Bit PIC
Topic: PIC32 RTCC
Replies: 12
Views: 4900

Re: PIC32 RTCC

Hi benj, "For the RTCC to function I believe you need a 32.768 KHz crystal across OSC2 and you probably also need to enable OSC2 in the configuration settings." Yes the easypic fusion board has a 32.768 Khz crystal across OSC2. This is another doubt that I have considering that I configured the OSC2...
by r_teixeir
Wed Oct 11, 2017 3:00 am
Forum: 32-Bit PIC
Topic: PIC32 RTCC
Replies: 12
Views: 4900

Re: PIC32 RTCC

Hi Benj I had a mistake in one of the bits for the hello world GLCD, and finally was able to run the glcd code. On the other side, the code for the RTCC no sucess at all. Couldnt be able to run the code and I loose a lot of time trying to correct the fuses because when I upload the program to mikrop...
by r_teixeir
Tue Oct 10, 2017 1:55 am
Forum: 32-Bit PIC
Topic: PIC32 RTCC
Replies: 12
Views: 4900

Re: PIC32 RTCC

Hi Benj Thanks for the files. I tried to run a simple hello world with code generated with a RTCC component. I also included a GLCD KS0108 which is the only way to see if any data is displayed. I uploaded the files, but I couldn´t be able to get it running. I then created another project with just a...
by r_teixeir
Sat Oct 07, 2017 8:32 pm
Forum: 32-Bit PIC
Topic: PIC32 RTCC
Replies: 12
Views: 4900

PIC32 RTCC

Hi Benj, I am thinking about using the components for rtcc for pic32, but the components for this were not deployed yet. I use the easypic fusion with pic32mx795f512l. I Checked that there were updates for pic8 and pic16 rtcc but not for pic32. Do you have an estimate date for the pic32 deployment r...
by r_teixeir
Sat Sep 16, 2017 6:35 pm
Forum: Flowcode V6
Topic: PWM Control with led using PIC18F87K22
Replies: 28
Views: 7831

Re: PWM Control with led using PIC18F87K22

Hi Medelec, The potentiometer also ran perfectly! Nice, I was breaking my head...lol that was nice.

Thanks a lot I appreciate the help.

Rod
by r_teixeir
Sat Sep 16, 2017 6:00 pm
Forum: Flowcode V6
Topic: PWM Control with led using PIC18F87K22
Replies: 28
Views: 7831

Re: PWM Control with led using PIC18F87K22

Hi Medelec, Great News, it worked! What happened? What did you do? It looks like nothing was changed on the code...
Well Thank you

Iam going toi try right right with the potentiometer to see if it also work, because i was having the same problem with it as well.

Rod
by r_teixeir
Sat Sep 16, 2017 5:22 pm
Forum: Flowcode V6
Topic: PWM Control with led using PIC18F87K22
Replies: 28
Views: 7831

Re: PWM Control with led using PIC18F87K22

Hi Medelec, I modified the file as instructed. The program worked only for C2 output. The C1 output does not fade at all. It does not light up, it stays on 0 all the time.

Thank you

Rod
by r_teixeir
Sat Sep 16, 2017 4:34 pm
Forum: Flowcode V6
Topic: PWM Control with led using PIC18F87K22
Replies: 28
Views: 7831

Re: PWM Control with led using PIC18F87K22

The size of the file is attached. If you need any further info, let me know.

Thank you

Rod
by r_teixeir
Sat Sep 16, 2017 4:21 pm
Forum: Flowcode V6
Topic: PWM Control with led using PIC18F87K22
Replies: 28
Views: 7831

Re: PWM Control with led using PIC18F87K22

Hi Medelc great News, the hexadecimal file you sent, worked perfectly. What did you do?

Thank you

Rod
by r_teixeir
Sat Sep 16, 2017 4:17 pm
Forum: Flowcode V6
Topic: PWM Control with led using PIC18F87K22
Replies: 28
Views: 7831

Re: PWM Control with led using PIC18F87K22

Hio Medelec, I News about the Led_control_Hardware_Test. I took out all the jumpers on the board and I realized that the RA0 had a jumper on it for analog. So this first program worked.

Now the other program that has the pwm control, still no answer. The leds dont light up neither fade.

Thanks

Rod
by r_teixeir
Sat Sep 16, 2017 2:51 am
Forum: Flowcode V6
Topic: PWM Control with led using PIC18F87K22
Replies: 28
Views: 7831

Re: PWM Control with led using PIC18F87K22

In the mikroc pwm library there is C version for there pic16f887, i modified for the pic18f87k22 and it worked perfectly. In flowcode we are applying the same principle and something is happenning. I was thinking about maybe It could be the frequency for the pwm in the componentes properties, is the...
by r_teixeir
Sat Sep 16, 2017 2:14 am
Forum: Flowcode V6
Topic: PWM Control with led using PIC18F87K22
Replies: 28
Views: 7831

Re: PWM Control with led using PIC18F87K22

Hi Medelec, On the second code: Led_control_1s_Delay_Button_Control_PWM V2.fcfx, I ran the code after downloaded into chip, and it is amazing that nothing happenned! It does not show anything and it doesnt light up no leds. I also tested changing the ccp2 mux from rc1 to re7 and vice versa and nothi...
by r_teixeir
Sat Sep 16, 2017 2:06 am
Forum: Flowcode V6
Topic: PWM Control with led using PIC18F87K22
Replies: 28
Views: 7831

Re: PWM Control with led using PIC18F87K22

Hi Medelec, I tried to run the led_control_test_hardware, and the c1 output initializes and stays on all the time, it does not change at all from off to on! The led C1 stays on all the time, it does not vary at all with the pressing of the button RA0 neither RA1. The C2 is perfect and is running lik...
by r_teixeir
Fri Sep 15, 2017 4:19 am
Forum: Flowcode V6
Topic: PWM Control with led using PIC18F87K22
Replies: 28
Views: 7831

Re: PWM Control with led using PIC18F87K22

Hi Medelec, 1st step: I do have the version you´ve mention on last post: 6.1.4.0(08/11/2016). I also attached the file to replace the existing pmw cal into the pic folder in c drive. After doing the 1st step, I decided to run the code considering the tips about the C code for configuring pins during...
by r_teixeir
Thu Sep 14, 2017 4:47 am
Forum: Flowcode V6
Topic: PWM Control with led using PIC18F87K22
Replies: 28
Views: 7831

Re: PWM Control with led using PIC18F87K22

Hi Medelc, I tested both codes: The one-sec delay ran perfectly; However on the program for pwm it did not even light up the leds I uploaded both hexdecimal codes The PWM is frustrating, hope you can help with it, Ive tested with diferente delas, still no fading leds. Thank you Rod
by r_teixeir
Wed Sep 13, 2017 3:14 pm
Forum: Flowcode V6
Topic: PWM Control with led using PIC18F87K22
Replies: 28
Views: 7831

Re: PWM Control with led using PIC18F87K22

Ok I understand. I will post it later at home, because Iam work right now.
Thanks again
Rod
by r_teixeir
Wed Sep 13, 2017 2:38 pm
Forum: Flowcode V6
Topic: PWM Control with led using PIC18F87K22
Replies: 28
Views: 7831

Re: PWM Control with led using PIC18F87K22

Hi Medelec, thanks for the tips, very nice. I´ve already tested a pwm fade code from the matrixtsl website : https://www.matrixtsl.com/wikiv7/index.php?title=Component:_ID_444fb704_814c_4707_a15c_759ba088505c I downloaded into my hardware easypic-pro, that uses the pic18F87K22, https://shop.mikroe.c...
by r_teixeir
Wed Sep 13, 2017 2:48 am
Forum: Flowcode V6
Topic: PWM Control with led using PIC18F87K22
Replies: 28
Views: 7831

Re: PWM Control with led using PIC18F87K22

Hi Medelec, thanks for the tips about the initialization of components! I did not know about these details! The buttons worked on simulation with the changing of button press on the pwm. On the other side, when i test it on hardware iam having trouble with fading of the leds. Ive already tested on C...
by r_teixeir
Tue Sep 12, 2017 3:44 pm
Forum: Flowcode V6
Topic: PWM Control with led using PIC18F87K22
Replies: 28
Views: 7831

Re: PWM Control with led using PIC18F87K22

Hi Medelec, thanks for the reply. I am at work right now, and i[ll give it a try later at home. Considering the code, I set up 40ms debouncing for inputs configuration on the properties painel for the buttons, I thought I was ok by doing that. The inputs for the buttons, I also thought I could inial...