Search found 7716 matches

by medelec35
Tue Nov 23, 2021 7:23 pm
Forum: Flowcode V8
Topic: 8 bit ADC Voltage measurement?
Replies: 16
Views: 9559

Re: 8 bit ADC Voltage measurement?

Can you post your flowchart please, as the generated code looks OK
by medelec35
Tue Nov 23, 2021 4:51 pm
Forum: Flowcode V8
Topic: 8 bit ADC Voltage measurement?
Replies: 16
Views: 9559

Re: 8 bit ADC Voltage measurement?

gilanetugila wrote:
Tue Nov 23, 2021 4:38 pm
only the VDD option on Vref+pin
Yes, sorry I was thinking of a different target device, VDD requires selecting.
Have you measured the voltage directly across An5 (pin 28 if 28dip) and GND?
by medelec35
Tue Nov 23, 2021 3:52 pm
Forum: Flowcode V8
Topic: 8 bit ADC Voltage measurement?
Replies: 16
Views: 9559

Re: 8 bit ADC Voltage measurement?

Hi gilanetugila.
Welcome to Matrix TSL forums.
Please don't hijack other peoples threads.
I have started a new thread for you.
Within Pot properties, Try changing the Vref option from AREF to AVCC.
Also, if ADC varies too much then try changing Conversion speed to Fosc / 64 or Fosc / 128
by medelec35
Sun Nov 21, 2021 7:20 pm
Forum: Flowcode V8
Topic: DND dice roller
Replies: 9
Views: 2351

Re: DND dice roller

Have you tried what I have shown within the image? That should give you a random number between the min and max values. If you have and still not working, then post our updated flowchart, please. Don't forget to enter RandNum = random () % (MaxNum - MinNum + 1) + MinNum within a calculation icon: Ca...
by medelec35
Fri Nov 19, 2021 12:55 pm
Forum: Flowcode V8
Topic: DND dice roller
Replies: 9
Views: 2351

Re: DND dice roller

Hi, BellDynJinn. Welcome to the forums. You can use the Random() function within a calculation icon, no need for it to be contained within a C code block For example, you can use the random in the following way: Random Number.png The % means modulus. Note the random values are pseudo which means the...
by medelec35
Thu Nov 18, 2021 5:37 pm
Forum: Flowcode V7
Topic: Arduino R3 (Elegoo)
Replies: 2
Views: 2869

Re: Arduino R3 (Elegoo)

If you are interested there is a getting started guide within the learning centre.
From the Project Range dropdown, select Flowcode
It's for V8 but a lot of V7 will relate to it.
by medelec35
Thu Nov 18, 2021 9:15 am
Forum: Flowcode V7
Topic: Arduino R3 (Elegoo)
Replies: 2
Views: 2869

Re: Arduino R3 (Elegoo)

Hi Martin. Yes, it should work well as it's an Arduino Uno clone. Just keep the same target device that's selected in this post . To start a new project, run Flowcode, Select New Project. Choose the target device as shown in the image within the above link. Select OK then create variables and drag r...
by medelec35
Mon Nov 15, 2021 4:15 pm
Forum: Flowcode V7
Topic: Digital Temperature
Replies: 26
Views: 15803

Re: Digital Temperature

Hi Martin. On any target device, you have analogue pins and Digital pins. If you are using a digital component, then they can be connected to both analogue and digital pins since the analogue pins can be made into digital pins. However, If you have an analogue only component e.g potentiometer. LDR o...
by medelec35
Sat Nov 13, 2021 11:32 pm
Forum: Flowcode V7
Topic: Digital Temperature
Replies: 26
Views: 15803

Re: Digital Temperature

Anything to do with hardware, you use the Build menu. To change the target device its Build, Project options, Choose a Target tab. You will need to select AVR, then Arduino in the Family dropdown selection, then select the correct target: Arduino Target..png Within Build, Project options, General Op...
by medelec35
Sat Nov 13, 2021 10:45 pm
Forum: Flowcode V7
Topic: Digital Temperature
Replies: 26
Views: 15803

Re: Digital Temperature

Target folder: C:\Users\hermi\DOWNLO~1 Source name: C:\Users\hermi\Downloads\Infrared Test1.fcfx Title: Description: Device: PIC.16F.16F1937 Generated by: Flowcode v7.3.0.5 You have got the wrong target device slected. Your hardware has not got the PIC16F1937. When you load an example flowchart, yo...
by medelec35
Sat Nov 13, 2021 9:56 pm
Forum: Flowcode V7
Topic: Digital Temperature
Replies: 26
Views: 15803

Re: Digital Temperature

Hi Martin,
As you would have changed the target device to suit your hardware.
Can you post your flowchart and the .msg.txt file that's within your project folder.
by medelec35
Fri Nov 12, 2021 8:56 am
Forum: General Programming
Topic: Door monitoring system
Replies: 2
Views: 4644

Re: Door monitoring system

When you have finished with the getting started guide, can you post the full specifications including hardware.
We can then sort something out between us.
by medelec35
Thu Nov 11, 2021 6:01 pm
Forum: General Programming
Topic: Door monitoring system
Replies: 2
Views: 4644

Re: Door monitoring system

Hi Kevin, Welcome to the Matrix forums. My advice would be to learn how to use Flowcode first. Have a look at the getting started guide within the Learning centre As you are on the Matrix forums, I'm assuming you are using Flwocode V8? If that is not the case, then what version of Flowocde are you u...
by medelec35
Wed Nov 10, 2021 3:06 pm
Forum: BTEC Unit 6
Topic: BTEC Unit 6 – mind the gap
Replies: 7
Views: 10916

Re: BTEC Unit 6 – mind the gap

Hi MartinSpeed. i am looking at getting a digital temperature sensor running. I can simulate this in the software but cant get the actual EB090 and EBM004 module to initialise. I know its my lack of knowledge. I have accessed matrix literature but non the wiser. This looks like a power issue as Stev...
by medelec35
Wed Nov 10, 2021 2:25 pm
Forum: Flowcode V7
Topic: Digital Temperature
Replies: 26
Views: 15803

Re: Digital Temperature

Just to add to Steve's post.
The D type connections do not supply power.
They supply signals and GND only.
If the only connections are via D connectors then it's what Steve has stated.
by medelec35
Wed Nov 03, 2021 7:08 pm
Forum: Flowcode V8
Topic: ADC internal Vref Activate
Replies: 10
Views: 3755

Re: ADC internal Vref Activate

That's excellent.
Thanks for letting me know.
by medelec35
Tue Nov 02, 2021 9:35 am
Forum: Flowcode V8
Topic: ADC internal Vref Activate
Replies: 10
Views: 3755

Re: ADC internal Vref Activate

Sorry, It was a typo.
Can you try the attached and see if it works?
by medelec35
Mon Nov 01, 2021 10:42 am
Forum: Flowcode V6
Topic: Push-Button not working in Momentary
Replies: 9
Views: 4340

Re: Push-Button not working in Momentary

It's not easy to help as I have no way of knowing what you have been taught so far. Have you been taught about bitwise or logical operations? Basically, you will be using one variable (taster) within the Input. The value will depend on if the switch has been pressed or not. Every time the switch has...
by medelec35
Sun Oct 31, 2021 9:08 pm
Forum: Flowcode V8
Topic: ADC internal Vref Activate
Replies: 10
Views: 3755

Re: ADC internal Vref Activate

Hi RABO2320 Can you paste tthe following within windows explorer: C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR Then replace the existing file with the attached version. You will need to reload the flowchart after. The file is untested as I have not got the same target device to test on. You will need...
by medelec35
Sun Oct 31, 2021 2:16 pm
Forum: Flowcode V8
Topic: PIC16F1705 PWM not working for all channel
Replies: 6
Views: 2003

Re: PIC16F1705 PWM not working for all channel

The only things I have noticed it PLL and low voltage programming are enabled. You have not stated if tried the one-second flasher? Was the timing spot on? I will have make a short code just to test the PWM output which give the same error. I did not get any errors or warnings, neither did you looki...
by medelec35
Sat Oct 30, 2021 8:54 pm
Forum: Flowcode V6
Topic: Push-Button not working in Momentary
Replies: 9
Views: 4340

Re: Push-Button not working in Momentary

That's OK. I understand you can't jump ahead of what you have not been taught. Have you been taught about logical operators? If not, the only other way I can think of is when the switch is detected, get a variable called Enable for example, to equal1, then a delay for say 500ms. If the switch is det...
by medelec35
Sat Oct 30, 2021 2:28 pm
Forum: Flowcode V6
Topic: Push-Button not working in Momentary
Replies: 9
Views: 4340

Re: Push-Button not working in Momentary

I've never asked anybody to do my assigment, I never said you did, I just wanted state it in advance. My flowcode is v6,I've posted here first,and then when I saw that i posted in wrong section I posted it in V6 but only this post got approved and i didnt know how to delete a post that was pending ...
by medelec35
Sat Oct 30, 2021 1:42 pm
Forum: Flowcode V6
Topic: Push-Button not working in Momentary
Replies: 9
Views: 4340

Re: Push-Button not working in Momentary

I cant really use newer versions since my professor requests for us to use same version as him,sorry. You posted in the Flowcode V8 section, So it's assumed you are using that version. What version have you got? Flowcode V7 will load V8 flowcharts. but I just cant fix it thats why i turned to this ...
by medelec35
Sat Oct 30, 2021 1:15 pm
Forum: Flowcode V8
Topic: PIC16F1705 PWM not working for all channel
Replies: 6
Views: 2003

Re: PIC16F1705 PWM not working for all channel

Hi
Have tried a one-second flasher to make sure your hardware is running at the correct speed?
Can you also post your flowchart and generated C code from your project folder?
by medelec35
Sat Oct 30, 2021 1:09 pm
Forum: Flowcode V6
Topic: Push-Button not working in Momentary
Replies: 9
Views: 4340

Re: Push-Button not working in Momentary

Hi HoX123.
Welcome to the forums.
Can you follow this post please?
Then if you get stuck we can help you further.
If Flowcode is up-to-date then the first part can of course be ignored.