<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.skullspace.ca/index.php?action=history&amp;feed=atom&amp;title=WorkshopRotaryEncoder</id>
	<title>WorkshopRotaryEncoder - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.skullspace.ca/index.php?action=history&amp;feed=atom&amp;title=WorkshopRotaryEncoder"/>
	<link rel="alternate" type="text/html" href="https://wiki.skullspace.ca/index.php?title=WorkshopRotaryEncoder&amp;action=history"/>
	<updated>2026-04-20T09:41:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.2</generator>
	<entry>
		<id>https://wiki.skullspace.ca/index.php?title=WorkshopRotaryEncoder&amp;diff=4642&amp;oldid=prev</id>
		<title>Takaji at 16:16, 4 October 2017</title>
		<link rel="alternate" type="text/html" href="https://wiki.skullspace.ca/index.php?title=WorkshopRotaryEncoder&amp;diff=4642&amp;oldid=prev"/>
		<updated>2017-10-04T16:16:50Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 16:16, 4 October 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Events]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In this workshop we will be using a rotary encoder to play with WS2812 red+green+blue digital LEDs which [https://www.adafruit.com/ AdaFruit] calls [https://www.adafruit.com/products/1426 NeoPixels]. We will be using an Arduino to read from the encoder and write to the LEDs. After you learn the basics you can make fancy rotational user input devices (volume knobs, light dimmers, etc). Most of the hard stuff is handled in software for us, so this will be more of an Arduino and programming workshop. It's just fun to interface bits to the physical world.  &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In this workshop we will be using a rotary encoder to play with WS2812 red+green+blue digital LEDs which [https://www.adafruit.com/ AdaFruit] calls [https://www.adafruit.com/products/1426 NeoPixels]. We will be using an Arduino to read from the encoder and write to the LEDs. After you learn the basics you can make fancy rotational user input devices (volume knobs, light dimmers, etc). Most of the hard stuff is handled in software for us, so this will be more of an Arduino and programming workshop. It's just fun to interface bits to the physical world.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Takaji</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.skullspace.ca/index.php?title=WorkshopRotaryEncoder&amp;diff=4363&amp;oldid=prev</id>
		<title>Benbergman: /* In-class work */</title>
		<link rel="alternate" type="text/html" href="https://wiki.skullspace.ca/index.php?title=WorkshopRotaryEncoder&amp;diff=4363&amp;oldid=prev"/>
		<updated>2016-04-11T03:39:56Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;In-class work&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 03:39, 11 April 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l27&quot; &gt;Line 27:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 27:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Because we're using only three NeoPixels, the Arduino and your computer's USB port can give us all the power we need. The only physical part of this workshop is hooking the inputs of the rotary encoder to the inputs of the Arduino, and the outputs of the Arduino to the inputs of the NeoPixels. You will see that the LEDs in the kits come with wires attached, and that the ribbon is labelled GND, DI, and +5v. Those need to be wired to the 5v, Gnd and &amp;quot;Digital 6&amp;quot; of the Arduino. The rotary encoder has 5 pins: 3 on one side, two on the other. Connect the center of the 3 pins to Gnd and the other two pins to &amp;quot;Analog In 0/1&amp;quot;. On the other side of the encoder, connect one pin to Gnd and the other to &amp;quot;Analog In 2&amp;quot;. That should give us the power and data we need to get onto the software part.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Because we're using only three NeoPixels, the Arduino and your computer's USB port can give us all the power we need. The only physical part of this workshop is hooking the inputs of the rotary encoder to the inputs of the Arduino, and the outputs of the Arduino to the inputs of the NeoPixels. You will see that the LEDs in the kits come with wires attached, and that the ribbon is labelled GND, DI, and +5v. Those need to be wired to the 5v, Gnd and &amp;quot;Digital 6&amp;quot; of the Arduino. The rotary encoder has 5 pins: 3 on one side, two on the other. Connect the center of the 3 pins to Gnd and the other two pins to &amp;quot;Analog In 0/1&amp;quot;. On the other side of the encoder, connect one pin to Gnd and the other to &amp;quot;Analog In 2&amp;quot;. That should give us the power and data we need to get onto the software part.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For the software, we've made [https://&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;raw.githubusercontent&lt;/del&gt;.com/skullspace/electronics_workshops/master/rotary_encoder/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;led_shows&lt;/del&gt;.ino a demo application] which uses the encoder to &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;switch &lt;/del&gt;between different &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;led animations&lt;/del&gt;. Start a new sketch in the Arduino IDE (see 'new' under 'file') and save it (see 'save' under 'file'). Then just paste [https://&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;raw.githubusercontent&lt;/del&gt;.com/skullspace/electronics_workshops/master/rotary_encoder/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;led_shows&lt;/del&gt;.ino this] text block in there and press the upload button (round button with a right arrow):&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For the software, we've made [https://&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;github&lt;/ins&gt;.com/skullspace/electronics_workshops&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;/blob&lt;/ins&gt;/master/rotary_encoder/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;colour_scroll&lt;/ins&gt;.ino a demo application] which uses the encoder to &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;fade &lt;/ins&gt;between different &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;LED colours&lt;/ins&gt;. Start a new sketch in the Arduino IDE (see 'new' under 'file') and save it (see 'save' under 'file'). Then just paste [https://&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;github&lt;/ins&gt;.com/skullspace/electronics_workshops&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;/blob&lt;/ins&gt;/master/rotary_encoder/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;colour_scroll&lt;/ins&gt;.ino this] text block in there and press the upload button (round button with a right arrow):&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This should light the three LEDs for you. If not, panic slightly and read on to the Troubleshooting section. If it did light up, congrats! You're now ready to make your own fun! Turn the rotary encoder knob or click the button to play a new animation.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This should light the three LEDs for you. If not, panic slightly and read on to the Troubleshooting section. If it did light up, congrats! You're now ready to make your own fun! Turn the rotary encoder knob or click the button to play a new animation.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[https://raw.githubusercontent.com/skullspace/electronics_workshops/master/rotary_encoder/led_shows.ino Here] is another example which uses the encoder to cycle through different LED animation using encoder rotations and button clicks.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Some interesting ideas:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Some interesting ideas:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Benbergman</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.skullspace.ca/index.php?title=WorkshopRotaryEncoder&amp;diff=4362&amp;oldid=prev</id>
		<title>Benbergman: Created page with &quot;In this workshop we will be using a rotary encoder to play with WS2812 red+green+blue digital LEDs which [https://www.adafruit.com/ AdaFruit] calls [https://www.adafruit.com/p...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.skullspace.ca/index.php?title=WorkshopRotaryEncoder&amp;diff=4362&amp;oldid=prev"/>
		<updated>2016-04-09T20:56:59Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;In this workshop we will be using a rotary encoder to play with WS2812 red+green+blue digital LEDs which [https://www.adafruit.com/ AdaFruit] calls [https://www.adafruit.com/p...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In this workshop we will be using a rotary encoder to play with WS2812 red+green+blue digital LEDs which [https://www.adafruit.com/ AdaFruit] calls [https://www.adafruit.com/products/1426 NeoPixels]. We will be using an Arduino to read from the encoder and write to the LEDs. After you learn the basics you can make fancy rotational user input devices (volume knobs, light dimmers, etc). Most of the hard stuff is handled in software for us, so this will be more of an Arduino and programming workshop. It's just fun to interface bits to the physical world. &lt;br /&gt;
&lt;br /&gt;
=== Required Supplies ===&lt;br /&gt;
&lt;br /&gt;
* Arduino-compatible micro controller board&lt;br /&gt;
* Laptop with the Arduino IDE installed ([https://www.arduino.cc/en/Guide/HomePage see this page for details])&lt;br /&gt;
* USB cable to connect the Laptop to the Arduino&lt;br /&gt;
* A good attitude :D&lt;br /&gt;
&lt;br /&gt;
=== Kit Contents ===&lt;br /&gt;
&lt;br /&gt;
* Three NeoPixels soldered to female headers&lt;br /&gt;
* One rotary encoder with integrated push button&lt;br /&gt;
* Male to male jumper wires to connect them to the Arduino&lt;br /&gt;
* One knock off, but awesome, Arduino Micro (Supplies limited)&lt;br /&gt;
&lt;br /&gt;
=== Pre-class Preparation ===&lt;br /&gt;
&lt;br /&gt;
Rotary encoders need to be monitored very carefully by your software in order to perform precise reads. To help us with this, we will be using an Arduino library that will use a timer to monitor the encoder for us. The library we are using can be found [https://github.com/0xPIT/encoder/tree/arduino here] which depends on a timer library found [http://playground.arduino.cc/Code/Timer1 here].&lt;br /&gt;
&lt;br /&gt;
These lights need very precise timing to talk to them making it tricky to program. Because of that, we're going to use an Arduino library from AdaFruit to do all the hard work for us. That way we can just spend time doing awesome things with them. Instructions on installing and using that library are found [https://learn.adafruit.com/adafruit-neopixel-uberguide/arduino-library here], so get that installed and if you like to be prepared give the rest of that page a read. It'll give you a huge leg up and an in-depth look at what we'll be doing in this workshop.&lt;br /&gt;
&lt;br /&gt;
If you're not familiar with basic circuits, that's okay. There is magic here, but it's not needed for the class. There is a [https://learn.sparkfun.com/tutorials/what-is-a-circuit great article] over at SparkFun that you can read if you're curious.&lt;br /&gt;
&lt;br /&gt;
=== In-class work ===&lt;br /&gt;
&lt;br /&gt;
Because we're using only three NeoPixels, the Arduino and your computer's USB port can give us all the power we need. The only physical part of this workshop is hooking the inputs of the rotary encoder to the inputs of the Arduino, and the outputs of the Arduino to the inputs of the NeoPixels. You will see that the LEDs in the kits come with wires attached, and that the ribbon is labelled GND, DI, and +5v. Those need to be wired to the 5v, Gnd and &amp;quot;Digital 6&amp;quot; of the Arduino. The rotary encoder has 5 pins: 3 on one side, two on the other. Connect the center of the 3 pins to Gnd and the other two pins to &amp;quot;Analog In 0/1&amp;quot;. On the other side of the encoder, connect one pin to Gnd and the other to &amp;quot;Analog In 2&amp;quot;. That should give us the power and data we need to get onto the software part.&lt;br /&gt;
&lt;br /&gt;
For the software, we've made [https://raw.githubusercontent.com/skullspace/electronics_workshops/master/rotary_encoder/led_shows.ino a demo application] which uses the encoder to switch between different led animations. Start a new sketch in the Arduino IDE (see 'new' under 'file') and save it (see 'save' under 'file'). Then just paste [https://raw.githubusercontent.com/skullspace/electronics_workshops/master/rotary_encoder/led_shows.ino this] text block in there and press the upload button (round button with a right arrow):&lt;br /&gt;
&lt;br /&gt;
This should light the three LEDs for you. If not, panic slightly and read on to the Troubleshooting section. If it did light up, congrats! You're now ready to make your own fun! Turn the rotary encoder knob or click the button to play a new animation.&lt;br /&gt;
&lt;br /&gt;
Some interesting ideas:&lt;br /&gt;
&lt;br /&gt;
# Light mixer - use the knob to change the colour of leds&lt;br /&gt;
# &amp;quot;Move&amp;quot; the light between the LEDs using the encoder&lt;br /&gt;
&lt;br /&gt;
The instructors should be able to help you figure out how to make any fun ideas work with these.&lt;br /&gt;
&lt;br /&gt;
=== Troubleshooting ===&lt;br /&gt;
&lt;br /&gt;
In all likelihood if something went wrong it was either the wires were not connected properly, or the code may have failed to upload.&lt;br /&gt;
&lt;br /&gt;
The Arduino itself also has a handy light on it so if that's not lit, plug it into another USB port and see if that helps. Check the three pins to make sure they're connected to A0, +5, and Gnd in the right order.&lt;br /&gt;
&lt;br /&gt;
If you see red text at the bottom of the Arduino IDE, it could be that the serial port wasn't picked properly. Try looking under the &amp;quot;Tools&amp;quot; then &amp;quot;Port&amp;quot; menu for a COM (Windows) or tty (Linux, Mac) port. You'll need the right one selected, and nowadays the Arudino is likely the only serial port on your system. Swap to different ports to see if the upload works.&lt;/div&gt;</summary>
		<author><name>Benbergman</name></author>
		
	</entry>
</feed>