Personal Project. LED Timers

  • Thread starter dusilbenafreor
  • Start date
  • Tags
    Led Project
In summary, the individual is seeking help in starting a project to create Twisted Fate's Pick a Card from the game League of Legends using three LEDs (blue, red, and yellow) and a button. The lights will rotate in sequence for 30 seconds before turning off, and the button can also stop the rotation. The individual is asking for advice on whether to use a microcontroller or circuits to control the project. Suggestions were given to use a counter, timer, and microcontroller, and a simpler method using relays was also mentioned. The individual is encouraged to consider their personal interests and goals in deciding which method to use.
  • #1
dusilbenafreor
1
0
Hi I have a project in mind and I'd like some help starting it up.

Project:
I want to create Twisted Fate's Pick a card, for those of you know the popular game, League of Legends.
____________
|L.....L|
|....|
|....|
|...L...|
|....|
|....|
|L.....L|
--------------
L's are where I'd like to put a blue, red, and yellow LED
To clarify, All three per L
The . are empty space

Basically what I want is a button that i can press which starts the project.
The lights light up in turn Blue-> Red -> Yellow ->repeat.
Each light has a 2 second on period before switching to the next light
The lightshow repeats until 30 seconds is up, then turns off.
If the button is pressed again, the lights will stop rotating and the light that is on will stay on for the remainder of the 30 seconds.
Battery Powered

Question 1:
I feel like this would be much easier to program than it would be to construct the physical timer.
Am I right? Or should I explore timers and clocks more.

2. If programming, what would you suggest I use for the microcontroller?
If physical, what IC chip do you suggest I use?
 
Engineering news on Phys.org
  • #2
A circuit looks possible - use a counter with resets itself after 2 (so the sequence is 0->1->2->0->...), and power the LEDs according to this output. Use some other system (555 timer?) to switch it off after 30 seconds.
Button: if the 30s-timer is not active, it gets started (and the counter gets powered); if it is active, the button stops the counter (a second button could be easier).
 
  • #3
I suggest that you program it, it will be easier and you will have the ability to modify it easily if you want, and for the cost it is cheaper that construct it from separate ic.
If you decided to program i suggest you use 16f88 microchip micro controller.
 
  • #4
hisham.i said:
I suggest that you program it, it will be easier and you will have the ability to modify it easily if you want, and for the cost it is cheaper that construct it from separate ic.
If you decided to program i suggest you use 16f88 microchip micro controller.

This.
This can be easily done with microcontrollers.
Using the datasheet of the microcontroller look for features of timers, timers tend to be more efficient than for loops, this is for the PIC16xxx series. Don't know about arduino though

This is a cool project i might try this in the Proteus Isis Simulator first if i have time.
 
  • #5
An extremely simple "old school" method would be to use three or four time-delay relays (surplus price $4-$7ea) and a few regular relays (surplus price $3-$5ea) and maybe a few diodes for isolation, but this method wouldn't be able to do a precision of 2.000s and 30.000s, but the time adjustment of one of the modules I know of (and only $4) is adjustable via a 10-turn pot, and on a 0-10s module, that would give a fair amount of precision.

I work in aerospace and you'd be surprised at how much logic can be performed using relays and isolation/steering diodes, especially on older airplanes. That method was used all over the place on older aircraft, and a fair amount even up into in the in the '90s... One reason is reliability. Aerospace-grade relays are extremely reliable, fairly cheap (even though what would normally be a $10 relay, may be $200 on up to $1000+), and very simple design effort and qualification testing for whatever project the relay is to be used for. The design and testing effort to use relays to perform a simple task vs. a micro-controller module would be orders of magnitude different... Additionally, when you get into military aircraft, nuclear-hardening comes into play and this becomes much easier/cheaper with things such as relays. A lot of equipment on some of the Air Force's "most important" aircraft is still operating on discrete components and considerable use of relay logic...
 
Last edited:
  • #6
Think about what you are more interested in learning about.
Circuits or Microcontrollers?

Doing it with circuits solely is doable, and you'd learn a lot through the process.

Doing it with a MC would probably be easier, even on just to find guidance and help debugging, and you'd still learn a bit about circuits :)

If you're really bold you could do it both ways and then let us know which method you enjoyed more :)
 

1. What is a personal project LED timer?

A personal project LED timer is a device that uses LED lights to display time. It can be used as a clock or a timer for various activities such as cooking, exercising, or studying.

2. How does a personal project LED timer work?

The timer uses an Arduino microcontroller and LED lights to display the time. The microcontroller is programmed to control the lights and display the time in a specific format.

3. What materials are needed to build a personal project LED timer?

The materials needed include an Arduino board, LED lights, resistors, breadboard, wires, and a power source (such as a battery or USB cable).

4. Is it difficult to build a personal project LED timer?

The difficulty level depends on your experience with electronics and programming. With the right materials and instructions, it can be a fun and manageable project for beginners.

5. Can a personal project LED timer be customized?

Yes, it can be customized in terms of the LED color, size, and placement. The programming can also be modified to display time in different formats or add additional features.

Similar threads

Replies
7
Views
1K
  • Electrical Engineering
Replies
4
Views
727
  • Electrical Engineering
Replies
3
Views
1K
  • Computing and Technology
Replies
3
Views
1K
  • Computing and Technology
Replies
25
Views
9K
  • DIY Projects
Replies
7
Views
2K
  • Electrical Engineering
Replies
6
Views
2K
  • Electrical Engineering
Replies
8
Views
1K
Replies
16
Views
2K
Replies
16
Views
872
Back
Top