Go Down

Topic: Arduino Lightsaber for/with LED string blade (Read 128167 times) previous topic - next topic

Protonerd


ryang

#46
Dec 31, 2015, 03:41 am Last Edit: Dec 31, 2015, 03:50 am by ryang
Enlighten us please, what is a 6DOF?
The MPU6050 is a 6DOF. ;)

http://www.dfrobot.com/index.php?route=product/product&product_id=880#.VoSVgfl95hE

I'll move the discussion to this post to keep the other one more related to their setup.  Mine is a hybrid, but is using the same audio & sensors, so it seems better suited here.

My acceleration calcs are just working off raw values as well (getMotion6()) then just plays with the values a bit.

I'll grab the code I'm using later on, it's NYE here today so no time after work! :)

MegaCorsair

#47
Dec 31, 2015, 11:30 pm Last Edit: Dec 31, 2015, 11:43 pm by MegaCorsair
Hi, Do you Gonna upload the Code and schemtics for arduino and Mp3 Files for this Soon? Im Making a Blade and I have the 3 Modules :D Just I Dont Know how to make it Work together  :'(

chivotenkai

Since the 15th, I had completed electronic ... but when I was to assemble all in the grip ..
the audio module .. was broken ( i dont know the reason)

so I am waiting for me to get the new module .
However since I have almost finished hilt.




neskweek

#49
Jan 03, 2016, 01:04 pm Last Edit: Jan 03, 2016, 01:12 pm by neskweek
Sweeeeet Chivotenkai !
Sorry to read that a part of your assembly got damaged :(

I'm personnaly in the process of assembling my green led string segments (seriallell II type) . I've done 4 segment so far (but ruined half a segment by being to hard when bending led pins :P).
I have a question regarding building the blade :
How do you fasten the segments between each other to get a quite stiff led string?

Still waiting for my arduinos components to be delivered.

Ohh and by the way : Happy new year to everyone !

racemaniac

Since the 15th, I had completed electronic ... but when I was to assemble all in the grip ..
the audio module .. was broken ( i dont know the reason)

so I am waiting for me to get the new module .
However since I have almost finished hilt.
Nice, how did you make the hilt?

chivotenkai

neskweek  , my metod is similar of this video (but if you want to make the ignition effect you must make a little change)

https://www.youtube.com/watch?v=_tw0pD8LPtw

racemaniac, for the hilt i used a Pvc pipe 32 mm  and i used a tool to cut an a pipe accesory to make the rings.... when the saber is completed, i want to make a fast tutorial

Thelmos

Hi all and thanks for all the valuable info this thread holds, all those videos were enough to push me to try it for myself despite having lost a lot of my electronic knowledge.

I'm currently waiting for materials, and doing some research in circuit and Arduino programming, you can check my progress here (warning: very preliminar solution):

https://123d.circuits.io/circuits/1423510-test-arduino

As you can see running the circuit simulation, when turning on the saber (pushing button), there are some milliseconds where all the voltage is applied only to one or two segments of LEDs, which causes these to be displayed in a state of 'burned'.

Is there any solution to this problem?

Perhaps the time in this oversaturated state is short enought to cause any problem?

One second thing I can observe is that switching off the saber seems to have two steps, dimming leds in one first step and switching all off finally, I don't know if it can be a problem with 123d.circuits.io simulation or a Mosfet incorrect operation.

Thanks and may the force be with you.

ryang

Here's my code so far, warts and all - so to speak.

http://pastebin.com/jYR235h3

I've just received another shipment of parts, so I'm going to tinker with the gyro code a heap more to try and get some clash detection out of it..

Protonerd

Sweeeeet Chivotenkai !
Sorry to read that a part of your assembly got damaged :(

I'm personnaly in the process of assembling my green led string segments (seriallell II type) . I've done 4 segment so far (but ruined half a segment by being to hard when bending led pins :P).
I have a question regarding building the blade :
How do you fasten the segments between each other to get a quite stiff led string?

Still waiting for my arduinos components to be delivered.

Ohh and by the way : Happy new year to everyone !
You can look here for a build log of a LED string saber:
http://forums.thecustomsabershop.com/showthread.php?16889-My-first-LED-string-blade-a-progress-diary

Only thing I would change is that the shrink tube should be used only to fasten the segments at the segment boundary for an inch or so. Putting the whole blade into the shrink tube makes it impossible to maintain and that is something you have to do on a regular basis.

neskweek

Thanks for the fasten tips.

I'll finally go with the method found here :
http://www.fx-sabers.com/forum/index.php?topic=40348.msg540966#msg540966

I'll then wrap the whole string with some cellophane.

I'll post a photo of the full fisrt string (the green one) when I'll complete it.

Right now I only have half a string cause I burned some leds during my tests (stupid short cuts). I have ordered some more.

racemaniac

Here's my code so far, warts and all - so to speak.

http://pastebin.com/jYR235h3

I've just received another shipment of parts, so I'm going to tinker with the gyro code a heap more to try and get some clash detection out of it..
Nice :)
And i'm also starting to receive my new part from china, my fingers are starting to itch to start working on v2 of my saber XD.
I can already start discovering my i2c DAC to see how my next iteration of doing all the sound myself rather than the mp3 module will work :p.

MegaCorsair

Here's my code so far, warts and all - so to speak.

http://pastebin.com/jYR235h3

I've just received another shipment of parts, so I'm going to tinker with the gyro code a heap more to try and get some clash detection out of it..
This is the code for the MPU6050 + DfPlayer + Minipro? How Will be connected correctly?

neskweek

#58
Jan 16, 2016, 12:00 pm Last Edit: Feb 19, 2016, 09:16 pm by neskweek
First led strip done !

OFF :



ON:


Tested with a lux meter app on my android phone around 5400 lux, last night.

The mounting and soldering are not quite academic but that do the trick and the string is quite stiff by only enterlacing wires trought the led pins.
Next steps are :
- DIN soldering (still waiting for the connector)
- wrap it in diffusor material (polyurethane foam made for flooring isolation)
- put it in the blade and make a nice picture :)

Still waiting the Arduino Nano board to be delivered :(

Protonerd

Looks awesome, good luck with the build! Did you put the whole string into a shrink tube, do I see it right?

Go Up