Arduino (Bronze)

Field & Cluster
Design, Production & Repair Engineering Manufacturing
Equipment/Materials Needed

Arduino
Breadboard
Leads
LED
RGB
Resistors


bronze
Description

Congratulations! You have mastered the basic skills of electronic design and Arduino coding. Now its time to move to the advanced stages of implementing Arduino into more complex projects. We'll start with "strings" and inviting a third party to use the Arduino. The third-party may not understand coding or Arduinos therefore, it's our responsibility to create a user-friendly environment.

Badge Completion Requirements

Using Strings

In order to master Arduino, it becomes increasingly important to develop the ability to combine skills. In this lesson, we will combine "if" statements and "strings" allowing a third party that doesn't know to code the ability to interact with the Arduino.

Gather components and follow along.

 

Prompt 

Design, develop, and code a system that can be utilized to gather information from a new student entering your school. Make sure to collect the following information: 

Name

Age

Grade

Amount of Math credits

Amount of Science credits

Amount of English credits

Amount of History credits

Amount of Government credits

The school they last attended: Name, Address, and State

Parent or guardian 

     Name

     Address

     Phone

     e-mail 

Please develop and submit a presentation demonstrating your understanding and skill using Arduino. Please include the above "prompts" in your presentation

 

RGB (Red, Green, Blue LED)

RGB LED’s can be used to create not only the primary colors but also all mixtures of the primary colors. This video shows you how to connect up a Common Cathode RGB LED. This project is a little more complex than the ones we have done in the past, so I include the code down below. 

This becomes is used more in advanced coding and sensor adaptations in identifying colors 

 

Please gather components and follow along with the lesson. Please don't just copy the code, try to develop the code yourself. This is good practice with "if" statements.

 

Now that you have an understanding of using the RGBs, we'll begin to mix the colors to based on input from the user. In this lesson, we look at mixing colors and getting a wide array of colors from the LED by mixing the R, G, and B channels. As examples, we use RGB mixing to create Cyan, Magenta, and Yellow.

 

As the coding becomes more complex I've added the code below to help, if needed

code
additional code

Prompts

Please design, develop and code the RGB to show the primary colors 

Please design, develop and code the RGB to show the following colors;

Orange

Aqua

Brown

Violet 

Yellow

Please develop and submit a presentation demonstrating your skill and understanding of using RGB to determine the color. Please include the above "prompts" in your presentation