Search found 7716 matches

by medelec35
Fri Oct 29, 2021 10:07 am
Forum: Flowcode V7
Topic: DOWNLOAD FLOWCODE 7
Replies: 5
Views: 4059

Re: DOWNLOAD FLOWCODE 7

Update.
It looks like the the browser extensions was a red herrin as I descovered the browsers are treating the FC7 and FC8 files as insecure.
I have sent an email to Matrix IT and the issue has now been fixed.
Thank you IT for the quick fix.
Chrome will now let me download the files with no issues.
by medelec35
Thu Oct 28, 2021 5:33 pm
Forum: Flowcode V7
Topic: DOWNLOAD FLOWCODE 7
Replies: 5
Views: 4059

Re: DOWNLOAD FLOWCODE 7

Downloads for v7 and v8 are not working for me.
Only v6 is working.
Edit: I have add blocker extensions in Chrome and Opera which are the browsers that don't work.
Tried with Edge as that has not got add blockers and it allowed me to download v7
by medelec35
Thu Oct 28, 2021 5:15 pm
Forum: General Programming
Topic: PWM Control for elektrical motor with potentiometer.
Replies: 18
Views: 15654

Re: PWM Control for elektrical motor with potentiometer.

Hi DBMGTIL.
Two things to try.
Within Pot properties, Change Vref option to AVCC
See if that works first.
If that does not work what happens when you set PWM with a value of 127?
by medelec35
Thu Oct 28, 2021 8:01 am
Forum: Flowcode V8
Topic: Convert project from V6 to V8. Need help
Replies: 1
Views: 748

Re: Convert project from V6 to V8. Need help

Hi George.
I can help you with that.
If you want to try yourself first, then the biggest difference is C code as different compilers were used.
This might help?
If you are still stuck then if you post or PM the the Flowchart, then I will convert it for you.
by medelec35
Wed Oct 27, 2021 9:21 am
Forum: Flowcode V8
Topic: UART Component - USB-UART FT232RL hardware
Replies: 26
Views: 9137

Re: UART Component - USB-UART FT232RL hardware

Hi, Rod
Glad you have got it working.
Thanks for letting us know.
by medelec35
Tue Oct 26, 2021 12:30 pm
Forum: Flowcode V8
Topic: UART Component - USB-UART FT232RL hardware
Replies: 26
Views: 9137

Re: UART Component - USB-UART FT232RL hardware

You will need to make sure the Flowcode Clock setting match the value of the crystal on your board. If crystal is running at 8MHz ,then you need to change the clock from 19660800 to 8000000. Both configuration settings of Mikroe and Flowcode should be the same. The image does not show the crystal fo...
by medelec35
Tue Oct 26, 2021 12:10 pm
Forum: Flowcode V8
Topic: UART Component - USB-UART FT232RL hardware
Replies: 26
Views: 9137

Re: UART Component - USB-UART FT232RL hardware

That instantly tells me the configuration of your flowchart does not match your hardware settings. I have looked at a circuit for Easypic Pro and it has a crystal of 16MHz. That means you run the microcontroller at either 16 (With PLL disabled) or 64MHz (With PLL enabled). When I looked at your flow...
by medelec35
Tue Oct 26, 2021 10:01 am
Forum: Flowcode V8
Topic: UART Component - USB-UART FT232RL hardware
Replies: 26
Views: 9137

Re: UART Component - USB-UART FT232RL hardware

Looking at the image of the analyser the UART is way too slow.
Can you do two things.
1. Run the 1 sec flasher measure the pin on/ off duration. what is the value?
2. I can't see the single UART pulse duration from the image, what is the value?

How often does the crashing occur?
by medelec35
Mon Oct 25, 2021 11:17 pm
Forum: Flowcode V8
Topic: UART Component - USB-UART FT232RL hardware
Replies: 26
Views: 9137

Re: UART Component - USB-UART FT232RL hardware

Hi Rod.
A tip I always use to determine the UART baud rate.
Send an ASCII U it must be upper case.
measure any single pulse width.
Baud = 1/singe pulse duration.
Can you let me know the result, please?
by medelec35
Mon Oct 25, 2021 8:40 pm
Forum: Flowcode V8
Topic: UART Component - USB-UART FT232RL hardware
Replies: 26
Views: 9137

Re: UART Component - USB-UART FT232RL hardware

Hi, Rod. You are showing me the simulation, did you time the on /off times on your easypic pro? I have a 18F46K22 so it's from the same family and that is echoing perfectly: Echo Port.png For the version I posted, you will need to add a calculation macro: Calculation Box.png Are you running at least...
by medelec35
Mon Oct 25, 2021 12:29 pm
Forum: Flowcode V8
Topic: UART Component - USB-UART FT232RL hardware
Replies: 26
Views: 9137

Re: UART Component - USB-UART FT232RL hardware

Yes, that suggests that Mikroe is controlling everything at the correct speed. Flowcode may not, e.g. could be a configuration issue so the clock speed is wrong. Or clock speed is correct and UART might be working at the wrong baud rate. That's why I have asked about the one sec flash test and if yo...
by medelec35
Mon Oct 25, 2021 11:55 am
Forum: Flowcode V8
Topic: UART Component - USB-UART FT232RL hardware
Replies: 26
Views: 9137

Re: UART Component - USB-UART FT232RL hardware

Seems like hardware or UART might not be running at the correct speed?
Do you have a logic analyser or an oscilloscope?
If not have you made sure the one second flasher is running at the correct rate?
by medelec35
Mon Oct 25, 2021 10:47 am
Forum: Flowcode V8
Topic: UART Component - USB-UART FT232RL hardware
Replies: 26
Views: 9137

Re: UART Component - USB-UART FT232RL hardware

Hi Rod.
Does this work any better?
by medelec35
Sun Oct 24, 2021 10:20 am
Forum: General Programming
Topic: Storing long negative numbers in EEPROM
Replies: 15
Views: 12530

Re: Storing long negative numbers in EEPROM

but when i do the reverse, the action serve the joining and getting the LONG number but not the same number which i split and also negative (-) sign is added. Just thought I would mention that Ben's post was in 2012 and the OP was asking about Flowcode V5 That did not use the compiler that is used ...
by medelec35
Wed Oct 20, 2021 5:53 pm
Forum: General Programming
Topic: Storing long negative numbers in EEPROM
Replies: 15
Views: 12530

Re: Storing long negative numbers in EEPROM

Excellent, I'm glad the issue is resolved for you. Conversions can be hit and miss especially with Longs/Ulongs For that reason, Ben created an excellent component to help with that. Within Flowcode search for conv/At the top of the list will be Type conversions. There is a really good example flowc...
by medelec35
Wed Oct 20, 2021 3:19 pm
Forum: General Programming
Topic: Storing long negative numbers in EEPROM
Replies: 15
Views: 12530

Re: Storing long negative numbers in EEPROM

Hi Abhi, The attached flowchart works for me. It converts ulong to bytes. saves the bytes within EEPROM. Clears the byte variables then retrieves the bytes from EEPROM. Converts retrieved bytes back to EEPROM, then displays the converted value. If the two values on the display matched then you know ...
by medelec35
Wed Oct 13, 2021 7:32 pm
Forum: Flowcode V8
Topic: ADC NOISE REDUCTION in AVR
Replies: 10
Views: 4606

Re: ADC NOISE REDUCTION in AVR

The are several suggestions from myself and Ben.
Which option are you referring to?
by medelec35
Tue Oct 12, 2021 7:52 pm
Forum: Flowcode V8
Topic: ADC NOISE REDUCTION in AVR
Replies: 10
Views: 4606

Re: ADC NOISE REDUCTION in AVR

Hi, RABO2320.
There are several things you can do.
1. Have conversion speed within POT properties set n the max e.g FOSC/128
2. Use GetAverageByte or Use GetAverageInt macro.
3. Use a suitable capacitor across ADC and GND
4. Make sure Supply voltage is stable.
by medelec35
Thu Oct 07, 2021 7:05 pm
Forum: Flowcode V8
Topic: Descending counter project.
Replies: 3
Views: 3071

Re: Descending counter project.

Hi, Fer_taca. A few comments. The version I have of Flowcode is: 8.0.0.6 That version is well out of date. You should be on version 8.2.2.15 Can you go to here Close all instances of Flowcode, download patch and hotfix then run them in that order. After you have done that, reopen your flowchart and ...
by medelec35
Wed Oct 06, 2021 6:57 pm
Forum: Flowcode V8
Topic: Remap Function
Replies: 3
Views: 4396

Re: Remap Function

Hi Bruno.
Thank you for creating the Map component.
My suggestion would be to use a single Long for the calculations as just using ints will cause rollover to occur.
See here.
Credit to our VC member mnf for spotting the issue with the v9 version.
by medelec35
Thu Sep 30, 2021 12:30 pm
Forum: General Programming
Topic: Bmp 180
Replies: 4
Views: 5540

Re: Bmp 180

The component is now available within v9.
You might have to change Files in-use to Full database.
I have not got a BMP180 to test it with.
If you could try it out and let us know how you get on, will appreciate the feedback.
by medelec35
Wed Sep 29, 2021 10:42 pm
Forum: General Programming
Topic: Bmp 180
Replies: 4
Views: 5540

Re: Bmp 180

I will create a BMP180 Component for v9.
I will also inform you when it's on the v9 update system.
Edit: Component has been created & hopefully will be available sometime on Thursday 30 Sep.
by medelec35
Wed Sep 29, 2021 11:35 am
Forum: Flowcode V8
Topic: Moving Average
Replies: 6
Views: 2795

Re: Moving Average

Hi Abhi.
I have made a small adjustment so it should work from 0 to 32767.
On the higher values the count is out slightly
I'm not that great with maths so I used Jan's example and changed it slightly.
by medelec35
Tue Sep 28, 2021 9:16 pm
Forum: Flowcode V8
Topic: Moving Average
Replies: 6
Views: 2795

Re: Moving Average

Hi Abhi.
I have just put a moving average demo together for you.
Its only going fairly slow because its a demo
You can remove LCD macros and delay from MovingAverage User Macro.
by medelec35
Tue Sep 28, 2021 1:44 pm
Forum: General Programming
Topic: Bmp 180
Replies: 4
Views: 5540

Re: Bmp 180

Hi, mola.ae
Flowcode v9 has BMP280 and BME280
a BMP180 can be created for v9 as well.
Have you thought of giving it try?
You could use the free 30day trial with everything unlocked, and see how you get on?