<?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/challenges-projects/project14/tales4makers/f/forum</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><lastBuildDate>Mon, 15 Aug 2022 08:42:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://community.element14.com/challenges-projects/project14/tales4makers/f/forum" /><item><title>The Predictive Maintenance Tale - piezo element voltages</title><link>https://community.element14.com/thread/51513?ContentTypeID=0</link><pubDate>Mon, 15 Aug 2022 08:42:30 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:098a43a8-9e4e-4f93-b408-9d5c5f61abe3</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>19</slash:comments><comments>https://community.element14.com/thread/51513?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/challenges-projects/project14/tales4makers/f/forum/51513/the-predictive-maintenance-tale---piezo-element-voltages/rss?ContentTypeId=0</wfw:commentRss><description>&lt;table style="background-color:#f2efaa;border-color:#000000;" border="1" height="440" width="606"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;For&amp;nbsp;&lt;a href="https://community.element14.com/members/balearicdynamics"&gt;balearicdynamics&lt;/a&gt;&amp;#39;&amp;nbsp;&lt;a href="https://community.element14.com/challenges-projects/project14/tales4makers/"&gt;Tales for Makers Amusement Park&lt;/a&gt;,&amp;nbsp;I&amp;#39;m making a&amp;nbsp;predictive maintenance&amp;nbsp;design for the rides and Ferris wheels. They have to be kept safe and in good condition.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The project is a little piezo buzzer.&amp;nbsp;In this little forum post , I show that these can generate high voltages that can damage microcontroller inputs.&lt;/p&gt;
&lt;p&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/360/syberia_5F00_ferris_5F00_6.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The artwork in this story is an ode to &lt;a href="https://en.wikipedia.org/wiki/Beno%C3%AEt_Sokal" rel="noopener noreferrer" target="_blank"&gt;Beno&amp;icirc;t Sokal&lt;/a&gt;. Comic Artist and Designer of the Syberia game.&lt;/em&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;A piezo&amp;nbsp;transducer can act as speaker or sensor. I&amp;#39;m using it as a sensor. Piezo can generate high voltages - an element is used to generate the spark in&amp;nbsp;piezoelectric&amp;nbsp;stove&amp;nbsp;igniters.&amp;nbsp;Although these high voltages aren&amp;#39;t generated when measuring usual mechanical vibrations, a protection circuit is advised. Even a medium tap on the sensor generates 10s of volts.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/360/kit.jpg" /&gt;&lt;br /&gt;&lt;span style="font-size:75%;"&gt;image source: &lt;a href="https://www.conrad.be/nl/p/joy-it-sen-vib01-trillingssensor-1-stuk-s-2356170.html" rel="noopener noreferrer" target="_blank"&gt;product page&lt;/a&gt; of the&amp;nbsp;kit I bought on Conrad&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;There are breakout kits from several companies for Arduino and Raspberry Pi, that come with&amp;nbsp;a piezo element and a protection circuit. They all seem to deploy the same protection circuit:&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/360/2022_5F00_5F00_5F00_07_5F00_5F00_5F00_27_2D00_19_5F00_5F00_5F00_45_2D00_Office_2D00_Lens.jpg" /&gt;&lt;br /&gt;The diode is a 5.1V Zener Diode. But let&amp;#39;s see what happens if I&amp;nbsp;hit&amp;nbsp;a test probe on the board where sensor sits on:&lt;br /&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/360/DS1Z_5F00_QuickPrint2.png" /&gt;&lt;br /&gt;It&amp;#39;s a &amp;quot;plastic on cardboard&amp;quot; action. I can easily generate 24 V peaks with the protection circuit in place. Not good for a 5V UNO. Most likely unhealthy for 3.3 V Arduino MKR or Raspberry Pi. If this would be mounted on metal, and a metal part would be used to hit, I&amp;#39;d expect the peaks to go higher. There&amp;#39;s almost no energy - it&amp;#39;s all voltage and for a short time. But it&amp;#39;s voltage that often does the damage.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://youtu.be/8hjoYlijXrU"&gt;https://youtu.be/8hjoYlijXrU&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;also check out this related post:&amp;nbsp;&amp;nbsp;&lt;a href="https://community.element14.com/technologies/test-and-measurement/b/blog/posts/piezo-disk-as-vibration-sensor-input-buffer-and-filter"&gt;Piezo disk as Vibration Sensor: input buffer and filter&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:75%;"&gt;Additional Syberia art&amp;nbsp;&lt;a href="https://www.youtube.com/watch?v=b6WgZWUfs8s" rel="nofollow noopener noreferrer" target="_blank"&gt;from this walktrough&lt;/a&gt;,&amp;nbsp;from&amp;nbsp;&lt;a href="https://store.playstation.com/en-sa/product/EP4295-CUSA05545_00-SYBERIA3EU000001" rel="nofollow noopener noreferrer" target="_blank"&gt;PlayStation store.&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>The Predictive Maintenance Tale - preview</title><link>https://community.element14.com/thread/51453?ContentTypeID=0</link><pubDate>Sun, 31 Jul 2022 19:02:34 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:14210202-f117-4098-b8f9-2d6430015783</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>7</slash:comments><comments>https://community.element14.com/thread/51453?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/challenges-projects/project14/tales4makers/f/forum/51453/the-predictive-maintenance-tale---preview/rss?ContentTypeId=0</wfw:commentRss><description>&lt;table style="background-color:#f2efaa;border-color:#000000;" border="1" height="440" width="606"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;For&amp;nbsp;&lt;a href="https://community.element14.com/members/balearicdynamics"&gt;balearicdynamics&lt;/a&gt;&amp;#39;&amp;nbsp;&lt;a href="https://community.element14.com/challenges-projects/project14/tales4makers/"&gt;Tales for Makers Amusement Park&lt;/a&gt;,&amp;nbsp;I&amp;#39;m making a&amp;nbsp;predictive maintenance&amp;nbsp;design for the rides and Ferris wheels. They have to be kept safe and in good condition.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The project is an Arduino MKR Accelerometer&amp;nbsp;that will send vibration info to the Arduino Cloud. The amusement park staff&amp;nbsp;uses this to spot trends and changes in the gearboxes, motors and axles of the rides.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m&amp;nbsp;late with my project, due to moving (and losing some components while doing that). This little forum post is a preview of the hardware that monitors the vibrations.&lt;/p&gt;
&lt;p&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/360/syberia_5F00_barounour.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The artwork in this story is an ode to &lt;a href="https://en.wikipedia.org/wiki/Beno%C3%AEt_Sokal" rel="noopener noreferrer" target="_blank"&gt;Beno&amp;icirc;t Sokal&lt;/a&gt;. Comic Artist and Designer of the Syberia game.&lt;/em&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Not long ago, I reviewed an &lt;a href="https://community.element14.com/products/roadtest/rv/roadtest_reviews/1591/sound_measurement_an_1"&gt;industrial piezo vibration sensor for a road test&lt;/a&gt;. But for experiments, you can also use a simple piezo buzzer. That&amp;#39;s what I&amp;#39;m doing for this tale.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/360/pastedimage1659292754072v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;They are normally used as buzzer in instruments and doorbells. But they are good vibration sensors. Attention though: these piezo elements can generate high voltages. They are the same things that are used in cigarette and stove lighters to ignite the gas. An input protection circuit is needed.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/360/2022_5F00_07_5F00_27-19_5F00_45-Office-Lens.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;This circuit should be good enough for an Arduino UNO, keeping the signal close to the power rail. But I&amp;#39;m using an Arduino MKR WiFi 1010 - and that can&amp;#39;t have 5V a the analogue input. The circuit also doesn&amp;#39;t deal with (smaller) negative component of the signal generated by the piezo&amp;nbsp;element. A fast recovery diode will deal with the negative, and I&amp;#39;ve put an OpAmp in place to buffer (and later attenuate) the signal. This is more an excuse to validate my lab instruments after the move than an economical protection and attenuation design.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/360/scan003.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;This is where I am with the hardware part at the moment.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/360/20220731_5F00_174728.jpg" /&gt;&lt;br /&gt;&lt;span style="font-size:75%;"&gt;This is the same shaker that I used for the industrial piezo sensor for the road test&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I made better progress with the software. I&amp;#39;ve made a fast ADC design (with DMA support on the Arduino)&amp;nbsp;and a function to calculate acceleration. The knowledge from the road test came in handy. I also have the Arduino Cloud part working, where I can collect the acceleration telemetry and show on a dashboard.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/360/pastedimage1659294122209v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;The real blog, with hardware, firmware and cloud setup will follow. Hopefully within the deadline ...&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>