Différences entre versions de « Trinket-Alarme-EncorePlus »

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche
(Page créée avec « {{Trinket-Alarme-NAV}} {{bloc-etroit|text=This tutorial provides many different possibilities in building an alarm system. It is intended for you to configure the project to... »)
 
Ligne 5 : Ligne 5 :
 
== Annonceurs originaux ==
 
== Annonceurs originaux ==
 
=== Internet ===
 
=== Internet ===
{{bloc-etroit|text=The Trinket cannot talk to the Internet directly, there are not enough pins and program memory. You can use the Trinket to communicate with another microcontroller or computer to provide Internet communications. For example, a croquis [http://processing.org/ Processing] on a computer running Windows/MacOS/Linux could read the alarm state via Bluetooth serial and communicate out to the Internet. There are also many programs demonstrating an Arduino Uno with Ethernet Shield talking to the Internet. A simple Uno sketch to get the Trinket alarm state via a Bluetooth (say an Adafruit Bluefruit EZ-Link shield) receiver and send it to a web page, or service such as xively.com or IFTTT.com via an Ethernet Shield.}}
+
{{bloc-etroit|text=Un Trinket ne peut pas communiquer directement sur Internet. Il n'y a pas assez de broches, ni assez de mémoire. Vous pouvez utiliser le Trinket pour communiquer avec un autre icrocontroleur ou un ordinateur de façon à pouvoir disposer d'une connexion vers le Net. Par exemple, un croquis [http://processing.org/ Processing] sur un ordinateur Windows/MacOS/Linux pourrait lire l'état de l'alarme via la connexion série Bluetooth et le communiquer vers le Net. Il existe également de nombreux exemples sur le Internet montrant comment utiliser un Arduino Uno avec un Ethernet Shield pour accéder au Net. Un simple croquis/sketch Arduino peut recevoir l'état d'alarme depuis le Trinket Bluetooth (en utilisant un shield Adafruit Bluefruit EZ-Link pour Arduino) puis en l'envoyant vers une page Internet ou un service tel que xively.com ou IFTTT.com à l'aide d'un shield Ethernet.}}
  
 
=== Faisant du bruit ===
 
=== Faisant du bruit ===

Version du 30 mai 2014 à 13:27


MCHobby investit du temps et de l'argent dans la réalisation de traduction et/ou documentation. C'est un travail long et fastidieux réalisé dans l'esprit Open-Source... donc gratuit et librement accessible.
SI vous aimez nos traductions et documentations ALORS aidez nous à en produire plus en achetant vos produits chez MCHobby.

This tutorial provides many different possibilities in building an alarm system. It is intended for you to configure the project to your own needs.

Annonceurs originaux

Internet

Un Trinket ne peut pas communiquer directement sur Internet. Il n'y a pas assez de broches, ni assez de mémoire. Vous pouvez utiliser le Trinket pour communiquer avec un autre icrocontroleur ou un ordinateur de façon à pouvoir disposer d'une connexion vers le Net. Par exemple, un croquis Processing sur un ordinateur Windows/MacOS/Linux pourrait lire l'état de l'alarme via la connexion série Bluetooth et le communiquer vers le Net. Il existe également de nombreux exemples sur le Internet montrant comment utiliser un Arduino Uno avec un Ethernet Shield pour accéder au Net. Un simple croquis/sketch Arduino peut recevoir l'état d'alarme depuis le Trinket Bluetooth (en utilisant un shield Adafruit Bluefruit EZ-Link pour Arduino) puis en l'envoyant vers une page Internet ou un service tel que xively.com ou IFTTT.com à l'aide d'un shield Ethernet.

Faisant du bruit

A Piezo buzzer will alert you to an alarm. A loudspeaker would jar you out of bed. Note, if you do use sound, you will want some type of cutoff switch to mute the sound when you do not want it. Or you can modify the code to read from a serial connection and toggle a variable which allows / disallows the sound to be made. If you use a high current horn, connect to the Trinket pin via a transistor to switch a relay to control the horn line. If you connect high voltage or current directly to the Trinket pin it will destroy the Trinket.

If you prefer not to use a Bluetooth connection, you can consider a hardwired connection to the monitor room. This could be in one of several forms - TTL serial direct from Pin 0 as configured. Or you could have a piezo speaker in the home to alert you like a smoke detector. Even a flashing light (preferable for those hearing impaired) via a PowerTail switch. Once you understand the basics, modifying to suit your own needs is relatively straightforward.

Modèle:Trinket-Alarme-TRAILLER