Search found 258 matches

by petesmart
Wed Feb 22, 2017 9:19 am
Forum: Flowcode V7
Topic: Multiple macro imports
Replies: 2
Views: 2867

Multiple macro imports

Hi matrix team, Recently I have been doing a lot of work with macros – developing large applications by reusing pre-existing macro functionality. In my latest project I had to import up to 30 macros. The current functionality (unless I've missed something, which is quite possible) you can only impor...
by petesmart
Mon Feb 13, 2017 2:30 pm
Forum: MIAC
Topic: DSPIC MIAC digital input pins
Replies: 2
Views: 3994

DSPIC MIAC digital input pins

Hi Leigh, Just doing some work with DSPIC Miac and simulation of the digital inputs I1 - I8.. Looking at the chip window in FC 7 I can't figure out which inputs I1 - I8 are mapped to the chip... Basically what I want to do is to use switches on the system panel to simulate the inputs on the miac for...
by petesmart
Mon Feb 13, 2017 2:23 pm
Forum: Flowcode V7
Topic: 8 bit upgrade issue
Replies: 4
Views: 4652

Re: 8 bit upgrade issue

Thanks Ben... will give it a go and report
by petesmart
Mon Feb 13, 2017 12:33 pm
Forum: Flowcode V7
Topic: 8 bit upgrade issue
Replies: 4
Views: 4652

Re: 8 bit upgrade issue

update - version FC7.1.1 Sept Okay after a little further investigation – I decided to run FC 7 in administrator mode on my Windows 10 machine. This time I got a little more error information http://www.matrixtsl.com Launching the compiler... C:\Program Files (x86)\Flowcode 7\compilers\pic\bin\xc8.e...
by petesmart
Mon Feb 13, 2017 11:35 am
Forum: Flowcode V7
Topic: 8 bit upgrade issue
Replies: 4
Views: 4652

8 bit upgrade issue

Hello team, I upgraded FC7 today to include the 8-bit pic chip pack. The purpose for upgrading was to make modifications to code that was previously generated in FC 6 for miac V1/V2 The first time I tried to compile to the miac device – compiled to C but froze on the next step. Hit the cancel button...
by petesmart
Sat Dec 10, 2016 1:05 pm
Forum: General Programming
Topic: Pressure sensors
Replies: 3
Views: 4730

Re: Pressure sensors

The first step,is to get the data sheet for the device....can you research and post on the forum...once we have the data sheet we can create macros to read the device...from there you could create a component...

Best

Pete
by petesmart
Sun Nov 06, 2016 9:20 am
Forum: General Programming
Topic: Extracting Floating Point Value from RS458.
Replies: 4
Views: 4869

Re: Extracting Floating Point Value from RS458.

Hi JayDee, Just got back from US.... Here is promised the IEEE 754 macro Note that the .return provide you with a floating point number... Also check out the properties – there are a number of options to turn on/off test data and displaying the raw captured RS-485 data (second macro attached) All yo...
by petesmart
Fri Nov 04, 2016 4:42 pm
Forum: General Programming
Topic: Extracting Floating Point Value from RS458.
Replies: 4
Views: 4869

Re: Extracting Floating Point Value from RS458.

Hi jaydee, This looks very much like an industry based IEEE 754 format....your in luck as I have written a conversion macro for the new dsPIC MIAC in FC7. this shold be transportable across the pic range.. See the MIAC blog article on the Matrix website...there is photo of of a power management devi...
by petesmart
Sun Sep 18, 2016 6:34 pm
Forum: General Programming
Topic: DAC as digital attenuator
Replies: 3
Views: 5156

Re: DAC as digital attenuator

Very clever Jan.... Thanks for sharing

Best

Pete
by petesmart
Wed Aug 24, 2016 11:04 am
Forum: Flowcode V6
Topic: Load Cell HX711
Replies: 10
Views: 14471

Re: Load Cell HX711

Hi George,

I used 4 load cells from a bathroom scale I purchased for $25...very cheap and cheerful

4 cells wire in a Wheatstone bridge config is good for 150kg with a resolution of 1 gram (ish)

Can you describe what not very good means?..do you know the scaling factor?

Best

Pete
by petesmart
Mon Aug 22, 2016 12:05 pm
Forum: Flowcode V6
Topic: Load Cell HX711
Replies: 10
Views: 14471

Re: Load Cell HX711

ok... had a look at your project.... when I created the macro, I left all of the config options disabled :oops: - you will need to enable the icons in the red circle and then it should work...the data sheet will give you a good insight as to the config options vs function let me know how you go best...
by petesmart
Mon Aug 22, 2016 11:54 am
Forum: Flowcode V6
Topic: Load Cell HX711
Replies: 10
Views: 14471

Re: Load Cell HX711

Hi George, The fluctuation is pretty normal to a degree - hence my reason to suggest an averaging methodology.....Also check your PSU - do you have filter caps close to the HX711 Chip/board?... this can be a source of noise... The other thing you can do is reduce the gain and scale up... this may al...
by petesmart
Sun Aug 21, 2016 11:58 am
Forum: Flowcode V6
Topic: Load Cell HX711
Replies: 10
Views: 14471

Re: Load Cell HX711

Hi George, Attached is a macro is created in fc6, it will also work in fc7. It reads 24 bits of data from the hx711 chip....the project I used this for was a 4 load cell scale connected in a Wheatstone bridge config. Import the macro into your project and call it as a routine. Note - given the sensi...
by petesmart
Wed Aug 10, 2016 10:23 am
Forum: E-blocks
Topic: Flowkit 2 Connections
Replies: 6
Views: 7449

Re: Flowkit 2 Connections

Hi Leigh,

Thanks for the update.... Which flowkit should I use with the soon to be released versions of MIAC?

Best

Pete
by petesmart
Tue Aug 09, 2016 3:43 pm
Forum: E-blocks
Topic: Flowkit 2 Connections
Replies: 6
Views: 7449

Re: Flowkit 2 Connections

Hi Leigh,

What version flow kit do you suggest to debug MIAC? Also will new MIAC range have GHOST built in?

All the best

Pete
by petesmart
Tue Aug 09, 2016 3:39 pm
Forum: Fixed bugs
Topic: save the project
Replies: 17
Views: 18950

Re: save the project

Hi,

I'm running a nvidia quadra4k and fc7... It's running hires +2500 pixels...I will have to check the exact resolution and come back to you.....What tests would you like me to run for you?...

Best

Pete
by petesmart
Tue Aug 02, 2016 2:28 pm
Forum: Flowcode V7
Topic: FlowCode Mini Conference / Exchange / Training
Replies: 9
Views: 10333

Re: FlowCode Mini Conference / Exchange / Training

Hi Ben

Count me in for the online conference training idea.

Best

Pete
by petesmart
Tue Jul 19, 2016 10:49 am
Forum: Feature requests
Topic: Macro Parameters
Replies: 5
Views: 5398

Re: Macro Parameters

You can also add constants inside of macros as well...
by petesmart
Sat Jul 09, 2016 1:22 am
Forum: MIAC
Topic: Gas flow meter/pressure and O2 measurement
Replies: 5
Views: 9437

Re: Gas flow meter/pressure and O2 measurement

Hi Giovanni, I would recommend that your starting point is to find industrial grade sensors that are suited to your task. For example the difficult bit is usually physically interfacing the sensor into the plumbing (pipework) of the system that you're trying to monitor. Given the industrial solution...
by petesmart
Tue Jun 28, 2016 11:24 pm
Forum: Programming Tips & Tricks
Topic: Smartphone Multuimeter
Replies: 1
Views: 5823

Re: Smartphone Multuimeter

There a great little unit John... sparkfun.com stocks them as well

Best

Pete
by petesmart
Tue Jun 28, 2016 1:51 pm
Forum: User Components
Topic: DS3231 - RTC Time Keeper
Replies: 64
Views: 81787

Re: DS3231 - RTC Time Keeper

HI Jordy,

I have been looking at your component for the DS3231 that you posted some time back. Would it be possible for me to get access to the source so that I can update it to drive a DS3232? this is a later version RTC

Happy to post back the updated version on the forum.

all the best

Pete
by petesmart
Wed Jun 15, 2016 11:11 pm
Forum: General Programming
Topic: FlowCode Version Converter and Viewer
Replies: 3
Views: 4979

Re: FlowCode Version Converter and Viewer

Hi team,

I would like to add my support to this idea.... I use my iPad quite a lot to view the forums, I would be great to view charts on the iPad...view only would be ideal...

I understand that MM have a lot on at the moment, however this would be great feature..

All the best

Pete
by petesmart
Thu Apr 28, 2016 3:27 pm
Forum: Flowcode V6
Topic: Simulation of RXINT (UART) on FC6
Replies: 2
Views: 2680

Re: Simulation of RXINT (UART) on FC6

Thanks Ben,

Appreciate the tip on the timeout...

Perhaps RXInt is on the list for V7? :D

Best

Pete
by petesmart
Thu Apr 28, 2016 10:14 am
Forum: Flowcode V6
Topic: Simulation of RXINT (UART) on FC6
Replies: 2
Views: 2680

Simulation of RXINT (UART) on FC6

Hello team, I think I already know the answer to this....does the RXINT interrupt simulate in FC6? If not is there a work around to simulate other jumping to the macro from the main loop? BTW FC6 is really impressive.. I have been using 2 FC6 instances on the desktop communicating physically via 2 e...
by petesmart
Mon Feb 01, 2016 11:06 am
Forum: General Programming
Topic: This is wierd
Replies: 7
Views: 9903

Re: This is wierd

Also it may be helpful to post a closeup photo of your rig... It may give some clues