idea-arduino

View the Project on GitHub id-studiolab/idea-arduino

Introduction to Programming with Arduino for Design Students

On this page you will find all the materials related to the online class. Components from the IDE Electronics Kit are necessary. The used components list is:

SESSIONS LIST

πŸ… 1. Introduction : why prototyping for designers?

Intro to the Arduino and Grove eco-systems, and their value for designers.

[VIDEO]

Installation steps:

  1. download and install the CP2102x USB driver*
  2. download and install the Arduino IDE software (v1.8.x, not v2.x or the web editor)
  3. configure the Arduino IDE software for using the Seeeduino Lotus board (not Seeduino Stalker). Start from step 2. In the boards manager select and install β€˜Seeeduino AVR’ package (not Stalker). NOTE: the Seeedstudio page has an error, this is the correct URL to add in preferences: https://raw.githubusercontent.com/Seeed-Studio/Seeed_Platform/master/package_legacy_seeeduino_boards_index.json

* This is for current Lotus v1.1 boards. For older v1.0 boards use the CH340 USB driver

Introduction to the Arduino IDE software and controlling the internal LED.

[VIDEO]

[CODE: Blink with functions]

Solution: [here]

πŸ… 3. My first interaction: button & led

Reading the digital button sensor input, if/else statement and serial monitor feedback.

[VIDEO]

[CODE: button and led]

Solution: [here]

πŸ… 4. Rainbow Warrior : Grove Chainable RGB Led

The Grove chainable RGB LED, FastLED library and switch/case statement.

[VIDEO]

[CODE: initializing the chainable RGB led]

[CODE: blink the chainable RGB led]

[CODE: blink 2 chainable RGB leds]

[CODE: switch/case]

Solution: [here]

πŸ… 5. Let’s do the twist : rotation sensor

Reading the analog rotation sensor input, scaling values with the map function, more serial monitoring.

[VIDEO]

[CODE: rotation sensor]

Solution: [here]

πŸ… 6. Talk to me baby : serial messaging

Formatting neat serial monitor messages.

[VIDEO]

[CODE: serial messaging]

πŸ… 7. My first robot : servo motor

Controlling the servo motor manually with a rotation sensor and automatically with the for loop. Plus a blocking problem.

[VIDEO]

[CODE: servo and rotation sensor]

[CODE: servo wiper with for loop]

πŸ… 8. Time is honey : millis() & proper timing

Non-blocking timing of events.

[VIDEO]

[CODE: non-blocking blink]

Solution #1: [here]

Solution #2: [here]

πŸ… 9. The game : Wipe-Out

[VIDEO]

[Acting Machine Diagram: RGB lamp]

[CODE: RGB lamp with acting machine]

[Acting Machine Diagram: Wipe-Out game]

[CODE: Wipe-Out template]

Solution: [here]

Dieter Vandoren & Aadjan van der Helm

DID YOU FIND ERRORS OR HAVE SUGGESTIONS ON HOW TO MAKE THIS VIDEO CLASS BETTER?

Please open an issue on the GitHub repository and help us improve the materials for the future students of this course.