<?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/"><channel><title>The Dancing Birds</title><link>/challenges-projects/project14/clusteredmcus/b/blog/posts/the-dancing-birds</link><description>Intro 
 Hardware 
 Assembling the Structure 

 The Birds Platform 
 Reassembling the Musical Puppet 
 Wiring and Testing the Servos 


 Birds Control and Arduino Software 

 Testing the Servos in Place 
 Issues, Issues, Issues! 


 Software 


Intro
The</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: The Dancing Birds</title><link>https://community.element14.com/challenges-projects/project14/clusteredmcus/b/blog/posts/the-dancing-birds</link><pubDate>Wed, 24 Oct 2018 10:56:38 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:283817a3-8f18-47a7-b708-2dc988b50163</guid><dc:creator>BigG</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Wow what a creative project. Thanks for sharing and well done.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5699&amp;AppID=213&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: The Dancing Birds</title><link>https://community.element14.com/challenges-projects/project14/clusteredmcus/b/blog/posts/the-dancing-birds</link><pubDate>Tue, 16 Oct 2018 04:20:36 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:283817a3-8f18-47a7-b708-2dc988b50163</guid><dc:creator>dixonselvan</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Nice fun project &lt;span&gt;[mention:2136c4649d3b47f78653b7e97ac61f69:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I liked the workaround for the button in the monkey’s belly! The birds also are interesting to watch.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5699&amp;AppID=213&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: The Dancing Birds</title><link>https://community.element14.com/challenges-projects/project14/clusteredmcus/b/blog/posts/the-dancing-birds</link><pubDate>Mon, 15 Oct 2018 09:09:30 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:283817a3-8f18-47a7-b708-2dc988b50163</guid><dc:creator>Workshopshed</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Enrico, another fantastic project. I love how the birds have sprung bodies.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5699&amp;AppID=213&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: The Dancing Birds</title><link>https://community.element14.com/challenges-projects/project14/clusteredmcus/b/blog/posts/the-dancing-birds</link><pubDate>Sun, 14 Oct 2018 19:28:31 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:283817a3-8f18-47a7-b708-2dc988b50163</guid><dc:creator>kk99</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi Enrico,&lt;br /&gt;It is awesome project. Congratulations.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5699&amp;AppID=213&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: The Dancing Birds</title><link>https://community.element14.com/challenges-projects/project14/clusteredmcus/b/blog/posts/the-dancing-birds</link><pubDate>Sun, 14 Oct 2018 19:10:13 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:283817a3-8f18-47a7-b708-2dc988b50163</guid><dc:creator>DAB</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Great fun project.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;DAB&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5699&amp;AppID=213&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: The Dancing Birds</title><link>https://community.element14.com/challenges-projects/project14/clusteredmcus/b/blog/posts/the-dancing-birds</link><pubDate>Sun, 14 Oct 2018 15:52:08 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:283817a3-8f18-47a7-b708-2dc988b50163</guid><dc:creator>mcb1</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;nice work Enrico.&lt;/p&gt;&lt;p&gt;I&amp;#39;m sure you had a lot of fun with the baby toy before you decided to rip it apart &lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-283817a3-8f18-47a7-b708-2dc988b50163/contentimage_5F00_3.png:16:16]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The use of the leaves as a cover is a great way to tidy up the scene without going overboard.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;mark&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5699&amp;AppID=213&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: The Dancing Birds</title><link>https://community.element14.com/challenges-projects/project14/clusteredmcus/b/blog/posts/the-dancing-birds</link><pubDate>Sat, 13 Oct 2018 19:50:20 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:283817a3-8f18-47a7-b708-2dc988b50163</guid><dc:creator>genebren</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi Enrico,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Looking at the scope traces (and relying on your observation that the PWM is effected without the servos connected), it sounds like the way in which the ports are being written to (from firmware?) might be causing the problem.&amp;nbsp; Almost like there is a clear before set logic working.&amp;nbsp; The spikes are occurring when other pins are changing, which seems to support this.&amp;nbsp; One of the things that i do when driving servos is to only have once pulse at a time active. This works well, as most servos need a long &amp;#39;low&amp;#39; period after the pulse as part of normal operations.&amp;nbsp; Depending on servo types, I usually have a 1-2ms pulse on a 25ms repeat rate.&amp;nbsp; I then have the pulses occur, on at a time, within the 25ms frame.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Good luck!&lt;/p&gt;&lt;p&gt;Gene&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5699&amp;AppID=213&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: The Dancing Birds</title><link>https://community.element14.com/challenges-projects/project14/clusteredmcus/b/blog/posts/the-dancing-birds</link><pubDate>Sat, 13 Oct 2018 19:39:31 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:283817a3-8f18-47a7-b708-2dc988b50163</guid><dc:creator>jw0752</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi Enrico,&lt;/p&gt;&lt;p&gt;Very nice and well done project. I enjoyed your explanation of the complexities that you encounter when you worked to integrate the different systems.&lt;/p&gt;&lt;p&gt;John&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5699&amp;AppID=213&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: The Dancing Birds</title><link>https://community.element14.com/challenges-projects/project14/clusteredmcus/b/blog/posts/the-dancing-birds</link><pubDate>Sat, 13 Oct 2018 17:38:49 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:283817a3-8f18-47a7-b708-2dc988b50163</guid><dc:creator>genebren</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I very cool project.&amp;nbsp; You have such a good grasp on the whimsy aspect of projects.&amp;nbsp; Everything you create seems fun and creative.&lt;/p&gt;&lt;p&gt;Well done!&lt;/p&gt;&lt;p&gt;Gene&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5699&amp;AppID=213&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: The Dancing Birds</title><link>https://community.element14.com/challenges-projects/project14/clusteredmcus/b/blog/posts/the-dancing-birds</link><pubDate>Sat, 13 Oct 2018 13:06:05 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:283817a3-8f18-47a7-b708-2dc988b50163</guid><dc:creator>shabaz</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi Enrico,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This is a really nice project. Amazing! This could be in shop windows, using touch controls through the glass maybe, for kids to control : ) They would have hours of fun. This project is really cute.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Incidentally, regarding the PWM, I&amp;#39;m wondering if it could be an issue with voltage spikes or glitches. If the trace from Bitscope is being monitored on the digital channels, then sometimes it looks like the software has done a logic pulse, but in reality it could be a small voltage spike or drop in voltage. To confirm that, it would need the analog Bitscope input to be used. If that is the case, then some beefy electrolytic caps (e.g. something betweeen 100uF-470uF maybe) could be tried near each servo, to give them each a small reservoir of energy. This is a guess though, it could be a PWM library issue too. I once had glitches that bugged me for weeks, I could not figure out what was wrong in the software, and in the end it turned out that the problem was the decoupling, because some CMOS circuitry (I was not using servos, just CMOS, but the brief load causing spikes in demand is similar) was using way more energy in short bursts than I expected (it was some camera board from ebay).&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5699&amp;AppID=213&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: The Dancing Birds</title><link>https://community.element14.com/challenges-projects/project14/clusteredmcus/b/blog/posts/the-dancing-birds</link><pubDate>Sat, 13 Oct 2018 10:45:58 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:283817a3-8f18-47a7-b708-2dc988b50163</guid><dc:creator>neilk</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi Enrico&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;A super amusing project&lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-283817a3-8f18-47a7-b708-2dc988b50163/5123.contentimage_5F00_1.png:16:16]&lt;/span&gt;. Tough call on the BBC micro:bit issue with the Bluetooth Library - it has caught out out lots and lots of people, including me!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Great that you cracked it and got the whole system working.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Neil&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5699&amp;AppID=213&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: The Dancing Birds</title><link>https://community.element14.com/challenges-projects/project14/clusteredmcus/b/blog/posts/the-dancing-birds</link><pubDate>Sat, 13 Oct 2018 10:11:13 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:283817a3-8f18-47a7-b708-2dc988b50163</guid><dc:creator>14rhb</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi Enrico,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Another delightful and top quality project from you - thank you for sharing and brightening up my day.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Good luck with the issues you mention at the end, although they didn&amp;#39;t detract from the overall fun for me - sounds like the PWM for the servos are software generated. Perhaps you could offload the task to a dedicated servo IC or even another Micro:bit ?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Rod&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5699&amp;AppID=213&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>