Thanks Ben,
I'll play with this in Hardware next week, using two basic pots and outputting the values to a screen.
Cheers for your efforts so far. J.
Search found 398 matches
- Fri Jun 16, 2017 8:49 pm
- Forum: Flowcode V7
- Topic: dsPIC PID Control Basics
- Replies: 15
- Views: 13975
- Fri Jun 16, 2017 2:24 pm
- Forum: Flowcode V7
- Topic: dsPIC PID Control Basics
- Replies: 15
- Views: 13975
Re: dsPIC PID Control Basics
Hi Guys, I'm back on this project start of next week and really need to make some progress quite soon. If you think the problem we are seeing, are just down to my FC code, I'll keep working away and try other approaches Just want to check the odd values I'm reporting are not bugs, before I commit mo...
- Thu Jun 15, 2017 2:43 pm
- Forum: Flowcode V7
- Topic: V7 PIC LIN Components
- Replies: 12
- Views: 9442
Re: V7 PIC LIN Components
For myself, I would typically be looking to read existing LIN devices, manipulate and send data back out on CAN. So a LIN Master component would be most helpful.
J.
J.
- Wed Jun 14, 2017 10:41 pm
- Forum: Flowcode V7
- Topic: V7 PIC LIN Components
- Replies: 12
- Views: 9442
Re: V7 PIC LIN Components
Just to throw my two cents in.. Sounds like my role is similar to Jonathan and as another engineer in automotive, LIN would be good. My last potential LIN project was unfortunately LIN2.0 and could not get the device to work with the V6 component. My typical PIC target of choice was/is the ECIO40P b...
- Wed Jun 14, 2017 10:16 am
- Forum: Flowcode V7
- Topic: dsPIC PID Control Basics
- Replies: 15
- Views: 13975
Re: dsPIC PID Control Basics
Hi, My results are only from the SIM but. I've ensured, control, setpoint and feedback are all Signed Integers. The numbers show on sim are still not what I would expect; however... is what I am expecting correct!! :D If, I have a set point ADC at 128 bits (0-255), and a feedback ADC at 100 bits (0-...
- Tue Jun 13, 2017 9:22 pm
- Forum: Flowcode V7
- Topic: dsPIC PID Control Basics
- Replies: 15
- Views: 13975
Re: dsPIC PID Control Basics
Hi Ben, Thanks for the info and additional motor examples. I've had another play, starting at the basics of my FC. Ahhh.... please scroll down attached screen shot. Are the the console and watch windows values confused some how?? :? Can you replicate this behaviour? I get it on my laptop and desktop...
- Tue Jun 13, 2017 4:03 pm
- Forum: Flowcode V7
- Topic: dsPIC PID Control Basics
- Replies: 15
- Views: 13975
Re: dsPIC PID Control Basics
Apologies for a blatant bump, I'm getting a better feel for some of the basics of the PID but still struggling to understand why the output values do not swing between the ranges I would expect? Regards, John.
- Wed Jun 07, 2017 11:12 am
- Forum: Flowcode V7
- Topic: dsPIC PID Control Basics
- Replies: 15
- Views: 13975
Re: dsPIC PID Control Basics
No Hijack required!. I also need all the help I can get!
From my side. as I make progress, I'l try to post anything relavent;
I know the Matrix guys are flat out at the moment but for sure, some additional guidance on these areas would be great.
J.
From my side. as I make progress, I'l try to post anything relavent;
I know the Matrix guys are flat out at the moment but for sure, some additional guidance on these areas would be great.
J.
- Tue Jun 06, 2017 8:29 pm
- Forum: Flowcode V7
- Topic: dsPIC PID Control Basics
- Replies: 15
- Views: 13975
Re: dsPIC PID Control Basics
Hi, :EDIT: I know Ben is away so I may just have to wait it out. :) So have been having another play.. By using Signed Integers I've made some progress, however the values output to the gLCD in sim and hardware are not what I would expect and are different to those shown in the console during simula...
- Sun Jun 04, 2017 2:56 pm
- Forum: 8-Bit PIC
- Topic: Long numbers
- Replies: 4
- Views: 3919
Re: Long numbers
If .RANGE_OFFSET = ULONG .ADC_OFFSET = UINT .REF_RANGE = UINT To achieve this, .RANGE_OFFSET = .ADC_OFFSET * .REF_RANGE try, .RANGE_OFFSET = .ADC_OFFSET .RANGE_OFFSET = .RANGE_OFFSET * .REF_RANGE I found that to get the result of calculations properly applied to a ULong variable, you had to have a U...
- Thu Jun 01, 2017 9:17 pm
- Forum: Flowcode V7
- Topic: dsPIC PID Control Basics
- Replies: 15
- Views: 13975
Re: dsPIC PID Control Basics
OK, so if you change the DSP system components sign, to signed. You do get positive and negative numbers. I disabled the simulation 2nd and 3rd order responses, as (for me) they were just confusing the situation in simulation. I can see the values in Console and these seem to what I would expect. Se...
- Thu Jun 01, 2017 8:51 pm
- Forum: Feature requests
- Topic: Alternative Zoom method for Dash and System Panel
- Replies: 1
- Views: 2357
Alternative Zoom method for Dash and System Panel
Hi guys,
Using a laptop without a third button or scroll wheel, you cant zoom these panels.
Sure, laptops are not used for the bulk of development; but in the field not being able to zoom these panels, is a real pain.
Or am i being stupid an missed something?
Using a laptop without a third button or scroll wheel, you cant zoom these panels.
Sure, laptops are not used for the bulk of development; but in the field not being able to zoom these panels, is a real pain.
Or am i being stupid an missed something?
- Wed May 31, 2017 7:26 pm
- Forum: Flowcode V7
- Topic: WS2812B first project
- Replies: 10
- Views: 9363
Re: WS2812B first project
Hi Angelo, Yeah, for sure a std Flowcode on/off routine will not be fast enough but the some assembler code inserted into a FC program, worked great. As for chip choice, I'm a big fan of the the little ECIO building blocks, the ECIO40P about £25 and the ECIO28P for around £12, great little 8 bit 18F...
- Tue May 30, 2017 10:53 pm
- Forum: Flowcode V7
- Topic: DSP Frequency, Setting the output, Change base Frequency
- Replies: 4
- Views: 4693
DSP Frequency, Setting the output, Change base Frequency
Hi, the DSP Freq module looks very handy... I'm away from the office and scope so cant check on hardware but... What determines the base frequency in your example, is it the 1ms delay, i.e. how fast you Generate the 'tick' I would like to use the component as a quick way to output a pulse train. I c...
- Tue May 30, 2017 10:35 pm
- Forum: MIAC
- Topic: MIAC Input Resolution
- Replies: 4
- Views: 10753
Re: MIAC Input Resolution
Hi Guys, Looking at the dsPIC MIAC for an upcoming project. The inputs are 10bit 0-12V, is that from a regulated on board 12V? Or is it just the supply voltage, so I may get input AD variation with dips in the supply? If I used an advanced MIAC module, to get 12bit 0-5V, what sort of rate is that sa...
- Tue May 30, 2017 10:33 am
- Forum: Flowcode V7
- Topic: WS2812B first project
- Replies: 10
- Views: 9363
Re: WS2812B first project
Hi, Before Ben and the guys wrote the component for these, I played around with NeoPixels which use these LEDs. https://www.matrixtsl.com/mmforums/viewtopic.php?f=54&t=16757&p=78652&hilit=neopixel#p78652 You will need a pretty quick PIC as the timing required for the LED relys on very short pulses. ...
- Mon May 29, 2017 7:12 pm
- Forum: Flowcode V7
- Topic: dsPIC PID Control Basics
- Replies: 15
- Views: 13975
dsPIC PID Control Basics
Hi Guys, I am trying to get to grips with the P, PI and PID DSP components. Using ECIO dsPIC I have tweaked the PI example, (an possibly broken!) adding a display. I am then playing with the result using basic hardware on the bench. I will be using; >DC Motor driven linear actuator >Suitable motor c...
- Sat May 20, 2017 11:37 am
- Forum: Feature requests
- Topic: Look Up Tables - Graph - Interpolation
- Replies: 1
- Views: 2557
Look Up Tables - Graph - Interpolation
look up tables are very useful and a few predefined functions could be very useful. (speeding up program development) 1) Interpolation: If an input value lies between two points in the table, interpolate for the nearest integer value. Nearest:If an input value lies between two table values, use the ...
- Wed May 17, 2017 10:21 am
- Forum: Flowcode V7
- Topic: Servo SBus PWM Analog Conversion
- Replies: 2
- Views: 3225
Re: Servo SBus PWM Analog Conversion
Hi Ben, Ha, Understand the pressures of a busy workshop! Unsurprisingly Futaba dont release an official protocol and there is just snippets reverse engineered by others.. Credit to these guys who have done quite a bit of work. https://forum.arduino.cc/index.php?topic=99708.0 http://www.robotmaker.eu...
- Tue May 16, 2017 4:57 pm
- Forum: Flowcode V7
- Topic: Servo SBus PWM Analog Conversion
- Replies: 2
- Views: 3225
Servo SBus PWM Analog Conversion
Hi guys, An upcoming project will be taking signals from a model radio control reciever and using the received signals as inputs to a microcontroller (MIAC, ECIO, dsPIC) Now, the tricky bit is getting the output from the RC reciever into the Microcontroller. A) I could go purely datastream.... Has a...
- Sun Mar 12, 2017 11:15 pm
- Forum: Flowcode V7
- Topic: FC7.2.0.5 Release Notes
- Replies: 1
- Views: 2595
FC7.2.0.5 Release Notes
Hi, anyone found any release notes detailing the fixes, features and changes for this latest release? I could not find anything in the usual places I would expect..
Cheers, J.
Cheers, J.
- Sun Mar 12, 2017 2:17 pm
- Forum: Flowcode V7
- Topic: Unable to download software
- Replies: 14
- Views: 11730
Re: Unable to download software
Hmm odd...
Downloaded twice with Chrome, twice with Opera. All four downloads are subtly different sizes but over 1Gb. None will run as an install. J. Will wait an see if someone finds something..
EDIT: Downloaded to another laptop. win10, using chrome. all good.
Downloaded twice with Chrome, twice with Opera. All four downloads are subtly different sizes but over 1Gb. None will run as an install. J. Will wait an see if someone finds something..
EDIT: Downloaded to another laptop. win10, using chrome. all good.
- Mon Feb 13, 2017 12:45 pm
- Forum: Flowcode V7
- Topic: WebServer - Not all Strings Update.
- Replies: 21
- Views: 21676
Re: WebServer - Not all Strings Update.
Thanks Ben, Thats excellent. Good to know about the Index 0 and the extra couple of substitutions really help. Tried and tested on hardware, all works as expected. I only thought this morning.. If I really need to output quite a few variables, I just need to build them into a single long string. Obv...
- Sun Feb 12, 2017 8:23 pm
- Forum: Flowcode V7
- Topic: WebServer - Not all Strings Update.
- Replies: 21
- Views: 21676
WebServer - Not all Strings Update.
Hi all, Using the Webserver component with the WIZ810MJ module. It is working really well, however I can only update 4 strings. I am updating 6 variables, these are converted to Strings and sent out using the 'SetOutValue' macro. Then running the 'CheckSocketActivity' macro. The first 4 strings upda...
- Tue Feb 07, 2017 11:10 am
- Forum: E-blocks
- Topic: EB023 Internet Eblock - DC-DC Power supply 3.3v
- Replies: 2
- Views: 4131
Re: EB023 Internet Eblock - DC-DC Power supply 3.3v
Ok Thanks Leigh, I'll run with a Linear and see how we go. I suspect the EB023 E-Block designer wanted to use the 12V DC supply so as to not load up the upstream EB006 Linears's 5V supply.
When dropping from 12-16V to 3.3V..I guess the efficiency of the DC-DC make it a good choice. J.
When dropping from 12-16V to 3.3V..I guess the efficiency of the DC-DC make it a good choice. J.