Skip to content

Latest commit

 

History

History
62 lines (52 loc) · 6.26 KB

PartsList.md

File metadata and controls

62 lines (52 loc) · 6.26 KB

Parts List

Num CostEach CostTotal Description Source
1 $0.00 $0.00 clothespin in homage to rubber band guns everywhere N/A
1 $0.80 $0.80 power switch, equivalent of: https://www.futureelectronics.com/p/electromechanical--switches--rocker/rr511d1121-e-switch-1057563
1 $0.70 $0.70 trigger button, equivalent of: https://smile.amazon.com/Pieces-Waterproof-Momentary-Button-Switch/dp/B07PG8YYWK
2 $23.99 $47.98 sets of 5050 WS2812B LED rings, one facing forward and one facing back: https://smile.amazon.com/gp/product/B07437X7SL
1 $2.00 $2.00 V3.0 ATmega328P 5V 16M CH340 Compatible to Arduino Nano V3 with 32Kbyte Flash (program storage), 2Kbyte SRAM, 1Kbyte EEPROM: source: my spare parts bin, so some very old ones... but available many places including: https://www.aliexpress.com/item/32242048437.html
1 $0.40 $0.40 SN74HCT125N quadruple bus buffer so one clone Arduino Nano can drive both sets of WS2812B rings: https://www.digikey.com/product-detail/en/texas-instruments/SN74HCT125N/296-8386-5-ND/376860
1 $4.40 $4.40 UBEC 3Amp: https://smile.amazon.com/2-Pieces-Hobbywing-Switch-mode-UBEC-Helicopter-Quadcopter/dp/B01GHMW0C0
2 $4.50 $8.99 Button top 18650 Rechargeable Batteries: https://smile.amazon.com/dp/B08LKP5LPD
1 $2.60 $2.60 YX5200 sound player: https://smile.amazon.com/Anmbest-YX5200-DFPlayer-Supporting-Arduino/dp/B07JGWMPTF/
1 $2.49 $2.49 small speaker: https://smile.amazon.com/Uxcell-a15080600ux0275-Internal-Magnet-Speaker/dp/B0177ABRQ6/
1 $3.80 $3.80 16Gbyte SD card for YX5200: https://smile.amazon.com/Patriot-16GB-Micro-SDHC-PSF16GMCSDHC5PK/dp/B013P27MDW
1 $3.55 $3.55 KCX_BT_EMITTER BlueTooth audio transmitter: https://www.aliexpress.com/item/33058710334.html
1 $35.99 $35.99 ZoeeTree S1Pro Bluetooth Speaker 20W , IPX7 Waterproof, for the RBG: https://smile.amazon.com/gp/product/B088H56DNY/ (link expired)
1 $0.95 $0.95 Mini On/Off Push-Button Switch: https://www.adafruit.com/product/3870
3 $0.08 $0.24 colored push-buttons for configuration of effects: https://www.amazon.com/gp/product/B07C7211PJ/ref=ppx_yo_dt_b_asin_image_o08_s00
1 $0.69 $0.69 4610X-AP1-103LFCT-ND RES ARRAY 9 RES 10K OHM 10SIP - for pull-up resistors: https://www.digikey.com/en/products/detail/bourns-inc/4610X-AP1-103LF/3741070
2 $0.10 $0.20 220 Ohm resistor, 1/4 watt (optional): https://www.digikey.com/en/products/detail/stackpole-electronics-inc/CF14JT220R/1741346
1 $0.84 $0.84 1K Ohm resistor, 1/4 watt (absolutely needed): https://www.digikey.com/en/products/detail/ohmite/OD102JE/823687
1 $0.71 $0.71 USB 2.0 Breakout Board type A Female https://www.amazon.com/Breakout-MELIFE-Adapter-2-54mm-Pinboard/dp/B07W7XMV3W
1 $0.71 $0.71 USB 2.0 Breakout Board type A Male https://www.amazon.com/MELIFE-Converter-2-54mm-Adapter-Breadboard/dp/B07W6T9KPJ
--- --- --- --- ---
0 $0.00 $0.00 driver circuit for selenoid: https://cdn-shop.adafruit.com/product-files/412/solenoid_driver.pdf
1 $14.29 $14.29 small solenoid for rubber-band release coordinated with sound/light effects: https://www.amazon.com/gp/product/B07TKTG3BH/ref=ox_sc_act_title_1?smid=A1THAZDOWP300U&psc=1
1 $0.83 $0.83 TIP120 Power Darlington Transistor: https://www.adafruit.com/product/976
1 $0.10 $0.10 1N4004 diode 1A 400V: https://www.digikey.com/en/products/detail/nte-electronics-inc/1N4004/11645015
1 $0.10 $0.10 2.2K Ohm resistor, 1/4 watt: https://www.digikey.com/en/products/detail/stackpole-electronics-inc/RNMF14FTC2K20/2617325
--- --- --- --- ---
0 $0.00 $0.00 driver circuit for motor (SIDEWINDER):
1 $9.86 $9.86 Mini Motor Low-speed Gearbox (4-speed) by Tamiya 70189**860. assembled with 661.2:1 gear ratio https://www.robotshop.com/en/tamiya-4-speed-mini-gearbox-motor.html?gclid=CjwKCAjwjtOTBhAvEiwASG4bCAY395M_dBB8nr0g79zMdmdYRo1whBBhot3-KgAPBxbUhbIBIlP4YxoCVXIQAvD_BwE
1 $1.25 $1.25 3.3V 800mA Linear Voltage Regulator - LD1117-3.3 TO-220. https://www.adafruit.com/product/2165
1 $0.15 $0.15 Diode, 1N4001 https://www.adafruit.com/product/755
1 $0.84 $0.84 1K ohm 1/4 watt resistor https://www.digikey.com/en/products/detail/ohmite/OD102JE/823687

Total cost (without wood or 3D printer parts or wire)

  • $133.37 - SOLENOID (SINGLETON) version
  • $130.14 - MOTOR (SIDEWINDER) version
  • but about $36 of that cost is the bluetooth speaker which you may have or not need

The barrel of the Rubber Band Gun is made from wood, with a sliding barrel attachment to assist in stringing the rubber band through the LED rings. The rest including the handgrip is 3-D printed. The clear cover for the handgrip is laser-cut acrylic; there is another acrylic board inside.

Audio Player Part

The YX5200 uses FAT32-formatted TF or microSD card up to 32 GByte

These look like some helpful sites for the YX5200:

This one is a re-write of the DFRobot library; also includes an English language spec sheet in the "extras" directory.

For a description of my experiences with using this module (I had some challenges), see the Readme.md in https://github.com/Mark-MDO47/RubberBandGun/tree/master/RBG_arduino.

Bluetooth Transmitter Part

The KCX_BT_EMITTER Bluetooth Audio Transmitter Module receives line-level (not speaker-level) stereo audio in and transmits to a Bluetooth receiver (speaker, headphones, etc.). Be sure to connect the analog ground and do not connect analog ground to digital ground. Also due to latency in packetizing/depacketizing the Bluetooth audio, it is best to turn off the built-in speaker on the RBG if using the Bluetooth audio.

The Bluetooth Module uses an "AT" command set to program it to connect to your speaker and not others. Included in this repository is an Arduino sketch for a 2nd Arduino that is used to program the KCX_BT_EMITTER in-place. The following document describes using this capability: