Search found 6835 matches

by medelec35
Sun Jan 19, 2020 12:07 am
Forum: Flowcode V8
Topic: Real time Hourly Device Control
Replies: 7
Views: 82

Re: Real time Hourly Device Control

another thing PIC16f886 has no PLL but what u are trying to say that PLL would solve the problem sothat i dont have to switch to external oscillator? No not at all the PLL is only as accurate as the clock. So if chip did have PLL and using 8MHz internal clock at 1% tolerance, then if use PLL the cl...
by medelec35
Sat Jan 18, 2020 4:38 pm
Forum: Flowcode V8
Topic: Real time Hourly Device Control
Replies: 7
Views: 82

Re: Real time Hourly Device Control

One other thing to mention. I believe 8 MHz is a good choice in frequency as you can enable PLL (if your microcontroller supports it) to multiply actual clock frequency to 4 X 8 = 32MHz. The higher frequency will have much less of an impact and will allow higher comms rate to be used. Looking at you...
by medelec35
Sat Jan 18, 2020 4:29 pm
Forum: Flowcode V8
Topic: Real time Hourly Device Control
Replies: 7
Views: 82

Re: Real time Hourly Device Control

Hi Derrihj, Thanks you & Your'e welcome. Internal oscillators help to keep component count down, and accuracy is OK for lower baud communication purposes and other non very precision timing and e.g UART, SPI, I2C and even servos etc. When is come to very precision timing like TIME, UART with hig...
by medelec35
Sat Jan 18, 2020 1:46 pm
Forum: Flowcode V8
Topic: Real time Hourly Device Control
Replies: 7
Views: 82

Re: Real time Hourly Device Control

Hi Derrih, is it advisable to use internal oscillator while designing a real time clock? No, internal oscillator is not suitable. Lets do some calculations to prove this. Suppose internal osc has a tolerance of 1%. Since there are 86400 seconds in a day. The maximum error is 86400*1/100 = 864 secs =...
by medelec35
Mon Jan 13, 2020 6:57 pm
Forum: Electronics products
Topic: PCB layout and schematic software
Replies: 39
Views: 39676

Re: PCB layout and schematic software

Steve001 wrote:oooooooooooo i wonder if you can do that with eagle files ?

If not Kicad can import Eagle files.
by medelec35
Mon Jan 13, 2020 3:09 pm
Forum: Electronics products
Topic: PCB layout and schematic software
Replies: 39
Views: 39676

Re: PCB layout and schematic software

Hi Steve.
You can install a plugin to FreeCAD which imports Kicad PCB:
Kicad LCD Board.png
Kicad LCD Board.png (128.97 KiB) Viewed 122 times

Then convert it directly to .step:
LCD Display Generated Step File.png
LCD Display Generated Step File.png (91.11 KiB) Viewed 122 times

There is an option to directly export to .step within Kicad, but does not work well at all.
by medelec35
Mon Jan 06, 2020 7:09 pm
Forum: Flowcode V7
Topic: Possable PWM Issue ?
Replies: 4
Views: 235

Re: Possable PWM Issue ?

Hi Steve, Looking at the datasheet, only CCP2 can be on an alternate pin as you have stated. Just change Channel to Channel 2, Then you should be allowed to change Alternative from No to Yes. If after that still not working then C code may be required. If not already done so, you will need to make s...
by medelec35
Mon Jan 06, 2020 6:57 pm
Forum: Bug Reports
Topic: Autosave does not appear to be working[Resolved]
Replies: 3
Views: 98

Re: Autosave does not appear to be working

Hi Steve, I have double checked and yes it does autosave. I was a bit too keen to reset PC and what I did not realise is from the timer starts from when you see the fcbx in the top of Flowchart. I was wrongly assuming time starts from when you first see the * for the Autosave set period What appears...
by medelec35
Mon Jan 06, 2020 1:43 pm
Forum: General Programming
Topic: Problem with Console and Circular buffer in F7 and F8
Replies: 4
Views: 229

Re: Problem with Console and Circular buffer in F7 and F8

Working for me as well.
Can select add to 2D dashboard & it's added OK in Flwocode V8, but can confirm the bug is present within V7.
Can also see data within the console in both V7 and V8.
Note: Buffer is not shown until I single stepped once.
by medelec35
Mon Jan 06, 2020 11:49 am
Forum: General Programming
Topic: enabling weak pull up
Replies: 4
Views: 135

Re: enabling weak pull up

Hi Ben, As it's NOT GPPU I thought GPPU has to be cleared for WPU to be enabled? OPTION_REGbits.GPPU = 1; causes an errror: 12F615 Weak pull ups .c: main() 77: OPTION_REGbits.GPPU = 1; ^ (255) not a member of the struct/union "" ^ (182) illegal conversion between types int -> volatile unio...
by medelec35
Mon Jan 06, 2020 11:09 am
Forum: Bug Reports
Topic: Autosave does not appear to be working[Resolved]
Replies: 3
Views: 98

Autosave does not appear to be working[Resolved]

After showing how to enable autosave here , I thought I would test to see if working. Tested by adding an additional C code block, then waited for twice the autosave set time period. I could see that an additional .fcbx file was generated and the flowchart I was modifying temporary change extension ...
by medelec35
Mon Jan 06, 2020 9:07 am
Forum: Bug Reports
Topic: Bad mistake in FC8!
Replies: 36
Views: 2005

Re: Bad mistake in FC8!

Hi Abhi,
You're welcome.
Glad I could help. :)
by medelec35
Mon Jan 06, 2020 8:40 am
Forum: General Programming
Topic: enabling weak pull up
Replies: 4
Views: 135

Re: enabling weak pull up

You will need to use a C code block.
The C code will have to be in lower or upper case depending on your version of Flowcode.
What is your version of Flowcode?
by medelec35
Sun Jan 05, 2020 10:06 pm
Forum: Flowcode V5
Topic: compiler boostc license key has expired ??? [SOLVED]
Replies: 2
Views: 138

Re: compiler boostc license key has expired ???

Hi sotos,
Have you tried the fix posted here?
by medelec35
Sun Jan 05, 2020 4:24 pm
Forum: Bug Reports
Topic: Bad mistake in FC8!
Replies: 36
Views: 2005

Re: Bad mistake in FC8!

Hi Abhi,
AbhijitR wrote:May I request you to introduce "Auto Save Function" like Microsoft Office or some other programs have, which will keep saving the work at every defined time

Within View menu, global options then application tab you should see:
Autosave.png
Autosave.png (14.8 KiB) Viewed 340 times
by medelec35
Tue Dec 31, 2019 12:34 am
Forum: Flowcode V8
Topic: XC Compiler Pro mode
Replies: 10
Views: 441

Re: XC Compiler Pro mode

Hi Patrick, I can do some checks for you if you like.. If you do test would be for you as I'm currently using V2.10 in professional mode. The flowchart is for a FT810 driving a commercial heating controller that is touch screen 480 x 275 Since has settings for 5 different type of commercial heaters ...
by medelec35
Sat Dec 28, 2019 12:24 pm
Forum: Flowcode V8
Topic: XC Compiler Pro mode
Replies: 10
Views: 441

Re: XC Compiler Pro mode

Hi Patrick,
Did you set up V2.10 the same as in this post?
From V2.0 Microchip has changed the way the compilers work.
therefore you can't use the same Flowcode compiler batch file for xc8 2.00 and above.
It just won't work as well.
by medelec35
Tue Dec 24, 2019 12:17 am
Forum: Flowcode V8
Topic: Merry Christmas!
Replies: 12
Views: 665

Re: Merry Christmas!

I would like to wish you all a merry Christmas & happy new year.
Lets hope the start of a new decade will be a wonderful year for all. :)
by medelec35
Sat Dec 21, 2019 11:12 pm
Forum: Flowcode V8
Topic: Heart beat Pulse measurement.
Replies: 17
Views: 654

Re: Heart beat Pulse measurement.

Thanks Derrihj, You are welcome. n this same area we can look at how to handle the Analog siginal (AO) too instead of the digital sothat we see how it is done for this project if one prefers to use the analog siginal. I was thinking we can use both methods. We can make sure interrupt works, than add...
by medelec35
Sat Dec 21, 2019 6:04 pm
Forum: Flowcode V8
Topic: Heart beat Pulse measurement.
Replies: 17
Views: 654

Re: Heart beat Pulse measurement.

i would like to learn why do you use Rollover Value as 250 and not 255. With interrupts the rollover value forces the interrupt register to rollover when it reaches the set value, thus causing the interrupt to be triggered. The rollover, Prescaller & Postscaller rates are specifically chosen to...
by medelec35
Sat Dec 21, 2019 1:16 pm
Forum: Flowcode V8
Topic: Heart beat Pulse measurement.
Replies: 17
Views: 654

Re: Heart beat Pulse measurement.

Have have made some changes to your flowchart. 1. Count = 0 is required after Counter = Count * 4 otherwise Result will Keep increasing until rollover. 2. Changed Time variable from Byte to integer since value will be greater then 255. If ByteVariable = 255 then result of ByteVariable = ByteVariable...
by medelec35
Fri Dec 20, 2019 11:18 pm
Forum: Flowcode V8
Topic: Heart beat Pulse measurement.
Replies: 17
Views: 654

Re: Heart beat Pulse measurement.

250mS x 4 wont that be beats per second instead of beats per minute? Yes lol. So used to dealing in Hz, per minute is a new concept to me. :lol: Could time for 5 seconds then x 12. or 6 secs then x 10 etc. :) Can i use a transistor to pull down INT pin once a digtal siginal is detected? No need, as...
by medelec35
Fri Dec 20, 2019 5:26 pm
Forum: Flowcode V8
Topic: Heart beat Pulse measurement.
Replies: 17
Views: 654

Re: Heart beat Pulse measurement.

Personally, If it was me, I would go ahead and purchase hardware as the Flowcode side will be fairly easy to implement. For example I would use an interrupt to time for 250mS. Then use the digital output and count the pulses using INT interrupt. Then after 250ms timer interrupt has elapsed, times co...
by medelec35
Mon Dec 16, 2019 11:50 am
Forum: Flowcode V8
Topic: console rs232 FC8
Replies: 7
Views: 326

Re: console rs232 FC8

Oh, I see.
RS232 Console data is disabled by default.
You will need to enable console data within RS232 properties:
Console1.png
Console1.png (59.05 KiB) Viewed 280 times
by medelec35
Sun Dec 15, 2019 11:10 pm
Forum: Flowcode V8
Topic: console rs232 FC8
Replies: 7
Views: 326

Re: console rs232 FC8

Hi sek,
You have to have the Test & Debug feature pack.
If you have then select View, Console.
Default is not to automatically show console.