You have a very saleable winner there. Thats why you are being quizzed so thoroughly. Hang on to it man and send it to someone who can manufacture it for you . You will make a fortune
I am getting ready to start a similar build and had found the same swing sensor but the part I cant figure out is how to configure it to detect a swing and not a tilt as the data sheets show its primary a tilt sensor. I had thought about mounting it vertical the hilt with ball contact down but then if you tilt the saber at the ground it would continually trigger a swing.Do you just detect on change condition but then I would think a slow tilt would still trigger a swing event and the toy sabers don't seem to do that and I am sure the expensive sound boards don't.
I ended up abandoning the whole 3 line mode with the wt588d-u-32 but using your project as a starting point I made my own saber using the one line serial mode and a buck convertor in place of your transistor. I'll post some vids of the saber in a bit here. Anyways, thanks for the idea, spent 12$ only for the parts and saved myself a grip of cash.
Man, this is great!How hard would it be to use an accelerometer?
Thanks! It's interesting you should ask that. I'm working on integrating an ADXL335 3-axis accelerometer right now.
Jakesoft, your video is awesome. Just a couple of doubts. Did you programmed the accelerometer to work as an interrupt?If so, how did you managed to get the WT588D to work without the delay functions?