Using built-in example code and Reading the hookup diagram

1. Upload example code

Open a built-in example, Blink, and upload the code.

2. Blinking Orange LED

The orange LED labelled as L should be blinking now. blinkingLED.png

3. Understanding the Code
4. Getting ready for the circuit

We will use jumper wire with one pin end and one socket end (male to female) to make the connections.

5. Reading the hookup diagram

Whenever you see a diagram like this, it's very tempting to count first goes there, second goes there, Don't do this! Instead, read the labels next to each pin and make the connections based on the pin labels.

For example, now you should have a neopixel stick with you, read the pin label on the back of the stick and the labels on the Arduino board, and try to match the labels.

Next, you will follow some tutorials about installing libraries, finishing learning how to use Neopixel and using the Ultrasonic Distance sensor. After finishing all the tutorials, please come back to the final bit.

  1. Installing libraries
  2. Using Neopixel
  3. Using Ultrasonic distance sensor

Revision #4
Created 7 April 2025 09:49:31 by Joanne Leung
Updated 7 April 2025 11:28:01 by Joanne Leung