Difference between revisions of "SUMO/prepare electronics"

From PaparazziUAV
Jump to navigation Jump to search
m (add shrink tube)
m (add RC receiver cable)
 
(14 intermediate revisions by 2 users not shown)
Line 19: Line 19:
|-style="background:WhiteSmoke; color:black"
|-style="background:WhiteSmoke; color:black"
|colspan="9" align="left"|''Modem''
|colspan="9" align="left"|''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||XBP24-AWI-001||Zigbee / 802.15.4 Module 2.4GHz XBee||Digi||XBP24-AWI-001-ND||Mouser 888-XBP24-AWI-001  
Line 28: Line 30:
|colspan="9" align="left"|''GPS''
|colspan="9" align="left"|''GPS''
|-
|-
|1||NL-652ETTL||GPS receiver u-blox 6||Navilock|| ||Hobbyking #387000004
|1||#387000004 (31135)||NEO-6M GPS Module||Hobbyking|| ||Navilock NL-652ETTL
|-
|-


Line 91: Line 93:
[[Image:Umarim_bec.jpg|thumb|right|Umarim with BEC cable]]
[[Image:Umarim_bec.jpg|thumb|right|Umarim with BEC cable]]
[[Image:Umarim_usb.jpg|thumb|right|USB connector for Umarim]]
[[Image:Umarim_usb.jpg|thumb|right|USB connector for Umarim]]
[[Image:R6107sp.jpg|thumb|right|RC connector for R6107SP]]
[[Image:R6008sp.jpg|thumb|right|RC connector for R6008SP]]


Solder the BEC to the Umarim. Cover the Umarim in shrink tube. Cut free the Molex connector openings
Solder the BEC to the Umarim. Cover the Umarim in shrink tube. Cut free the Molex connector openings. See the Umarim [[Umarim_Lite_v2#Pinout|page]] for detailed info on the pinout.


{|border="1"
{|border="1"
Line 143: Line 147:
|}
|}


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).
{|border="1"
|-valign="top"
||'''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''
|-
|colspan="3" align="left"|''Cable length 41cm''
|}


=== GPS ===
=== GPS ===
[[Image:Hk_gps_lea6h.jpg|thumb|right|LEA-6H GPS receiver]]
[[Image:Hk neo gps.jpg|thumb|right|NEO-6M GPS receiver]]


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 (see picture).
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.


{|border="1"
{|border="1"
|-valign="top"
|-valign="top"
||'''Umarim UART0 (J9) pin'''||'''Umarim UART0'''||'''GPS receiver'''
||'''Umarim UART0 (J9) pin'''||'''Umarim UART0'''||'''GPS receiver'''||'''HK NEO-6M pin'''
|-
|-
|1
|1
|GND
|GND
|GND
|GND
|1
|-
|-
|2
|2
|5V
|5V
|5V
|5V
|4
|-
|-
|3
|3
|
|
|
|
|
Line 168: Line 200:
|RX0
|RX0
|TX
|TX
|2
|-
|-
|5
|5
|TX0
|TX0
|RX
|RX
|3
|-
|-
|''Molex 5pin''
|''Molex 5pin''
|
|
|''solder/connector''
|
|''Molex 4pin''
|-
|-
|colspan="3" align="left"|''Cable length 18cm''
|colspan="4" align="left"|''Cable length 18cm''
|-
|-
|colspan="3" align="left"|''Shrink tube 31mm / 51mm''
|colspan="4" align="left"|''Shrink tube 31mm / 51mm''
|}
|}


=== Modem ===
=== Modem ===
[[Image:Xbee_cable.jpg|thumb|right|XBee pro modem]]
[[Image:Xbee_cable.jpg|thumb|right|XBee pro modem]]


Remove R5, R6, R7, R8, Q1, and Q2 from the XBee explorer regulated breakout board. Bridge OUT-DOUT and IN-DIN within the transistor. 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.
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.  


{|border="1"
{|border="1"
Line 262: Line 298:
|colspan="3" align="left"|''Cable length 10cm''
|colspan="3" align="left"|''Cable length 10cm''
|}
|}


=== SHT75 humidity sensor ===
=== SHT75 humidity sensor ===
Line 276: Line 311:
|GND
|GND
|GND
|GND
|3
|(3)
|1
|1
|-
|-
Line 288: Line 323:
| +3.3V
| +3.3V
|VDD
|VDD
|2
|(2)
|2
|2
|-
|-
Line 294: Line 329:
|AUX1 (P0.13)
|AUX1 (P0.13)
|DATA
|DATA
|4
|(4)
|3
|3
|-
|-
Line 300: Line 335:
|AUX2 (P0.15)
|AUX2 (P0.15)
|SCK
|SCK
|1
|(1)
|4
|4
|-
|-
Line 321: Line 356:
|''Molex 4pin''
|''Molex 4pin''
|-
|-
|colspan="5" align="left"|''Cable length 11cm''
|colspan="5" align="left"|''Cable length 17cm''
|-
|-
|colspan="5" align="left"|''no shrink tube''
|colspan="5" align="left"|''no shrink tube''
|}
|}


=== MLX90614 infrared thermometer ===
=== MLX90614 infrared thermometer ===
[[Image:Mlx90614_bot.jpg‎|thumb|right|MLX90614 soldered to adapter board]]
[[Image:Mlx90614_bot.jpg‎|thumb|right|MLX90614 soldered to adapter board]]


Use MLX90614 adapter board from Paparazzi hardware [http://github.com/paparazzi/paparazzi-hardware/tree/master/misc/mlx90614_small 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 branch only). See [http://paparazzi.enac.fr/wiki/Module/Melexis_MLX90614#One-time_configuration Module/Melexis_MLX90614].
Use MLX90614 adapter board from Paparazzi hardware [http://github.com/paparazzi/paparazzi-hardware/tree/master/misc/mlx90614_small 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 [http://paparazzi.enac.fr/wiki/Module/Melexis_MLX90614#One-time_configuration Module/Melexis_MLX90614].


{|border="1"
{|border="1"
|-valign="top"
|-valign="top"
||'''Umarim I2C pin'''||'''Umarim I2C'''||'''MLX90614'''||'''MLX90614 adapter pin'''
||'''Multi board I2C pin'''||'''Multi board I2C'''||'''MLX90614'''||'''MLX90614 adapter pin'''
|-
|-
|1
|1
Line 378: Line 412:
{|border="1"
{|border="1"
|-valign="top"
|-valign="top"
||'''Umarim I2C pin'''||'''Umarim I2C'''||'''ETS Airspeed wire colour'''
||'''Multi board I2C pin'''||'''Multi board I2C'''||'''ETS Airspeed wire colour'''
|-
|-
|1
|1
Line 414: Line 448:


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.
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'''


{|border="1"
{|border="1"
|-valign="top"
|-valign="top"
||'''Multi board I2C pin'''||'''Multi board I2C'''||'''TEMOD-I2C-R1'''||'''TEMOD-I2C-R1 pin'''
||'''Multi board I2C_5V pin'''||'''Multi board I2C_5V'''||'''TEMOD-I2C-R1'''||'''TEMOD-I2C-R1 pin'''
|-
|-
|1
|1
Line 448: Line 484:
|colspan="5" align="left"|''Shrink tube 13mm / 20mm''
|colspan="5" align="left"|''Shrink tube 13mm / 20mm''
|}
|}


=== Multi Board ===
=== Multi Board ===
[[Image:Multi_i2c_ms5611.jpg‎‎|thumb|right|Multi connector board]]
[[Image:Multi_i2c_ms5611.jpg‎‎|thumb|right|Multi connector board]]
[[Image:Multi_board_umarim.jpg|thumb|right|Multi board to Umarim]]
[[Image:Multi_board_umarim.jpg|thumb|right|Multi board to Umarim]]
[[Image:Multi_wiring.jpg|thumb|right|Multi board connections]]


Use the multi board from the Paparazzi hardware [http://github.com/paparazzi/paparazzi-hardware/tree/master/misc/servo_i2c_multi 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.
Use the multi board from the Paparazzi hardware [http://github.com/paparazzi/paparazzi-hardware/tree/master/misc/servo_i2c_multi 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 and Umarim for 3.3V I2C.
Connection between Multi Board I2C and Umarim I2C0.


{|border="1"
{|border="1"
|-valign="top"
|-valign="top"
||'''Umarim I2C pin'''||'''I2C'''||'''Multi board I2C pin'''
||'''Umarim I2C0 pin'''||'''I2C'''||'''Multi board I2C pin'''
|-
|-
|1
|1
Line 526: Line 562:
|SRV5
|SRV5
|-
|-
|colspan="3" align="left"|''Cable length 7.5cm, 8cm, 8.5cm, 9cm''
|colspan="3" align="left"|''Cable length 7.5cm, 7.5cm, 8cm, 8.5cm, 9cm''
|}
|}


Line 552: Line 588:
[[Image:Umarim_logger_spi.jpg|thumb|right|Umarim with logger]]
[[Image:Umarim_logger_spi.jpg|thumb|right|Umarim with logger]]


The Umarim autopilot and the TWOG logger communicate through a bi-directional SPI connection.  
The Umarim autopilot and the TWOG logger communicate through a bi-directional SPI connection. See the TWOG [[TWOG/v1.0#Pinout|page]] for detailed info on the logger pinout.


{|border="1"
{|border="1"
Line 703: Line 739:
[[Image:Sd_card_twog_shrink.jpg|thumb|right|micro SD card adapter in tube]]
[[Image:Sd_card_twog_shrink.jpg|thumb|right|micro SD card adapter in tube]]


The micro SD card adapter is connected to the TWOGs SPI connector. Wrap the board in shrink tube and cut a hole so that the micro SD can still be plugged/unplugged.
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.


{|border="1"
{|border="1"

Latest revision as of 04:00, 24 February 2014


What you need

Qty Manufacturer
part number
Description Manufacturer Digikey
part number
Other distributor
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
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
1 #387000004 (31135) NEO-6M GPS Module Hobbyking Navilock NL-652ETTL
Sensors
1 SHT75 Humidity Sensor Sensirion Farnell #1590514
1 SHT75 adapter SHT75 breakout board Paparazzi
1 MLX90614 Infrared Thermometer Melexis Sparkfun SEN-09570
FutureElectronics 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)
1 BOB-08745 Logic Level Converter Sparkfun Sparkfun BOB-08745
1 MS5611 Barometric pressure sensor Meas Spec CSG #96
Drotek #44
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)
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

Umarim with BEC cable
USB connector for Umarim
RC connector for R6107SP
RC connector for R6008SP

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
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
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

GPS

NEO-6M GPS receiver

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
Shrink tube 31mm / 51mm

Modem

XBee pro 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
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

SHT75 humidity sensor

SHT75 soldered to adapter board

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
no shrink tube

MLX90614 infrared thermometer

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
Shrink tube 24mm / 37mm

Eagletree Airspeed v3 Sensor

Eagletree Airspeed v3

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
keep original shrink tube


PT1000 temperature sensor

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
Shrink tube 13mm / 20mm

Multi Board

Multi connector board
Multi board to Umarim
Multi board connections

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
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


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

Umarim with 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


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


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
Shrink tube 24mm / 37mm


micro SD card adapter
micro SD card adapter in tube

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
Shrink tube 24mm / 37mm