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
Hey Leigh, still cant find the nldx in pwm....does it works as in 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
I've tried a to run a small program using pwm, when running the simulation its working but when uploading it on miac,there's error??
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: MIAC based temperature controller
Hi Dylan
Your program looks good. Only one small thing missing: You need to go to the “Connections” and select “MIAC(0)” for each PWM component.
(You need this extra step because your project setting is “MIAC System” rather than “MIAC”, so with MIAC System the PWM component could be attached to an Expansion module)
Regards
Leigh
Your program looks good. Only one small thing missing: You need to go to the “Connections” and select “MIAC(0)” for each PWM component.
(You need this extra step because your project setting is “MIAC System” rather than “MIAC”, so with MIAC System the PWM component could be attached to an Expansion module)
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:
Re: MIAC based temperature controller
Hello friend,
Do you have a written program for MIAC and the GSM module. I want to send an sms from the GSM module to a phone number.How can I do it??..
Thank you
Do you have a written program for MIAC and the GSM module. I want to send an sms from the GSM module to a phone number.How can I do it??..
Thank you
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: MIAC based temperature controller
Hi
You can send a text message by using the three macros of the GSM component:
Initialize
CheckNetworkStatus
SendTextMessage
First call the Initialize macro,
then loop, including a 1 second delay, waiting for the CheckNetworkStatus macro to return a value of 1 to indicate that the network has connected.
Then use the SendTextMessage macro to send the required message.
Regards,
Leigh
You can send a text message by using the three macros of the GSM component:
Initialize
CheckNetworkStatus
SendTextMessage
First call the Initialize macro,
then loop, including a 1 second delay, waiting for the CheckNetworkStatus macro to return a value of 1 to indicate that the network has connected.
Then use the SendTextMessage macro to send the required message.
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:
Re: MIAC based temperature controller
Can I ask you something is is possible to send a message to the GSM module to activate any relay or motor output??
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: MIAC based temperature controller
Hi Dylan
Yes you can use the CheckForIncoming macro to detect that a text message has been received.
Then use the ReadString macro and check for a particular text string (such as ON and OFF) and switch an output accordingly.
Have a look at the GSM component help file for further information.
Regards,
Leigh
Yes you can use the CheckForIncoming macro to detect that a text message has been received.
Then use the ReadString macro and check for a particular text string (such as ON and OFF) and switch an output accordingly.
Have a look at the GSM component help file for further information.
Regards,
Leigh
-
- Flowcode V4 User
- Posts: 73
- Joined: Mon Sep 24, 2012 4:31 pm
- Been thanked: 1 time
- Contact:
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: MIAC based temperature controller
Hi Dylan
The help can be invoked from within Flowcode.
In the Properties panel, select the GSM Component and you will see Ext Properties, Connections, Custom Code and Help
Regards,
Leigh
The help can be invoked from within Flowcode.
In the Properties panel, select the GSM Component and you will see Ext Properties, Connections, Custom Code and Help
Regards,
Leigh
-
- Flowcode V4 User
- Posts: 73
- Joined: Mon Sep 24, 2012 4:31 pm
- Been thanked: 1 time
- Contact: