Grasshopper

algorithmic modeling for Rhino

Arduino & I/O Boards
Audio
Networking
Utility
Vision

Due Read

Component Index > Firefly > Arduino & I/O Boards > Due Read

This component will read values to all corresponding digital
and analog pins on an Arduino Mega board. Use the Timer
component (Parameters/Special/Timer) to update the
sensor values in real-time. Note: This component is meant
to be used in tandem with the Firefly Firmata Arduino
Sketch which can be downloaded from the Firefly website
at: http://www.fireflyexperiments.com.

Inputs

NameIDDescriptionType
Start Reading ValuesStartInput an Boolean value (True/False) to start receiving values from the ArduinoBoolean
PortNumberPortThe 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
Analog Pin 0APin0Incoming sensor value from Analog In Pin 0Integer
Analog Pin 1APin1Incoming sensor value from Analog In Pin 1Integer
Analog Pin 2APin2Incoming sensor value from Analog In Pin 2Integer
Analog Pin 3APin3Incoming sensor value from Analog In Pin 3Integer
Analog Pin 4APin4Incoming sensor value from Analog In Pin 4Integer
Analog Pin 5APin5Incoming sensor value from Analog In Pin 5Integer
Analog Pin 6APin6Incoming sensor value from Analog In Pin 6Integer
Analog Pin 7APin7Incoming sensor value from Analog In Pin 7Integer
Analog Pin 8APin8Incoming sensor value from Analog In Pin 8Integer
Analog Pin 9APin9Incoming sensor value from Analog In Pin 9Integer
Analog Pin 10APin10Incoming sensor value from Analog In Pin 10Integer
Analog Pin 11APin11Incoming sensor value from Analog In Pin 11Integer
Digital Pin 22DPin22Incoming sensor value from Digital In Pin 22Integer
Digital Pin 23DPin23Incoming sensor value from Digital In Pin 23Integer
Digital Pin 24DPin24Incoming sensor value from Digital In Pin 24Integer
Digital Pin 25DPin25Incoming sensor value from Digital In Pin 25Integer
Digital Pin 26DPin26Incoming sensor value from Digital In Pin 26Integer
Digital Pin 27DPin27Incoming sensor value from Digital In Pin 27Integer
Digital Pin 28DPin28Incoming sensor value from Digital In Pin 28Integer
Digital Pin 29DPin29Incoming sensor value from Digital In Pin 29Integer
Digital Pin 30DPin30Incoming sensor value from Digital In Pin 30Integer
Digital Pin 31DPin31Incoming sensor value from Digital In Pin 31Integer
Status MessageMsgCurrent status of Serial PortString

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

Badges  |  Report an Issue  |  Terms of Service