<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Tank Water level Transmitter Project - Help Wanted				            </title>
            <link>https://forum.dronebotworkshop.com/help-wanted/tank-water-level-transmitter-project/</link>
            <description>Discussion board for Robotics, Arduino, Raspberry Pi and other DIY electronics and modules. Join us today!</description>
            <language>en-US</language>
            <lastBuildDate>Mon, 08 Jun 2026 20:19:10 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Tank Water level Transmitter Project</title>
                        <link>https://forum.dronebotworkshop.com/help-wanted/tank-water-level-transmitter-project/#post-27382</link>
                        <pubDate>Wed, 06 Apr 2022 08:25:00 +0000</pubDate>
                        <description><![CDATA[Update.  Looks like I spoke too soon.  With the pins around as original, the 433Mhz transmissions wont work but the Ultrasonic sensor does.  Visa Versa.  I just started to progress the new c...]]></description>
                        <content:encoded><![CDATA[<p>Update.  Looks like I spoke too soon.  With the pins around as original, the 433Mhz transmissions wont work but the Ultrasonic sensor does.  Visa Versa.  I just started to progress the new code and found that, after correcting the above, I had reliable transmissions to the other Uno.  But turning on the Serial monitor at the Transmitter / Sensor Uno, I had no "Distance" measurements.  So I changed to .... mySerial(11,10) and now I get distance measurements to the Serial Mon. but no longer get 433Mhz transmissions to the Receiver.  Time to change the wiring ???</p>
<p> </p>
<p> </p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/help-wanted/">Help Wanted</category>                        <dc:creator>JimJtron</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/help-wanted/tank-water-level-transmitter-project/#post-27382</guid>
                    </item>
				                    <item>
                        <title>RE: Tank Water level Transmitter Project</title>
                        <link>https://forum.dronebotworkshop.com/help-wanted/tank-water-level-transmitter-project/#post-27379</link>
                        <pubDate>Wed, 06 Apr 2022 05:34:49 +0000</pubDate>
                        <description><![CDATA[Oh Dear!  How utterly embarrassing. I found the problem.  I made a copy of only the Radio 433Mhz code
that works with the DHT sensor.  Slowly I added the declarations from the Ultrasonic sk...]]></description>
                        <content:encoded><![CDATA[<p>Oh Dear!  How utterly embarrassing. I found the problem.  I made a copy of only the Radio 433Mhz code</p>
<p>that works with the DHT sensor.  Slowly I added the declarations from the Ultrasonic sketch. (All OK)</p>
<p>Then from the Void setup sketch, each line of code uploaded so I could see the incoming messages still arrived on the other UNO.  Until I added  "mySerial.begin(9600);"  Then it stopped sending.  So what was it?   Very simple.  <span style="text-decoration: underline"><strong>int pinRX = 11; int pinTX = 10; </strong></span>  Wrong way around !!!!!  Doh!!</p>
<p>Hours have been burned.  Off to the PUB to drown my sorrows.  Then back to finishing the project.</p>
<p>Regards, Village Idiot.</p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/help-wanted/">Help Wanted</category>                        <dc:creator>JimJtron</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/help-wanted/tank-water-level-transmitter-project/#post-27379</guid>
                    </item>
				                    <item>
                        <title>RE: Tank Water level Transmitter Project</title>
                        <link>https://forum.dronebotworkshop.com/help-wanted/tank-water-level-transmitter-project/#post-27330</link>
                        <pubDate>Wed, 06 Apr 2022 00:40:41 +0000</pubDate>
                        <description><![CDATA[Thanks to all for your replies.
I think it’s best if I summarise what happened BEFORE I started hacking / adding code.
 
Code from the Drone Workshop’s 2 seperate examples (JSN-SR04T sens...]]></description>
                        <content:encoded><![CDATA[<p>Thanks to all for your replies.</p>
<p class="p1"><span class="s1">I think it’s best if I summarise what happened BEFORE I started hacking / adding code.</span></p>
<p class="p2"> </p>
<p class="p1"><span class="s1">Code from the Drone Workshop’s 2 seperate examples (</span><span class="s2">JSN-SR04T sensor in Mode1 )</span></p>
<p class="p3"><span class="s1">and from the <strong> 433Mhz Tx/Rx using the Radiohead library Demo2 where Bill uses a DHT22.</strong></span></p>
<p class="p4"> </p>
<p class="p3"><span class="s1">Both these sketches compile without error and work fine on the same UNO if Uploaded and run separately.</span></p>
<p class="p3"><span class="s1">No buffer overflow issues.<span class="Apple-converted-space">  </span>No delay in transmission …. All good.</span></p>
<p class="p3"><span class="s1">Movements in front of the Ultrasonic Sensor…..<span class="Apple-converted-space">  </span>all responded quickly.</span></p>
<p class="p4"> </p>
<p class="p3"><span class="s1">I proceeded to combine them </span><span class="s3">without changing or adding any code</span><span class="s1">.</span></p>
<p class="p3"><span class="s1">The Ultrasonic code was gradually added to the original 433Mhz code. </span></p>
<p class="p5"><span class="s2">In the </span><span class="s4"><strong>void loop()section </strong></span><span class="s1">I added the Ultrasonic code before the Radio code.</span></p>
<p class="p5"><span class="s1">So the only change I made then was to move the “{“ from the bottom of the Ultrasonic code</span></p>
<p class="p5"><span class="s1">to the last line of the sketch.</span></p>
<p class="p6"> </p>
<p class="p5"><span class="s1">No compile errors.<span class="Apple-converted-space">  </span>No code additions, no alterations <strong>(</strong>except “{“<strong>)</strong> downloaded OK.</span></p>
<p class="p5"><span class="s1">No response at the receiver.</span></p>
<p class="p6"> </p>
<p class="p5"><span class="s1">After that, I started experimenting and then posted where I left off.</span></p>
<p class="p5"><span class="s1">Which I apologise, must have been confusing.</span></p>
<p class="p6"> </p>
<p class="p5"><span class="s1">I think next I will go back and change the “original merge” within the Void Loop() and place</span></p>
<p class="p5"><span class="s1">the Radio code first, and the Ultrasonic code last, initially, without changing anything.</span></p>
<p class="p5"><span class="s1"> ****** will get back to you sometime when I have done this. ****** </span></p>
<p class="p5"><span class="s1">Cheers for now.<span class="Apple-converted-space">    </span>JimJtron 6/4/22.</span></p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/help-wanted/">Help Wanted</category>                        <dc:creator>JimJtron</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/help-wanted/tank-water-level-transmitter-project/#post-27330</guid>
                    </item>
				                    <item>
                        <title>RE: Tank Water level Transmitter Project</title>
                        <link>https://forum.dronebotworkshop.com/help-wanted/tank-water-level-transmitter-project/#post-27247</link>
                        <pubDate>Tue, 05 Apr 2022 14:19:30 +0000</pubDate>
                        <description><![CDATA[@frogandtoad IIRC, he did say he is very new so we may have a &#039;playing with sharp knives&#039; issue here and the blood is obscuring the details.]]></description>
                        <content:encoded><![CDATA[<p>@frogandtoad IIRC, he did say he is very new so we may have a 'playing with sharp knives' issue here and the blood is obscuring the details.</p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/help-wanted/">Help Wanted</category>                        <dc:creator>Ron</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/help-wanted/tank-water-level-transmitter-project/#post-27247</guid>
                    </item>
				                    <item>
                        <title>RE: Tank Water level Transmitter Project</title>
                        <link>https://forum.dronebotworkshop.com/help-wanted/tank-water-level-transmitter-project/#post-27244</link>
                        <pubDate>Tue, 05 Apr 2022 14:13:16 +0000</pubDate>
                        <description><![CDATA[@zander

 Posted by: @zander 
@frogandtoad I wonder what will happen if he removes 1 char from hello, that may change the memory addresses going from 5 to 4. I am still 100% convinced he ...]]></description>
                        <content:encoded><![CDATA[<p>@zander</p>
<blockquote data-userid="3007" data-postid="27242" data-mention="zander">
<div class="wpforo-post-quote-author"><strong> Posted by: @zander </strong></div>
<p>@frogandtoad I wonder what will happen if he removes 1 char from hello, that may change the memory addresses going from 5 to 4. I am still 100% convinced he has a buffer overflow issue that is stomping on some critical piece of memory. It's been decades since I used gcc, is there a compiler directive that will show the address map of the compiled code, and how do you pass compile time switches in the arduino IDE?</p>
</blockquote>
<p>It's possible, but I did not review the whole code... the missing pointer was the first thing I spotted, which is 100% incorrect.  There seems to be a whole mix of legacy C code with a sprinkle of C++ code here... a great recipe for problems :-)</p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/help-wanted/">Help Wanted</category>                        <dc:creator>frogandtoad</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/help-wanted/tank-water-level-transmitter-project/#post-27244</guid>
                    </item>
				                    <item>
                        <title>RE: Tank Water level Transmitter Project</title>
                        <link>https://forum.dronebotworkshop.com/help-wanted/tank-water-level-transmitter-project/#post-27242</link>
                        <pubDate>Tue, 05 Apr 2022 14:05:23 +0000</pubDate>
                        <description><![CDATA[@frogandtoad I wonder what will happen if he removes 1 char from hello, that may change the memory addresses going from 5 to 4. I am still 100% convinced he has a buffer overflow issue that ...]]></description>
                        <content:encoded><![CDATA[<p>@frogandtoad I wonder what will happen if he removes 1 char from hello, that may change the memory addresses going from 5 to 4. I am still 100% convinced he has a buffer overflow issue that is stomping on some critical piece of memory. It's been decades since I used gcc, is there a compiler directive that will show the address map of the compiled code, and how do you pass compile time switches in the arduino IDE?</p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/help-wanted/">Help Wanted</category>                        <dc:creator>Ron</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/help-wanted/tank-water-level-transmitter-project/#post-27242</guid>
                    </item>
				                    <item>
                        <title>RE: Tank Water level Transmitter Project</title>
                        <link>https://forum.dronebotworkshop.com/help-wanted/tank-water-level-transmitter-project/#post-27240</link>
                        <pubDate>Tue, 05 Apr 2022 14:01:34 +0000</pubDate>
                        <description><![CDATA[@jimjtron

 Posted by: @jimjtron 
// ************************************************// ADD this piece from Radiohead examples for debugging purposes.const char msg1 = &quot;hello&quot;; // removed...]]></description>
                        <content:encoded><![CDATA[<p>@jimjtron</p>
<blockquote data-userid="3586" data-postid="27158" data-mention="jimjtron">
<div class="wpforo-post-quote-author"><strong> Posted by: @jimjtron </strong></div>
<p>// ************************************************<br />// ADD this piece from Radiohead examples for debugging purposes.<br /><strong>const char</strong> msg1 = "hello"; // removed * before msg1<br />rf_driver.send((uint8_t *)msg1, strlen(msg1));<br />rf_driver.waitPacketSent();<br />delay(200);<br />// ************************************************</p>
</blockquote>
<pre contenteditable="false">   <span style="color: #434f54">// ADD this piece from Radiohead examples for debugging purposes.</span>
   <span style="color: #00979c">const</span> <span style="color: #00979c">char</span> <span style="color: #000000">msg1</span> <span style="color: #434f54">=</span> <span style="color: #005c5f">"hello"</span><span style="color: #000000">;</span> <span style="color: #434f54">// removed * before msg1</span>
</pre>
<p>Just an FYI: - Removing the asterisk is a complete mistake, and should not even compile.</p>
<p>Do you have your compiler warning turned up in your preferences?</p>
<p>By removing that, you're actually introducing bugs in your code.</p>
<p>Cheers</p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/help-wanted/">Help Wanted</category>                        <dc:creator>frogandtoad</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/help-wanted/tank-water-level-transmitter-project/#post-27240</guid>
                    </item>
				                    <item>
                        <title>RE: Tank Water level Transmitter Project</title>
                        <link>https://forum.dronebotworkshop.com/help-wanted/tank-water-level-transmitter-project/#post-27163</link>
                        <pubDate>Mon, 04 Apr 2022 06:09:29 +0000</pubDate>
                        <description><![CDATA[@jimjtron Why is the timestamp not sequential?]]></description>
                        <content:encoded><![CDATA[<p>@jimjtron Why is the timestamp not sequential? </p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/help-wanted/">Help Wanted</category>                        <dc:creator>Ron</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/help-wanted/tank-water-level-transmitter-project/#post-27163</guid>
                    </item>
				                    <item>
                        <title>RE: Tank Water level Transmitter Project</title>
                        <link>https://forum.dronebotworkshop.com/help-wanted/tank-water-level-transmitter-project/#post-27162</link>
                        <pubDate>Mon, 04 Apr 2022 06:02:17 +0000</pubDate>
                        <description><![CDATA[@jimjtron Ok, I am confused, if the original code worked, why did you change it which I gather broke it. Very confused.]]></description>
                        <content:encoded><![CDATA[<p>@jimjtron Ok, I am confused, if the original code worked, why did you change it which I gather broke it. Very confused.</p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/help-wanted/">Help Wanted</category>                        <dc:creator>Ron</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/help-wanted/tank-water-level-transmitter-project/#post-27162</guid>
                    </item>
				                    <item>
                        <title>RE: Tank Water level Transmitter Project</title>
                        <link>https://forum.dronebotworkshop.com/help-wanted/tank-water-level-transmitter-project/#post-27161</link>
                        <pubDate>Mon, 04 Apr 2022 05:35:44 +0000</pubDate>
                        <description><![CDATA[Thanks Ron.  I&#039;ll check but the original code without msg1 worked without issue.
So I have not tampered with that section.  I&#039;m still highly suspicious that the Ultrasonic&#039;s code method is ...]]></description>
                        <content:encoded><![CDATA[<p>Thanks Ron.  I'll check but the original code without msg1 worked without issue.</p>
<p>So I have not tampered with that section.  I'm still highly suspicious that the Ultrasonic's <span style="text-decoration: underline">code method</span> is "hogging" the time needed for the *msg to slowly transmit out. </p>
<p> </p>
<p>Anyhow, an update.</p>
<p class="p1"><strong>This is the receivers output with the TimeStamp feature turned ON.</strong></p>
<p class="p1"><strong>Started here:-</strong></p>
<p class="p3"><strong>14:13:09.484 -&gt; Humidity: <span class="Apple-converted-space">  </span>- Temperature: </strong></p>
<p class="p1"><strong>14:13:22.712 -&gt; Humidity: <span class="Apple-converted-space">  </span>- Temperature: </strong></p>
<p class="p1"><strong>14:13:31.576 -&gt; Humidity: <span class="Apple-converted-space">  </span>- Temperature: </strong></p>
<p class="p1"><strong>14:13:40.416 -&gt; Humidity: <span class="Apple-converted-space">  </span>- Temperature: </strong></p>
<p class="p2"> </p>
<p class="p1"><strong><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>etc.</strong></p>
<p class="p2"> </p>
<p class="p1"><strong>14:41:08.972 -&gt; Humidity: <span class="Apple-converted-space">  </span>- Temperature: </strong></p>
<p class="p1"><strong>14:41:22.228 -&gt; Humidity: <span class="Apple-converted-space">  </span>- Temperature: </strong></p>
<p class="p3"><span style="color: #ff0000"><strong>14:41:26.978 -&gt; Humidity: 50.00<span class="Apple-converted-space">  </span>- Temperature: 23.40</strong></span></p>
<p class="p1"><strong>14:41:31.045 -&gt; Humidity: 50.00<span class="Apple-converted-space">  </span>- Temperature: 23.40</strong></p>
<p class="p1"><strong>14:41:39.909 -&gt; Humidity: 50.00<span class="Apple-converted-space">  </span>- Temperature: 23.40</strong></p>
<p class="p1"><strong>14:41:53.155 -&gt; Humidity: 50.00<span class="Apple-converted-space">  </span>- Temperature: 23.40</strong></p>
<p class="p1"><strong>14:42:02.002 -&gt; Humidity: 50.00<span class="Apple-converted-space">  </span>- Temperature: 23.40</strong></p>
<p class="p1"><strong>14:42:10.865 -&gt; Humidity: 50.00<span class="Apple-converted-space">  </span>- Temperature: 23.40</strong></p>
<p class="p1"><strong>14:42:15.255 -&gt; Humidity: 50.00<span class="Apple-converted-space">  </span>- Temperature: 23.40</strong></p>
<p class="p1"><strong>14:42:24.118 -&gt; Humidity: 50.00<span class="Apple-converted-space">  </span>- Temperature: 23.40</strong></p>
<p class="p4"> </p>
<p class="p1"><strong><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>etc.</strong></p>
<p class="p1"><strong>So the Delay is 14:41 minus 14:13hrs. = <span style="color: #ff0000">28 minutes !!!</span></strong></p>
<p class="p1"><strong>It would be interesting to know WHY ?????</strong></p>
<p>Regards, JimJtron.</p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/help-wanted/">Help Wanted</category>                        <dc:creator>JimJtron</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/help-wanted/tank-water-level-transmitter-project/#post-27161</guid>
                    </item>
							        </channel>
        </rss>
		