Vous êtes sur la page 1sur 4

1

simulate rfid based on so for this open component library

search for honor select this one and paste it

now again open component library and search for servo motor

and select one with three terminals input

place it

now open virtual terminal mode and select virtual terminal

now we need power supplies

go to terminal mode and select power place it here

connect it on power pin of servo motor

place ground

connect pin number 9 to pwm pin of servo motor

now connect transmit pin of virtual terminal to receive pin of arduino

now our simulation is ready set the position of servo to 0 to 180

click on ok button

now open arduino software

you can find source code in the description of this video

click on this compile button

now copy this hex file location

again open proteus double click on this and paste it

click on ok and run the simulation

to show the scenario of rfid tags we have two

valid and invalid rfid tag written on notepad

now copy invalid tag

and paste it in terminal

terminal as you can see there is no movement on servo motor

because tag was invalid

now copy validate

paste it

on detection of valid tag servo motor will move from position 0

to position 180

there are some simulation delay

you can avoid it

after three seconds it will again move to position zero

2
%%%%%%%%%%%%%%%%%%%%%%francais¨%%%%%%%%%%%%%%%%%%%%%%%

simuler le RFID basé sur cette bibliothèque de composants ouverte

recherchez l'honneur, sélectionnez et placer-le

maintenant, ouvrez à nouveau la bibliothèque de composants et recherchez le servomoteur

et sélectionnez-en un avec trois bornes d'entrée

placez-le

ouvrez maintenant le mode terminal virtuel et sélectionnez le terminal virtuel

maintenant nous avons besoin d'alimentations

allez en mode terminal et sélectionnez l'alimentation, placez-le

connectez-le sur la broche d'alimentation du servomoteur

placer le sol

Connectez la broche numéro 9 à la broche PWM du servomoteur.

connectez maintenant la broche de transmission du terminal virtuel pour recevoir la broche de l'arduino

maintenant notre simulation est prête, réglez la position du servo entre 0 et 180

cliquez sur le bouton ok

maintenant ouvrez le logiciel Arduino

vous pouvez trouver le code source

cliquez sur ce bouton de compilation

copiez maintenant l’emplacement de fichier hexadécimal

ouvrez à nouveau Proteus, double-cliquez sur le uno et collez-le

cliquez sur ok et lancez la simulation

pour montrer le scénario des étiquettes rfid, nous en avons deux

étiquette rfid valide et invalide écrite sur le bloc-notes

maintenant copiez la balise invalide

et colle-le dans le terminal

terminal comme vous pouvez le voir, il n'y a aucun mouvement sur le servomoteur

parce que le tag n'était pas valide

maintenant copier valider

colle-le

lors de la détection d'une balise valide, le servomoteur se déplacera de la position 0

à la position 180

il y a un certain retard de simulation

tu peux l'éviter

3
après trois secondes, il reviendra à la position zéro

Vous aimerez peut-être aussi