Pages: [1]   Go Down
Author Topic: Ardunio for lightsaber LED pulse effect  (Read 1837 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi guys, just wondering if you could help me with selecting a micro-controller for making a circuit to pulse a short string of LED's.
The aim of my project is to get the LED's to constantly (slowly and dully) pules and have the ability to edit the pule times and the brightness (programming?). The other main goal is to have it flash when a momentary clash sensor/switch is contacted and stay on while the switch is closed. 
I'm hoping it will turn out sorta like this except with only 1 color.

or
but with pulsing
Any advice or info much appreciated. thanks in advance, Jesse
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The other thing is the board cant be more than 30mm in width, length isn't as important.
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 602
Posts: 33371
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Any of the arduino boards can do this. You control the brightness by using the PWM output of a pin using analogWrite();
There is lots of information here:-
http://www.arduino.cc/en/Tutorial/HomePage
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Awesome, could you recommend one that is under 30mm across and were i could get one.
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 602
Posts: 33371
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

As you haven't filled out your location in your detailed I can't say where you can get one but this is small:-
http://www.arduino.cc/en/Main/ArduinoBoardMini
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Cool, so if i get one of these it should be able to do everything i want?
I am still reading through the tutorials and other posts to learn how to use these controllers.
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 602
Posts: 33371
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
so if i get one of these it should be able to do everything i want?
Well it won't allow you to have sex with Lady Ga-ga, or other such desires but along with a few transistors you can drive as many LEDs as you can fit into a saber.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Haha awesome, will buy one and give it ago. Thanks a heap.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi again, just wondering if I could have your email. Will save me from posting more silly questions on here.
just have a few questions about transistor and other things. thanks Jesse
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 602
Posts: 33371
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Just use the Personal Message (PM) system on the forum to contact me directly.
Logged

Pages: [1]   Go Up
Jump to: