jueves, 10 de mayo de 2012

Proyecto PIC

Proyecto PIC

Descripción del Proyecto

Un juego de reacción

Tenemos cuatro botones de entrada (1 al 4), también seis led de salida de salida llamadas L1, L2, L3, L4, OK (Acierto) y E (Error), los primeros cuatro led estaran corriendo en forma de secuecia mientras no presionemos alguno de los botones.

En el caso de que se oprima el botón correspondiente a la luz encendida en ese instante el sistema encenderá la luz OK y en caso de no coincidir encenderá la luz E.

Materiales Utilizados
  • 10 Resistencias de 330 Ohms

  • 4 Push Button

  • 6 Led's
data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBhQSEBUUExQWFBQVFBQUFxcYFBcUFBQWFBQVFBQUFRUXHSYeFxkkGRUUHy8gIycpLCwsFR4xNTAqNSYrLCkBCQoKDgwOFw8PGikkHyQpKiwpKSksLCksKSkpLCwsKSwpKSkpKSkpKSkpKSwsKSwpLCksKSkpKSkpKSksKSksKf/AABEIAMIBAwMBIgACEQEDEQH/xAAaAAADAQEBAQAAAAAAAAAAAAABAgMABAUG/8QAPRAAAQMBBwEFBgQFAwUBAAAAAQACEQMEEiExQVFhcQUTIoGhMlJykbHwQmLB0RQjM+HxgpKiFVNjssMG/8QAGQEBAQEBAQEAAAAAAAAAAAAAAQACAwQF/8QAKhEBAQACAgIABAYCAwAAAAAAAAECESExAxIyQVGRImFxgbHRE+EEQqH/2gAMAwEAAhEDEQA/AOqFryW8Bujfbz8ktjf6LXhwsHA7oXOfQKIlvKAWLPzfRYM/MhMeiICPdjdC5ykCSpl3RF1OEpYEGMUs9EQxKW8oaOHRssCkNMHMpmgBQNe6LSlL27rSDqkDeQKBHKzUpjO6EpryCEUlJmicOUpKgJagEY6IjohppSlMDsPVGSkEISuKZ7SdSFMUyNUEL6YNPCM8oOHmpNdSPCN1Lc5UgufcrIFo2WUXqiNvRa7wmlMCtsJmmgbMOVaYUy/lSJ3QGiwjMfROAVoWSS+NkwIKxZ5JgFILg2QNIbJw5Tc506JRg1COEpZOqIbyhDc4Q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OqhX/AJr5AIptwYMpGrjyTj8tl0tAhFsKl1NK97SbZwP8pw2E7jwpk8LOoRLkhcjCVzQrRKXLSlc4DRYVUEbyLiEshKag5Kki9itSrGIPiHP7pHV+FN1YjQql9buHW+3Yyg12t3rl80LU5jWQ10uOewHB3XC97vvBTN4rrfNbNaZnjkMD9yj3hUyz7lG5Gq48t6hrzij3RSl5S94UcAxbGZQvNKBndAjlSUEIqIHKydrT3pciCUHOK14re3MS6M0rileTwk7zdFp0e7yjdO6WSckzT0UWkcppBSvnhIOoUFLoQcwJcdwgX8q4RnURrKn/AA4GRKbvRuFu8jVXB5IaJ0PqkukK3fBC8Fmw7SD07XDogYSlSOHtRLmrmfSB0SupJ2tOiRokvLmLCMkWko2dOkOCVzgpEnYJHWgjRW1pYvSPegKx2Q7w7K2gL1MuKL3pIlDTFa79ylFKEEJRGEoCxCYyzlMvhNG6DmhWkXvefRZC6sgvpO65QNHmUgbCIBXbbkxYEvh3WIKF1BG6Nz8li0boNBRLFJjTCnCcMOWym5nKKYYBM5ojdSPnKcM3kIJI/KhHCoW8pbqhspak1TOafspC2c0NKBGEjQAsagSychYIFyAnYJDPKSRuqpCpQLym4ApnuSCqhoDTHKUU+FQ1RuldVAUuUXUzoEAIzKoaqk9yDyeOUpHVLHKZrlIjm9UGsG5TPBUnGEFSQlvBSc4HRK0gaKWnRA4WU7/Cylp70ovRWXRzqbs0ZxQWQD6ILLLSi5yXDXKyyKp2ekmcVllL5lKWUVlkg5SbmVlkGM5AZrLJ+RKDimJWWRCIOHmpuP1WWTRE6ik9ZZZaghKVlliNQzViVllqM1mrFZZII9IUVlUpDNLaMlllhqdkbkssslP/2Q==

  • 1 Pic 16F628A

  • Cables

Procedimiento

Ver si podria utilizar el mismo material que en digitales.
Aprender a utilizar el MikroBasic
Codificar y Compilar

Diagrama de Distribución de Pin del PIC

 
Código



Imagen del Proteus

 Imagen del Circuito



No hay comentarios:

Publicar un comentario