32
of 76
TEP , The Engineering Projects , Image

syedzainnasir

TEP , The Engineering Projects , Rating 7.5 7.5 / 10
TEP , The Engineering Projects , Icon Level: Moderator
TEP , The Engineering Projects , Icon Joined: 20 Mar 2022
TEP , The Engineering Projects , Icon Last Active: 2:21 PM
TEP , The Engineering Projects , Icon Location: TEP , The Engineering Projects , Flag
TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon
PWM Signal with Labview and Arduino
TEP , The Engineering Projects , Calender Question: 06-Mar-2017
TEP , The Engineering Projects , Category In: Arduino Projects
I am trying to generate a PWM signal with variable frequency using Labview and an Arduino UNO.
When using the PWM write pin VI, I cannot adjust the frequency.
When using a Tone VI, I cannot adjust the duty cycle (set 50%).
When using the Digital Write pin with a signal generator in LabView, it appears that the Arduino cannot read the signal I am generating.
My question is: Is there a way to create a PWM signal with Arduino and Labview where I can control all of these features?
Note: I realize that I can edit the arduino LVIFA code to change the frequency, but that isn't ideal because I cannot change it with a control, right?
Thanks for the help and please have some grace due to the fact that I am new to this stuff.
TEP , The Engineering Projects , Icon Answer: 1 TEP , The Engineering Projects , Icon Views: 150 TEP , The Engineering Projects , Icon Followers: 85
Small Bio
TEP , The Engineering Projects , Image

syedzainnasir

TEP , The Engineering Projects , Rating 7.5 7.5 / 10
TEP , The Engineering Projects , Icon Level: Moderator
TEP , The Engineering Projects , Icon Joined: 20 Mar 2022
TEP , The Engineering Projects , Icon Last Active: 2:21 PM
TEP , The Engineering Projects , Icon Location: TEP , The Engineering Projects , Flag
TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon

RE:

PWM Signal with Labview and Arduino
TEP , The Engineering Projects , Calender Comment: 06-Mar-2017
TEP , The Engineering Projects , Category In: Arduino Projects
[quote=Vazquez post_id=262 time=1488794584 user_id=95] I am trying to generate a PWM signal with variable frequency using Labview and an Arduino UNO.
When using the PWM write pin VI, I cannot adjust the frequency.
When using a Tone VI, I cannot adjust the duty cycle (set 50%).
When using the Digital Write pin with a signal generator in LabView, it appears that the Arduino cannot read the signal I am generating.
My question is: Is there a way to create a PWM signal with Arduino and Labview where I can control all of these features?
Note: I realize that I can edit the arduino LVIFA code to change the frequency, but that isn't ideal because I cannot change it with a control, right?
Thanks for the help and please have some grace due to the fact that I am new to this stuff. [/quote]
I am using the "PWM Write Pin" vi to control 5 SSRs running large 240V loads via an Uno. This vi worked perfect out of the box for me. Sounds like you have an issue with your vi, I would check to make sure that you are using one of the PWM pins (see your board for what pins support PWM) and also check that you are passing what is expected for duty cycle to the PWM Write Pin VI. It is expecting 0-255 not 0 to 100.
Cheers :
[url=http://www.theengineeringprojects.com/2017/03/use-arduino-pwm-pins.html]HOW TO USE ARDUINO PWM PINS[/url]
TEP , The Engineering Projects , Tick Correct Answer
Comment Bio
TEP , The Engineering Projects , Tags
PLC
Robot
STM32
Arduino
AI
ESP32
Ladder Logic
PLC Projects
Programming
Communicates STM32
PLC Projects
Communicates PLC
Font Style
Alignment
Indenting and Lists
Insert Media
Insert Items

Want to leave an answer!

Word Count :0 Draft Saved at 12:42 am.