<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[REXYGEN Community Forum / PWM basic project help]]></title>
	<link rel="self" href="https://www.rexygen.com/oldforum/extern.php?action=feed&amp;tid=346&amp;type=atom"/>
	<link href="http://www.rexygen.com/oldforum/viewtopic.php?id=346"/>
	<updated>2017-04-02T07:52:19Z</updated>
	<generator>FluxBB</generator>
	<id>http://www.rexygen.com/oldforum/viewtopic.php?id=346</id>
	<entry>
		<title type="html"><![CDATA[Re: PWM basic project help]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1574#p1574"/>
		<content type="html"><![CDATA[<p>Thanks Tomas. I&#039;ll check this out and come back to you <img src="http://www.rexygen.com/oldforum/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></content>
		<author>
			<name><![CDATA[povniouk]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=143</uri>
		</author>
		<updated>2017-04-02T07:52:19Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1574#p1574</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: PWM basic project help]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1544#p1544"/>
		<content type="html"><![CDATA[<p>Hi povniouk,</p><p>glad that your temperature readings are working well.</p><p>Typical function of PWM function block can be derived from PWM examples at our GitHub repository: <a href="https://github.com/rexcontrols/REXexamples/tree/v2.50/Function_blocks_Standard/PWM_1" rel="nofollow">https://github.com/rexcontrols/REXexamp … dard/PWM_1</a> or <a href="https://github.com/rexcontrols/REXexamples/tree/v2.50/Function_blocks_Standard/PWM_2" rel="nofollow">https://github.com/rexcontrols/REXexamp … dard/PWM_2</a>.</p><p>Raspberry Pi PWM output from REX (RPI__PWM18) has 0-1023 range. You can use LIN function block to convert PIDU output to the PWM range.</p><p>For proper function of Raspberry Pi PWM output on GPIO pin 18 switch Raspberry Pi audio output to HDMI (using &quot;sudo raspi-config&quot;).<br />Reboot is needed afterwards.</p><p>PWM frequency is set by OS and is variable by default (dynamically set according to desired PWM output)</p><p>What servomotor do you want to interface with?</p><p>If I can be of assistance, please do not hesitate to contact me.</p><p>Regards, Tomas</p>]]></content>
		<author>
			<name><![CDATA[tomáš čechura]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=39</uri>
		</author>
		<updated>2017-03-13T13:54:21Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1544#p1544</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[PWM basic project help]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1535#p1535"/>
		<content type="html"><![CDATA[<p>Hi everyone,</p><p>I am quite new to Raspberry Pi projects so I apologise in advance if I miss some background ^^.</p><p>I want to set up a basic temperature control using a DS18B20 and a servo motor that will control a gas valve.<br />Today, I followed the tutorial &quot;REX Getting Started&quot; and the temperature acquisition is working.<br />But I have more problems regarding the output of the PID block.</p><p>Is there any schematic or REX file about a typical PWM function.<br />I don&#039;t know which blocks and settings to use to practice PWM.</p><p>For example what kind of block should I use at the ouput of PWM module (2 outputs)?</p><p>What is the range value of output RPI__PWM18?</p><p>Thanks a lot for your help.</p>]]></content>
		<author>
			<name><![CDATA[povniouk]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=143</uri>
		</author>
		<updated>2017-03-12T09:06:50Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1535#p1535</id>
	</entry>
</feed>
