Bi Flasher With and Without Microcontroller
Introduction: Bi Flasher With and Without Microcontroller
Hey Everyone Whazzup!
So you want to make a PCB Badge and in that badge, you want to add a simple Two LED Flasher circuit in which Two LEDs will turn HIGH and LOW simultaneously.
This task can be done quite easily with or without a microcontroller.
Using a Microcontroller is good but for such a minimal task, a timer ic could also be used here which would save a lot of costs.
In this Instructables, I'm gonna show you guys how you can use a Microcontroller (Arduino Nano and Attiny13A) and a simple Timer IC Setup to make a Bi Flasher with minimal stuff and Low cost.
Let's get started
Supplies
I will use two types of setups in this project so the following are stuff required in both setups.
Microcontroller Setup
* Attiny13A
* LED Red and Green
* Power Source (can be anything, coin cell, 3.7V battery, Bench Power supply)
* Arduino as ISP Programmer setup
* Breadboard
* jumper wires etc
555 Timer IC Setup
* 555 Timer IC
* LED Red and Green
* 22uf Capacitor
* Power Source (can be anything, coin cell, 3.7V battery, Bench Power supply)
* 68k ohms 1/W Resistor
* 1K Ohms 1/W Resistors
Step 1: Procuring Materials
As for the Source from where I get most of these components, I got the Timer ICs, Attiny13, LEDs, Resistors, and capacitors from ALLCHIPS.
ALLCHIPS is a well-known Platform For Electronic Components Supply, they have everything that you need for any type of project. They are an all-in-one procurement department of hardware manufacturers as all components I used in this project were provided by ALLCHIPS which was a cool and helpful thing!
Also, they have this BOM IN ONE BOX thing which is such a helpful thing, we provide them a BOM List and they procure all the components and deliver them "IN ONE BOX" which is an efficient way of purchasing components for any project!
Check out ALLCHIPS for more info.
Step 2: Getting Started
Before Setting up both versions of a Bi Flasher circuit, let first see where and how we can use Bi Flasher setup.
I've been making some PCB Badges recently, these PCB Badges are a combination of Art and Electronics in which we add some artistic elements on a PCB like a character from anime or movie or just a few patterns. 982
we also add LEDs on these badges to illuminate certain aspects of that added character or pattern.
For example, I made a C3PO PCB Badge from Starwars.
I've placed LEDs in his eyes and to control these LEDs, I have used the Bi-Flasher setup which is based on 555 timer IC in the SOIC package.
What I'm trying to say here is, this LED Flashing-Blinking setup increases the impact of the whole Circuit and it also looks pretty awesome. If you want to see the whole Badge making process, check this post of mine-
https://www.instructables.com/Obito-Uchiha-PCB-Bad...
Step 3: Microcontroller Setup
Let's first start with the easiest method in the Book which is to utilize a microcontroller to control LEDs.
The first choice here would be an Arduino board connected with two or more LEDs. This one is by far the easiest set up to make such projects.
Wire the LEDs with Arduino Nano in this way.
* D3 to VCC of GREEN LED
* D2 to VCC of RED LED
* GND of Both LEDs to GND of Arduino
Step 4: ​Here's the Code for Chasing/Bi Flashing of Two LEDs. 854