Grasshopper

algorithmic modeling for Rhino

Arduino & I/O Boards
Audio
Networking
Utility
Vision

Uno Write

Component Index > Firefly > Arduino & I/O Boards > Uno Write

This component will write values to all corresponding digital
pins on an Arduino Uno board. This component will also
work on older boards like Arduino Duemilanove, Diecimilla,
or Lillypad board. Note: This component is meant to be
used in tandem with the Firefly Uno Arduino Sketch which
can be downloaded from the Firefly website at:
http://www.fireflyexperiments.com.

Inputs

NameIDDescriptionType
Start Writing ValuesStartInput an Boolean value (True/False) to start writing values to the ArduinoBoolean
Digital Pin 13DPin13Integer to write to Digital Pin 13. Right-click on the input to set the input status (Digital or Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 12DPin12Integer to write to Digital Pin 12. Right-click on the input to set the input status (Digital or Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 11~DPin11~Integer to write to Digital Pin 11. Right-click on the input to set the input status (Digital, PWM, Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the PWM status is set then any value between 0-255 can be used to analogWrite to the specified pin. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 10~DPin10~Integer to write to Digital Pin 10. Right-click on the input to set the input status (Digital or Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 9~DPin9~Integer to write to Digital Pin 9. Right-click on the input to set the input status (Digital or Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 8DPin8Integer to write to Digital Pin 8. Right-click on the input to set the input status (Digital or Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 6~DPin6~Integer to write to Digital Pin 6. Right-click on the input to set the input status (Digital, PWM, Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the PWM status is set then any value between 0-255 can be used to analogWrite to the specified pin. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 5~DPin5~Integer to write to Digital Pin 5. Right-click on the input to set the input status (Digital, PWM, Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the PWM status is set then any value between 0-255 can be used to analogWrite to the specified pin. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 3~DPin3~Integer to write to Digital Pin 3. Right-click on the input to set the input status (Digital, PWM, Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the PWM status is set then any value between 0-255 can be used to analogWrite to the specified pin. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Port NumberPortThe Port Number has to be the same Serial Port assigned in the Arduino Sketch. You can find which COM port you are using by clicking on the Tools>Serial Port button on the Arduino IDE.Integer

Outputs

NameIDDescriptionType
Arduino OutputOutReturns the string that will be sent to the Arduino board. The Arduino sketch that accompanies this component will split this string up and send the values to the appropriate pins.String
Status MessageMsgCurrent status of Serial PortString

© 2018   Created by Robin Rodricks and Andrew Heumann.   Hosted by

Badges  |  Report an Issue  |  Terms of Service