projekte:lasertag

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
Letzte ÜberarbeitungBeide Seiten der Revision
projekte:lasertag [2014/11/30 20:58] larsmprojekte:lasertag [2015/06/29 11:28] larsm
Zeile 3: Zeile 3:
 [[https://github.com/rene-dev/Lasertag]] [[https://github.com/rene-dev/Lasertag]]
  
-**ACHTUNG: Die Laser mit > 1mW Leistung dürfen NICHT ohne Schutz betrieben werden!!!**+**ACHTUNG: Die Laser mit > 0,4mW Leistung dürfen NICHT ohne Schutz betrieben werden!!!**
  
 === Waffe === === Waffe ===
Zeile 9: Zeile 9:
 == Waffe: Gehirn == == Waffe: Gehirn ==
  
-Ist das Herzstück in jeder Waffe. Die Arietta sprechen per WLAN miteinander. Erstmal einen AP der den Server machtspäter mal ein Mesh-Netz. Per i²c werden das Lasermodul in der Waffe und die Trefferzonenmodule in der Waffe und in der Weste angeschlossen.+Ist das Herzstück in jeder Waffe. Die Raspberry PIs sprechen per WLAN miteinander. Eine Waffe macht den Server, alle anderen joinen in das WLAN und den Server. Per i²c werden das Lasermodul in der Waffe und die Trefferzonenmodule in der Waffe und in der Weste an den Pi angeschlossen.
  
 ^  Bezeichnung  ^  Verwendung  ^  Einzelpreis  ^  Anzahl  ^  Gesamtpreis  ^  Bestellmenge  ^  Anmerkungen  ^  Link  ^ ^  Bezeichnung  ^  Verwendung  ^  Einzelpreis  ^  Anzahl  ^  Gesamtpreis  ^  Bestellmenge  ^  Anmerkungen  ^  Link  ^
- | Arietta G25 WLAN 37 | 1 | 37  | muss | [[http://www.acmesystems.it/arietta|link]] | +Raspberry Pi A+ | Gehirn | 20 | 1 | 20 oder irgendein anderer Pi | muss | [[http://www.reichelt.de/?ACTION=3&ARTICLE=150492&GROUPID=6666&PROVID=2773&psuma=idealo.de|Reichelt]] | 
-| MB-MP16DA/EU | Samsung microSDHC EVO 16GB | 11 | 1 | 11 |  | muss | [[http://www.idealo.de/preisvergleich/OffersOfProduct/4365478_-microsdhc-evo-16gb-class-10-uhs-i-mb-mp16da-eu-samsung.html|idealo]] |+| TP-LINK TL-WN722N | WLAN Stick | 9 | 1 | 9 | oder TL-WN821N oder anderer | muss | [[http://www.idealo.de/preisvergleich/OffersOfProduct/1850597_-150mbps-high-gain-wireless-usb-adapter-tl-wn722n-tp-link.html|idealo]] | 
 +| MB-MP16DA/EU | Samsung microSDHC EVO 16GB | 11 | 1 | 11 | ab 4GB, sollte schnell sein | muss | [[http://www.idealo.de/preisvergleich/OffersOfProduct/4365478_-microsdhc-evo-16gb-class-10-uhs-i-mb-mp16da-eu-samsung.html|idealo]] |
 |  | SPI Touch-Display 320*240 | 5,5 | 1 | 5,5 |  | muss | [[http://www.ebay.de/itm/321496984341|ebay china]] | |  | SPI Touch-Display 320*240 | 5,5 | 1 | 5,5 |  | muss | [[http://www.ebay.de/itm/321496984341|ebay china]] |
-|  | 2 stufiger Abzug | 1 | 1 | 1 |  | muss | [[http://de.farnell.com/multicomp/mc2a-1f/taster-zweifache-bet-tigung-smd/dp/1522042|farnell]] | +| MAR 1683.1201 | Scharf-Taster vorne, Abzug, Reload | 1,75 | 5,25 |  | muss | [[http://www.reichelt.de/Drucktaster-Druckschalter/MAR-1683-1201/3/index.html?&ACTION=3&LA=2&ARTICLE=108199&GROUPID=3277&artnr=MAR+1683.1201|reichelt]] |
-| MAR 1683.1201 | Scharf-Taster vorne | 1,75 | 1,75 |  | muss | [[http://www.reichelt.de/Drucktaster-Druckschalter/MAR-1683-1201/3/index.html?&ACTION=3&LA=2&ARTICLE=108199&GROUPID=3277&artnr=MAR+1683.1201|reichelt]] |+
 | WIPPE 1801.6115 | Anschalter | 1,1 | 1 | 1,1 |  | muss | [[http://www.reichelt.de/Wippschalter/WIPPE-1801-6115/3/index.html?&ACTION=3&LA=2&ARTICLE=108235&GROUPID=3285&artnr=WIPPE+1801.6115|reichelt]] | | WIPPE 1801.6115 | Anschalter | 1,1 | 1 | 1,1 |  | muss | [[http://www.reichelt.de/Wippschalter/WIPPE-1801-6115/3/index.html?&ACTION=3&LA=2&ARTICLE=108235&GROUPID=3285&artnr=WIPPE+1801.6115|reichelt]] |
 |  | 5V Step-Up Wandler | 1,3 | 1 | 1,3 |  | muss | [[http://www.ebay.de/itm/251707316340|ebay china]] | |  | 5V Step-Up Wandler | 1,3 | 1 | 1,3 |  | muss | [[http://www.ebay.de/itm/251707316340|ebay china]] |
 |  | 18650 Halter | 0,4 | 2 | 0,8 |  | muss | [[http://www.ebay.de/itm/251712513542|ebay china]] | |  | 18650 Halter | 0,4 | 2 | 0,8 |  | muss | [[http://www.ebay.de/itm/251712513542|ebay china]] |
 |  | 18650 2,5 Ah LiIon Akku | 0 | 2 | 0 |  | muss | vorhanden | |  | 18650 2,5 Ah LiIon Akku | 0 | 2 | 0 |  | muss | vorhanden |
-|  | LiIon MicroUSB Lader und Tiefentladeschutz | 1 | 1 | 1 |  | muss | [[http://www.ebay.de/itm/400665520672|ebay china]] | +|  | LiIon MicroUSB Lader | 1 | 1 | 1 |  | muss | [[http://www.ebay.de/itm/251364360997|ebay china]], <code>http://anonymouse.org/cgi-bin/anon-www_de.cgi/http://www.ebay.com/sch/i.html?_odkw=lithium+charger+usb&LH_PrefLoc=2&_sop=15&_from=R40|R40|R40|R40|R40|R40|R40|R40|R40|R40|R40|R40|R40|R40|R40|R40|R40|R40|R40|R40|R40&LH_BIN=1&_osacat=0&_from=R40&_trksid=m570.l1313&_nkw=lithium+charger+usb+10pcs&_sacat=0</code> 
-| SPC-2887 | Lautsprecher | 7,5 | 1 | 7,5 |  | muss | [[http://www.ebay.de/itm/400684716176|ebay china]] |+| SPC-2887 | Lautsprecher | 2,5 | 1 | 2,5 |  | muss | [[http://www.ebay.de/itm/201043340303|ebay china]] |
 |  | kleiner Audio Verstärker | 1,6 | 1 | 1,6 |  | muss | [[http://www.ebay.de/itm/201107699088|ebay china]] | |  | kleiner Audio Verstärker | 1,6 | 1 | 1,6 |  | muss | [[http://www.ebay.de/itm/201107699088|ebay china]] |
  
 == Waffe: Lasermodul == == Waffe: Lasermodul ==
  
-Steuert den RGB Laser in Team-Farbe, die RGBW Flashlight in Teamfarbe und die IR Sendediode oder -laser. Der IR_TAKT generiert dauerhaft die 40 kHz Trägerfrequenz. Der IR_TX gibt pro Schuss Bytes UART mit der Player ID aus was durch das P-FET invertiert wird.+Steuert den Laser, die Front-RGBW LED in Teamfarbe und die IR Sendediode. Der IR_TAKT generiert dauerhaft die 38 kHz Trägerfrequenz. Der IR_TX gibt pro Schuss ein Paar Bytes UART mit der Player ID, dem Schaden und einer checksumme aus was durch das P-FET invertiert wird.
  
 ^  Bezeichnung  ^  Verwendung  ^  Einzelpreis  ^  Anzahl  ^  Gesamtpreis  ^  Bestellmenge  ^  Anmerkungen  ^  Link  ^ ^  Bezeichnung  ^  Verwendung  ^  Einzelpreis  ^  Anzahl  ^  Gesamtpreis  ^  Bestellmenge  ^  Anmerkungen  ^  Link  ^
-|  | 1 Layer Platine | | 1 | |  | muss |  | +http://www.ebay.de/itm/301511719005 
-ATMEGA 88A-AU | Laser, IR und LED <-> i2c 1,| 1 | 1, | muss | [[http://www.reichelt.de/ATMEGA-88A-AU/3/index.html?&ACTION=3&LA=446&ARTICLE=121832&artnr=ATMEGA+88A-AU&SEARCH=ATMEGA+88|Reichelt]] |+|  | 1 Layer Platine | | 1 | |  | muss |  | 
 +ATmega88PA-AU | CPU 0,| 1 | 0,oder *8PA-AU, *8P-AU, *8A-AU, *8-AU; *=[8,16,32] | muss | [[http://www.reichelt.de/ATMEGA-88PA-AU/3/index.html?&ACTION=3&LA=446&ARTICLE=121834&artnr=ATMEGA+88PA-AU&SEARCH=ATMEGA+88|Reichelt]], [[http://www.ebay.de/itm/290772195645|ebay china]], <code>http://anonymouse.org/cgi-bin/anon-www_de.cgi/http://www.ebay.com/sch/i.html?_odkw=%28ATMEGA88*%2CATMEGA168*%2CATMEGA328*%29+10+-dip+-ATMEGA88V+-ATMEGA168V+-ATMEGA88PV&LH_PrefLoc=2&_sop=15&_from=R40|R40|R40|R40|R40|R40|R40|R40|R40|R40|R40|R40|R40|R40|R40|R40|R40|R40|R40|R40|R40|R40|R40|R40|R40|R40|R40&LH_BIN=1&_osacat=0&_from=R40&_trksid=m570.l1313&_nkw=%28ATMEGA88*%2CATMEGA168*%2CATMEGA328*%29+10pcs+-dip+-ATMEGA88V+-ATMEGA168V+-ATMEGA88PV&_sacat=0</code> |
 | ULN 2803 D | Transistor Array zur LED Ansteuerung | 0,39 | 1 | 0,39 |  | muss | [[http://www.reichelt.de/ICs-U-ZTK-/ULN-2803-D/3//index.html?ACTION=3&GROUPID=2921&ARTICLE=39779&OFFSET=16&|Reichelt]] | | ULN 2803 D | Transistor Array zur LED Ansteuerung | 0,39 | 1 | 0,39 |  | muss | [[http://www.reichelt.de/ICs-U-ZTK-/ULN-2803-D/3//index.html?ACTION=3&GROUPID=2921&ARTICLE=39779&OFFSET=16&|Reichelt]] |
 | X7R-G0805 100N | SMD-Vielschicht-Keramikkondensator 100N, 10% | 0,05 | 2 | 0,1 |  | muss | [[http://www.reichelt.de/X7R-G0805-100N/3/index.html?&ACTION=3&LA=446&ARTICLE=31879&artnr=X7R-G0805+100N&SEARCH=X7R-G0805+100N|Reichelt]] | | X7R-G0805 100N | SMD-Vielschicht-Keramikkondensator 100N, 10% | 0,05 | 2 | 0,1 |  | muss | [[http://www.reichelt.de/X7R-G0805-100N/3/index.html?&ACTION=3&LA=446&ARTICLE=31879&artnr=X7R-G0805+100N&SEARCH=X7R-G0805+100N|Reichelt]] |
 | X5R-G1210 100 | SMD-Vielschichtkondensator G1210-100UF 6,3V | 0,45 | 2 | 0,9 |  | muss | [[http://www.reichelt.de/Vielschicht-SMD-G1210-High-Cap/X5R-G1210-100/3/index.html?&ACTION=3&LA=2&ARTICLE=107459&GROUPID=5155&artnr=X5R-G1210+100|reichelt]] | | X5R-G1210 100 | SMD-Vielschichtkondensator G1210-100UF 6,3V | 0,45 | 2 | 0,9 |  | muss | [[http://www.reichelt.de/Vielschicht-SMD-G1210-High-Cap/X5R-G1210-100/3/index.html?&ACTION=3&LA=2&ARTICLE=107459&GROUPID=5155&artnr=X5R-G1210+100|reichelt]] |
-| IRLML 6402 | P-FET SOT23: IR-Ansteuerung | 0,15 | | 0,15  | muss | [[http://www.reichelt.de/IRLML-6402/3/index.html?&ACTION=3&LA=446&ARTICLE=108743&artnr=IRLML+6402&SEARCH=IRLML6402PBF|Reichelt]] | +| IRLML 6402 | P-FET SOT23: IR-Ansteuerung | 0,15 | | 0,45 oder AO3401 | muss | [[http://www.reichelt.de/IRLML-6402/3/index.html?&ACTION=3&LA=446&ARTICLE=108743&artnr=IRLML+6402&SEARCH=IRLML6402PBF|Reichelt]], [[http://www.ebay.de/itm/290937749936|ebay china]] | 
-LD 274-3 | IR LED 950nm +-10° | 0,| 1 | 0,|  | muss | [[http://www.reichelt.de/LD-274-3/3/index.html?&ACTION=3&LA=446&ARTICLE=65174&artnr=LD+274-3&SEARCH=LD+274-3|Reichelt]] | +VSLY5940 | IR LED 950nm +-3° | 0,| 1 | 0,|  | muss | [[http://www.mouser.de/ProductDetail/Vishay-Semiconductors/VSLY5940/?qs=94CH1SeFPDYs4Y%2FR3DhmKA%3D%3D|Mouser]] | 
-| PTC194600-014 | SMD-1812-PTC-Sicherung 0,14A/0,34A zur Lasersicherheit | 0,18 | 1 | 0,18 |  | muss | [[http://www.reichelt.de/Rueckstellende-Sicherungen/PTC194600-014/3/index.html?&ACTION=3&LA=2&ARTICLE=125203&GROUPID=3307&artnr=PTC194600-014|reichelt]] |+| Osram SFH 4545 | IR LED 950nm +-5° | 0,57 | 1 | 0,75 |  | muss | [[http://www.voelkner.de/products/553301/Osram-Components-IR-Emitter-950-nm-5-5-mm-radial-bedrahtet-SFH-4545.html|z. B. Völkner]] | 
 +| PTC194600-150 | SMD-1812-PTC-Sicherung 1,5A/3A Überspannungsschutz | 0,18 | 1 | 0,18 |  | muss | [[http://www.reichelt.de/Rueckstellende-Sicherungen/PTC194600-014/3/index.html?&ACTION=3&LA=2&ARTICLE=125203&GROUPID=3307&artnr=PTC194600-014|reichelt]] |
 | ZD-5W 5,6V | Zener-Diode 5,0W 5,6V zur Lasersicherheit | 0,35 | 1 | 0,35 |  | muss | [[http://www.reichelt.de/Z-Dioden-5-0W/ZD-5W-5-6V/3/index.html?&ACTION=3&LA=2&ARTICLE=145337&GROUPID=6563&artnr=ZD-5W+5%2C6V|reichelt]] | | ZD-5W 5,6V | Zener-Diode 5,0W 5,6V zur Lasersicherheit | 0,35 | 1 | 0,35 |  | muss | [[http://www.reichelt.de/Z-Dioden-5-0W/ZD-5W-5-6V/3/index.html?&ACTION=3&LA=2&ARTICLE=145337&GROUPID=6563&artnr=ZD-5W+5%2C6V|reichelt]] |
-| TS 1117 BCW33 | 3,3V Spannungsregler | 0,3 | 1 | 0,3 |  | muss | [[http://www.reichelt.de/TS-1117-BCW33/3/index.html?&ACTION=3&LA=446&ARTICLE=115971&artnr=TS+1117+BCW33&SEARCH=1117|reichelt]] |+| TS 1117 BCW33 | 3,3V Spannungsregler | 0,3 | 1 | 0,3 | oder *1117 | muss | [[http://www.reichelt.de/TS-1117-BCW33/3/index.html?&ACTION=3&LA=446&ARTICLE=115971&artnr=TS+1117+BCW33&SEARCH=1117|reichelt]] |
 | NXP PUSB2X4Y | ESD Überspannungsschutz für i2c-Bus | 0,2 | 1 | 0,2 |  | muss | [[http://de.farnell.com/nxp/pusb2x4y/esd-protection-diode-3-8v-sc-88/dp/2400968|farnell]] | | NXP PUSB2X4Y | ESD Überspannungsschutz für i2c-Bus | 0,2 | 1 | 0,2 |  | muss | [[http://de.farnell.com/nxp/pusb2x4y/esd-protection-diode-3-8v-sc-88/dp/2400968|farnell]] |
 | TSOP4338 | IR-Empfänger-Module 38kHz AGC3 | 0,67 | 1 | 0,67 |  | muss | [[http://de.farnell.com/vishay/tsop4338/ir-empfaenger-klein-agc3-38khz/dp/2251379|farnell]] | | TSOP4338 | IR-Empfänger-Module 38kHz AGC3 | 0,67 | 1 | 0,67 |  | muss | [[http://de.farnell.com/vishay/tsop4338/ir-empfaenger-klein-agc3-38khz/dp/2251379|farnell]] |
 |  | SMD Wiederstand 0805 | 0,05 | 15 | 0,75 |  | muss | [[http://www.reichelt.de/SMD-0805-10-0-k-Ohm-82-0-k-Ohm/SMD-0805-10-0K/3/index.html?&ACTION=3&LA=2&ARTICLE=32898&GROUPID=3098&artnr=SMD-0805+10%2C0K|reichelt]] | |  | SMD Wiederstand 0805 | 0,05 | 15 | 0,75 |  | muss | [[http://www.reichelt.de/SMD-0805-10-0-k-Ohm-82-0-k-Ohm/SMD-0805-10-0K/3/index.html?&ACTION=3&LA=2&ARTICLE=32898&GROUPID=3098&artnr=SMD-0805+10%2C0K|reichelt]] |
 |  | JST-XH 4-Pol Buchse | 0,12 | 2 | 0,24 |  | muss | [[http://www.ebay.de/itm/50set-2-5-XH-4-Pin-JST-Connector-plug-Male-Female-Crimps-/171351041648?pt=Radio_Control_Parts_Accessories&hash=item27e5516670|ebay china]] | |  | JST-XH 4-Pol Buchse | 0,12 | 2 | 0,24 |  | muss | [[http://www.ebay.de/itm/50set-2-5-XH-4-Pin-JST-Connector-plug-Male-Female-Crimps-/171351041648?pt=Radio_Control_Parts_Accessories&hash=item27e5516670|ebay china]] |
-|  | Stiftleiste |   |  |  | muss | [[|ebay china]] | +|  | Stiftleiste | 0,| 1 | 0,|  | muss | [[|ebay china]] | 
-|  | 5mW Lasermodul rot 650nm | 5,| 1 | 5,|  | muss | [[http://www.ebay.de/itm/131034338298|ebay china]] | +|  | Lasermodul Rot 635nm 0,4mW Klasse 1 mit CE-Zertifikat aus DE 20 | 1 | 20 |  | muss | [[https://secure.picotronic.de/laserfuchs/product_info.php/info/p416_Punktlaser--635nm--0-3mW--Laser-Klasse-1--3V-DC----10x22mm.html|picotronic.de]] | 
-|  | 5mW Lasermodul grün 532nm | 1 | |  | optional | [[http://www.ebay.de/itm/251194595549|ebay china]] | +| Cree MC-E RGBW | RGBW Taschenlampen-LED | | 1 | |  | muss | [[http://www.ebay.de/itm/151324658866|ebay china]] | 
-|  | 50mW Laserdiode blau 450nm | 24 | 1 | 24 |  | optional | [[http://www.ebay.de/itm/400551486655|ebay china]] | +|  | Reflektor für RGBW LED | 0,5 | 1 | 0,5 |  | muss | [[http://www.ebay.de/itm/151382369234|ebay china]] |
-|  | Laserdiodenhalter mit Linse | 5,5 | | 5,5 |  | optional | [[http://www.ebay.de/itm/110913558454|ebay china]] | +
-|  | 30mW Lasermodul IR 980nm | 5 | 1 | 5 |  | optional | [[http://www.ebay.de/itm/281469734286|ebay china]] | +
-| Cree MC-E RGBW | RGBW Taschenlampen-LED | | 1 | |  | optional | [[http://www.ebay.de/itm/161333599213|ebay china]] | +
-|  | Kühler und Reflektor für RGBW Taschenlampen-LED | | 1 | |  | optional | [[http://www.ebay.de/itm/171534249572|ebay china]] |+
  
 {{:projekte:lasertag_lasermodul_schaltplan.png?direct&300|}} {{:projekte:lasertag_lasermodul_schaltplan.png?direct&300|}}
Zeile 57: Zeile 55:
 === Trefferzonenmodul === === Trefferzonenmodul ===
  
-Empfängt die Player-ID des Schützen und leitet sie per i2c an den das Gehirn weiter. 2*2 unabhängige RGB-LEDs zeigen was an und ein Hub-Magnet gibt haptisches Feadback.+Empfängt die Player-ID des Schützen und leitet sie per i2c an den das Gehirn weiter. RGB-LEDs zeigen was an und ein Hub-Magnet gibt haptisches Feadback.
  
 ^  Bezeichnung  ^  Verwendung  ^  Einzelpreis  ^  Anzahl  ^  Gesamtpreis  ^  Bestellmenge  ^  Anmerkungen  ^  Link  ^ ^  Bezeichnung  ^  Verwendung  ^  Einzelpreis  ^  Anzahl  ^  Gesamtpreis  ^  Bestellmenge  ^  Anmerkungen  ^  Link  ^
Zeile 75: Zeile 73:
  
 {{:projekte:lasertag_trefferzonenmodul_schaltplan.png?direct&300|}} {{:projekte:lasertag_trefferzonenmodul_schaltplan.png?direct&300|}}
 +{{:projekte:lasertag_trefferzonenmodul_board.png?direct&300|}}
  
 === Sonstiges === === Sonstiges ===
Zeile 88: Zeile 87:
 ^  Was  ^  min Ausbau  ^  max Ausbau  ^ ^  Was  ^  min Ausbau  ^  max Ausbau  ^
 | Gehirn | 66 | 66 | | Gehirn | 66 | 66 |
-| Lasermodul | 14 75 +| Lasermodul | 17 78 
-| Trefferzonenmodul | 10 17 |+| Trefferzonenmodul | 13 20 |
 | Gehäuse und alles andere | 15 | 30 | | Gehäuse und alles andere | 15 | 30 |
-| Summe | 94 188 |+| Summe | 100 194 |
  
 == Weste == == Weste ==
  
 ^  Was  ^  min Ausbau  ^  max Ausbau  ^ ^  Was  ^  min Ausbau  ^  max Ausbau  ^
-| 4 Trefferzonenmodule | 4*10 | 4*17 |+| 4 Trefferzonenmodule | 4*13 | 4*20 |
 | Stoff, Kabel und alles andere | 15 | 30 | | Stoff, Kabel und alles andere | 15 | 30 |
-| Summe | 55 98 |+| Summe | 67 110 |
  
 === Software === === Software ===
Zeile 156: Zeile 155:
  TrefferzonenLED_hinten: teamfarbe, weiss, aus  TrefferzonenLED_hinten: teamfarbe, weiss, aus
  TrefferzonenLED_Waffe: teamfarbe, weiss, aus  TrefferzonenLED_Waffe: teamfarbe, weiss, aus
 +
 + //i2c:
 + //0 1 2 3 4 5 6 7 8 9 10 11 12
 + //key_1 key_2 key_3 led_r led_g led_b led_w laser_r laser_g laser_b tx_pid tx_dmg haptik
 +
 </code> </code>
    
  • projekte/lasertag.txt
  • Zuletzt geändert: 2017/03/01 19:19
  • von 127.0.0.1