| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente |
| projets:cmdcentrale [2020/11/08 15:32] – chef | projets:cmdcentrale [2025/12/10 17:02] (Version actuelle) – chef |
|---|
| ====== Commande centrale ====== | ====== Commande centrale ====== |
| | - [[projets:cmdcentrale#Matos]] |
| | - [[projets:cmdcentrale#Description]] |
| | - [[projets:cmdcentrale#Plan de route]] |
| | - [[projets:cmdcentrale#Schémas]] |
| | - [[projets:cmdcentrale#Programme]] |
| | |
| | |
| Le but de cette réalisation est d'avoir une commande centrale pour effectuer des actions diverses.\\ | Le but de cette réalisation est d'avoir une commande centrale pour effectuer des actions diverses.\\ |
| Ca évite d'avoir son smartphone ou d'aller sur le site web de la centrale domotique. | Ca évite d'avoir son smartphone ou d'aller sur le site web de la centrale domotique. |
| Serial 2s 17 (RX) and 16 (TX); | Serial 2s 17 (RX) and 16 (TX); |
| Serial 3s 15 (RX) and 14 (TX). | Serial 3s 15 (RX) and 14 (TX). |
| Used to receive (RX) and transmit (TX) TTL serial data. Pins 0 and 1 are also connected to the corresponding pins of the ATmega16U2 USB-to-TTL Serial chip. | Used to receive (RX) and transmit (TX) TTL serial data. |
| | Pins 0 and 1 are also connected to the corresponding pins of the ATmega16U2 USB-to-TTL Serial chip. |
| | |
| External Interrupts: | External Interrupts: |
| 19 (interrupt 4), | 19 (interrupt 4), |
| 20 (interrupt 3), | 20 (interrupt 3), |
| and 21 (interrupt 2). | 21 (interrupt 2). |
| These pins can be configured to trigger an interrupt on a low level, a rising or falling edge, or a change in level. | These pins can be configured to trigger an interrupt on a low level, a rising or falling edge, or a change in level. |
| See the attachInterrupt() function for details. | See the attachInterrupt() function for details. |