Spiderman web shooter: A collaborative project.

So can the arduino chip play wav files natively?
I guess I'll have to look into that, I don't think the PICAxe chips can play sound files or read a FAT file system without some external bits and bobs. That's why I was amazed your circuit is so simple.
 
without an DAC/AMP...etc..


you can use PWM Audio (like I am doing here on this TASM web shooter pcb)

IMHO.. to do this way properly though.. you need a filter & amp...


but for this project there is no room for things of that nature!

basically NOTHING can be on the TOP of the PCB (main CHIP)
the 5 x green led indicators can go on top
the red leds used to light up the bingo chip can go on top.

otherwise nothing else fits for the prop... or you have tons of components around the MAIN chip.. and it doesnt look like th movie prop

(I failed.. and had to squeeze in 3 x 0603 resistors on top for the red leds.. because I couldnt fit them anywhere else)


on the bottom.. you have the micro SD card/socket.. and that pretty much takes up the WHOLE pcb bottom.. so I had to squeeze the remaining components around the edged of the micro SD socket..

after all was said and done.. you still need a way to get the bootloader on the chip (can be done before assembly.. but hard to test)..

and you still need a way to upload your sketches..

usually I use plated through holes.. so my pin headers or pogo ins/jTag fit right in.....but using plated through holes took up space on both bottom and top of the PCB..so I switched to smd 'pads' only......

being that these are 'pads' and not components... means they were "FLAT".. and could be placed on the PCB where components could not have been placed..

(like under the 'rim/bezel' of the top piece) :)


so I got them stuff on the top and bottom respectively..



Arduino can NOT read the wav file natively...

you can:

1.) Use the SimpleSDAudio library (public). and convert your .wav files to the proper .afm format.. (drag-n-drop tools provided with library). This will read the .afm file off the SD card and play the audio for you.. (its 'ok' quality.. needs a filter and AMP to be clear and louder)


2.) Use an Adafruit Waveshield (custom or variant) that WILL read the .wav files off the SD card and play them back for you. I have found the default Waveshield volume is not that loud.. (but there is a document resistor hack to improve it)

This also has an on-board DAC, buffer and AMP... for better quality/output of the wav file.





Myself..
I have two custom boards that I used depending on the project needs..

1.) I have a custom Arduino/Waveshield merged into one board: (named the S.C.A.B.)
micro SD, DAC, Buffer, Amp.... most special/major pins still free for I/O

Here are some pics of my all-one-board, next to an Arduino with a Adafruit Waveshiled stacked on top of it (for size comparison)
all-in-one_1.jpg


all-in-one_2.jpg


flash_board.jpg


this is my 'flag ship' board.. small, good audio.. versatile...etc..


2.) I then created another board, (motivated by the SMDuino and Femtoduino boards) being another all SMD board.. with on-board SD card again.. (no DAC/AMP/BUFFER)

but is smaller than the above board... and can be used with the SimpleSDAudio library as well.. and fits into alot of props.


on both...all remaining (and even some that 'are' used) are broken out for end user use.. (although the only end user ever is 'me'...LOL).. so while the DAC/SD card..etc might be there.. you can cut traces and still have access to I/O pins for alternate use.


probably not as 'good' as a purpose built board, made for a spcific task.. but a damn nice general purpose prop platform for me to start/work with.. :)

And I think the Audio on the SCAB board is pretty decent! (better than WaveShield IMHO)



Lastly the TASM Shooter PCB.. thats really just extremely trimmed down Arduino circuit..

(no xtal/caps, running @ +3.3v/8MHz INTERNAL clock...etc) with SD card...and leds added in)


like I said the made the source (schematic/board) files open source.. :)
 
Thanks for all that.
I've been trying to find an inexpensive way to add sound to a small board, I've got a pir sensor that will provide a digital output as the trigger, now I just need to play a sound file with as few components as possible. It looks like I'll have to start reading up on arduino.
 
does it need to be a 'sound file'? Can it be a 'tone'?

you can do that by default as well.. play tone/melodies..etc..
 
No, tones are easy, you just use a pwm out command connected to a peizo or whatever. I need it make a meowing noise.
 
ahh ok then..


look into using the SimpleSDAudio lib by author Tuttut for PWM audio output (.wav files need to be converted to .afm format.. but its drag-n-drop easy with the supplied library tools)

or look into a Adafruit Waveshield/hybrid/mereged board of some kind. :)
 
just thought if you want the boot and reload sound the new game has very clear sounds i have no idea how to take them from the game though
 
Thanks!..

unfortunately..Im not a 'gamer'... so wouldnt have access to this.. =(

(not to mention my ability to 'clean it up', increase volume a bit (where it doesnt distort)..and remove any pops/clicks/hissing is severely lacking) :)

pcb's are still on order... I think their chinese new years holiday is done tomorrow (18th)
 
PCB's (finally) arrived today!! :)


(I noticed that I left the silkscreen on top) :(..

but shouldnt affect it working or anything.. just not as 'clean' on the top side of the PCb as I intended I guess.. :)

I'll get some pics tonight.. and see if I can find some time to try and throw one together..

(still need to order 1 missing tant cap that I didnt have on hand) :)
 
quick pics of the pcb's.. mocked up in the shooters:

TASM_pcb_previewPic-008.jpg


TASM_pcb_previewPic-002.jpg


TASM_pcb_previewPic-003.jpg


TASM_pcb_previewPic-005.jpg


TASM_pcb_previewPic-006.jpg



hopefully this weekend I'll get some free time to clean up and bake 1 or 2 up for testing...
 
thanks...

there will be the red leds on the top (3) around the main chip... (they light up and fade out on each press/fire)
the resistors will be on top too..

hopefully all that extra stuff doesnt take away from the main chip..

(hoping under the bingo chip it will mute that stuff out a bit.. as its along the outer edge as much as it can be)

:)
 
Last edited:
HAHA (perfect)

I like your style man! :)

just need to nail down some decent sounds.. ;)

but in the end the end user can load whatever they want on the micro SD to replace the sounds..

wish there was more room for better/louder sound..

its really the bare minimum...

for people like us who want to have the leather band/add to collection.. we could have bigger/better battery and speaker solution.... so it'll be 'better'.. (but a proper filter & amp would have been best in a perfect world)

the peeps wanting this for costumes... not so sure.. (they'll have to be crafty) :)


in the end.. it was a fun challenge so far!...

not sure what I'll fall into next around here... find a nice prop to give me an electronics project for :)
 
alt pics:

TASM_pcb_previewPic2-002.jpg


TASM_pcb_previewPic2-003.jpg


TASM_pcb_previewPic2-004.jpg


TASM_pcb_previewPic3-001.jpg


TASM_pcb_previewPic3-002.jpg


TASM_pcb_previewPic3-003.jpg




havent really thought about the finish on the 3d parts at all?? anyone got some suggestions? just a sandable primer?


anyone try an acetone vapor bath on their 3D parts? suppose to give them sleek/shine..
 
I want they would make a perfect addition to my markpoon shooter I suppose good new the new webshooters are far bigger so there is more space for sound :) great job man
 
Back
Top