Download presentation
Presentation is loading. Please wait.
Published byMark Wood Modified over 8 years ago
1
Mechatronics Hydrophobe Josh Pritts – Vice President / EE Team Leader
2
Robotic Submarine Competition
3
Hydrophobe Purpose
4
Why build the Hydrophobe?
5
Experience & Recognition
6
XBPi
7
Raspberry Pi
8
XBPi - defined XBPi = _ BPi
9
Raspberry Pi
10
DARCS No DARCS We will not be implementing the dissimilar redundant system at this time, because the Hydrophobe is a tool to test each XBPi, one at a time.
11
Cameras
12
We have 2 on backorder. Earliest shipment date is 03-Jul-2013.
13
Inertial Measurement Unit
14
IMU Digital Combo Board - 6 Degrees of Freedom ITG3200/ADXL345 SEN-10121 $64.95 (Ordered) Description: This is a simple breakout for the ADXL345 accelerometer and the ITG-3200 gyro. Full 6 degrees of freedom. Communicates over I2C and one INT output pin from each sensor is broken out.
15
Range Finder (SONAR)
16
Parallax PING))) Ultrasonic Distance Sensor $29.99 (On hand) Description: SONAR Output is a variable-width pulse that corresponds to the distance to the target. Provides precise, non-contact distance measurements within a 2 cm to 3 m range. Burst indicator LED shows measurement in progress. 20 mA power consumption.
17
Range Finder (SONAR)
18
UART Communication Universal Asynchronous Receiver / Transmitter Abbreviated UART is a piece of computer hardware that translates data between parallel and serial forms. Commonly used in conjunction with communication standards such as EIA, RS-232, RS-422 or RS-485.computer hardwareparallelserialEIARS-232RS-422RS-485 The universal designation indicates that the data format and transmission speeds are configurable, by aligning the bauds of all devices. A UART is usually an individual (or part of an) integrated circuit used for serial communications over a computer or peripheral device serial port. UARTs are now commonly included in microcontrollers.integrated circuitserial communicationsserial port A dual UART, or DUART, combines two UARTs into a single chip.
19
UART Communication Transmitting Device Receiving Device TX RX GND RX TX GND
20
UART Communication When there is no signal, TX remains HIGH. This condition exists when there is no information needing transmitted or received. Both devices must be set at the same baud rate for proper sampling. 1010 Transmitting Device (TX pin) Receiving Device (RX pin) HIGH before transmission begins
21
UART Communication Start Bit 1010 TX goes LOW to inform RX there is information to be passed UART Communication Transmitting Device (TX pin) Receiving Device (RX pin)
22
UART Communication First bit transmitted. TX pin goes HIGH or LOW to represent 1 or 0. Start Bit 1010 UART Communication Transmitting Device (TX pin) Receiving Device (RX pin) RX Samples Signal
23
UART Communication Start Bit 1010 UART Communication Transmitting Device (TX pin) Receiving Device (RX pin) Second bit transmitted. TX pin goes HIGH or LOW to represent 1 or 0. RX Samples Signal
24
UART Communication Start Bit 1010 UART Communication Transmitting Device (TX pin) Receiving Device (RX pin) Third bit transmitted. TX pin goes HIGH or LOW to represent 1 or 0. RX Samples Signal
25
UART Communication Start Bit 1010 UART Communication Transmitting Device (TX pin) Receiving Device (RX pin) Fourth bit transmitted. TX pin goes HIGH or LOW to represent 1 or 0. RX Samples Signal
26
UART Communication TX and RX remain HIGH, then go LOW to signal a transmission is about to begin Start Bit 1010 UART Communication Transmitting Device (TX pin) Receiving Device (RX pin) RX Samples Signal
27
UART Communication Start Bit 1010 UART Communication Transmitting Device (TX pin) Receiving Device (RX pin) Fifth bit transmitted. TX pin goes HIGH or LOW to represent 1 or 0. RX Samples Signal
28
UART Communication Start Bit 1010 UART Communication Transmitting Device (TX pin) Receiving Device (RX pin) Sixth bit transmitted. TX pin goes HIGH or LOW to represent 1 or 0. RX Samples Signal
29
UART Communication Start Bit 1010 UART Communication Transmitting Device (TX pin) Receiving Device (RX pin) RX Samples Signal Final bit transmitted. TX pin goes HIGH or LOW to represent 1 or 0.
30
UART Communication Start Bit 1010 UART Communication Transmitting Device (TX pin) Receiving Device (RX pin) If the transmitted information was one byte in length, then a stop byte of HIGH is sent. Stop Bit
31
UART Communication Start Bit 1010 UART Communication Transmitting Device (TX pin) Receiving Device (RX pin) If the transmitted information was one byte in length, then a stop byte of HIGH is sent. Stop Bit
32
UART Communication If there is no more information to transfer, then TX remains HIGH. RX interprets this as the end of transmission. Start Bit Stop Bit 1010 UART Communication Transmitting Device (TX pin) Receiving Device (RX pin)
33
UART Communication If there is more information to transfer, then TX goes LOW to signal another Start Bit. Start Bit 1010 UART Communication Transmitting Device (TX pin) Receiving Device (RX pin) Start Bit Next Byte
34
UART Communication A way of ensuring the correct information was received is to use a parity bit or a check bit. Parity bit is 1: an even number of ones was transmitted Parity bit is 0: an out number of ones was transmitted Start Bit Parity Bit 1010 UART Communication Transmitting Device (TX pin) Receiving Device (RX pin) Stop Bit Stop Bit
35
UART Signals We are going to pack as much information into 32 bits or 4 bytes as possible. Action/Information XBPi iCode iFun Situational Report TBD
36
Choice/Action Codes XBPiBin.Code for 000CBPi 101RBPi 202SBPi 303Action iCodeBin.Code for 00Stop 11Start iFunBinCode for 00000Idle 10001Forward 20010Reverse 30011Up 40100Down 50101Left 60110Right 70111CW 81000CCW 91001Nose up A1010Nose down B1011Claw C1100Torpedo 1 D1101Torpedo 2 E1110Drop F1111-----
37
Situation Report This will be a bit array, 2 bytes in length, containing information updated by the microcontrollers. The situation report will be fed back to the XBPi to correct accidental powering. If detected, it will be turned off quickly in a future transmission loop.
38
UART Signals Action/Information XBPi iCode iFun Situational Report TBD
39
UART Communication Loop UART Signal
40
BlackBerry Pi
41
SystemDesignationAbbreviationComputer Language "Black Box"BlackBerry PiBBPiPython Data recorder - logs the votes and actions - will assist us in determining malfunctions Command dispatch - forwards commands to microcontrollers
42
UART Communication Loop
43
µC performs action and updates XBPi & SitRep
44
UART Communication Loop
45
Maneuvering Indication Display
46
MID
47
UART Communication Loop
48
µC performs action and updates XBPi & SitRep
49
Robotic Claw Operation
50
µC performs action and updates XBPi & SitRep
51
Torpedo Launcher
52
µC performs action and updates XBPi & SitRep
53
Dropping Mechanism Operation
54
UART Communication Loop
55
XBPi passes signal to BBPi for documentation
56
UART Communication Loop
57
Power Requirements
58
Hydrophobe
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.