Diferència entre revisions de la pàgina «Fent servir protocols de comunicacions a la placa S4A basada en Arduino Nano»
De Wiki d'en Jordi Binefa
(Es crea la pàgina amb « = RFID - MFR522 = [https://github.com/jordibinefa/arduino-IDE-libraries/tree/master/MFRC522/examples/ReadNUID ReadNUID] [https://github.com/jordibinefa/arduino-IDE-l...».) |
m (→ModBUS) |
||
(Hi ha 4 revisions intermèdies del mateix usuari que no es mostren) | |||
Línia 1: | Línia 1: | ||
+ | = Introducció = | ||
+ | [https://wiki.binefa.cat/index.php?title=%C3%8Dndex_general#S4A_Programming_Learning_Board Informació general i enllaços sobre la placa S4A] | ||
− | = RFID - MFR522 = | + | = UART = |
+ | [https://github.com/jordibinefa/arduino-IDE-codes/tree/master/s4a_softwareSerial s4a_softwareSerial] | ||
+ | |||
+ | = I2C = | ||
+ | [https://github.com/jordibinefa/arduino-IDE-codes/blob/master/s4a_i2c_scanner/s4a_i2c_scanner.ino s4a_i2c_scanner] | ||
+ | |||
+ | == Expansor digital d'entrades i/o sortides PCF8574 == | ||
+ | [https://github.com/jordibinefa/arduino-IDE-libraries/tree/master/PCF8574/examples Exemples d'ús] | ||
+ | |||
+ | == OLED == | ||
+ | [https://github.com/jordibinefa/arduino-IDE-codes/blob/master/s4a_pwm_01/s4a_pwm_01.ino s4a_pwm_01] | ||
+ | |||
+ | = SPI = | ||
+ | == RFID - MFR522 == | ||
[https://github.com/jordibinefa/arduino-IDE-libraries/tree/master/MFRC522/examples/ReadNUID ReadNUID] | [https://github.com/jordibinefa/arduino-IDE-libraries/tree/master/MFRC522/examples/ReadNUID ReadNUID] | ||
[https://github.com/jordibinefa/arduino-IDE-libraries/blob/master/MFRC522/doc/fritzing/Arduino-Uno-r3-with-RFID-RC522.png Diagrama de connexions] | [https://github.com/jordibinefa/arduino-IDE-libraries/blob/master/MFRC522/doc/fritzing/Arduino-Uno-r3-with-RFID-RC522.png Diagrama de connexions] | ||
+ | |||
+ | == Between Two Arduino == | ||
+ | [https://binefa.cat/blog/?p=282 SPI – Sample of master and slave using two Arduino] | ||
+ | |||
+ | = ModBUS = | ||
+ | [https://github.com/jordibinefa/arduino-IDE-codes/blob/master/s4a_modbusRTU_rs485_01/s4a_modbusRTU_rs485_01.ino s4a_modbusRTU_rs485_01] |
Revisió de 11:47, 8 abr 2019
Contingut
Introducció
Informació general i enllaços sobre la placa S4A
UART
I2C
Expansor digital d'entrades i/o sortides PCF8574
OLED
SPI
RFID - MFR522
Between Two Arduino
SPI – Sample of master and slave using two Arduino