<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Forum - Recent Threads</title><link>https://community.element14.com/products/arduino/arduino-tutorials/f/forum</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><lastBuildDate>Tue, 21 Sep 2021 19:51:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://community.element14.com/products/arduino/arduino-tutorials/f/forum" /><item><title>RE: 如何开发自己的小小测控系统?</title><link>https://community.element14.com/thread/186259?ContentTypeID=1</link><pubDate>Tue, 21 Sep 2021 19:51:52 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:be537a28-6c20-49f5-a0c7-8c55feec3bb6</guid><dc:creator>robogary</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/186259?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/arduino/arduino-tutorials/f/forum/49952/thread/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Usually a single person doesnt develop all the sensors , the controllers, and output devices on their own.&lt;/p&gt;&lt;p style="margin:0;"&gt;For a professional lab delivering a volume commercial product, usually you would&amp;nbsp; select industrial components that meets construction, safety and reliability standards.&lt;/p&gt;&lt;p style="margin:0;"&gt;That said, pick a PLC, a thermostat with humidity sensor. The thermostat provided the HMI function.&lt;/p&gt;&lt;p style="margin:0;"&gt;The PLC would drive the heaters, water solenoid, and fans directly, air conditioning compressor motor, or can also add variable speed drives for fan control. &lt;/p&gt;&lt;p style="margin:0;"&gt;Depending on lab size, you may need power delivery equipment for your components depending on the type of lab.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 如何开发自己的小小测控系统?</title><link>https://community.element14.com/thread/188814?ContentTypeID=1</link><pubDate>Tue, 21 Sep 2021 19:17:02 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5601d11b-496b-488d-9dc4-676eff33ba69</guid><dc:creator>mp2100</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/188814?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/arduino/arduino-tutorials/f/forum/49952/thread/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;translated:&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;quot;How to develop your own small measurement and control system?&lt;/p&gt;&lt;p style="margin:0;"&gt;This question is Not Answered. Guozhong Zhao Level 1: Coulomb 国忠赵 Sep 6, 2021 5:48 PM&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;There is often such a demand: the laboratory needs to monitor the temperature and humidity conditions, and remote control is required Click the switch, how can you develop a software and hardware system that you can develop again? As a technology of your own. Welcome to advise!&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>如何开发自己的小小测控系统?</title><link>https://community.element14.com/thread/49952?ContentTypeID=0</link><pubDate>Mon, 06 Sep 2021 22:47:59 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:88da7b7a-3235-4f95-a3af-1957edaddab8</guid><dc:creator>gzzhaobjcn</dc:creator><slash:comments>4</slash:comments><comments>https://community.element14.com/thread/49952?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/products/arduino/arduino-tutorials/f/forum/49952/thread/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;经常有这种需求: 实验室需要监测一下温湿度状况, 需要远程控制一下开关,怎么能够自己开发一套自己可以再次开发的软硬件系统?作为自己的一个技术. 欢迎指教!&lt;/p&gt;</description></item><item><title>RE: 如何开发自己的小小测控系统?</title><link>https://community.element14.com/thread/186262?ContentTypeID=1</link><pubDate>Tue, 21 Sep 2021 18:52:04 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:bf7a053e-82e6-44b5-a1eb-c5c723bad4af</guid><dc:creator>cstanton</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/186262?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/arduino/arduino-tutorials/f/forum/49952/thread/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;The &amp;#39;Translate&amp;#39; option in the top right of the site works pretty well for content like this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 如何开发自己的小小测控系统?</title><link>https://community.element14.com/thread/186257?ContentTypeID=1</link><pubDate>Tue, 21 Sep 2021 16:27:36 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2615f1fb-8462-4c91-b6f7-3b704910e007</guid><dc:creator>phoenixcomm</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/186257?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/arduino/arduino-tutorials/f/forum/49952/thread/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/members/gzzhaobjcn"&gt;gzzhaobjcn&lt;/a&gt;&lt;/span&gt; English, please. &lt;/p&gt;&lt;p style="margin:0;"&gt;~~Cris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scheduling a Backup using Arduino to Usb port power HDD</title><link>https://community.element14.com/thread/152661?ContentTypeID=1</link><pubDate>Mon, 23 Aug 2021 11:07:24 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:ba6a99bb-5fa5-46e8-a97d-5e30cb8b4887</guid><dc:creator>obzrve</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/152661?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/arduino/arduino-tutorials/f/forum/11742/scheduling-a-backup-using-arduino-to-usb-port-power-hdd/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;I have the real time clock. I just now the to program the date and time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Scheduling a Backup using Arduino to Usb port power HDD</title><link>https://community.element14.com/thread/11742?ContentTypeID=0</link><pubDate>Wed, 18 Aug 2021 20:05:26 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:f5c1cb13-2e31-42eb-9c74-b861db359145</guid><dc:creator>obzrve</dc:creator><slash:comments>3</slash:comments><comments>https://community.element14.com/thread/11742?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/products/arduino/arduino-tutorials/f/forum/11742/scheduling-a-backup-using-arduino-to-usb-port-power-hdd/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;I want to Schedule the backup from Mon-Thurs at 5pm - 6pm. The ardunio is going to Control the power to the SATA to USB Adapter. How would i write the code for Monday at 5 -6pm send signal to contact core.&lt;/p&gt;</description></item><item><title>RE: Scheduling a Backup using Arduino to Usb port power HDD</title><link>https://community.element14.com/thread/152619?ContentTypeID=1</link><pubDate>Thu, 19 Aug 2021 04:38:07 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:09c410be-78f4-494e-a127-089a2acca916</guid><dc:creator>phoenixcomm</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/152619?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/arduino/arduino-tutorials/f/forum/11742/scheduling-a-backup-using-arduino-to-usb-port-power-hdd/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/members/obzrve"&gt;obzrve&lt;/a&gt;&lt;/span&gt; why do you want to &amp;quot;control the power&amp;quot;?? Are you running Linux Backups are easy. plug in your stat drive and kick off a &lt;a class="jive-link-external-small" href="https://phoenixnap.com/kb/set-up-cron-job-linux" rel="nofollow ugc noopener" target="_blank"&gt;cron job.&lt;/a&gt;&amp;nbsp; Even if you still want to &amp;quot;control the power with a arduino. you will have to wait for the OS to find the drive and spin up. skip the arduino and go straight to the cron job.&lt;/p&gt;&lt;p style="margin:0;"&gt;~~Cris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scheduling a Backup using Arduino to Usb port power HDD</title><link>https://community.element14.com/thread/152629?ContentTypeID=1</link><pubDate>Thu, 19 Aug 2021 01:05:03 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:01033ff4-0077-4066-b109-6f01454c0f5e</guid><dc:creator>mp2100</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/152629?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/arduino/arduino-tutorials/f/forum/11742/scheduling-a-backup-using-arduino-to-usb-port-power-hdd/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Well. There are several steps&amp;nbsp; to go thru.&amp;nbsp;&amp;nbsp; If you want the backup at a certain time of day, you’ll need a real-time-clock. The arduino won’t know human time. Something like this would&amp;nbsp; help. &lt;a class="jive-link-external-small" href="https://www.adafruit.com/product/3013" rel="nofollow ugc noopener" target="_blank" title="https://www.adafruit.com/product/3013"&gt;https://www.adafruit.com/product/3013&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;or you’d need something that can connect to the internet for real time like am esp32.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: weighting scale sync/connected to Android Application</title><link>https://community.element14.com/thread/150548?ContentTypeID=1</link><pubDate>Thu, 28 Jan 2021 23:21:28 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:873f7da9-5fa6-4dd0-b931-99a653454629</guid><dc:creator>bizzlance</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/150548?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/arduino/arduino-tutorials/f/forum/39915/weighting-scale-sync-connected-to-android-application/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;For weighing scale sensor to adapt and sync with Android or iOS app, u need sensor, sensor data filter, controller card, bluetooth sensor signal feeder/receptor, Android app in programming.... That&amp;#39;s all...keep me posted&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: weighting scale sync/connected to Android Application</title><link>https://community.element14.com/thread/150578?ContentTypeID=1</link><pubDate>Thu, 28 Jan 2021 15:42:53 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:102e71aa-cc92-4658-ad36-3bc5fe47f7db</guid><dc:creator>milosrasic98</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/150578?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/arduino/arduino-tutorials/f/forum/39915/weighting-scale-sync-connected-to-android-application/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Thanks! If you&amp;#39;re unfamiliar with something or have any questions, feel free to reach out, in the comment above are just a lot of stuff put into a short form factor, the blog should be a bit more thorough.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Milos&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>weighting scale sync/connected to Android Application</title><link>https://community.element14.com/thread/39915?ContentTypeID=0</link><pubDate>Wed, 27 Jan 2021 08:01:12 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:11d70e0b-0974-4709-9484-5d5e57fd5629</guid><dc:creator>deliotablang</dc:creator><slash:comments>4</slash:comments><comments>https://community.element14.com/thread/39915?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/products/arduino/arduino-tutorials/f/forum/39915/weighting-scale-sync-connected-to-android-application/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Hello im new here, do you have idea or what things are needed to connect a Android Application(mobile software) to weighting scale. what hardware/stuff are needed. thanks in advance&lt;/p&gt;</description></item><item><title>RE: weighting scale sync/connected to Android Application</title><link>https://community.element14.com/thread/150544?ContentTypeID=1</link><pubDate>Thu, 28 Jan 2021 09:46:47 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:4821aaf2-a186-453e-a679-3476ffbf9335</guid><dc:creator>deliotablang</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/150544?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/arduino/arduino-tutorials/f/forum/39915/weighting-scale-sync-connected-to-android-application/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;im little bit unfamiliar with some stuff tho, but this is so informative and helpful, and i actually check&amp;nbsp; your blogs/ projects you got a cool stuff out there&amp;nbsp; thanks lot..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: weighting scale sync/connected to Android Application</title><link>https://community.element14.com/thread/150541?ContentTypeID=1</link><pubDate>Wed, 27 Jan 2021 09:23:58 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:57a75363-12fa-479a-899c-27764a9f8838</guid><dc:creator>milosrasic98</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/150541?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/arduino/arduino-tutorials/f/forum/39915/weighting-scale-sync-connected-to-android-application/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Hi,&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;On the hardware side, you will need something like an Arduino with WiFi (some of MKR or Nano33 series for example), or ESP8266,or&amp;nbsp; Raspberry, or something other that can connect to the internet. You can also go the route of using a Bluetooth module like a HC05. These are only some of the options, there are much more of course. For the sensor itself, you can find scale sensors with a HX711 amplifier circuit.&lt;/p&gt;&lt;p style="margin:0;"&gt;On the software side, you can go with Blynk from the playstore or some app that focuses on reading data from Thingspeak. Or you can make your own easily using MIT App Inventor II.&lt;/p&gt;&lt;p style="margin:0;"&gt;I did a project where I uploaded scale weight data to an app I made, I went step by step for everything in this blog: &lt;a class="jive-link-blog-small" href="https://community.element14.com/challenges-projects/project14/nfc-rfid/b/blog/posts/s-h-e-l-f-v2"&gt;S.H.E.L.F. V2&lt;/a&gt; .&lt;/p&gt;&lt;p style="margin:0;"&gt;I think you will find everything you need there, but, if you just want to read scale data, you can also use Blynk, which is an easy way of getting something like an Arduino to talk to an app in which you have drag n drop elements. You can find a lot of tutorials on that on YouTube, I played a bit with that, you might find it useful: &lt;a class="jive-link-blog-small" href="https://community.element14.com/challenges-projects/project14/photonics/b/blog/posts/ski-lamp"&gt;Ski Lamp&lt;/a&gt; &lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Hope this helps!&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Milos&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fix bricked (I think) Uno R3</title><link>https://community.element14.com/thread/191755?ContentTypeID=1</link><pubDate>Tue, 26 Jan 2021 13:16:09 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2852973f-56fa-46cd-bf08-7544693a3826</guid><dc:creator>gsd13</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/191755?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/arduino/arduino-tutorials/f/forum/39902/fix-bricked-i-think-uno-r3/rss?ContentTypeId=0</wfw:commentRss><description>&lt;div&gt;&lt;div class="resolved"&gt; &lt;/div&gt;&lt;/div&gt;&lt;p style="margin:0;"&gt;Tried to loop test. Didn&amp;#39;t work with any option you suggested above. I am missing a dll from&amp;nbsp; required dir that flip is calling for. I was reading that it is supposed to be in 3 different directories but I can&amp;#39;t find one of them. I am going to keep working on it. Thanks for the help and any future advice.&lt;/p&gt;&lt;p style="margin:0;"&gt;D.&lt;/p&gt;&lt;div&gt; &lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Fix bricked (I think) Uno R3</title><link>https://community.element14.com/thread/39902?ContentTypeID=0</link><pubDate>Fri, 22 Jan 2021 17:49:45 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:a4a5f84d-5d0a-4f83-9d84-5a791372e0de</guid><dc:creator>gsd13</dc:creator><slash:comments>4</slash:comments><comments>https://community.element14.com/thread/39902?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/products/arduino/arduino-tutorials/f/forum/39902/fix-bricked-i-think-uno-r3/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Is there any way possible to fix a bricked Uno R3? At least I believe its bricked. Have removed driver from original com port and reinstalled. No avail. Have tried updating boards in IDE. No avail. It has worked before as I used it as an ISP to flash my 3d printer MB. Could this have caused a problem with the bootloader?&lt;/p&gt;&lt;p style="margin:0;"&gt;Thanks for any assistance in advance.&lt;/p&gt;</description></item><item><title>RE: Fix bricked (I think) Uno R3</title><link>https://community.element14.com/thread/191750?ContentTypeID=1</link><pubDate>Mon, 25 Jan 2021 11:20:48 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:684a11a9-a4a8-48ac-aad2-21bc95d2df03</guid><dc:creator>ajcc</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/191750?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/arduino/arduino-tutorials/f/forum/39902/fix-bricked-i-think-uno-r3/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/members/gsd13"&gt;gsd13&lt;/a&gt;&lt;/span&gt; The ArduinoISP sketch seems to support the Mega board, since it&amp;#39;s shown programming an Arduino UNO in the tutorial: &lt;a class="jive-link-external-small" href="https://www.arduino.cc/en/Tutorial/BuiltInExamples/ArduinoISP" rel="nofollow ugc noopener" target="_blank" title="https://www.arduino.cc/en/Tutorial/BuiltInExamples/ArduinoISP"&gt;https://www.arduino.cc/en/Tutorial/BuiltInExamples/ArduinoISP&lt;/a&gt; &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fix bricked (I think) Uno R3</title><link>https://community.element14.com/thread/191749?ContentTypeID=1</link><pubDate>Mon, 25 Jan 2021 11:12:01 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:18c38304-b158-43aa-9290-c649ca3fb639</guid><dc:creator>gsd13</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/191749?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/arduino/arduino-tutorials/f/forum/39902/fix-bricked-i-think-uno-r3/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;I have heard about Flip. Might that be the answer. If there is a way to flash a bootloader from an Uno to a Anet A8 V1.5 3d printer mb (this was to run a Marlin sketch for better hotbed safety), would it be wrong to think that I should be able to do the same with a Mega 2560 to an Uno? &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fix bricked (I think) Uno R3</title><link>https://community.element14.com/thread/191748?ContentTypeID=1</link><pubDate>Fri, 22 Jan 2021 20:03:48 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b085e3c2-8a6c-4e0c-acd7-8eca1682d215</guid><dc:creator>ajcc</dc:creator><slash:comments>2</slash:comments><comments>https://community.element14.com/thread/191748?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/arduino/arduino-tutorials/f/forum/39902/fix-bricked-i-think-uno-r3/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;To make sure you didn&amp;#39;t damage the board I would test if the USB-to-serial adapter works on the board. You can do this by sticking a ~1k ohm resistor between D0 and D1 (RX and TX) and then use the Serial Monitor in the Arduino IDE to see if what you type comes back. Don&amp;#39;t forget to pull the resistor to make sure it&amp;#39;s really coming back and not just echoing locally. If that works then something might be wrong with the Atmega328P. If it doesn&amp;#39;t work then it could also be that the Arduino is driving the pins high or low, so test it when holding down reset too.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;If you don&amp;#39;t have a way to program the chip then the cheapest way to revive your board would be to just buy a &lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-K7PHbtW9-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=2831008&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=2831008&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;pre-programmed Atmega328P&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-K7PHbtW9-unlinked"&gt;pre-programmed Atmega328P&lt;/span&gt;&lt;/span&gt; with the Arduino bootloader in it already. But that will only fix it if the board isn&amp;#39;t damaged.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Since you already know how to use an Arduino as an ISP programmer I assume you only have one and can&amp;#39;t reprogram the Atmega328P that way? It&amp;#39;s strange that the bootloader would be damaged, but I don&amp;#39;t know if Arduino write protect that part of flash, I&amp;#39;d assume it would do.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wemos D1/R1/ESP8266 UART communication</title><link>https://community.element14.com/thread/185504?ContentTypeID=1</link><pubDate>Mon, 18 Jan 2021 10:26:03 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:fa522c38-eee1-488d-9916-453e08a30ed2</guid><dc:creator>embeddedguy</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/185504?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/arduino/arduino-tutorials/f/forum/11393/wemos-d1-r1-esp8266-uart-communication/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;I had finally decided to use ESP32 based board and now it works nice!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Wemos D1/R1/ESP8266 UART communication</title><link>https://community.element14.com/thread/11393?ContentTypeID=0</link><pubDate>Tue, 12 Jan 2021 09:26:45 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:a1ab66e0-0311-4403-a6b5-eb4a319fd63c</guid><dc:creator>embeddedguy</dc:creator><slash:comments>6</slash:comments><comments>https://community.element14.com/thread/11393?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/products/arduino/arduino-tutorials/f/forum/11393/wemos-d1-r1-esp8266-uart-communication/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Hi,&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;I have a specific question about using UART communication with Wemos D1 R1.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;I have an Ultrasonic distance sensor which works well with Arduino Mega/ UNO etc. It is based on serial receive.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;The problem is I never had success using such boards with ESP based boards like WemosD1R1, ESP8266 generic, etc.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Do you know any useful tips/libraries/tools to make it work?&lt;/p&gt;</description></item><item><title>RE: Wemos D1/R1/ESP8266 UART communication</title><link>https://community.element14.com/thread/185460?ContentTypeID=1</link><pubDate>Wed, 13 Jan 2021 22:00:05 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2e432b7c-eebe-41a2-9c9b-ef7899a48a61</guid><dc:creator>Gough Lui</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/185460?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/arduino/arduino-tutorials/f/forum/11393/wemos-d1-r1-esp8266-uart-communication/rss?ContentTypeId=0</wfw:commentRss><description>&lt;blockquote class="jive-quote"&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;span&gt;&lt;a href="https://community.element14.com/members/ujjwalrathod00700"&gt;embeddedguy&lt;/a&gt;&lt;/span&gt;&amp;nbsp; wrote:&lt;/span&gt;&lt;/p&gt;But as far as I read somewhere, I could use Serial only to get the sensor data, only the condition is that I use that for only that purpose once the sketch is uploaded!. As you have mentioned similarly in yr reply in the 3rd paragraph.&lt;/blockquote&gt;&lt;p style="margin:0;"&gt;As I said, this is only possible given the two preconditions - that the USB-serial bridge chip tri-states the lines when the USB connection is not active and you are not intending to communicate to the computer at all. While you have fulfilled the latter, I&amp;#39;m not sure about the bridge used on the Wemos - it could be a CH340 and I don&amp;#39;t have any on hand to test.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;If the USB-serial bridge&lt;strong&gt; does not tri-state&lt;/strong&gt;, what this means is as soon as the chip is powered but has no data to send to the ESP8266, it could be holding the RX line on the ESP8266 at low. If you then connect your sensor and it tries to send data by toggling high-low in a serial pattern, then you have a logic conflict and the line level is dependent on the internal resistance of the line drivers - essentially when the sensor tries to drive high, you have a &amp;quot;short&amp;quot; through the USB-serial bridge and damage to your sensor is a possibility.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;If the bridge tri-states, then it basically &amp;quot;drops off&amp;quot; of the RX line entirely, allowing you to use it. This behaviour is dependent on the model and features of the USB-serial bridge and usually there&amp;#39;s not much you can do to change it (bar removing the chip entirely). This is why the softwareserial method makes things easy as you can choose pins that you know for sure are not going to have any logic level conflicts. Of course, you still have to ensure other parameters are correct - baud rate, voltages, etc.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;If you suspect the USB-bridge can tristate, &lt;strong&gt;you might be able to get it to work&lt;/strong&gt; as long as you plug the USB into a &amp;quot;dumb&amp;quot; power bank supply. Any USB-communications (e.g. just by being plugged into a PC, Raspberry Pi) might prevent tri-state from occurring even if the virtual COM port is not opened. Sometimes, smart &amp;quot;fast-charge&amp;quot; power banks may cause enough activity on the USB D+/D- pins to cause the bridge to think it has a valid USB connection. Otherwise, leave the USB port disconnected and power the board appropriately via the pins and see if that makes a difference.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;- Gough&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wemos D1/R1/ESP8266 UART communication</title><link>https://community.element14.com/thread/150208?ContentTypeID=1</link><pubDate>Wed, 13 Jan 2021 15:53:26 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:cffe44f7-2e71-48d8-817b-7f1f699733c4</guid><dc:creator>embeddedguy</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/150208?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/arduino/arduino-tutorials/f/forum/11393/wemos-d1-r1-esp8266-uart-communication/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;In the above code, I am only using Serial and Serial1 was just commented!&lt;br /&gt;&lt;br /&gt;ESP&amp;#39;s hardware TX0 and RX0 are for communication with PC, and RX1 cannot be used cause it gets program data from the flash memory. I knew this more or less.&lt;br /&gt;&lt;br /&gt;But as far as I read somewhere, I could use Serial only to get the sensor data, only the condition is that I use that for only that purpose once the sketch is uploaded!. As you have mentioned similarly in yr reply in the 3rd paragraph.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Well, I am using MQTT to send data from the ESP of the sensor which only sends serial distance data.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;But thanks for your reply, I will find a workaround.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wemos D1/R1/ESP8266 UART communication</title><link>https://community.element14.com/thread/150199?ContentTypeID=1</link><pubDate>Wed, 13 Jan 2021 08:29:24 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5e7ebc93-3bc9-46d8-b92e-be0a9c8b6bd8</guid><dc:creator>Gough Lui</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/150199?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/arduino/arduino-tutorials/f/forum/11393/wemos-d1-r1-esp8266-uart-communication/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Sorry, but that code is very confusing. It seems like you are trying to print to both Serial1 and Serial. It&amp;#39;s not clear why you are trying to do that and then you have commented it out. As it stands, I can&amp;#39;t be certain you&amp;#39;d read anything as you&amp;#39;re reading from Serial, which is connected to the USB-serial bridge chip. I&amp;#39;d advise you check this regarding the use of Serial and Serial1 - &lt;a class="jive-link-external-small" href="http://arduino.esp8266.com/Arduino/versions/2.3.0/doc/reference.html" rel="nofollow ugc noopener" target="_blank" title="http://arduino.esp8266.com/Arduino/versions/2.3.0/doc/reference.html"&gt;Reference · ESP8266 Arduino Core&lt;/a&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Basically, if you&amp;#39;re using Serial, that is the connection on UART0 RX and UART0 TX. This is the connection that is already connected on the board to the USB to Serial bridge. As a result, if you&amp;#39;re using Serial, that should be stuff you&amp;#39;re either reading from or writing to the computer. Hooking anything else to the UART0 RX and TX lines is strongly not recommended despite how much you might think it would simplify your life as it is going to result in logic level conflicts, potential damage to chips and (more likely than not) not getting the results you expect.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;The only &lt;em&gt;exception&lt;/em&gt; to this is if you&amp;#39;re both sure that the USB to serial bridge tri-states the lines (i.e. goes high impedance) when the USB connection is not active &lt;strong&gt;and&lt;/strong&gt; you also aren&amp;#39;t intending to communicate the data to the computer at all - e.g. you are displaying it locally on an LCD, passing data over Wi-Fi/Bluetooth, storing it to a microSD card etc. The first part is not something I&amp;#39;m sure of - I&amp;#39;ve had issues before. I&amp;#39;ve used the hardware serial before, but that&amp;#39;s only on boards where I&amp;#39;ve also ended up desoldering the USB to Serial bridge chip entirely from the board - which in essence means it&amp;#39;s a pain to reprogram.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;If you&amp;#39;re using Serial1, then it is using UART1 RX and UART1 TX. Yes, there are two hardware serial ports on the ESP8266 and this one uses different pins for connection, but this second UART comes with a major issue - you &lt;strong&gt;cannot use it for receiving data because the RX line is shared with the flash chip that is providing the data for the sketch itself!!! &lt;/strong&gt;Attempting to use it will (you guessed it) cause logic level conflicts and potentially even sketch crashes as the core fails to read from the serial flash memory. This is just how the ESP8266 &amp;quot;package&amp;quot; is, unfortunately, and the ESP32 is a bit more forgiving in this regard (to what I know).&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;This is why I&amp;#39;ve recommended you set-up softwareserial to have a second software-based UART on any set of pins you would like. This is not 100% perfect especially at higher baud rates or if you&amp;#39;re doing a lot of work inside the sketch as it does consume some CPU time and comes with risks of losing data if the timings are unfavourable.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;- Gough&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wemos D1/R1/ESP8266 UART communication</title><link>https://community.element14.com/thread/150185?ContentTypeID=1</link><pubDate>Wed, 13 Jan 2021 03:55:10 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:dc5b04fe-ebf5-498a-865f-186b9b11d277</guid><dc:creator>embeddedguy</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/150185?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/arduino/arduino-tutorials/f/forum/11393/wemos-d1-r1-esp8266-uart-communication/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Hi,&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;I know espsoftwareserial library, but that is a bit complicated at least for me as a beginner. Another thing was to use the only available serial to use at serial. but as you have said, using two devices for serial is not a good idea. &lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;I did something like the following to read the sensor data. I am taking care not to use the same serial for serial.print etc. Shouldn&amp;#39;t I get the data?&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;void get_distance(){
  Serial.begin(9600);
  distance=0;
  
  //Serial1.println();
  for(int i=0; i&amp;lt;=8; i++){
    if(Serial.available()&amp;gt;0){
      char c= Serial.read();
      //Serial.print(c);
      dist_data[i]=c;
      //
      if(c==13){
        //Serial.println();
      }
      else{
        for(int i=0; i&amp;lt;=8;i++){
          dist_data[i]==0;
          }
        }
    }
    delay(50);
  }
  }&lt;/pre&gt;&lt;/p&gt;&lt;div style="display:none;"&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>