<?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>Scary ghost / Mask &amp;amp; distance reminder</title><link>/challenges-projects/halloween/b/blog/posts/scary-ghost-mask-distance-reminder</link><description>I&amp;#39;ve had some fun creating PCBs this year, and it carried over into a fun Halloween project for my kids&amp;#39; daycare classmates. I decided to create a fun project to remind them to wear masks and keep their distance. As I write this, the kids are back ho</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Scary ghost / Mask &amp;amp; distance reminder</title><link>https://community.element14.com/challenges-projects/halloween/b/blog/posts/scary-ghost-mask-distance-reminder</link><pubDate>Wed, 20 Oct 2021 18:04:26 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d703e666-29ff-48df-b19a-4d8830eae219</guid><dc:creator>javagoza</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;What a beautiful project! I imagine the joy of those who receive that wonder. Well done.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=10106&amp;AppID=182&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Scary ghost / Mask &amp;amp; distance reminder</title><link>https://community.element14.com/challenges-projects/halloween/b/blog/posts/scary-ghost-mask-distance-reminder</link><pubDate>Fri, 06 Nov 2020 05:56:33 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d703e666-29ff-48df-b19a-4d8830eae219</guid><dc:creator>aspork42</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;span id="cc743f8a_a80a_400a_af64_8a7129acaf92"&gt;&lt;span&gt;[View:https://www.youtube.com/watch?v=LMqHSEqBkck:740:466]&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;(sorry for the sideways video!)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;And - I got the last five up and running! Glad I got the first batch finished. The went and were delivered to my kid’s 4K class on Wed for their first day back (And itheir Halloween party!) since being shut down as a classroom for Covid; only for the district to shut down ALL in person classes through the end of November.&lt;/p&gt;&lt;p&gt;The issue was that I could upload the boot loader on these five boards, but couldn’t program the via serial with a sketch. Tonight I went through and re-checked bootloading, checked for shorts, bad solder joints and solder balls and couldn’t find any obvious issues. After looking up the error code, I realized that I can program the chip over the ICSP header and don’t actually need the serial port header. I went that route and they all worked right away!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Testing them, I noticed that the five boards actually power up immediately without a 1.5 second delay. All the other boards have a delay. So the boot loader I’m using must not be setting all the required fuses. These five chips are skipping the startup delay and don’t ack the programmer to accept a new program. The ICSP header works differently and this isn’t an issue. So I now have 100% working fleet of scary ghosts! Perhaps I’ll investigate that later, but they’re working now &lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-d703e666-29ff-48df-b19a-4d8830eae219/2642.contentimage_5F00_1.png:16:16]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;[View:/resized-image/__size/327x275/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-d703e666-29ff-48df-b19a-4d8830eae219/contentimage_5F00_192867.png:327:275]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=10106&amp;AppID=182&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Scary ghost / Mask &amp;amp; distance reminder</title><link>https://community.element14.com/challenges-projects/halloween/b/blog/posts/scary-ghost-mask-distance-reminder</link><pubDate>Wed, 04 Nov 2020 05:13:10 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d703e666-29ff-48df-b19a-4d8830eae219</guid><dc:creator>aspork42</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/620x827/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-d703e666-29ff-48df-b19a-4d8830eae219/3122.contentimage_5F00_192863.jpg:620:827]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/620x465/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-d703e666-29ff-48df-b19a-4d8830eae219/1067.contentimage_5F00_192864.jpg:620:465]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;OK- I have 35 completed! Powered up and running! Two are already delivered; and here are 33 more. This leaves five to go, which are assembled but wouldn&amp;#39;t take the program. I only required 31 finished units, so I can troubleshoot the rest later. Phew! This was a marathon! &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/674x899/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-d703e666-29ff-48df-b19a-4d8830eae219/7824.contentimage_5F00_192865.jpg:674:899]&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=10106&amp;AppID=182&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Scary ghost / Mask &amp;amp; distance reminder</title><link>https://community.element14.com/challenges-projects/halloween/b/blog/posts/scary-ghost-mask-distance-reminder</link><pubDate>Sun, 01 Nov 2020 18:13:55 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d703e666-29ff-48df-b19a-4d8830eae219</guid><dc:creator>DAB</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Great project.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Well done. &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=10106&amp;AppID=182&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Scary ghost / Mask &amp;amp; distance reminder</title><link>https://community.element14.com/challenges-projects/halloween/b/blog/posts/scary-ghost-mask-distance-reminder</link><pubDate>Sun, 01 Nov 2020 17:32:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d703e666-29ff-48df-b19a-4d8830eae219</guid><dc:creator>genebren</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Very cool!&amp;nbsp; Great concept and design. Looks like you still have a lot of work to do getting all the units built up.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=10106&amp;AppID=182&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Scary ghost / Mask &amp;amp; distance reminder</title><link>https://community.element14.com/challenges-projects/halloween/b/blog/posts/scary-ghost-mask-distance-reminder</link><pubDate>Sun, 01 Nov 2020 06:30:59 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d703e666-29ff-48df-b19a-4d8830eae219</guid><dc:creator>ilvyanyatka</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I love your project. It was a lot of work!&lt;/p&gt;&lt;p&gt;I have a question though. I am trying to understand how do red LEDs blinking during the whole time notes are playing, not just at the end of each note.&lt;/p&gt;&lt;p&gt;Reading the code:&lt;/p&gt;&lt;blockquote class="jive-quote"&gt;&lt;ol start="1"&gt;&lt;li&gt;&lt;span style="font-weight:inherit;font-style:inherit;"&gt;timeend = millis() + (songdurat[currentNote]*&lt;span style="font-weight:inherit;font-style:inherit;"&gt;1000&lt;/span&gt;&lt;span style="font-weight:inherit;font-style:inherit;"&gt;);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight:inherit;font-style:inherit;"&gt;tone(Speaker, notes_hz[songnotes[currentNote]], songdurat[currentNote]*&lt;span style="font-weight:inherit;font-style:inherit;"&gt;950&lt;/span&gt;&lt;span style="font-weight:inherit;font-style:inherit;"&gt;);&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;So the loop is done only after time = duration * 950 is played, and only then you enter the loop again and get to call blinkLights() again.&lt;/p&gt;&lt;p&gt;I must be missing something but how do reds blink so often during the tone played?&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=10106&amp;AppID=182&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>