<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[RemoteXY community — how do I get the current sensor data (SCT-013-100) via bluetooth?]]></title>
	<link rel="self" href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=1319&amp;type=atom" />
	<updated>2021-05-22T22:20:44Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.remotexy.com/viewtopic.php?id=1319</id>
		<entry>
			<title type="html"><![CDATA[Re: how do I get the current sensor data (SCT-013-100) via bluetooth?]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=3964#p3964" />
			<content type="html"><![CDATA[<p>Hello.</p><p>Your question is not really clear on what you are unsure about.&nbsp; </p><p>I would recommend you first checkout some of the examples that use the text element:</p><p><a target="_blank" href="https://remotexy.com/en/examples/temperature/">https://remotexy.com/en/examples/temperature/</a></p><p><a target="_blank" href="https://remotexy.com/en/examples/dth11/">https://remotexy.com/en/examples/dth11/</a></p><p>As well as the &quot;How it Works&quot; information about the same element</p><p><a target="_blank" href="https://remotexy.com/en/help/indications/text/">https://remotexy.com/en/help/indications/text/</a></p><p>Then you can build your layout and merge your sensor code with the RemoteXY code to display your data in the text element... for example...</p><div class="codebox"><pre><code>Serial.print(Irms);  \\ To Serial Monitor
dtostrf(Irms, 0, 2, RemoteXY.text_1); \\ To Text Element 1</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Gunner]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1840</uri>
			</author>
			<updated>2021-05-22T22:20:44Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=3964#p3964</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[how do I get the current sensor data (SCT-013-100) via bluetooth?]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=3934#p3934" />
			<content type="html"><![CDATA[<p>help with the firmware, you need to link it to the application for monitoring the readings (amperage). There is a ready-made firmware, but not as it is not possible to link with the application, please help! <br />CODE: <br />#include &quot;EmonLib.h&quot; // // Include Common Library<br />Energy Monitor emon1; // Create an instance<br />void setup()<br />{<br />Serial.begin(9600);</p><p>emon 1.current(1, 111.1); // Current: input pen, calibration.<br />}</p><p>void loop()<br />{<br />double Irms = emon 1.calcIrms(1480); // Calculate Items only<br />Serial.print(Irms*230.0); // Apparent power<br />Serial.print(&quot; &quot;);<br />Serial.println(Irms); // Irms<br />}</p>]]></content>
			<author>
				<name><![CDATA[zeromax7931]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1843</uri>
			</author>
			<updated>2021-05-18T19:27:20Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=3934#p3934</id>
		</entry>
</feed>
