Search found 6843 matches

by medelec35
Tue Jan 28, 2020 12:14 pm
Forum: Flowcode V8
Topic: Shift Register 74HC595
Replies: 5
Views: 75

Re: Shift Register 74HC595

Thanks Ben.
Benj wrote:I could wrap this up into a component if that would be useful. This way you could set the number of 7-seg digits and simulate.

That does sound like a good idea.
You can never have too many components.
by medelec35
Tue Jan 28, 2020 10:54 am
Forum: Flowcode V8
Topic: Shift Register 74HC595
Replies: 5
Views: 75

Re: Shift Register 74HC595

HI Derrihj,
I posted about 74HC595 in the Programming Tips & Tricks section here
As it was some time ago, flowchart was created with Flowcode V5.
Attached if the file converted to V7/V8.
by medelec35
Sat Jan 25, 2020 8:25 pm
Forum: Flowcode V8
Topic: Real time Hourly Device Control
Replies: 19
Views: 319

Re: Real time Hourly Device Control

Hi Derrihj,
Derrihj wrote:Many thanks goes out to medelec35, i always say its Educative to have you around

It's a pleasure & glad I have helped.
Your project sounds interesting and would love to see a video if it working and perhaps compared to a clock.
What tolerance crystal did you opt for?
by medelec35
Sat Jan 25, 2020 8:10 pm
Forum: Flowcode V8
Topic: Ask about Flowcode license
Replies: 5
Views: 89

Re: Ask about Flowcode license

gonzogonzo wrote:i hope it is also valid because is a very hold reply.

Yes I believe that is still currently valid.
by medelec35
Sat Jan 25, 2020 6:33 pm
Forum: Flowcode V8
Topic: Ask about Flowcode license
Replies: 5
Views: 89

Re: Ask about Flowcode license

H gonzogonzoi,
Take a look at this thread.
by medelec35
Thu Jan 23, 2020 1:53 pm
Forum: Bug Reports
Topic: UART - software mode....????? what is the SECRET???
Replies: 6
Views: 94

Re: UART - software mode....????? what is the SECRET???

Hi Ben,
Would using a selectable timer interrupt be the way to go?
by medelec35
Wed Jan 22, 2020 6:07 pm
Forum: 8-Bit PIC
Topic: Pic12f683 - rs232 FL8 in target do not work
Replies: 7
Views: 76

Re: Pic12f683 - rs232 FL8 in target do not work

You're welcome.
Yes, it will much better, and if using RX interrupt, should not loose any chars at 9600 baud or even greater!
If there was a lot of chars you could even use a circular buffer.
by medelec35
Wed Jan 22, 2020 2:41 pm
Forum: 8-Bit PIC
Topic: Pic12f683 - rs232 FL8 in target do not work
Replies: 7
Views: 76

Re: Pic12f683 - rs232 FL8 in target do not work

Hi castabob, I have adapted the program to FL6, which I am attaching, and recompiled (HEX) and it also works on my target . It may compile, but did it reliably receive correct values? Normally if place RS232 ReceiveChar within main or any other not RX interrupt then it will miss transmitted characte...
by medelec35
Sun Jan 19, 2020 12:07 am
Forum: Flowcode V8
Topic: Real time Hourly Device Control
Replies: 19
Views: 319

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: 19
Views: 319

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: 19
Views: 319

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: 19
Views: 319

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: 39919

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: 39919

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 279 times

Then convert it directly to .step:
LCD Display Generated Step File.png
LCD Display Generated Step File.png (91.11 KiB) Viewed 279 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: 276

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: 120

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: 267

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: 190

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: 120

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: 40
Views: 2250

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: 190

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: 189

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: 40
Views: 2250

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 459 times
by medelec35
Tue Dec 31, 2019 12:34 am
Forum: Flowcode V8
Topic: XC Compiler Pro mode
Replies: 10
Views: 478

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: 478

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.