1 / 18

Sommaire

Sommaire. Présentation du projet Schéma fonctionnel et structurel Commande d’un organe de puissance iButton Protocole 1-Wire Problèmes rencontrés Tests Conclusion. Présentation du projet. Objectifs: Lire un numéro d’identification d’un ibutton A fficher le numéro d’identification

mahon
Download Presentation

Sommaire

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Sommaire • Présentation du projet • Schéma fonctionnel et structurel • Commande d’un organe de puissance • iButton • Protocole 1-Wire • Problèmes rencontrés • Tests • Conclusion Malric Leyssene Plantin

  2. Présentation du projet • Objectifs: • Lire un numéro d’identification d’un ibutton • Afficher le numéro d’identification • Commander un organe de puissance Malric Leyssene Plantin

  3. Schéma fonctionnel et structurel • Schéma fonctionnel: FP2 : Alimenter le système FP1 : Traiter des données FP3 : Détectier numéro indentification FP4 : Communiquer entre l’homme et la machine FP5 : Commander organe de puissance FP6 : Reprogrammer Malric Leyssene Plantin

  4. Schéma structurel: FP2 : Régulateur de tension FP1 : Microcontrôleur Pic18f4550 FP3 : Lecteur de clé ibutton FP4 : Afficheur LCD FP5 : Triac optocouplé FP6 : Port USB et ICD2 Malric Leyssene Plantin

  5. Commande d’un organe de puissance Solution : Utilisation d’un Triac optocouplé Schéma CAO Malric Leyssene Plantin

  6. iButton Utilisation d’un ibutton DS1990A Schéma CAO Malric Leyssene Plantin

  7. Protocole 1-Wire • Schéma de principe: Malric Leyssene Plantin

  8. Protocole 1-Wire • Fonctionnement : • Détection d’un esclave • Envoi de la commande « Read Rom » • Lecture des 64 bits de données • Vérification de la transmission des données (CRC) Malric Leyssene Plantin

  9. Protocole 1-Wire Fonctionnement théorique Fonctionnement réel 488 µs 156 µs 32 µs Malric Leyssene Plantin

  10. Protocole 1-Wire • Envoi de la commande « Read Rom »: • 33 en hexadécimal • LSB en premier • Débit : 14 Kbits/sec Malric Leyssene Plantin

  11. Protocole 1-Wire • Réception des 64 bits • Après envoi de la commande. • Calcul du CRC Malric Leyssene Plantin

  12. Problèmes rencontrés • Timer 0 du pic • Problème de registre TMR0H et TMR0L • Problème de fréquence Malric Leyssene Plantin

  13. Problèmes rencontrés • Problème de mémoire pour le CRC: • Source probable : • Problèmes d’adressage des 256 valeur • RAM pleine Malric Leyssene Plantin

  14. Tests de fonctionnement Pour clé fausse: • Affichage • Triac non commandé (voie bleue état bas) Pour clé bonne: • Affichage • Triac commandé (voie bleue état haut) Malric Leyssene Plantin

  15. Conclusion • Projet pluridisciplinaire • Fonctionnement validé Malric Leyssene Plantin

  16. Bilan technique Malric Leyssene Plantin

  17. Bilan de l’équipe Malric Leyssene Plantin

More Related