Led pisca-pisca Multiusos - Multipurpose Blinking led

Led pisca-pisca Multiusos - Multipurpose Blinking led


O tempo não tem sido muito e por essa razão tenho colocado circuitos simples.

Desta vez apresento um circuito pisca-pisca multiusos com esquema e codigo para o microcontrolador.

 

O microcontrolador é uma pic 16F84A. Utilizei um led bicolor ( verde e vermelho ) ligando-o directamente ( pino comum inclusive ) ao microcontrolador.

Free time hasn't been much and for that reason i've been posting simple circuits.

This time i'm posting a multipurpose blinking circuit with schematic and code for the microcontroller.

The microcontroller used is a 16F84A pic. I've also used a bicolor led ( red and green ) connected directly ( common pin also ) to the microcontroller.

 

 

Como Funciona:

Todo o portB do microcontrolador liga ao dip switch. Quando um deles é activado ( ligação a +5V ) o led irá piscar consoante o pino escolhido e o programa carregado.

O programa disponibiliza vários modos entre piscar apenas o vermelho, apenas o verde, ambos e com temporizações diferentes.

How it works:

The entire microcontroller's portB connects to a dip switch. When one of them is activated ( +5V connection ) the led will blink according to the switch activated and the loaded program.

The program has several different blinking modes, like blinking just the red one, just the green one, both and with different timmings.

 

 

 

 

 

Antes de fazer downloads veja este aviso

Before you start downloading please see this warning

 ruijc.webnode.com/news/downloads/

 

 

O esquema com maior resolução pode ser descarregado aqui:

The schematic with better resolution can be downloaded here:

... DOWNLOAD MULTIPURPOSE BLINKING LED JPEG

 

O codigo para programar a pic 16F84A pode ser descarregado aqui:

The code for the 16F84A microcontroller can be downloaded here:

... DOWNLOAD MULTIPURPOSE BLINKING LED HEX