MIAC based temperature controller
-
- Flowcode V4 User
- Posts: 73
- Joined: Mon Sep 24, 2012 4:31 pm
- Been thanked: 1 time
- Contact:
Re: MIAC based temperature controller
Can I build one??You know I got a time constraint...If I buy one online it will take time to reach me..thats why..
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
-
- Flowcode V4 User
- Posts: 73
- Joined: Mon Sep 24, 2012 4:31 pm
- Been thanked: 1 time
- Contact:
-
- Flowcode V4 User
- Posts: 73
- Joined: Mon Sep 24, 2012 4:31 pm
- Been thanked: 1 time
- Contact:
Re: MIAC based temperature controller
Thanks Enamul..the problem is that it is done with flowcode 5..and i've got flowcode 4..
-
- Flowcode V4 User
- Posts: 73
- Joined: Mon Sep 24, 2012 4:31 pm
- Been thanked: 1 time
- Contact:
Re: MIAC based temperature controller
can you please save it as flowcode 4 for me and post it please..
-
- Flowcode V4 User
- Posts: 73
- Joined: Mon Sep 24, 2012 4:31 pm
- Been thanked: 1 time
- Contact:
Re: MIAC based temperature controller
Hello Enamul, I'm trying to run this program on flowcode but I cant find the panel where there is the miac displayed.can you please help me.
thank you
thank you
- Attachments
-
- Reptile_Control.fcf
- (67.45 KiB) Downloaded 476 times
-
- Flowcode V4 User
- Posts: 73
- Joined: Mon Sep 24, 2012 4:31 pm
- Been thanked: 1 time
- Contact:
Re: MIAC based temperature controller
Hello Enamul, for the motor output, how can I make is spin in one direction for one condition and spin the other way round for another condition??
Thank you
Thank you
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
Re: MIAC based temperature controller
Hican you please save it as flowcode 4 for me and post it please..
Can you please request Martin for that? As he has written the code he code have FCv4 version or might be able to change that to FCv4. It's really time consuming task to convert code.
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
Re: MIAC based temperature controller
Click view>panel...you will see panel.Hello Enamul, I'm trying to run this program on flowcode but I cant find the panel where there is the miac displayed.can you please help me.thank you
- Attachments
-
- Reptile_Control.fcf
- (67.43 KiB) Downloaded 445 times
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
Re: MIAC based temperature controller
Hifor the motor output, how can I make is spin in one direction for one condition and spin the other way round for another condition??
What kind of motor you are trying to use..please post details whenever you ask something.
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: MIAC based temperature controller
Hi Dylan,DylanBalloo wrote:can you please save it as flowcode 4 for me and post it please..
You download the free version of Flowcode V5 here:
http://www.matrixmultimedia.com/lc_index.php?p=25
Once installed, you can run simulation to check if it's what you’re after.
You would also be able to use V5 to create a V4 version.
For copying formulas, just double click on the component e.g calculation box
Copy using copy (Edit menu) or Ctrl & C
Create a new calculation box in V4 then just select paste (Edit menu) or Ctrl & V
You can copy and paste variables too.
Martin
Martin
-
- Flowcode V4 User
- Posts: 73
- Joined: Mon Sep 24, 2012 4:31 pm
- Been thanked: 1 time
- Contact:
Re: MIAC based temperature controller
Hello enamul, regarding the motor its a 12V dc motor, I've tested it with a battery when i respect the polarity in connect it, it spins in one direction, when i reverse the polarity it spins in another direction. so i want to connect the motor to the pwm output of the miac,and I want it to spin in one direction for some command and spin in another direction for other command.how can I do that??
Thank you
Thank you
-
- Flowcode V4 User
- Posts: 73
- Joined: Mon Sep 24, 2012 4:31 pm
- Been thanked: 1 time
- Contact:
-
- Flowcode V4 User
- Posts: 73
- Joined: Mon Sep 24, 2012 4:31 pm
- Been thanked: 1 time
- Contact:
Re: MIAC based temperature controller
Hi Enamul, for flowcode V5, how can you change the simulation speed??I cant find the option "project option"
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: MIAC based temperature controller
Hi Dylan,
Your welcome.
Select Project options.
From there you can change simulation speed.
What you could do is enable PWM on ch A and set channel C to 0% duty.
Then motor will turn in one direction depending on PWM duty.
Then set ch C to PWM and ch A to 0% duty output.
Then motor should rotate in the opposite direction.
I will find a motor and see if that works ok.
Martin
Your welcome.
Go to 'Build' menu.DylanBalloo wrote:how can you change the simulation speed??I cant find the option "project option"
Select Project options.
From there you can change simulation speed.
How about using two PWM outputs (Channels A and C) that connects to your motor (If motor draws too much current then use separate transistor drivers as you don't want to damage MIAC outputs.DylanBalloo wrote: so i want to connect the motor to the PWM output of the MIAC and I want it to spin in one direction for some command and spin in another direction for other command.how can I do that??
Thank you
What you could do is enable PWM on ch A and set channel C to 0% duty.
Then motor will turn in one direction depending on PWM duty.
Then set ch C to PWM and ch A to 0% duty output.
Then motor should rotate in the opposite direction.
I will find a motor and see if that works ok.
Martin
Martin
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
Re: MIAC based temperature controller
Hi
You will need H-bridge to control the direction of motor. You can have look in your lab there might be some ic or you can make using mosfet if motor's current rating is high.
You will need H-bridge to control the direction of motor. You can have look in your lab there might be some ic or you can make using mosfet if motor's current rating is high.
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: MIAC based temperature controller
Something like this Flowchart for small low power motors.
For motors that will exceed maximum current of a Miac, then I totally agree with Enamul about H-bridge.
If your not 100% sure if MIAC can handle low power motor or not then better to be safe than sorry and go for H-bridge route anyway.
For motors that will exceed maximum current of a Miac, then I totally agree with Enamul about H-bridge.
If your not 100% sure if MIAC can handle low power motor or not then better to be safe than sorry and go for H-bridge route anyway.
- Attachments
-
- Motor control1.fcf
- (23.38 KiB) Downloaded 403 times
Martin
-
- Flowcode V4 User
- Posts: 73
- Joined: Mon Sep 24, 2012 4:31 pm
- Been thanked: 1 time
- Contact:
Re: MIAC based temperature controller
Hi Martin and Enamul, I think I'll go for the H-Bridge Circuit regarding the motor.I'll keep you inform of the progress.Thank you both for your precious help
-
- Flowcode V4 User
- Posts: 73
- Joined: Mon Sep 24, 2012 4:31 pm
- Been thanked: 1 time
- Contact:
Re: MIAC based temperature controller
Hello everyone,
regarding the H-bridge, it requires two inputs, I was thinking to put the output A and B from MIAC into the input of the H-bridge. Is that good?
I am trying to create a small program for pwm using flowcode 5 but in flowcode 4 when you enable pwm, you can choose the number of pwm to be used using the nldx,but in flowcode 5 i cant find nldx. how to enable either one of the output A or B using pwm?
Thank you
regarding the H-bridge, it requires two inputs, I was thinking to put the output A and B from MIAC into the input of the H-bridge. Is that good?
I am trying to create a small program for pwm using flowcode 5 but in flowcode 4 when you enable pwm, you can choose the number of pwm to be used using the nldx,but in flowcode 5 i cant find nldx. how to enable either one of the output A or B using pwm?
Thank you
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
Re: MIAC based temperature controller
Hi Dylan
In Flowcode v5, chose the “MIAC” project, then select “MIAC” from the “MIAC Module” drop down menu.
Then select PWM from the “Mechatronics” drop down menu.
Select the PWM component, then “Ext Properties”, select PWM Channel 1 or 2
Channel 1 outputs on A, channel 2 outputs on C
Regards,
Leigh
In Flowcode v5, chose the “MIAC” project, then select “MIAC” from the “MIAC Module” drop down menu.
Then select PWM from the “Mechatronics” drop down menu.
Select the PWM component, then “Ext Properties”, select PWM Channel 1 or 2
Channel 1 outputs on A, channel 2 outputs on C
Regards,
Leigh
-
- Flowcode V4 User
- Posts: 73
- Joined: Mon Sep 24, 2012 4:31 pm
- Been thanked: 1 time
- Contact:
-
- Flowcode V4 User
- Posts: 73
- Joined: Mon Sep 24, 2012 4:31 pm
- Been thanked: 1 time
- Contact: