arduino workflow - iowa state...

16
Arduino Workflow Computaon + Construcon Lab | College of Design, Iowa State University

Upload: others

Post on 17-Apr-2020

7 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Arduino Workflow - Iowa State Universityccl.design.iastate.edu/.../2016/09/Arduino-Workflow.pdfArduino Workflow Computation + Construction Lab | College of Design, Iowa State University

Arduino Workflow Computation + Construction Lab | College of Design, Iowa State University

Page 2: Arduino Workflow - Iowa State Universityccl.design.iastate.edu/.../2016/09/Arduino-Workflow.pdfArduino Workflow Computation + Construction Lab | College of Design, Iowa State University

Arduino- Introduction- Open-source electronic platform. - Uses simple programming language to input commands, like instructions to turn on a LED light and turn it to an output using simple hardware pluged in to the Arduino Board. - The examples in this document show how a few ways Arduino can be used in Architecture and Design.

Note: The content of this document has been acquired from Arduino.cc. For more information please visit https://www.arduino.cc/

Page 3: Arduino Workflow - Iowa State Universityccl.design.iastate.edu/.../2016/09/Arduino-Workflow.pdfArduino Workflow Computation + Construction Lab | College of Design, Iowa State University

Computer- For Input- Any form of computer will be needed to input the required script to the Arduino.

Arduino Board- To Process Input and Output- A range of Arduino Boards are available to perform the required activities. Note: Range of tasks will vary according to the capabilities of the Arduino Board.

Sensors- To Read Data or Ouput Data- A wide variety of Arduino microcontrollers and sensors are available to read input and output data.- Example: LED sensors (above).

Hardware

Page 4: Arduino Workflow - Iowa State Universityccl.design.iastate.edu/.../2016/09/Arduino-Workflow.pdfArduino Workflow Computation + Construction Lab | College of Design, Iowa State University

Arduino IDE- Programming Language- Input data and tell the Arduino what through easy-to-use code/ programming language and Arduino Development environment.

Software

Page 5: Arduino Workflow - Iowa State Universityccl.design.iastate.edu/.../2016/09/Arduino-Workflow.pdfArduino Workflow Computation + Construction Lab | College of Design, Iowa State University

Why Use Arduino?- Affordable - Arduino Boards are relatively more afforable than other microcontroller based platforms.

- Cross-Platform - Runs on Windows, Mac OS and Linux.

- Easy-to-use Software - Easy to learn for beginners, yet adaptable to advanced programmers.

- Open Source Software - Open source properties makes the Arduino IDE software easily extensible by experienced programmers through C++ libraries.

- Open Source Hardware - All Arduino boards are publised under Creative Commons license. Therefore any experienced circuit designer can make their own version of an Arduino module.

Page 6: Arduino Workflow - Iowa State Universityccl.design.iastate.edu/.../2016/09/Arduino-Workflow.pdfArduino Workflow Computation + Construction Lab | College of Design, Iowa State University

Arduino v. Rasberry Pi- Arduino- Microcontroller motherboard (simple computer). - Capable of doing simple tasks, like reading temperature, pH balance, LED fade, simple robot movements etc. - Can run only one program at a time, in a repetitive manner. - Easy to use.

- Rasberry Pi- General Computer with Linux operating system. - Capable of running more complex tasks like hard calculations, complex robotic movements etc. - Can run multiple commands or programs like a regular computer. - Relatively more difficult to use.

Ardunio

Rasberry Pi

Page 7: Arduino Workflow - Iowa State Universityccl.design.iastate.edu/.../2016/09/Arduino-Workflow.pdfArduino Workflow Computation + Construction Lab | College of Design, Iowa State University

Arduino Board- Board Layout- The board to the right shows a typical layout of an Arduino UNO board. - For more information on other Arduino Boards please visit: https://www.arduino.cc/en/Main/Products.

Digital I/O Pins (2-13)

Analog I/O Pins(0-5)

Power Pins3.3V Voltage Regulator

Tx/Rx LED Serial Out (Tx)Serial In (Rx)

Power LED

Reset Button

USB to

Computer

DC Power Jack7-12V

ATmega328P (Microcontroller)

GroundAnalog Reference Pin

Page 8: Arduino Workflow - Iowa State Universityccl.design.iastate.edu/.../2016/09/Arduino-Workflow.pdfArduino Workflow Computation + Construction Lab | College of Design, Iowa State University

Arduino IDE- Coding1. Verify: Compile and verify code.

2. Upload: Uploads code (sketch) to the board.

3. New: Opens new sketch window.

4. Open: Open previously saved sketch.

5. Save: Save current sketch.

6. Serial Monitor: Opens window to display serial information transmitted by board.

7. Code Area: Type code here.

8. Messages: Displays messages like Synatx Errors or any other errors with the code.

9. Text Console: Show complete error message

10. Board and Serial Port: Displays the name of the board currently connected to the computer and the port number.

To download the Arduino IDE software visit: https://www.arduino.cc/en/Main/Software

1 2 3 4 5

7

8

9

10

6

Page 9: Arduino Workflow - Iowa State Universityccl.design.iastate.edu/.../2016/09/Arduino-Workflow.pdfArduino Workflow Computation + Construction Lab | College of Design, Iowa State University

Arduino + Design- Examples- The following examples show how Arduino has been used in Architecture and other design related fields at Iowa State University and other designers and architects around the world.- The examples range from miniature robots to large scale pavilions and installations.

Page 10: Arduino Workflow - Iowa State Universityccl.design.iastate.edu/.../2016/09/Arduino-Workflow.pdfArduino Workflow Computation + Construction Lab | College of Design, Iowa State University

80|35 Pavilion- Fabricating Potentials Studio, Spring 2016, Iowa State University

Arduino was used in this project to program the RGB LED strips, embedded in each module of the pavilion. The programmed LEDs reacts to noises around the pavilion, giving the pavilion the vibrancy of the festival itself.

Image Credit: Fabricating Potential Studio, Shelby Doyle

Page 11: Arduino Workflow - Iowa State Universityccl.design.iastate.edu/.../2016/09/Arduino-Workflow.pdfArduino Workflow Computation + Construction Lab | College of Design, Iowa State University

3&Dbot- NEXT (three dimensional experimentation lab - PUC-rio)- LIFE (physical computing lab - PUC-rio)

Miniature 3D Printing Robot, capable of 3D printing freely in space. Embedded Arduino microcontrollers allows wireless communication for mechanical accuracy within the field of motion.

Image Credit: NEXT and LIFE labs - PUC-rio

Page 12: Arduino Workflow - Iowa State Universityccl.design.iastate.edu/.../2016/09/Arduino-Workflow.pdfArduino Workflow Computation + Construction Lab | College of Design, Iowa State University

Chasing Sunlight- Xiaolong Mu

Flower Pots embedded with light sensors and Arduino Microcontrollers, that allows the plants to move around for optimum lighting conditions.

Video: https://vimeo.com/113915779

Image Credit: inhabitat.com

Page 13: Arduino Workflow - Iowa State Universityccl.design.iastate.edu/.../2016/09/Arduino-Workflow.pdfArduino Workflow Computation + Construction Lab | College of Design, Iowa State University

Bio Circuit- Dana Ramler | Holly Schmidt

Wearable vest, reads heart rate and responds with corresponding audio feedback. Uses Arduino and heart rate monitor to read heart rate and play pre-recorded music or sound.

Image Credit: Dana Ramler

Page 14: Arduino Workflow - Iowa State Universityccl.design.iastate.edu/.../2016/09/Arduino-Workflow.pdfArduino Workflow Computation + Construction Lab | College of Design, Iowa State University

Hanging Liminality - James Ye-Won Lee | Jonathan Fernandes

Arduino microcontroller incorporated with Rhino + Grasshopper + Firefly to lower and raise weighted strings to create a dynamic installation.

Video: https://www.youtube.com/watch?v=tgz1gykuFow

Image Credit: Jonathan Fernandes

Page 15: Arduino Workflow - Iowa State Universityccl.design.iastate.edu/.../2016/09/Arduino-Workflow.pdfArduino Workflow Computation + Construction Lab | College of Design, Iowa State University

Wave is my Nature- Dmitry Morozov

Kinetic light installation that reacts to environment and produces autonomous sound and light installation

Video: https://vimeo.com/149500339

Image Credit: Dmitry Morozov

Page 16: Arduino Workflow - Iowa State Universityccl.design.iastate.edu/.../2016/09/Arduino-Workflow.pdfArduino Workflow Computation + Construction Lab | College of Design, Iowa State University

Swarmscrapers - California College of Arts

3D printing robot capable of traversing any lanscape and contructing structures out of any available material. Arduino was used to power the mechnical movements of the robot(s).

Image Credit: California College of Arts