SUMO/prepare electronics

__NOTOC__
== What you need ==
Qty 	Manufacturerpart number 	Description 	Manufacturer 	Digikeypart number 	Other distributor 	 	 	 	
Autopilot 	Autopilot 	Autopilot 	Autopilot 	Autopilot 	Autopilot 	Autopilot 	Autopilot 	Autopilot 	
1 	Umarim Lite v2 	Autopilot 	Paparazzi 	 	 	 	 	 	
1 	BEC cable female 	Autopilot power supply 	 	 	 	 	 	 	
1 	BOB-09966 	Breakout Board for USB Mini-B 	Sparkfun 	 	Sparkfun BOB-09966 	 	 	 	
Modem 	Modem 	Modem 	Modem 	Modem 	Modem 	Modem 	Modem 	Modem 	
1 	(1P)XBP24-PKC-001-UA 	Zigbee / 802.15.4 Module 2.4GHz XBee 	Digi 	XBP24-PKC-001-UA-ND 	Mouser 888-XBP24-PKC-001-UA 	 	 	 	
1 	XBP24-AWI-001 	Zigbee / 802.15.4 Module 2.4GHz XBee 	Digi 	XBP24-AWI-001-ND 	Mouser 888-XBP24-AWI-001 	 	 	 	
1 	WRL-11373 	XBee Explorer Regulated board 	Sparkfun 	 	Sparkfun WRL-11373 	 	 	 	
GPS 	GPS 	GPS 	GPS 	GPS 	GPS 	GPS 	GPS 	GPS 	
1 	#387000004 (31135) 	NEO-6M GPS Module 	Hobbyking 	 	Navilock NL-652ETTL 	 	 	 	
Sensors 	Sensors 	Sensors 	Sensors 	Sensors 	Sensors 	Sensors 	Sensors 	Sensors 	Sensors
1 	SHT75 	Humidity Sensor 	Sensirion 	 	Farnell #1590514 	 	 	 	
1 	SHT75 adapter 	SHT75 breakout board 	Paparazzi 	 	 	 	 	 	
1 	MLX90614 	Infrared Thermometer 	Melexis 	 	Sparkfun SEN-09570FutureElectronics MLX90614ESF-BAA-000-TU	 	 	 	
1 	MLX90614 adapter 	MLX90614 breakout board 	Paparazzi 	 	paparazzi-hardware misc/mlx90614_small 	 	 	 	
1 	ETS airspeed 	Eagletree airspeed v3 	Eagletree 	 	 	 	 	 	
1 	PT1000 M222 	PT1000 M222 temperature sensor 	Heraeus 	 	Conrad #172041 	 	 	 	
1 	TEMOD-I2C-R1 	PT1000 converter board 	Hygrosens 	 	Conrad #502001 	 	 	 	
1 	Multi I2C 	Multi adapter Board 	Paparazzi 	 	paparazzi-hardware misc/servo_i2c_multi 	 	 	 	
Sensors (optional version) 	Sensors (optional version) 	Sensors (optional version) 	Sensors (optional version) 	Sensors (optional version) 	Sensors (optional version) 	Sensors (optional version) 	Sensors (optional version) 	Sensors (optional version) 	Sensors (optional version)
1 	BOB-08745 	Logic Level Converter 	Sparkfun 	 	Sparkfun BOB-08745 	 	 	 	
1 	MS5611 	Barometric pressure sensor 	Meas Spec 	 	CSG #96Drotek #44 	 	 	 	
Logger 	Logger 	Logger 	Logger 	Logger 	Logger 	Logger 	Logger 	Logger 	Logger
1 	TWOG v1.0 	Logger 	Paparazzi 	 	 	 	 	 	
1 	BOB-09966 	Breakout Board for USB Mini-B 	Sparkfun 	 	Sparkfun BOB-09966 	 	 	 	
1 	BOB-00544 	Board for microSD Transflash 	Sparkfun 	 	Sparkfun BOB-00544 	 	 	 	
Shrink tube (shrunken / not shrunken)	Shrink tube (shrunken / not shrunken)	Shrink tube (shrunken / not shrunken)	Shrink tube (shrunken / not shrunken)	Shrink tube (shrunken / not shrunken)	Shrink tube (shrunken / not shrunken) 	Shrink tube (shrunken / not shrunken)	Shrink tube (shrunken / not shrunken)	Shrink tube (shrunken / not shrunken)	Shrink tube (shrunken / not shrunken)
1 	PVC 	13mm / 20mm 	 	 	Muldental Elektronik 64115 	 	 	 	
1 	PVC 	24mm / 37mm 	 	 	Muldental Elektronik 64246 	 	 	 	
1 	PVC 	29mm / 45mm 	 	 	Muldental Elektronik 64347 	 	 	 	
1 	PVC 	31mm / 51mm 	 	 	Muldental Elektronik 64446 	 	 	 	
Shopping list
== Mounting ==
Use high quality cable, PVC cable gets very stiff in cold temperatures. All parts have to be put into shrink tube to isolate it from any conductive or electrostatic plastic. Some pictures below do not show this tube for better visibility.
=== Autopilot ===
Solder the BEC to the Umarim. Cover the Umarim in shrink tube. Cut free the Molex connector openings. See the Umarim page for detailed info on the pinout.
Umarim Supply (J15) pin	Umarim Supply 	BEC male
1 	VBAT 	+
2 	GND 	
Cable length 9cm 	Cable length 9cm 	Cable length 9cm
Shrink tube 24mm / 37mm	Shrink tube 24mm / 37mm	Shrink tube 24mm / 37mm
Solder the cables to the USB breakout board, plug cables in 4-pin Molex connector. Secure cables on USB with hot glue. Cover the USB breakout board in shrink tube.
Umarim USB (J8) pin 	Umarim USB 	USB mini breakout
1 	GND 	GND
2 	USB+ 	D+
3 	USB- 	D-
4 	USB_VBUS 	VCC
Molex 4pin 	 	solder
Cable length 21cm 	Cable length 21cm 	Cable length 21cm
Shrink tube 24mm / 37mm	Shrink tube 24mm / 37mm	Shrink tube 24mm / 37mm
The RC receiver is connected to the autopilot through a standard servo cable connected to a 3-pin Molex connector. The signal wire is marked on the robbe receivers (see pictures).
Umarim RC (J7) pin	Umarim RC 	Servo cable color
1 	GND 	black/brown
2 	5V 	red
3 	PPM in 	orange/yellow/white
Molex 3pin 	 	solder
Cable length 41cm 	Cable length 41cm	Cable length 41cm
=== GPS ===
Connect the u-blox type GPS receiver to the UART0 of the Umarim. Put the GPS in shrink tube. Attach any HF cable with tape. Secure GPS connector with hot glue if needed.
Umarim UART0 (J9) pin 	Umarim UART0 	GPS receiver 	HK NEO-6M pin
1 	GND 	GND 	1
2 	5V 	5V 	4
3 	 	 	
4 	RX0 	TX 	2
5 	TX0 	RX 	3
Molex 5pin 	 	 	Molex 4pin
Cable length 18cm 	Cable length 18cm 	Cable length 18cm 	Cable length 18cm
Shrink tube 31mm / 51mm	Shrink tube 31mm / 51mm	Shrink tube 31mm / 51mm	Shrink tube 31mm / 51mm
=== Modem ===
Solder the cables to the XBee explorer board, plug cables in 5-pin Molex connector. Secure cables on explorer board with hot glue. Plug XBee modem into explorer board and secure with shrink tube.
Recent Sparkfun boards (v14) are equipped with 3.3V to 5V converters. Although the Umarim/LPC2148 should be able to handle 5V it is safe to not use the converters. Remove R5, R6, R7, R8, Q1, and Q2 from the XBee explorer regulated breakout board. Bridge OUT-DOUT and IN-DIN within the transistor footprint. 
Umarim UART1 (J10) pin 	Umarim UART1 	XBee Explorer Regulated
1 	GND 	GND
2 	5V 	5V
3 	 	
4 	RX1 	DOUT
5 	TX1 	DIN
Molex 5pin 	 	solder
Cable length 10cm 	Cable length 10cm 	Cable length 10cm
Shrink tube 29mm / 45mm	Shrink tube 29mm / 45mm	Shrink tube 29mm / 45mm
Solder a second wire (not shown in picture) from the XBee to the TWOG so that the data sent by the Umarim can be logged. That means that two wires are to be connected at the XBee DIN pin.
TWOG Download/GPS (J7) pin	TWOG Download/GPS	XBee Explorer Regulated
1 	 	
2 	 	
3 	 	
4 	 	
5 	 	
6 	 	
7 	RXD0 	DIN
Molex 7pin 	 	solder
Cable length 10cm 	Cable length 10cm	Cable length 10cm
=== SHT75 humidity sensor ===
Use SHT75 adapter board from Paparazzi hardware repository. Solder parts, secure sensor with hot glue to adapter board on the bottom side (not shown in picture).
Umarim AUX (J14) pin	Umarim AUX 	SHT75 	SHT75 pin 	SHT75 adapter pin
1 	GND 	GND 	(3) 	1
2 	 	 	 	
3 	+3.3V 	VDD 	(2) 	2
4 	AUX1 (P0.13) 	DATA 	(4) 	3
5 	AUX2 (P0.15) 	SCK 	(1) 	4
6 	 	 	 	
7 	 	 	 	
Molex 7pin 	 	 	 	Molex 4pin
Cable length 17cm 	Cable length 17cm	Cable length 17cm	Cable length 17cm	Cable length 17cm
no shrink tube 	no shrink tube 	no shrink tube 	no shrink tube 	no shrink tube
=== MLX90614 infrared thermometer ===
thumb|right|MLX90614 soldered to adapter board
Use MLX90614 adapter board from Paparazzi hardware repository. Solder parts, take care of sensor polarity. The I2C address of the MLX90614 needs to be programmed once before it can be used. Connect it as the only sensor to I2C and flash/run it with the IR_MLX_ONE_TIME_CONFIG option set (currently available in the master and campaign2013 branch). See Module/Melexis_MLX90614.
Multi board I2C pin 	Multi board I2C 	MLX90614 	MLX90614 adapter pin 	
1 	GND 	Vss 	1 	
2 	 	 	 	
3 	+3.3V 	Vdd 	3 	
4 	SDA 	SDA 	4 	
5 	SCL 	SCL 	5 	
Molex 5pin 	 	 	Molex 5pin 	
Cable length 9cm 	Cable length 9cm 	Cable length 9cm 	Cable length 9cm 	Cable length 9cm
Shrink tube 24mm / 37mm	Shrink tube 24mm / 37mm	Shrink tube 24mm / 37mm	Shrink tube 24mm / 37mm	Shrink tube 24mm / 37mm
=== Eagletree Airspeed v3 Sensor ===
Extend the sensor cable. Cut off the four outstanding pins.
Multi board I2C pin 	Multi board I2C 	ETS Airspeed wire colour
1 	GND 	white
2 	+5V 	red
3 	 	
4 	SDA 	yellow
5 	SCL 	brown
Molex 5pin 	 	solder
Cable length 40cm 	Cable length 40cm 	Cable length 40cm
keep original shrink tube	keep original shrink tube	keep original shrink tube
=== PT1000 temperature sensor ===
thumb|right|Hygrosens TEMOD-I2C-R1
Solder the PT1000 sensor (little blue on the picture) to the two correct pads at the edge of the TEMOD-I2C-R1 board, where the pin plugs are. The pads on both side are not connected through. It has to be soldered to the side not carrying the chip. Remove pin header from TEMOD board. Solder 4pin cable to TEMOD, it will be connected to the Umarim through the multi_i2c board below. Fix cables with hot glue. Put some hot glue on the top of teh board, just behind the PT1000. Seal the board with shrink tube.
Caution: The connection is not 1:1
Multi board I2C_5V pin 	Multi board I2C_5V 	TEMOD-I2C-R1 	TEMOD-I2C-R1 pin 	
1 	GND 	GND 	2 	
2 	+5V 	Vdd 	1 	
3 	SDA_5V 	SDA 	3 	
4 	SCL_5V 	SCL 	4 	
Molex 4pin 	 	 	solder 	
Cable length 18cm 	Cable length 18cm 	Cable length 18cm 	Cable length 18cm 	Cable length 18cm
Shrink tube 13mm / 20mm	Shrink tube 13mm / 20mm	Shrink tube 13mm / 20mm	Shrink tube 13mm / 20mm	Shrink tube 13mm / 20mm
=== Multi Board ===
thumb|right|Multi connector board
Use the multi board from the Paparazzi hardware repository to have multiple I2C connections, a MS5611 barometric pressure sensor, a 3.3V to 5V level shifter and servo JR connectors for BEC supply through the motor controller. Drill/burn holes into the shrink tube at the hole locations to attach the board with screws later on.
Connection between Multi Board I2C and Umarim I2C0.
Umarim I2C0 pin 	I2C 	Multi board I2C pin
1 	GND 	1
2 	+5V 	2
3 	+3.3V 	3
4 	SDA 	4
5 	SCL 	5
Molex 5pin 	 	Molex 5pin
Cable length 9cm 	Cable length 9cm 	Cable length 9cm
Shrink tube 24mm / 37mm	Shrink tube 24mm / 37mm	Shrink tube 24mm / 37mm
Connection between Multi Board and Umarim for the servo signals.
Multi board Servo pin 	Multi board Servo 	Umarim Servo
1 	GND 	GND_SRV5
2 	 	
3 	 	
4 	S2 	SRV2
5 	S3 	SRV3
6 	S4 	SRV4
7 	S5 	SRV5
Cable length 7.5cm, 7.5cm, 8cm, 8.5cm, 9cm	Cable length 7.5cm, 7.5cm, 8cm, 8.5cm, 9cm	Cable length 7.5cm, 7.5cm, 8cm, 8.5cm, 9cm
The TEMOD/PT1000 temperature sensor gets connected through the 5V I2C connector.
Multi I2C_5V pin	Multi I2C_5V
1 	GND
2 	+5V
3 	SDA
4 	SCL
=== Logger ===
The Umarim autopilot and the TWOG logger communicate through a bi-directional SPI connection. See the TWOG page for detailed info on the logger pinout.
Umarim SPI1 pin 	Umarim SPI1 	TWOG 	TWOG conn. 	TWOG name 	TWOG pin
1 	 	 	 	 	
2 	 	 	 	 	
3 	SSEL1 	SSEL0 	USB 	BUTTON 	6
4 	MOSI1 	MOSI0 	PPM 	PPM_IN 	3
5 	MISO1 	MISO0 	PPM 	SERV_CLK 	5
6 	 	 	 	 	
7 	SCK1 	SCK0 	ADC1 	ADC_3 	5
Molex 7pin 	 	 	 	 	various Molex
Cable length 6cm	Cable length 6cm	Cable length 6cm	Cable length 6cm	Cable length 6cm	Cable length 6cm
The TWOG can be supplied through its original power supply connector or through 5V from the Umarim if the switching supply board is removed from the TWOG:
Umarim SRV0 pin 	Umarim SRV0 	TWOG ADC1 	TWOG ADC1 pin
1 	GND 	GND 	1
2 	+5V 	+5V 	2
3 	 	 	
Molex 3pin 	 	 	Molex 5pin
Cable length 6cm	Cable length 6cm	Cable length 6cm	Cable length 6cm
Solder the cables to the USB breakout board for the TWOG logger, plug cables in 8-pin Molex connector. Secure cables on USB with hot glue. Cover the USB breakout board in shrink tube.
TWOG USB (J9) pin 	TWOG USB 	USB mini breakout
1 	GND 	GND
2 	 	
3 	USB+ 	D+
4 	USB- 	D-
5 	USB_VBUS 	VCC
5 	 	
6 	 	
7 	 	
8 	 	
Molex 8pin 	 	solder
Cable length 9cm 	Cable length 9cm 	Cable length 9cm
Shrink tube 24mm / 37mm	Shrink tube 24mm / 37mm	Shrink tube 24mm / 37mm
The micro SD card adapter is connected to the TWOGs SPI connector. Wrap the board in shrink tube so that the micro SD card can be plugged/unplugged.
TWOG SPI pin 	TWOG SPI 	microSD card board 	microSD board pin
1 	GND 	GND 	5
2 	+3.3V 	VCC 	3
3 	SSEL 	CS 	1
4 	MOSI 	DI 	2
5 	MISO 	DO 	6
6 	 	 	
7 	SCK 	SCK 	4
Molex 7pin 	 	 	solder
Cable length 6cm 	Cable length 6cm 	Cable length 6cm 	Cable length 6cm
Shrink tube 24mm / 37mm	Shrink tube 24mm / 37mm	Shrink tube 24mm / 37mm	Shrink tube 24mm / 37mm