Team Members: Ruichen Zhao Xhoua Lor Jen-Yuan Hsiao John Marion D N G F u 0 1 C37 D N G D N G D N G MSP430F5xxx P5.0/VREF+/VeREF+ 9 P5.1/VREF-/VeREF- n 0 a 9 8 3 9 0 P5.2/XT2IN PJ.1/TDI/TCLK 5 6 1 2 9 4 9 PJ.0/TDO 1 PJ.2/TMS 3 4 2 P5.3/XT2OUT PJ.3/TCK 7 8 0 9 5 9 R33 R31 P5.4/UCB1SOMI/UCB1SCL 4 2 7 1 8 1 P10.7 1 P10.6 3.3V 1 P6.0/A1 P4.3/TB0.3 Port GPS Trigger 7 9 6 4 P4.3 a n 0 1 P6.1/A1 P4.2/TB0.2 P10.4 Reload 8 9 5 4 P4.2 1 P6.2/A2 P4.1/TB0.1 2 P10.3 p U 9 9 4 4 P4.1 R32 R30 F 1 P6.3/A3 P4.0/TB0.0 P10.2 Down 0 0 1 3 4 P4.0 1 P6.4/A4 P10.1 Left 1 8 P6.5/A5 P3.7 C32 G 3.3V 3.3V Right 2 2 4 P3.7 6 P10.5 5 4 3 2 1 1 P10.0 D RX GPS RX GPS 4 5 P4.4/TB0.4 7 4 P4.4 0 Y p 0 0 1 N TX GPS TX GPS 2 5 P5.7/UCA1RXD/UCA1SOMI P4.5/TB0.5 8 4 P4.5 1 C33 D 3 P5.6/UCA1TXD/UCA1SIMO P4.6/TB0.6 9 4 P4.6 F p 0 0 1 JTAG N G P5.5 2 5 P5.4 1 5 P5.5/UCB1CLK/UCA1STE P4.7/TB0CLK 0 5 P4.7 RST 3 1 1 1 9 4 1 2 1 0 1 D N G 0.1uF 0 1 7 P6.6/A6 P3.6 P4.7 P9.0 Key 3 1 4 P3.6 9 6 P6.7/A7 P3.5 P4.6 P9.2 P6.7 4 0 4 P3.5 C26 8 5 P3.4 BTN P4.5 P9.1 9 3 P3.4 7 4 P7.0/XIN P3.3 D N G P4.4 P9.3 3 1 6 3 P3.3 Key 6 3 P7.1/XOUT P3.2 P4.3 P9.4 F p 0 0 1 F p 0 0 1 4 1 5 3 P3.2 Key 0.1uF 5 2 P7.2 P3.1 P4.2 P9.5 P7.2 5 5 4 3 P3.1 4 1 P7.3 P3.0 P4.1 3.3V P7.3 6 5 3 3 P3.0 C25 3 P7.4/A12 BTN 5 C 4 C P4.0 Port RF P7.4 5 2 P7.5/A13 P9.7 2 1 P7.5 6 Right 1 P7.6/A14 P2.7 P9.6 2 Y P7.6 7 2 3 P2.7 0.1uF Right P7.7/A15 P2.6/ACLK B Port Miscellaneous P7.7 8 1 3 P2.6 P2.5 2 1 0 3 P2.5 C24 8 P2.4//RTCCLK BTN 1 Y P8.7 9 2 P2.4 7 P8.0 P2.3/TA1.2 P8.6 P8.0 7 5 8 2 P2.3 Left 6 P8.1 P2.2/TA1.1 P8.5 P8.1 8 5 7 2 P2.2 0.1uF Left 5 P8.2 P2.1/TA1.0 P8.4 P8.2 9 5 6 2 P2.1 4 2 4 P8.3 P2.0/TA1CLK/MCLK LED1 D N G D N G P8.2 P8.3 P8.3 0 6 5 2 P2.0 C23 3 2 3 P8.4 BTN P8.1 V 5 ULN2803 P8.4 1 6 2 2 2 P8.5 P1.7 P1.6/SMCLK 2 P1.5/TA0.4 P1.5 P1.4/TA0.3 P1.4 P1.3/TA0.2 P1.3 P1.2/TA0.1 P1.2 P1.1/TA0.0 P1.1 0.1uF P1.0/TA0CLK/ACLK P1.0 P9.4 7 C21 Vcore Vcore P9.6 7 Reload T T 0.1uF Reload 1 G D N G B Red DVss4 8 C20 DVss3 BTN 3 DVss2 6 Trigger DVss1 1 n 0 0 1 Trigger DVcc4 8 C13 DVcc3 D N G 3 DVcc2 6 DVcc1 1 3.3V 3 P2.2 1 P8.0 3.3V P8.5 5 6 4 2 1 2 1 0 1 9 P8.6 P7.7 D N G M O C B 9 P8.6 6 6 3 0 2 1 1 8 P8.7 P7.6 Port LCD C 8 B 8 P3.7 P8.7 7 6 2 2 9 1 2 1 7 P7.5 B Sensor C 7 B 7 P3.6 1 2 8 1 3 1 6 P9.0 P7.4 F Sensor C 6 B 6 P3.5 P9.0 8 6 0 2 7 1 4 1 5 P9.1 P7.3 H Sensor C 5 B 5 P3.4 P9.1 9 6 9 1 6 1 5 1 4 P9.2 P7.2 B Blue C 4 B 4 P3.3 P9.2 0 7 8 1 5 1 6 1 3 P9.3 P6.7 B Red C 3 B 3 P3.2 P9.3 2 7 7 1 4 1 3 1 5 1 8 6 P5.5 B Sensor B Green C 2 1 1 1 7 1 2 B 2 P3.1 P9.4 2 P9.5 P5.4 F Sensor F Blue C 1 B 1 P3.0 P9.5 3 7 2 6 2 1 4 1 P1.7 H Sensor 2 U P9.6 4 1 1 3 1 P9.7 T S E P1.5 B Blue P9.7 5 7 0 9 T S E 0 1 2 D N P1.4 9 1 1 P10.0 P1.3 B Green ULN2803 P10.0 6 7 8 8 0 1 P10.1 P1.2 F Blue P10.1 7 7 7 7 9 0 1 9 P10.2 P1.1 F Red M O C B 9 P10.2 8 7 3 6 8 1 1 8 P10.3 P1.0 F Green F Red C 8 B 8 P2.7 P10.3 9 7 5 5 7 2 1 7 P10.4 SMCLK H Blue F Green C 7 B 7 P2.6 P10.4 0 8 7 4 6 3 1 6 P10.5 MCLK H Red H Blue C 6 B 6 P2.5 P10.5 1 8 8 3 5 4 1 5 P10.6 ACLK H Green H Red C 5 B 5 P2.4 P10.6 2 8 4 2 4 5 1 4 P10.7 Vcore Hz K 40 H Green C 4 B 4 P2.3 P10.7 3 8 6 1 3 6 1 T S E T KHz 56 Hz K 40 C 3 B 3 n 0 P1.7 p U BTN 0 R13 R I C22 p U 0 0.1uF BTN 3 3 Down Down 2 7 1 2 P11.0 AVss A Port Miscellaneous KHz 455 KHz 56 C 2 B 2 P2.1 ACLK 4 8 2 1 RESET 1 8 1 1 P11.1 AVcc 3.3V KHz 455 C 1 B 1 P2.0 MCLK 5 8 1 1 n 7 4 4 S P11.2 RST C14 Port Sensor 1 U SMCLK 6 8 6 9 3.3V C36 k 7 4 3.3V R43 Free, recycled from MilesTag taggers. Four pin control. Reset and Enable Pins. D N G K 1 Rfb1 D N G D N G 1.69K 0.001uF D N G 0.01uF Rfb2 45.3K 0.001uF Css Cramp LM25576MH t R S S D N G A Ccomp2 D N G 2 1 1 T U O RMAP 9 1 0 1 26.1K 0.004uF PGND T R 3 1 8 PGND B F 4 1 7 Rcomp 5 D 1 S I SYNC S 1 6 I COMP Ccomp F u 0 3 3 H u 2 2 6 1 5 W S VIN Cout D N G 7 1 4 W S VIN 3.3V 0.022uF 8 1 3 1 L PRE D S D N G 9 1 2 BST C C V 0 2 1 0.470uF Cboot 1 U 22.0uF Cin Cbyp 1 2 Socket Power Global Positioning System MN5010HS SiRF Binary Protocol Standalone chip that streams 32bit XYZ positional data. I/O Ports GPS Chip GND GND JP1 4 k 0 1 k 0 1 GND 3 TX-O 1 R 2 R 2 1 9 7 4 1 1.8V RX-I 3 2 2 2 1 1 4 2 4 2 VCC D D N N OPT2 OPT1 COMM GND31 GND29 GND27 GND24 GND11 G G NAV NMR NMR 3 2 0 2 VIO 2 1 1.8V NAV OPT2 S P P 1 OPT2 4 1 9 S 3 TX-0 F n 3 OPT1 OPT1 3 1 8 X T P P 1 ANT RX-I GND 0 3 7 X R ONOFF BATT 1 C ONOFF 2 2 3 3 2SMD3 Antenna MN5010HS VCC 5 V 4 U BAS16 MMBT2222 X R RX_I 1 Q JP2 2 D GND GND 3 S P P 1 0 3 3 2 NMR 1 BSS138 ONOFF 6 R 2 Q BRKT F u 0 1 0.1uF TX-O X T 4 C 3 C k 0 1 k 0 1 LED0 1 D 8 R 7 R VCC VCC 1.8V 1.8V VCC GPS Micro-Mini From Sparkfun. Note have chip as well for second revision based on sparkfun model. ○ Prebuilt version is more expensive. Connector Ports Connect and disconnect from main board. ○ Plug and Play (kind of). Antenna Radio Frequency Communication. The radio front end uses GFSK modulation. The channel occupies a bandwidth of less than 1MHz at 250kbps The ANT1 and ANT2 output pins provide a balanced RF output to the antenna Zo = 15Ω+j88Ω I/O Ports RF transceiver D N G G G D D N F p N F p 0 0 0 1 1 C 0 M 1 1 2 1 R 1 Q 1 k 2 2 n 3 3 2 C 1.0p 7 C NRF24L01 6 C 2 R 1 D N G VSS4 1.5p Antenna 3.9n 9 1 0 9 2 D D V D 2 C X 1 0 1 3 C X 2 3 D D V VSS1 4 8 1 8 3 L VSS3 1 D D V 5 5 C 7 1 7 IREF IRQ 6 6 1 6 2 D D V MISO 7 10mH 5 1 5 1 Y VSS2 MOSI 8 1 L 4 1 4 ANT2 SCK 2.7n 3 1 3 JP1 ANT1 CSN 2 1 2 2 L VDD_PA E C 1 1 1 D N G 4.7p 2.2n 1 U C G C C10 T U O N I 4 V 2 U 4 C 3 n 1 n 0 D N G D N 8 C 9 C 1 5 D N G 1 C P B N E 2 D 2.2u MIC5205 3 N G D N G Frequency: 2.4-2.5 GHz Gain: 3.2 dBi Impedance: 50ohm VSWR < 1.9 Polarization: Vertical Radiation: Omni Transceiver nRF24L01+ Module with Chip Antenna. From Sparkfun. Connector Ports Connect and disconnect from main board. ○ Plug and Play (kind of). Resistors/Capacitors/Inductors Biasing and Impedance Matching. Antenna Chip antenna does not work well in use. PWM Infrared light Encodes a bit stream of data Added 455kHz communication I/O Port 455kHz Receiver 56kHz Receiver 38kHz Receiver I/O Port Using PWM (Pulse Width Modulation) We output a fc=40, 56 or 455 kHz square wave of the IR light wave(950 nm = 316THz). 24 periods of 1/fc for a zero, 48 periods for a 1 and a 96 periods for a header. Each pulse is separated by 24 periods of off time. From Vishay Documentation 2 2 This is an example of a what is actually propagated through the air. 1 5 periods of pulsed IR. Xc( t ) 0 1 2 2 0 .00005 110 4 210 t 4 4 310 410 .0004 4 TSOP sensor has built in demodulator. All we see at the processor is a PWM signal that represents a bit stream. Inverted signal From Vishay Documentation Example Signal from MilesTag website. We are using this scheme scaled to our carrier frequencies. At 455kHz we can fit in over ten times the data in the same time. Here is an example of what we generate Binary 01 0 1 0 1 ○ Transmitted ○ Received From Vishay Documentation From Vishay Documentation From Vishay Documentation Isolates Microcontroller from sensors. For Tricolor LEDs and Sensors. 8 Darlington Pairs Per Package. 500mA per Darlington Pair. Plenty of leeway Sensors max rating 200mA. LEDs max on a pair would be 80mA. From TI Documentation Single internal Circuit With on/off modeled + Driven System model VCC 3.3V VCC LED1 VCC 3.3V VCC D2 J1 Key = Space 4 6 R1 DIODE_VIRTUAL Q1 BJT_NPN_VIRTUAL 2 R7 10 2.7k 1 Q2 3 D3 BJT_NPN_VIRTUAL R2 7.2k R3 3k D1 0 DIODE_VIRTUAL DIODE_VIRTUAL Jumper LED1 B Blue Jumper K 1 F Blue Jumper 1 R H Blue Jumper ? D LED1 B Red Jumper K 1 F Red Jumper 2 R H Red Jumper ? D LED1 B Green Jumper K 1 F Green Jumper 3 R C C V H Green ? D 4.7uF 38kHz Cap 2 2 C D N G Jumper 7 4 B Sensor Res1 Jumper R B Sensor F Sensor H Sensor 1 B Blue 4.7uF 1 B Red 56kHz H Green Cap 1 6 2 B Green H Red C D 1 7 N F Blue H Blue 9 8 G Jumper F Red F Green 8 9 4 F Green B Sensor F Red 7 0 Res1 Jumper H Blue F Blue O 1 5 1 6 1 3 4 3 2 1 1 0 7 6 s V s V 1 2 U Hz K 40 5 T TSOP34838 H Sensor KHz 56 4 U Jumper KHz 455 3 T 3 C C V 2 1 U O 1 F Sensor 1 1 H Red 3 1 F Sensor B Green 2 R 5 2 1 Jumper H Green TSOP34856 B Red 4 3 1 Hz K 40 1 U H Sensor B Blue 3 4 1 KHz 56 H Sensor 2 5 1 4.7uF KHz 455 F Sensor 1 455kHz 6 1 Cap C C V B Sensor 2 0 C D Port2 Sensor Port1 Sensor N G Jumper 7 4 B Sensor Res1 Jumper s V T U O 3 1 F Sensor 1 R Jumper C C V TSOP7000 0 U H Sensor 9 Selection bits for color of each sensor area. Red Green Blue (Any Combo!) Head, Front and Back can light differently. ○ Select with switches or Jumpers. 3 selection bits for selection of which TSOP to use. 455kHz/56kHz/38kHz. 3 inputs from sensors. Head, Front or Back. ○ Select with switches or Jumpers Sensors for each section in parallel. TSOPs 38kHz, 56kHz and 455kHz sensors. 1 each. Tri-Color LED Common Anode (changed to work with Driver). Decoupling Capacitor Stabilize Power to TSOP. Resistors Current limiting for Sensors and LEDs. Ports 1 in, 1 out in parallel. TSAL6100 Highly directional IR LED TSAL driver MOSFET (optional but likely) Muzzle Flash Standard white LED. Resistors Current limiting for the LED. Cable Run to main board Display (LCD) 8X2 Char. LCD or one available from lab ○ Serial Interface ○ Need driver circuit. Sound Peizo Buzzer ISD Sound Chip Controls (Keypad/Buttons) Directional Buttons. Trigger Reload Key switch Team color selecting LEDs Tell a player which sensors are active Tell players which team a player is aligned with. Other game specific options. Working GPS communication Sensors communicate correctly with microcontroller Microcontroller interrupts correctly Revision 1 of PCB completed and integrated Final revision of PCB is complete Working RF link All basic functionalities complete Working on documentation Possibly working on audio feedback If time allows Two working prototypes Communicate with each other Has a game play function set up Completed documentation User Manual Technical Manual Part TSOP7000 TSOP34838 TSOP34856 Tricolor LEDS MSP430 LCD Power Reg. Chip RF Modules GPS module Prebuilt GPS Chip TSAL6100 Flash Diode ULN2803 ULN2803 FR-4 Paper for Etching Etchant PCB TOTAL Quantity 20 455kHz 20 20 23 2 2 2 2 1 1 2 2 2 2 1 1 1 3 Notes 38kHz 56kHz Common Anode Samples Recycled Samples Nordic Whole Module Chip for our module/design Recycled Recycled 2 from Sparkfun from mouser (cheaper if we go smd) Large sheet multiple sensors Might Have some John Has TOO MUCH 1 GPS and 2 main boards PRICE Total $1.80 $36.00 $1.20 $1.20 $1.59 $0.00 $0.00 $0.00 $19.95 $89.95 $39.95 $0.00 $0.00 $1.95 $1.35 $10.00 $10.00 $0.00 $35.00 $24.00 $24.00 $36.57 $0.00 $0.00 $0.00 $39.90 $89.95 $39.95 $0.00 $0.00 $3.90 $2.70 $10.00 $10.00 $0.00 $105.00 $421.97 John: Protocols Documentation Sensor boards ○ Design & Etching TJ: RF interface Hardware construction o Soldering o Wiring Jen-Yuan: Schematics Board Layout GPS Richard: Coding Protocol Practicality