´

Interface and application programming


Materials, tools and software

Arduino(Tools)
Led (Materials)
Potentiometer (Materials)
Switch (Materials)
Protoboard (Materials)
Arduino(Software)
Rhino + Grasshopper + Firefly(Software)


Introduction

In this assignment,use the software like the way for the communication between the interactions "Hardware – User".





Rhino + Grasshopper + frirefly

For make the interaction, I use Arduino + Firefly
Firefly is a toll to Grasshopper and this is a complement of Rhinoceros. In Firefly is a graphic environment with you can connect and programing the adruino board.






Install Frirefly

For install, this tool can you view in the web site or in the link of the link in the final of the page .and to add you can check two files of description for install and introduce to firefly For use, the software you need have basic knowledge of Grasshopper in the next link can view tutorials for introduce in Grasshopper.

Firefly Web

Grasshopper Basic



Introduce Arduino + Firefly

To connect Arduino to Firefly do you need this programming to load in the Arduino board. When I download, this one had the following error.
This code use to communicate between Arduino and Firefly.



Code repair:

You can download the code on this link:

DOWNLOAD FILES




Programing

Use these tools to make different process to complete the programing
First, select the tool of valid port “Ports available” + “Panel” tool you check your information and them you select “Open port” and add the values of the ports, in the open you connect “Boolean toggle” change “true” or “false” to connect or disconnect the serial port next in port you connect the “Panel” of the last communication and the “Baud” check the number of connection in the code.






DOWNLOAD FILES

Week16.rar



Write an application that interfaces with an input and/or output device that you made, comparing as many tool options as possible.

Application Design

Networking and communication - Interface and application programming

This application can control the vibration motors using a slider from zero to one hundred, this slider change the voltage value to increase or decrease the intensity of vibration.
To make this application, I using App Inventor in a process I make the communication of the smartphone with the board designed by a bluethooth module.




DOWLOAD App

Programing

Learning outcomes

Interpret and implement design and programming protocols to create a Graphic User Interface (GUI).

To pratice this assignment, I make:
first, Rhino + Grasshopper + frirefly
Second, Design an APP to vibration motors control