Skip to content

GNSPhenomena/Meeting_3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 

Repository files navigation

Meeting_3

1. Introduction to Arduino 3

  • Developing knowledge in Arduino

2. Project to Do

  • RGB LED Project
    • Build a circuit with RGB LED
    • Present the S.O.S Distress Signal by using loops
    • Present a RGB spectrum

3. Goals

  • Review how to define a variable
  • Learn the concept of RGB
  • Learn the construction of a RGB LED
  • Learn to write functions in Arduino
    • Different types of function
    • Create a function
  • Learn about loops in Arduino
    • for-loop
    • while-loop
    • do-while-loop
  • Try digital RGB LED combinations and use loops to present the S.O.S Distress Signal
  • Learn about analog I/O (The principle is related to PWM, which we will not be covered in this meeting but it will be coverd in future meetings)
    • Try different analog RGB LED combinations
    • Create a function to optimize the code
  • Learn to write codes to present a RGB spectrum
    • Hint: Use loops

4. Other Ways to Present a RGB spectrum (Advanced: Open Up Your Mind)

  • Is there other way to present a RGB spectrum?
  • Checkout RGBLed series 6 and 7, and see if you can understand the logic behind. Please Feel free to discuss them with your friends
    • RGBLed 6.0, 6.1, and 6.2 demonstrate another way to present a RGB spectrum by passing RGB values to a function
    • RGBLed 7.0, 7.1, 7.2, and 7.3 demonstrate another way to present a RGB spectrum by changing the output pins to a function
  • Try to think about the following questions after you understand the logic behind the RGBLed series 6 and 7
    • Can you understand the differenes between these two? (Please make references to the statements above)
    • What are the differences between these two and the other one? Which one do you like the best?
  • Let me know if you have any thought

Releases

No releases published

Packages

No packages published