<?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/learn/learning-center/stem-academy/codebug/f/forum</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><lastBuildDate>Tue, 01 Oct 2019 01:42:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://community.element14.com/learn/learning-center/stem-academy/codebug/f/forum" /><item><title>CodeBug</title><link>https://community.element14.com/thread/38725?ContentTypeID=0</link><pubDate>Tue, 01 Oct 2019 01:42:58 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d6a672b5-69a4-4d7a-aa9e-93d94e1e3aad</guid><dc:creator>davidlockett</dc:creator><slash:comments>3</slash:comments><comments>https://community.element14.com/thread/38725?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/codebug/f/forum/38725/codebug/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Are there CodeBug grants or donations for classroom teachers?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RGB Wand for Codebug - mix and make</title><link>https://community.element14.com/thread/7495?ContentTypeID=0</link><pubDate>Thu, 30 Mar 2017 20:07:43 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8b911183-5089-4382-8b8a-7d33fd721347</guid><dc:creator>jlangbridge</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/7495?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/codebug/f/forum/7495/rgb-wand-for-codebug---mix-and-make/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;I&amp;#39;m getting ready to go to a school in France to show off the Codebug, a cute little design that makes development easy. There are some great examples on the element14 site, and I found an example for an RGB wand, something my 5 year old daughter loved (she put on her fairy disguise and ran around with the Codebug until the batteries drained). However, if I want to show development to kids, I need something with a little more impact. So, with the RGB wand in mind, I went and made something else.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Take a breadboard, and 3 variable resistors. For this example, I&amp;#39;m using 4.7K versions. Hook one end to &amp;quot;Power&amp;quot;, and the other to &amp;quot;Ground&amp;quot;. Do the same for all three. Now, connect the middle pin to pins 0, 1 and 2. These will be R, G and B respectively. Add a ColourStar, wire everything up with the crocodile clips, and it&amp;#39;s time to code.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/393x469/__key/communityserver-discussions-components-files/134/contentimage_5F00_81106.png"&gt;&lt;img alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/discussions/components/files/134/contentimage_81106.png-393x469.png?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=DBMPIp50DqV07%2Bazh%2FDTI02QpYQDPVJSf6siWobSbks%3D&amp;amp;se=2026-04-15T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=dAAJfoROEMirO+GWOUitiw==" style="max-height: 469px;max-width: 393px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;The code is simple; we will set legs 0, 1 and 2 as analogue inputs. We&amp;#39;ll also use the CoulorStar. We create a loop, one that will run forever. On each iteration, we will read in the values of pins 0, 1 and 2, and store them into variables; R, G and B respectively. Then, in another loop, we will turn each of the ColourStar LEDs to the value found on the analogue pins. Then repeat, forever. Here&amp;#39;s what my setup looks like:&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/1600x899/__key/communityserver-discussions-components-files/134/contentimage_5F00_81107.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/discussions/components/files/134/contentimage_81107.jpg-1600x899.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=mEoyQ83R4RfzrqmuU7HqIFqQKORuolCHanz7PKEUcbU%3D&amp;amp;se=2026-04-15T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=GoNUqLeoOh85sTazzGmTZQ==" style="max-height: 899px;max-width: 1600px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Flash the program, and play about. With each of the variables resistors at a zero value, the LEDs are turned off. With each of the variable resistors connected to Vcc, all three colours are fully lit, and the LEDs appear white (watch it, these things are bright!). What happens when you turn on blue with a hint of red?&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/1600x899/__key/communityserver-discussions-components-files/134/contentimage_5F00_81108.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/discussions/components/files/134/contentimage_81108.jpg-1600x899.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=uOJKZKbI695HtVoWqyb69uIVGNW0IIWYPdOGKemimdo%3D&amp;amp;se=2026-04-15T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=gm8/9Qx5hlK2xqK4BypBNg==" style="max-height: 899px;max-width: 1600px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;With this, I hope my students are going to have fun, while learning about colours, and also about programming. I&amp;#39;ll teach them programming, they will teach me about colours, since I&amp;#39;m totally colour-blind (almost black and white colour vision).&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;The entire project took about ten minutes, hunting down the final variable resistor included. The code itself was less than five minutes, it really is that easy to program these devices. I&amp;#39;ll keep you updated on what my students think!&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;A huge thanks to element14 for the &amp;quot;Bit by the bug&amp;quot; campaign!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Codebug Halloween</title><link>https://community.element14.com/thread/6726?ContentTypeID=0</link><pubDate>Thu, 03 Nov 2016 22:56:59 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:30263015-6bd7-434d-9839-60aff59fd5e4</guid><dc:creator>cstanton</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/6726?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/codebug/f/forum/6726/codebug-halloween/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;We needed some eyes for the Pumpkins we had in the Farnell offices:&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;a class="jive-link-external-small" href="https://twitter.com/Stanto/status/792340866123857920" rel="nofollow ugc noopener" target="_blank" title="https://twitter.com/Stanto/status/792340866123857920"&gt;https://twitter.com/Stanto/status/792340866123857920&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;Turned out pretty well:&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;a class="jive-link-external-small" href="https://twitter.com/FarnellNews/status/793093891004178434" rel="nofollow ugc noopener" target="_blank" title="https://twitter.com/FarnellNews/status/793093891004178434"&gt;https://twitter.com/FarnellNews/status/793093891004178434&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;Getting two of these to sync properly was a little trickier than I expected. I would have hoped that daisy chaining codebugs would be easy since they&amp;#39;re affordable. Two worked, more would be trickier, though perhaps i2c would work out?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Finally a small codebug public evolution</title><link>https://community.element14.com/thread/5703?ContentTypeID=0</link><pubDate>Thu, 05 May 2016 17:08:55 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d88355e3-d04c-4e81-8f22-b279b75cdbd3</guid><dc:creator>balearicdynamics</dc:creator><slash:comments>11</slash:comments><comments>https://community.element14.com/thread/5703?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/codebug/f/forum/5703/finally-a-small-codebug-public-evolution/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Just to share a link on their blog that it is the worth to read &lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/16x16/__key/communityserver-discussions-components-files/134/2273.contentimage_5F00_1.png"&gt;&lt;img alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/discussions/components/files/134/2273.contentimage_1.png-16x16.png?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=qfx%2F8RCf5aXnz510LTPmchORA9z1N4e3qF0eDK%2BIqio%3D&amp;amp;se=2026-04-15T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=zGEM7pHL10Vt71gae75OdA==" style="max-height: 16px;max-width: 16px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;a class="jive-link-external-small" href="http://www.codebug.org.uk/blog/codebugs-expansion-port" rel="nofollow ugc noopener" target="_blank" title="http://www.codebug.org.uk/blog/codebugs-expansion-port"&gt;CodeBug – Blog – CodeBug&amp;#39;s expansion port&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;Enrico &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Learn about ARM CORTEX MCU DMA</title><link>https://community.element14.com/thread/5701?ContentTypeID=0</link><pubDate>Thu, 05 May 2016 10:54:31 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:fe048881-c3cb-4706-a013-15d82034782a</guid><dc:creator>martinvalencia</dc:creator><slash:comments>3</slash:comments><comments>https://community.element14.com/thread/5701?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/codebug/f/forum/5701/learn-about-arm-cortex-mcu-dma/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Good day &lt;/p&gt;&lt;p style="margin:0;"&gt;I would like to know if there is any document containing information on the application of DMA in applications?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Christmas Presents from Codebugs</title><link>https://community.element14.com/thread/1319?ContentTypeID=0</link><pubDate>Wed, 06 Jan 2016 16:04:03 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:81f1f21e-fe49-4c7a-97f9-7cbb1dede26e</guid><dc:creator>Former Member</dc:creator><slash:comments>5</slash:comments><comments>https://community.element14.com/thread/1319?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/codebug/f/forum/1319/christmas-presents-from-codebugs/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;I made a rocket for my nephew for christmas, a colour star provides the engines and a codebug does the countdown sequence.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;A 2L drinks bottle provided the fusilage and a cardboard box supplied the fins.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;I had to sacrifice a better battery than intended as the cheap one kept turning itself off during the countdown (power save feature).&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;My brother-in-law was slightly disappointed witn the feedback, apparently the lego millennium falcon was quite expensive so becoming second best present was a little blow.&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;a class="jive-link-external-small" href="http://www.codebug.org.uk/explore/codebug/4005/rocket/" rel="nofollow ugc noopener" target="_blank"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;a class="jive-link-external-small" href="http://www.codebug.org.uk/explore/codebug/4005/rocket/" rel="nofollow ugc noopener" target="_blank"&gt;Here&amp;#39;s&lt;span&gt; the code.&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;a class="jive-link-external-small" href="https://youtu.be/mEeaTFc4D0I" rel="nofollow ugc noopener" target="_blank"&gt;Here&amp;#39;s&lt;span&gt; the video (you Tube)&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;I made four christmas trees with a codebug colour star on top of each (two daughters, two nieces).&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;The trees were made out of hardboard and covered with green paper, the colour stars were wrapped in tinsel (as a diffuser, they are two bright otherwise). A USB battery pack was used as the power supply.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;a class="jive-link-external-small" href="http://www.codebug.org.uk/explore/codebug/3983/colour-star/" rel="nofollow ugc noopener" target="_blank"&gt;Here&lt;span&gt; is the code.&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;a class="jive-link-external-small" href="https://youtu.be/4cZ2rtK_AuM" rel="nofollow ugc noopener" target="_blank"&gt;short&lt;span&gt; (4 Seconds) video of it in operation&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Codebug Tails, Available soon.</title><link>https://community.element14.com/thread/1158?ContentTypeID=0</link><pubDate>Fri, 11 Dec 2015 14:44:13 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5ef3f06c-c3f0-4e7a-9b05-6cea46c0dcfa</guid><dc:creator>Former Member</dc:creator><slash:comments>3</slash:comments><comments>https://community.element14.com/thread/1158?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/codebug/f/forum/1158/codebug-tails-available-soon/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;It looks like the CodeBug will soon be sporting an assortment of glowing accessories, &lt;a class="jive-link-external-small" href="http://www.codebug.org.uk/learn/activity/70/colour-tail/" rel="nofollow ugc noopener" target="_blank"&gt;ColourTails&lt;/a&gt; are coming soon.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;By the look of it we have a 5V multicolour LED with a single wire communication bus, possibly WS2811 or WS2812 based?&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Credit for spotting this should go to MikeR (as usual).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Making an array?</title><link>https://community.element14.com/thread/28944?ContentTypeID=0</link><pubDate>Sun, 15 Nov 2015 18:21:29 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:9353356a-e94a-4a6a-becf-4e7218a90ad0</guid><dc:creator>michaelwylie</dc:creator><slash:comments>4</slash:comments><comments>https://community.element14.com/thread/28944?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/codebug/f/forum/28944/making-an-array/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;I&amp;#39;ve been working with the CodeBug for a few days now, and I can&amp;#39;t seem to find a way to store an array. For example, I want an array of 256 chars, but this option doesn&amp;#39;t seem to exist. Any ideas?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Repair CodeBug battery holder easy?</title><link>https://community.element14.com/thread/28912?ContentTypeID=0</link><pubDate>Sun, 08 Nov 2015 00:36:12 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8c6ee437-aa90-4a9d-b846-100b7234ca6a</guid><dc:creator>jkutzsch</dc:creator><slash:comments>3</slash:comments><comments>https://community.element14.com/thread/28912?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/codebug/f/forum/28912/repair-codebug-battery-holder-easy/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;font-size:13.3333px;"&gt;Anyone had any issues with the battery holder on the back pulling away while having a battery in it?&lt;/p&gt;&lt;p style="margin:0;padding:0px;font-size:13.3333px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;font-size:13.3333px;"&gt;We have been using the CodeBug for a bit now powered by USB and due to a Maker Faire this weekend went out and bought batteries to make it easy to show off.&amp;nbsp; When my son handed it over to another young potential Maker it was accidently dropped onto the carpet in the store and the battery holder popped off on one side.&amp;nbsp; &lt;/p&gt;&lt;p style="margin:0;padding:0px;font-size:13.3333px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;font-size:13.3333px;"&gt;Should this be an easy repair via soldering?&amp;nbsp; Should I do both sides just to be sure?&lt;/p&gt;&lt;p style="margin:0;padding:0px;font-size:13.3333px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;font-size:13.3333px;"&gt;Thanks!&lt;/p&gt;&lt;p style="margin:0;padding:0px;font-size:13.3333px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;font-size:13.3333px;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/374x664/__key/communityserver-discussions-components-files/134/contentimage_5F00_62725.png"&gt;&lt;img alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/discussions/components/files/134/contentimage_62725.png-374x664.png?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=UFz%2BzOW1FLu1Kjn2Nzuj6wCdEws%2FXXssGHKPzk2ZDWU%3D&amp;amp;se=2026-04-15T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=0b5IFsocykqAbjHsF0Riug==" style="max-height: 664px;max-width: 374px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Controlling your bug with Arduino</title><link>https://community.element14.com/thread/770?ContentTypeID=0</link><pubDate>Tue, 03 Nov 2015 12:44:21 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:dfb774bd-6e39-4a9e-97a8-71605e7b2830</guid><dc:creator>Workshopshed</dc:creator><slash:comments>2</slash:comments><comments>https://community.element14.com/thread/770?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/codebug/f/forum/770/controlling-your-bug-with-arduino/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;When the I2C code is installed on the bug you are not limited to controlling it just from a Pi. You can control it from other platforms that have I2C.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Mike has done a translation for Arduino - &lt;a class="jive-link-external-small" href="https://github.com/mikerr/codebug-arduino" rel="nofollow ugc noopener" target="_blank" title="https://github.com/mikerr/codebug-arduino"&gt;https://github.com/mikerr/codebug-arduino&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Micropython</title><link>https://community.element14.com/thread/28887?ContentTypeID=0</link><pubDate>Tue, 03 Nov 2015 12:34:55 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:0cede042-2604-4a66-9d2d-1b3cd2f16282</guid><dc:creator>Workshopshed</dc:creator><slash:comments>2</slash:comments><comments>https://community.element14.com/thread/28887?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/codebug/f/forum/28887/micropython/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;I see it&amp;#39;s possible to get &lt;a class="jive-link-external-small" href="https://github.com/micropython/micropython" rel="nofollow ugc noopener" target="_blank"&gt;MicroPython&lt;/a&gt; running on the bit, I wonder what is needed to get it working on the CodeBug?&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;a class="jive-link-external-small" href="http://ntoll.org/article/story-micropython-on-microbit" rel="nofollow ugc noopener" target="_blank" title="http://ntoll.org/article/story-micropython-on-microbit"&gt;ntoll.org ~ everything I say is false...&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Codebug board schematics released</title><link>https://community.element14.com/thread/706?ContentTypeID=0</link><pubDate>Mon, 26 Oct 2015 11:06:11 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:94a33314-43c5-4948-b751-514b955bf164</guid><dc:creator>Former Member</dc:creator><slash:comments>3</slash:comments><comments>https://community.element14.com/thread/706?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/codebug/f/forum/706/codebug-board-schematics-released/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Codebug have taken the first step in honouring their open source promise, they released the &lt;a class="jive-link-external-small" href="http://www.codebug.org.uk/creativecommons/" rel="nofollow ugc noopener" target="_blank"&gt;board schematics&lt;/a&gt;.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;[quote]&lt;span style="color:#2d4050;font-family:Raleway, Arial, Helvetica, sans-serif;font-size:13px;text-align:center;"&gt;Firmware will be made available once 3rd party license agreements have been confirmed.&lt;/span&gt;[/quote]&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>USB port came off.</title><link>https://community.element14.com/thread/704?ContentTypeID=0</link><pubDate>Mon, 26 Oct 2015 04:29:06 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:87e2d52d-0564-4095-9ba5-683302e3fd4b</guid><dc:creator>grahamchow</dc:creator><slash:comments>5</slash:comments><comments>https://community.element14.com/thread/704?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/codebug/f/forum/704/usb-port-came-off/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;My daughter, who is 9, accidentally broke off the usb port off the codebug (who could not see that coming?). &lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;I manage to solder it back on some how (I don&amp;#39;t have any smd tools, so that was a small miracle). I&amp;#39;m actually going to get some paste.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;I think they should have used a through hole mount for the USB connector or a better mounting strategy. I see the Raspberry PI does look better. I really think that if they are aiming for 7-10 yo, this would be essential even if it added a dollar or two to the cost.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Graham Chow&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>CodeBug Lands an Elektra Awards Nomination</title><link>https://community.element14.com/thread/669?ContentTypeID=0</link><pubDate>Wed, 21 Oct 2015 11:25:36 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:4adff61e-9944-4e18-a8f0-9b6d0b352a33</guid><dc:creator>spannerspencer</dc:creator><slash:comments>18</slash:comments><comments>https://community.element14.com/thread/669?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/codebug/f/forum/669/codebug-lands-an-elektra-awards-nomination/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;&lt;a href="https://lh3.googleusercontent.com/d0YFxqGKn8eHA52U7CmsM6CQzsmtUDSNS28X7lwa2A_ivZxVhozptuRnNrSaY6_j2SSJYaSDvTctDwQI1yZf5C3MFT1xwr9bYn3zV4MC_Fz88BuLWg52uAEZzKPpQ9qq9Uk3_xreO_zWOhfJacGMb3MkvsYHeK5grnjROJX2bwm4AzPeM3nrQwcmYs4X8dIbmuL3CuauATFsuhWk5hUsdqrQucfV7Gd9aMlmusKmkB11z7rjwLbrkZRje0OKVtNek44cxaxtoNIl80zGtxkvjluuSUk-AelRQtMr9iBmvV-pU8B-cbRFxhDO4JFsvR8amIhaXm7k-Q2iwwVE0gtRk9sI0VnaSrAOtRZqV88KKIC8wlFs_4zVPGkAXsRtf9q8IavaFlVNSr4B67jrS4B6lTdpsbCemTVk2QZG3sjeaT4QuY7-dqfdPRMS8Lc9doo6LQJ9yI8f3uG8RiZceFyuYmWATgeKAlPHyfO8-8-qsdQcpODhqINc7zY3vuCOJtdWX00sau61yK0kKq-o7Ka8mrJbBg4G3Dl_PAiQ8x1oieA=w1449-h815-no"&gt;&lt;img alt="d0YFxqGKn8eHA52U7CmsM6CQzsmtUDSNS28X7lwa2A_ivZxVhozptuRnNrSaY6_j2SSJYaSDvTctDwQI1yZf5C3MFT1xwr9bYn3zV4MC_Fz88BuLWg52uAEZzKPpQ9qq9Uk3_xreO_zWOhfJacGMb3MkvsYHeK5grnjROJX2bwm4AzPeM3nrQwcmYs4X8dIbmuL3CuauATFsuhWk5hUsdqrQucfV7Gd9aMlmusKmkB11z7rjwLbrkZRje0OKVtNek44cxaxtoNIl80zGtxkvjluuSUk-AelRQtMr9iBmvV-pU8B-cbRFxhDO4JFsvR8amIhaXm7k-Q2iwwVE0gtRk9sI0VnaSrAOtRZqV88KKIC8wlFs_4zVPGkAXsRtf9q8IavaFlVNSr4B67jrS4B6lTdpsbCemTVk2QZG3sjeaT4QuY7-dqfdPRMS8Lc9doo6LQJ9yI8f3uG8RiZceFyuYmWATgeKAlPHyfO8-8-qsdQcpODhqINc7zY3vuCOJtdWX00sau61yK0kKq-o7Ka8mrJbBg4G3Dl_PAiQ8x1oieA=w1449-h815-no" class="image-1 jive-image" height="169" src="https://lh3.googleusercontent.com/d0YFxqGKn8eHA52U7CmsM6CQzsmtUDSNS28X7lwa2A_ivZxVhozptuRnNrSaY6_j2SSJYaSDvTctDwQI1yZf5C3MFT1xwr9bYn3zV4MC_Fz88BuLWg52uAEZzKPpQ9qq9Uk3_xreO_zWOhfJacGMb3MkvsYHeK5grnjROJX2bwm4AzPeM3nrQwcmYs4X8dIbmuL3CuauATFsuhWk5hUsdqrQucfV7Gd9aMlmusKmkB11z7rjwLbrkZRje0OKVtNek44cxaxtoNIl80zGtxkvjluuSUk-AelRQtMr9iBmvV-pU8B-cbRFxhDO4JFsvR8amIhaXm7k-Q2iwwVE0gtRk9sI0VnaSrAOtRZqV88KKIC8wlFs_4zVPGkAXsRtf9q8IavaFlVNSr4B67jrS4B6lTdpsbCemTVk2QZG3sjeaT4QuY7-dqfdPRMS8Lc9doo6LQJ9yI8f3uG8RiZceFyuYmWATgeKAlPHyfO8-8-qsdQcpODhqINc7zY3vuCOJtdWX00sau61yK0kKq-o7Ka8mrJbBg4G3Dl_PAiQ8x1oieA=w1449-h815-no" style="height:168.871px;width:300px;float:right;border-radius:20px;border:5px solid #000000;background:rgba(227,162,11,0.0);box-shadow:#B3B3B3 10px 10px 10px;" width="300" /&gt;&lt;/a&gt;I just put a tick against this poll, and thought my CodeBug buddies in here might also want to cast a vote in the Elektra Consumer Product Innovation awards.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;It&amp;#39;s a decent list of kit that the CodeBug&amp;#39;s up against in Electronics Weekly&amp;#39;s readers&amp;#39; choice category, actually, including the Spectrum Vega and Pi-Top. But it&amp;#39;s CodeBug all the way for me right now, natch &lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/16x16/__key/communityserver-discussions-components-files/134/3108.contentimage_5F00_1.png"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/discussions/components/files/134/3108.contentimage_1.png-16x16.png?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=ynuP4jwldgysn1PSIHqSTnWDbk0rSLWPAzi%2BeGOkUWI%3D&amp;amp;se=2026-04-15T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=zGEM7pHL10Vt71gae75OdA==" style="max-height: 16px;max-width: 16px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Anyway, there it is -- if you also want to stand up and be counted in this quick-fire electronics race, here&amp;#39;s your chance: &lt;a class="jive-link-external-small" href="http://www.electronicsweekly.com/blogs/electro-ramblings/general-electronics/elektra-2015-consumer-product-innovation-year-readers-choice-2015-09/" rel="nofollow ugc noopener" target="_blank" title="http://www.electronicsweekly.com/blogs/electro-ramblings/general-electronics/elektra-2015-consumer-product-innovation-year-readers-choice-2015-09/"&gt;http://www.electronicsweekly.com/blogs/electro-ramblings/general-electronics/elektra-2015-consumer-product-innovation-ye…&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Codebug goes into suspend state</title><link>https://community.element14.com/thread/651?ContentTypeID=0</link><pubDate>Sat, 17 Oct 2015 18:04:36 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5b9f9de5-8589-41e4-934b-496fea9a5e24</guid><dc:creator>shabaz</dc:creator><slash:comments>3</slash:comments><comments>https://community.element14.com/thread/651?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/codebug/f/forum/651/codebug-goes-into-suspend-state/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;Does anyone know if the codebug has the capability to have its sleep disabled?&lt;/p&gt;&lt;p style="margin:0;"&gt;Currently it breaks programs that need to run for longer than three minutes.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/523x121/__key/communityserver-discussions-components-files/134/contentimage_5F00_62068.png"&gt;&lt;img alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/discussions/components/files/134/contentimage_62068.png-523x121.png?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=1vNSsGfCukF2I%2B8%2FSvQKDUg4Zh68jhmE9L8oGXan6Sg%3D&amp;amp;se=2026-04-15T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=hqQAHvsBPk6bTiosnd3RXQ==" style="max-height: 121px;max-width: 523px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>I got mine through Kickstarter and I really like it</title><link>https://community.element14.com/thread/589?ContentTypeID=0</link><pubDate>Thu, 08 Oct 2015 01:32:36 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:9c6438cc-f0c1-4183-b9ba-387234e6cc71</guid><dc:creator>Former Member</dc:creator><slash:comments>5</slash:comments><comments>https://community.element14.com/thread/589?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/codebug/f/forum/589/i-got-mine-through-kickstarter-and-i-really-like-it/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;I wish there would be more than only 5x5 LEDs to turn on/off, with perhaps a choice of colors. But I know this makes the device more expensive. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Help with a CodeBug Halloween Project</title><link>https://community.element14.com/thread/571?ContentTypeID=0</link><pubDate>Mon, 05 Oct 2015 17:50:29 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:6ce89abf-5155-4f61-85e6-5af38d4407f4</guid><dc:creator>spannerspencer</dc:creator><slash:comments>7</slash:comments><comments>https://community.element14.com/thread/571?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/codebug/f/forum/571/help-with-a-codebug-halloween-project/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;S&amp;#39;up y&amp;#39;all!&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Okay, I&amp;#39;ve been playing this one a little close to my chest, but I&amp;#39;ve reached that point where I could use a big of classic element14 community collaboration! &lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/16x16/__key/communityserver-discussions-components-files/134/5432.contentimage_5F00_1.png"&gt;&lt;img alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/discussions/components/files/134/5432.contentimage_1.png-16x16.png?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=GX%2BXpKoUjcoWcRK6VhJ2G2CMM3L3YgjIvnEd7OZy2lE%3D&amp;amp;se=2026-04-15T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=zGEM7pHL10Vt71gae75OdA==" style="max-height: 16px;max-width: 16px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;I&amp;#39;m pretty well on with the build, but looking at my calendar (I&amp;#39;m off for a week, and then in Rome for the Maker Faire as soon as I get back) I&amp;#39;m starting to think that it&amp;#39;ll be a bit close to the bone in terms of getting it finished for Halloween. So I was hoping I could solicit a bit of assistance from you guys, who are invariably better with coding than I am! I&amp;#39;m pretty good with the hardware, but I fumble when it comes time to code.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Here&amp;#39;s the project, followed by a specification I was hoping you guys could help me out with for programming the actual CodeBug.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h1&gt;Ghostbusters Trap - Desk Lamp&lt;/h1&gt;&lt;p style="margin:0;"&gt;I&amp;#39;m a sucker for the pop culture references, and I&amp;#39;ve been working building a ghost trap from Ghostbusters, complete with working trap door mechanism, LED lighting, a footswitch and a miniature smoke machine. You know the one I mean (WARNING: don&amp;#39;t look directly into the trap):&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/512x218/__key/communityserver-discussions-components-files/134/contentimage_5F00_61482.gif"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/discussions/components/files/134/contentimage_61482.gif?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=bybPLHnleTm9OjN%2BQWA4RPkPVfXPB4E4WF11eHMcKV8%3D&amp;amp;se=2026-04-15T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=5/PsSBeQEceAgPW0xxyyaw==" style="max-height: 218px;max-width: 512px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;This will all be run by a CodeBug, of course, and I&amp;#39;ve had a degree of success in proving its ability to &lt;a class="jive-link-external-small" href="http://www.element14.com/community/videos/17552/l/codebug-driving-servo" target="_blank"&gt;drive a servo&lt;/a&gt; to open the doors. However, the code I used seems a bit flaky (sometimes works, sometimes doesn&amp;#39;t -- not sure if it&amp;#39;s the CodeBug or the servo, to be honest), and I&amp;#39;d rather it didn&amp;#39;t run the servo backwards and forwards if you hold the button down.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;The actual trap is coming along very nicely -- it&amp;#39;s mostly built, with a 5V power supply, and the servo in place to open and close the trap doors. I&amp;#39;ve hacked up an e-cig cartomizer along with a small priming pump to create the fog (using a blend of water and sugar glycerine to create the smoke -- no nicotine or strange poisons involved!), and I&amp;#39;ve butchered three ultra-cheap LED torches to get a very neat array of 27 white LEDs, all of which I&amp;#39;ll post in a build along when it&amp;#39;s all up and running.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;But here&amp;#39;s where I could use a little assistance...&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h1&gt;Who Ya Gonna Code?&lt;/h1&gt;&lt;p style="margin:0;"&gt;My efforts to pull everything together into a reasonably optimised block of code for the CodeBug have been limited, and time&amp;#39;s against me. So here&amp;#39;s what I&amp;#39;d like the CodeBug to do, which I was hoping someone with better coding chops could help out with.&lt;/p&gt;&lt;p style="margin:0;padding:0px;padding-left:30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h3 style="padding-left:30px;"&gt;On Power Up&lt;/h3&gt;&lt;p style="margin:0;padding-left:30px;"&gt;Right at the outset, the CodeBug should set the servo&amp;#39;s PWM to 170 via Leg 1, which closes the trap doors. This is just in case the doors were open when the trap was powered off.&lt;/p&gt;&lt;p style="margin:0;padding:0px;padding-left:30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h3 style="padding-left:30px;"&gt;Turning It On&lt;/h3&gt;&lt;p style="margin:0;padding-left:30px;"&gt;The trap is turned on using a latching foot switch (first press closes the switch, second press opens it again). I was thinking of using &lt;strong&gt;Leg 0 as an input&lt;/strong&gt;, which is grounded by the latching foot switch for the duration of the trap being on (on = doors open, lights on). When the foot switch is pressed (or latched) the following should happen, in this order:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;ul&gt;&lt;li&gt;The &lt;strong&gt;fog machine is switched on for 5 seconds&lt;/strong&gt; to generate a bit of atmospheric smoke. This will be achieved by &lt;strong&gt;switching a 5V relay and/or a transistor via Leg 3&lt;/strong&gt;, as the fog machine takes more current than I suspect the CodeBug could handle (it gets a little hot).&lt;/li&gt;&lt;li&gt;After five seconds, the PWM for the servo is set to &lt;strong&gt;60&lt;/strong&gt; (opening the trap doors on top), which outputs via &lt;strong&gt;Leg 1&lt;/strong&gt;. (Leg1 is connected to the signal lead on the servo).&lt;/li&gt;&lt;li&gt;At the same time, the LEDs are switched on using &lt;span style="font-size:13.3333px;"&gt;&lt;strong&gt;a 5V relay and/or a transistor via Leg 4.&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;The following animation is displayed on the CodeBug: &lt;a class="jive-link-external-small" href="http://www.codebug.org.uk/explore/codebug/1240/" rel="nofollow ugc noopener" target="_blank" title="http://www.codebug.org.uk/explore/codebug/1240/"&gt;http://www.codebug.org.uk/explore/codebug/1240/&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style="margin:0;padding-left:30px;"&gt;At this point, the LEDs remain lit, the above animation cycles, and the doors remain open until the foot switch is pressed again.&lt;/p&gt;&lt;p style="margin:0;padding:0px;padding-left:30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h3 style="padding-left:30px;"&gt;Turning It Off&lt;/h3&gt;&lt;p style="margin:0;padding-left:30px;"&gt;Once the foot switch is unlatched by pressing it a second time, &lt;strong&gt;Leg 0 &lt;/strong&gt;is no longer grounded and the following happens in this order.&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;ul&gt;&lt;li&gt;The PWM for the servo is set to &lt;strong&gt;170 &lt;/strong&gt;(closing the trap doors on top), which outputs via &lt;strong&gt;Leg 1&lt;/strong&gt;.&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:13.3333px;"&gt;The &lt;/span&gt;&lt;span style="font-size:13.3333px;"&gt;&lt;strong&gt;fog machine is switched on for 5 seconds&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-size:13.3333px;"&gt; to generate a bit of more smoke that&amp;#39;ll seep out of the trap (as if there was a ghost inside).&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:13.3333px;"&gt;The LEDs are turned off.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:13.3333px;"&gt;The following animation is displayed on the CodeBug for around two minutes: &lt;a class="jive-link-external-small" href="http://www.codebug.org.uk/explore/codebug/1241/" rel="nofollow ugc noopener" target="_blank" title="http://www.codebug.org.uk/explore/codebug/1241/"&gt;http://www.codebug.org.uk/explore/codebug/1241/&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;If anyone&amp;#39;s got the CodeBug kung fu to help me out with that, Zuul will bestow her blessings upon you! And so will I &lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/16x16/__key/communityserver-discussions-components-files/134/5432.contentimage_5F00_1.png"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/discussions/components/files/134/5432.contentimage_1.png-16x16.png?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=GX%2BXpKoUjcoWcRK6VhJ2G2CMM3L3YgjIvnEd7OZy2lE%3D&amp;amp;se=2026-04-15T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=zGEM7pHL10Vt71gae75OdA==" style="max-height: 16px;max-width: 16px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Ps. The full build along is coming soon!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Bluetooth control of Codebug</title><link>https://community.element14.com/thread/553?ContentTypeID=0</link><pubDate>Fri, 02 Oct 2015 14:52:08 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:f4f691cc-2933-416b-9937-a24da46acde0</guid><dc:creator>Former Member</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/553?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/codebug/f/forum/553/bluetooth-control-of-codebug/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;MIke Redrobe has converted the Codebug I2C Libraries to C and &lt;a class="jive-link-external-small" href="http://codebugforum.co.uk/viewtopic.php?f=12&amp;amp;t=47&amp;amp;p=168#p168" rel="nofollow ugc noopener" target="_blank"&gt;is controlling his codebug&lt;/a&gt; through bluetooth with a bluno beetle.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Heavy Load Switching with CodeBug</title><link>https://community.element14.com/thread/28689?ContentTypeID=0</link><pubDate>Thu, 01 Oct 2015 09:37:09 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:518efa13-b4a5-4ae7-a34c-72c3595c824a</guid><dc:creator>spannerspencer</dc:creator><slash:comments>11</slash:comments><comments>https://community.element14.com/thread/28689?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/codebug/f/forum/28689/heavy-load-switching-with-codebug/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Has anyone tried switching slightly heavier loads using the CodeBug&amp;#39;s legs, either using a transistor or a relay? I&amp;#39;m working on something that&amp;#39;ll need to switch two loads on and off that I&amp;#39;m pretty sure would melt the CodeBug if I did it directly (maybe 1-2 amps each). I&amp;#39;m thinking that something as simple as a transistor, switched from one of the legs, would do the job, but thought I&amp;#39;d ask if anyone&amp;#39;s experimented this as yet?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>do we need to buy a battery for codebug to work</title><link>https://community.element14.com/thread/28672?ContentTypeID=0</link><pubDate>Sun, 27 Sep 2015 11:29:23 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:49f6cb4d-c111-42fb-b274-140ebe0ba9f5</guid><dc:creator>Former Member</dc:creator><slash:comments>4</slash:comments><comments>https://community.element14.com/thread/28672?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/codebug/f/forum/28672/do-we-need-to-buy-a-battery-for-codebug-to-work/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;do we need to buy a battery for codebug to work&lt;/p&gt;&lt;p style="margin:0;"&gt;pls let me know&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>CodeBug Driving a Servo</title><link>https://community.element14.com/thread/473?ContentTypeID=0</link><pubDate>Fri, 18 Sep 2015 18:31:31 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:19abd04c-86c6-42dc-b87c-5a35e8ce6dac</guid><dc:creator>spannerspencer</dc:creator><slash:comments>8</slash:comments><comments>https://community.element14.com/thread/473?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/codebug/f/forum/473/codebug-driving-a-servo/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;I picked up a &lt;a class="jive-link-tag-small" href="https://community.element14.com/search?q=*&amp;amp;tag="&gt;codebug&lt;/a&gt; the other day, when I met the guys who created it, and had a quick lash with it this evening. I&amp;#39;ve got a personal project in mind that involves driving at least one servo (probably two), and I was curious as to whether the CodeBug could be the brains behind it.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;A little bit of jitter, but turns out it works pretty damn well! More than adequate for my project&amp;#39;s needs (more on that as it takes shape. Hint: pop culture fans will love it!). Sorted!&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span id="bb447200_5164_4a22_a135_1d773c81ebe0"&gt;&lt;span&gt;&lt;a href="https://players.brightcove.net/1362235890001/NkxiVJdjx_default/index.html?videoId=4495199023001"&gt;players.brightcove.net/.../index.html&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>New scroll method that allows checks during the scroll period</title><link>https://community.element14.com/thread/471?ContentTypeID=0</link><pubDate>Fri, 18 Sep 2015 13:20:12 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:82f3ecc5-8113-45da-ae68-ee82c64b1e47</guid><dc:creator>gregoryfenton</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/471?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/codebug/f/forum/471/new-scroll-method-that-allows-checks-during-the-scroll-period/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Hi all&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;The standard scrolling message system has a major flaw for real-time activities - once it starts scrolling nothing can be done with the badge until it finishes the scroll.&lt;/p&gt;&lt;p style="margin:0;"&gt;I have rewritten the scroll method so it can be interacted with every time it updates the display where the 100ms delay occurs.&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;a class="jive-link-external-small" href="http://www.codebug.co.uk/explore/codebug/793/" rel="nofollow ugc noopener" target="_blank"&gt;www.codebug.co.uk/explore/codebug/793/&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;Comments always welcomed&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Greg&lt;/p&gt;&lt;p style="margin:0;"&gt;Tagging &lt;a class="jive-link-profile-small jiveTT-hover-user" href="https://www.element14.com/community/people/codebug"&gt;codebug&lt;/a&gt; into the message&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>I want a CodeBug</title><link>https://community.element14.com/thread/461?ContentTypeID=0</link><pubDate>Wed, 16 Sep 2015 15:31:06 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:e09fc1cd-ab0c-4133-8dd4-e12374f5daa2</guid><dc:creator>bluescreen</dc:creator><slash:comments>35</slash:comments><comments>https://community.element14.com/thread/461?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/codebug/f/forum/461/i-want-a-codebug/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Not my finest post, but there it is: I wish I could get my hands on a CodeBug or two. &lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/16x16/__key/communityserver-discussions-components-files/134/contentimage_5F00_1.png"&gt;&lt;img alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/discussions/components/files/134/contentimage_1.png-16x16.png?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=CKchjf4RDlxYutB3ftQ%2FMq3GFcFABJOVdASqdeRmigI%3D&amp;amp;se=2026-04-15T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=zGEM7pHL10Vt71gae75OdA==" style="max-height: 16px;max-width: 16px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Sagar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>