Giter VIP home page Giter VIP logo

arduino-101-comotion-makerspace's Introduction

Arduino-101-CoMotion-Makerspace

CoMotion Makerspace Arduino 101 Workshop

The introduction Slide

Please go through the projects in the folder before going through other projects introduced below. The projects in the folder will give you an basic idea about Serial Monitor, Digital/Analog I/O, basic electronics, basic Arduino programming (For loop, Array, If-Condition.)

In each project, there is a project instruction guide and the Arduino code. Just download the whole file folder, open the Arduino .ino files and run the code to learn how Arduino works.

Arduino Tutorials Page

Here is the list of Tutorials Both in this repository and on Arduino website.

The ones with bold font means, we have it or similar ones in our repo, otherwise it will redirect to Arduino Tutorial Page.

1. Basics

  • Blink: Turn an LED on and off.
  • Analog Read Serial: Read a potentiometer, print its state out to the Arduino Serial Monitor.
  • Digital Read Serial: Read a switch, print the state out to the Arduino Serial Monitor.
  • Fade: Demonstrates the use of analog output to fade an LED.
  • Read Analog Voltage: Reads an analog input and prints the voltage to the Serial Monitor.

2. Digital

3. Analog

  • Analog In Out Serial: Read an analog input pin, map the result, and then use that data to dim or brighten an LED.
  • Analog Input: Use a potentiometer to control the blinking of an LED.
  • Analog Write: Fade 12 LEDs on and off, one by one, using an Arduino board.
  • Fading: Use an analog output (PWM pin) to fade an LED.
  • Smoothing: Smooth multiple readings of an analog input.

4. Communication

These examples include code that allows the Arduino to talk to Processing sketches running on the computer. For more information or to download Processing, see processing.org. There are also Max/MSP patches that can communicate with each Arduino sketch as well. For more on Max/MSP see Cycling 74.

  • ASCIITable: Demonstrates Arduino's advanced serial output functions.
  • Dimmer: Move the mouse to change the brightness of an LED.
  • Graph: Send data to the computer and graph it in Processing.
  • Midi: Send MIDI note messages serially.
  • Multi Serial Mega: Use two of the serial ports available on the Arduino Mega.
  • Physical Pixel: Turn a LED on and off by sending data to your Arduino from Processing or Max/MSP.
  • Read ASCII String: Parse a comma-separated string of integers to fade an LED.
  • Serial Call Response: Send multiple variables using a call-and-response (handshaking) method.
  • Serial Call Response ASCII: Send multiple variables using a call-and-response (handshaking) method, and ASCII-encode the values before sending.
  • Serial Event: Demonstrates the use of SerialEvent().
  • Serial Passthrough: Demonstrates how to virtually connect Serial and Serial1.
  • Virtual Color Mixer: Send multiple variables from Arduino to your computer and read them in Processing or Max/MSP.

5. Control Structures

  • Arrays: A variation on the For Loop example that demonstrates how to use an array.
  • For Loop Iteration: Control multiple LEDs with a for loop and.
  • If Statement Conditional: Use an ‘if statement’ to change the output conditions based on changing the input conditions.
  • Switch Case: How to choose between a discrete number of values.
  • While Statement Conditional: How to use a while loop to calibrate a sensor while a button is being read.

6. Sensors

7. Display

8. Strings

9. USB

The Keyboard and Mouse examples are unique to the Leonardo, Micro and Due. They demonstrate the use of libraries that are unique to the board.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.