If we have time, more lessons!
You can connect all kinds of electronic parts to your Grove Beginner Kit for Arduino!
Here are some suggested additional materials you can use.
Solderless breadboard (400 connections)
There are many low-cost Arduino kits available on the market with lots of parts. Search for "Arduino Kit" on Amazon or eBay.
Complete: RGB LEDs
You have "common anode" RGB LEDs in your kit, so be sure to follow the
Common Anode instructions.
Be careful to plug the LED into the breadboard in the correct direction,
observing which is the longest lead.
Instead of using pins 3, 5, 6 for the LEDS, use pins 9,10,11.
(because the Grove Beginner Kit is using pins 3, 5, 6 for other modules.)
Copy the sketch from the bottom of the RGB LEDs page.
Change the pin assignments to match the pins you are using:
const int RGB_RED_LED_PIN = 6; // indicated by orange wireconst int RGB_GREEN_LED_PIN = 5; // indicated by green wireconst int RGB_BLUE_LED_PIN = 3; // indicated by blue wire
const int RGB_GREEN_LED_PIN = 11; // indicated by green wire
const int RGB_BLUE_LED_PIN = 10; // indicated by blue wire
const int RGB_RED_LED_PIN = 9; // indicated by orange wire
In the Coding for both Common Cathode and Anode section, be sure to change this line
const boolean IS_COMMON_ANODE = false;
const boolean IS_COMMON_ANODE = true;
Run the example sketch. Is it working as expected? If not, check your wiring carefully.
Modify the sketch to make a project of your own design.
Consider using one or more of the module in your kit (rotary potentiometer, button, sound, light, temperature & humidity, acceleration modules) as inputs to control the colors/blinking of the RGB LED.
You can also do Lesson 6: Crossfading RGB LEDs
Complete: Circuit 3A: Servo Motors
Ignore the "Affix the Servo" section
Use the rotary potentiometer that is on your Grove Beginner kit.
(Note that it connected to pin A0, same as the Sparkfun experiment.)
The wire colors on your SG90 servo might have different colors. Use this diagram to see the orientation of the wires.
Connect the PWM wire to pin 9 on your Arduino UNO. (right click, open in new window to see this image larger)
After you've got it working, consider the Coding Challenges and change the Arduino sketch to do something else:
Reverse the direction
Try making the servo move in the opposite direction to the potentiometer.
Change the range
Try altering the map function so that moving the potentiometer a lot only moves the servo a little.
Swap in a different sensor
Try swapping a light sensor in for the potentiometer. You have just made a dial that reads how much light is present!
Micro servo motors are used in radio-controlled model airplanes. Example videos:
How To Make Simple RC Airplane For Simple Radio Control. DIY RC Aiplane & Arduino RC
How To Make RC Twin Ducted Fan Airplane. DIY A10 Thunderbolt-like RC Plane
"Circuit Check is a hardware debugger designed for testing to see if your hardware components are working properly."
Here's an instructable: Circuit Check - Grove Beginner Kit
"Circuit Check is a part of the Debugging by Design project which is supported by the National Science Foundation under Award #1742081. The Debugging by Design project was developed in the Craft Tech Lab at The University of Colorado, Boulder. "