top of page

Arduino: Comunicacions

  • jomvi00
  • 26 abr 2016
  • 1 Min. de lectura

Per a la comunicació entre dispositius existeixen diferents possibilitats que incorpora la placa, com són:

  • El port sèrie (que ja utilitzem habitualment a tots els programes per comunicar-nos amb el PC) en els pins 0 i 1. Per poder realitzar la comunicació via USB, el chip ATMega tradueix la comunicació sèrie a USB, de forma que pugui veure’s com un port COM virtual.

  • La connexió SPI (serial peripheral interface) és un estàndard de comunicacions per la transferència d’informació entre circuits integrats en equips electrònics, es fa servir per controlar molts dispositius.

  • La comunicació I2C és un estàndard de comunicacions molt usat a la indústria, principalment per comunicar microcontroladors i els seus perifèrics.

Aquestes tres formes ja les porta implementades arduino sense haver d’afegir cap element addicional.

Per altres tipus de comunicacions cap a internet o a mòbils (Ethernet, Wifi, Bluetooth,…), cal incorporar mòduls externs (excepte amb l’Arduino YUN que ja els porta incorporats).

En aquest enllaç podràs accedir a un tutorial.

Comments


M
V
  • LinkedIn - Black Circle
  • Twitter Square

Engineer & Technology teacher

Interested in Educational Research and all those teaching methods that help to increase student engagement and encourage active learning.

As a teacher, I strive to create an active, exciting learning community in which I am one of the learners. I may lead and facilitate while providing content and expertise, but I am, above all, a learner. My goal is to stimulate student interest in continuing to learn for a lifetime about the topics I teach.

S'ha enviat correctament!

© 2016 by jMv

bottom of page