Globalcode – Open4education
ARDUINO, WEARABLES E MAKERS
Protocolo Firmata
Controle o Arduino com sua linguagem favorita
Marco Diniz
DB1 Global Software
Bacharel em Ciência da Computação - MCP
Globalcode – Open4education
O FIRMATA
“Firmata é um protocolo para comunicação com microcontroladores à
partir de um software em um computador”
Expõe o controle do microcontrolador semelhante à uma API
• processing
• [https://github.com/firmata/processing]
• [http://funnel.cc]
• python
• [https://github.com/firmata/pyduino]
• [https://github.com/lupeke/python-firmata]
• perl
• [https://github.com/ntruchsess/perl-firmata]
• [https://github.com/rcaputo/rx-firmata]
• ruby
• [https://github.com/hardbap/firmata]
• [http://funnel.cc]
• clojure
• [https://github.com/nakkaya/clodiuno]
• [https://github.com/peterschwarz/clj-firmata]
• javascript
• [http://breakoutjs.com]
• [https://github.com/rwldrn/johnny-five]
• java
• [https://github.com/4ntoine/Firmata]
• [https://github.com/kurbatov/firmata4j]
• NET
• [https://github.com/SolidSoils/Arduino]
• [http://www.imagitronics.org/projects/firmatanet/]
• Flash/AS3
• [http://funnel.cc]
• [http://code.google.com/p/as3glue/]
• PHP
• [https://bitbucket.org/ThomasWeinert/carica-firmata]
• [https://github.com/oasynnoum/phpmake_firmata]
• Haskell
• [http://hackage.haskell.org/package/hArduino]
• iOS
• [https://github.com/jacobrosenthal/iosfirmata]
• Dart
• [https://github.com/nfrancois/firmata]
• Max/MSP
• [http://www.maxuino.org/]
• Elixir
• [https://github.com/kfatehi/firmata]
• Modelica
• [https://www.wolfram.com/system-modeler/libraries/model-
plug/]
Globalcode – Open4education
Como Funciona
FIRMATA
host
FIRMATA
client
Globalcode – Open4education
VANTAGENS
1 “core” 16MHz => GHz+
32KB / 2KB => GB+
C++ => Sua linguagem!
Update individual => unificado
DESVANTAGENS
Dependência de outro device
Confiabilidade
Latência
Globalcode – Open4education
TINBOT
Globalcode – Open4education
SHOW ME THE CODE
Globalcode – Open4education
OBRIGADO!
marco.diniz@db1.com.br
github.com/marcodiniz
linkedin.com/in/dinizmarco
facebook.com/marco.diniz.g.gomes
youtube.com/c/marcodinizchannel

TDC2016SP - Protocolo Firmata - controle o Arduino com sua linguagem favorita

  • 1.
    Globalcode – Open4education ARDUINO,WEARABLES E MAKERS Protocolo Firmata Controle o Arduino com sua linguagem favorita Marco Diniz DB1 Global Software Bacharel em Ciência da Computação - MCP
  • 2.
    Globalcode – Open4education OFIRMATA “Firmata é um protocolo para comunicação com microcontroladores à partir de um software em um computador” Expõe o controle do microcontrolador semelhante à uma API • processing • [https://github.com/firmata/processing] • [http://funnel.cc] • python • [https://github.com/firmata/pyduino] • [https://github.com/lupeke/python-firmata] • perl • [https://github.com/ntruchsess/perl-firmata] • [https://github.com/rcaputo/rx-firmata] • ruby • [https://github.com/hardbap/firmata] • [http://funnel.cc] • clojure • [https://github.com/nakkaya/clodiuno] • [https://github.com/peterschwarz/clj-firmata] • javascript • [http://breakoutjs.com] • [https://github.com/rwldrn/johnny-five] • java • [https://github.com/4ntoine/Firmata] • [https://github.com/kurbatov/firmata4j] • NET • [https://github.com/SolidSoils/Arduino] • [http://www.imagitronics.org/projects/firmatanet/] • Flash/AS3 • [http://funnel.cc] • [http://code.google.com/p/as3glue/] • PHP • [https://bitbucket.org/ThomasWeinert/carica-firmata] • [https://github.com/oasynnoum/phpmake_firmata] • Haskell • [http://hackage.haskell.org/package/hArduino] • iOS • [https://github.com/jacobrosenthal/iosfirmata] • Dart • [https://github.com/nfrancois/firmata] • Max/MSP • [http://www.maxuino.org/] • Elixir • [https://github.com/kfatehi/firmata] • Modelica • [https://www.wolfram.com/system-modeler/libraries/model- plug/]
  • 3.
    Globalcode – Open4education ComoFunciona FIRMATA host FIRMATA client
  • 4.
    Globalcode – Open4education VANTAGENS 1“core” 16MHz => GHz+ 32KB / 2KB => GB+ C++ => Sua linguagem! Update individual => unificado DESVANTAGENS Dependência de outro device Confiabilidade Latência
  • 5.
  • 6.
  • 7.