element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Lightsabre Sound and Light fx.
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 19 replies
  • Subscribers 686 subscribers
  • Views 3341 views
  • Users 0 members are here
  • raspberry_pi
Related

Lightsabre Sound and Light fx.

CrazyFace
CrazyFace over 10 years ago

My 15 year old son, Who has Asperger's Syndrome(A form of Autism for those who have not heard of it before),  is a huge Star Wars fan and just after Christmas he asked if he did some work with his uncle during the school holidays and saved up his wages would he be allowed to buy a Lightsabre.

We initially thought he meant one of the Hasbro toy ones and asked him if he was a bit old for something like that, But we were so wrong!, he wants a full blown custom dueling sabre with sound and clash lighting effects.

So we looked at what was available and came across a few sites that sold complete sabres, custom sabres, or sold everything needed to create your own, but the prices are unbelievable. Don't get me wrong, they are probably worth every penny but for what my son wants his to do, he was looking at well over £250, and compared to what he could realistically afford to get, lets say his dreams of having the sabre he wanted were shattered and you could see the disappointment in his face.

I thought nothing more of it till about 2 weeks ago when out of the blue he came to me and asked if i could make one for him, which made me so proud that he believed I was capable of doing it and that he actually trusted and wanted me to do it, Unfortunately he had more belief in me than I did and told him I didn't think i would be able too, but seeing his hopes fade away again has really been getting to me since and I decided to see if I could do something about it.

 

My initial thoughts were get his ideas down on paper and go from there, So I got down what he wanted and started to look for things I could possibly use on ebay to make the hilt, after finding a few things he said he wanted in the design, I incorporated them into a rough drawing and got his approval and off he went happy, But I then realized that most of the stuff we had looked at for design ideas would not work together or couldn't be adapted to work how he wanted it and I felt like I was going to have to tell him I couldn't do it again.

But I was not going to be beaten yet, I've redrawn a new design that still incorporates the things he wanted and got his approval, I then designed a second sabre(For Myself of course image), but although I have the designs there are no dimensions due to not knowing how much space would be used by the electronics yet alone what I would be using for them, well there are plenty of kits out there that do everything he wants his sabre to do, but by the time I've added a power supply and charge circuit, amp, speakers and the lighting it could be in excess of £150, I've looked at some other sound fx boards like the Adafruit Audio FX Sound Board + 2x2W Amp - WAV/OGG Trigger -16MB but again after considering the cost of everything else needed the costs rise a fair bit.

Well after seeing fvan's Raspberry Pi Zero AirPlay Speaker, I began think about how I could use the Raspberry Pi Zero I got with the MagPi issue 40 and be able to store far more sound fx and use that as the brains, which as led me here today to see if any one has any suggestions or ideas how i can achieve my goal. so far my idea is to use the Pi Zero with the Pimoroni pHat Dac, add a small stereo amplifier and some small oval laptop speakers. I would need a battery powerful enough to be able to power everything for about an hour of actual physical dueling and also be able to recharge the battery without having to remove it, I need to include a accelerometer and impact sensor to control movement fx and clash effects, then there's the blade side of things, I want him to be able to chose what colour he wants his blade not be stuck with just one, but he would be happy with just a purple one. I cannot decide whether to piggy back around 90 super bright leds up the inside of a diffused blade, Or whether to use a RGB cree or similar at the base. Would I need a led driver?.

As you can see the idea is there and I would like to think it is achievable at a fraction of the cost of other established boards but I need some guidance or recommendations on whats probably the best way to go regarding the parts I use and making sure its safe for purpose.

Once the electronics side of things are ironed out I will be able to complete my designs with dimensions and try find someone with the equipment needed to make them for me. Its looking like majority of the parts will either be lathed or cnc'd with a few smaller parts 3D printed which I expect will take up most of what little budget I have.

I've given myself till his birthday in November to finish this project and as long as costs don't spiral too high and make buying a ready made one practical I'm hoping to be able to make him a pair at a fraction of the cost for the one he wanted originally.

Any help, ideas, guidance ect would be greatly appreciated and thanks for taking the time to read this.

  • Sign in to reply
  • Cancel
Parents
  • shabaz
    shabaz over 10 years ago

    Hi Mark,

     

    The Adafruit board is not a bad idea in principle - it will save space since the microcontroller, sound player and amplifier

    are all integrated. It is expensive for what it is though.

    I've played in the past with some dedicated MP3 player hardware, and they can be easy to use. You might want to examine

    some of those and combine with a microcontroller that you're comfortable with. A quick google reveals a 'DFPlayer Mini' for

    instance, with example Arduino code on github, youtube videos etc.

    This is just a quick look, you may find much better ones too. It might be way more convenient (and smaller and lower power),

    although you lose the flexibility of a Linux based computer. But maybe you've already considered this type of thing and

    ruled it out. For the 'Zero route, the external DAC board isn't strictly necessary, see here: https://learn.adafruit.com/adding-basic-audio-ouput-to-raspberry-pi-zero 

     

    Anyway, whichever ideas you prototype it is worth experimenting a bit since the electronics will be cheaper than the mechanical side,

    and it would not be fun to rework the mechanics if a board didn't fit later : (

     

    Regarding the blade, maybe it could be designed so both methods are possible (interchangeable)?

    Anyway, these are just some quick comments, I'll think about it some more.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • shabaz
    shabaz over 10 years ago

    Hi Mark,

     

    The Adafruit board is not a bad idea in principle - it will save space since the microcontroller, sound player and amplifier

    are all integrated. It is expensive for what it is though.

    I've played in the past with some dedicated MP3 player hardware, and they can be easy to use. You might want to examine

    some of those and combine with a microcontroller that you're comfortable with. A quick google reveals a 'DFPlayer Mini' for

    instance, with example Arduino code on github, youtube videos etc.

    This is just a quick look, you may find much better ones too. It might be way more convenient (and smaller and lower power),

    although you lose the flexibility of a Linux based computer. But maybe you've already considered this type of thing and

    ruled it out. For the 'Zero route, the external DAC board isn't strictly necessary, see here: https://learn.adafruit.com/adding-basic-audio-ouput-to-raspberry-pi-zero 

     

    Anyway, whichever ideas you prototype it is worth experimenting a bit since the electronics will be cheaper than the mechanical side,

    and it would not be fun to rework the mechanics if a board didn't fit later : (

     

    Regarding the blade, maybe it could be designed so both methods are possible (interchangeable)?

    Anyway, these are just some quick comments, I'll think about it some more.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
Children
  • CrazyFace
    CrazyFace over 10 years ago in reply to shabaz

    Thank's for the reply shabaz, sorry it took so long for a response I was ill last week and only briefly looked. I've not ruled out anything yet, I just wanted to get a bit of input regarding what might be the best way to go with this, especially when it comes to powering the circuit and charging the batteries, and as for the sensors I don't have a clue with that sort of stuff. My preference is to use the Pi Zero(sticking to something I know), but i'm not restricted to it. I was also thinking of using the 2 types of LED together but wouldn't I need a led driver for that or could the pi manage both?  I hadn't even given MP3 player hardware a thought. although again I wouldn't know where to start trying to go that route yet. This might just end up being a rather long winded little project for myself now to spread the cost, The other half put her foot down and said i had to do it with under £100 because we can buy him a pre-made standard sabre for around that, and I fear the cost of materials and fabrication of the hilt might come close to that but we will see depending on what seems the best way forward with it, After all I still have till November to complete it.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 10 years ago in reply to CrazyFace

    Every Jedi has to build its own lightsaber. No way around there is image - and they should look unique, torn and include a heir loom. Sry, I just made that up image.

     

    Some thoughts about powering, recharging and light, if you want to build a lightsaber on a budget:

     

    I recently bought a flashlight (5-mode 1200-lumens Cree XML-T6 LED Flashlight for Outdoor FLD-144539) for $7.27. It has a solid aluminum casing, which could be incorporated directly into the hilt of the saber... as it already looks cool. Further it comes with an adjustable lens, which should allow you to adjust the light in your polycarbonate tube pretty good. The Cree XML-T6 led is a beast, so your saber should shine not to bad. Last item to salvage is the on/off button in the hilt of the flashlight.

     

    When I wanted to fire up the flashlight for the first time, I noticed, that it uses one 3.7V 18650 batteriy instead of an AA. A size I had not used directly until that. Having no 18650 laying around, the dimension of the battery made me think of a power bank I own and hardly use (Portable 5600mAh Power Bank for Cellphones EBTPH-334165 for $5.22)... opened it up and voilà: two 18650s... and even better: they where in a parallel configuration.

     

    This might be a solution to your power problem: two or three 18650 behind each other (but still configured parallel) give you ample mAh in an enclosure that still fits into children's hands. Salvaging the electronics of the powerbar gives you a USB-out and a USB-Mini-in: charge with ordinary USB-charger on the USB-in,  then power your Pi Zero directly from the USB-out – and the best of it: as the two 18650 are configured parallel, you might be able to directly fork some power for the Cree XML-T6 electronics/led taken from the flashlight.

     

    G-Meter:

    Maybe a XLoBorg instead of a sense hat? It is smaller and comes with a Accelerometer and a Magnetometer for £8.76.

     

    Sound:

    I'd probably get a $1-2 USB sound adapter, as the UBS-port on the Zero is not used and hook up a 2-4 w amp, if needed. Just think it is more flexible to have a full sound card.

    https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=127319

     

    image

     

    I've not (yet) built a lightsaber of my own, but if I finally could get my hands on some Pi Zeros it might happen some day image.

    How to Make Your Own Lightsaber - Science Friday

     

    Not sure about posting product links, so just PM if needed.

    Hope you can build a cool, unique saber!

     

     

    PS

    As usually, 1200-lumens and 5600mAh must be taken with a truckload of salt, but the products are OK.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube