Arduino Workflow Computation + Construction Lab | College of Design, Iowa State University Arduino
Total Page:16
File Type:pdf, Size:1020Kb
Arduino 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/ Hardware Computer Arduino Board Sensors - For Input - To Process Input and Output - To Read Data or Ouput Data - Any form of computer will be needed to input - A range of Arduino Boards are available to - A wide variety of Arduino microcontrollers the required script to the Arduino. perform the required activities. and sensors are available to read input and Note: Range of tasks will vary according to the output data. capabilities of the Arduino Board. - Example: LED sensors (above). Software Arduino IDE - Programming Language - Input data and tell the Arduino what through easy-to-use code/ programming language and Arduino Development environment. 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. 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. Ardunio - Can run multiple commands or programs like a regular computer. - Relatively more difficult to use. Rasberry Pi Arduino Board - Board Layout - The board to the right shows a typical layout of an Arduino UNO board. USB Ground - For more information on other Arduino to Analog Reference Pin Boards please visit: https://www.arduino.cc/ Computer Reset Button Tx/Rx LED Digital I/O Pins (2-13) Serial Out (Tx) Serial In (Rx) en/Main/Products. Power LED DC Power Jack 3.3V Voltage Regulator Power Pins Analog I/O Pins 7-12V (0-5) ATmega328P (Microcontroller) Arduino IDE - Coding 1 2 3 4 5 6 1. 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. 7 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 8 computer and the port number. To download the Arduino IDE software visit: 9 https://www.arduino.cc/en/Main/Software 10 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. 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 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 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 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 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 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 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.