1 / 41

Knightro Kart

Knightro Kart. Liz Lyons Mike Scherban Oscar Orihuela. What Is Knightro Kart?. An interactive, Android controlled vehicle race system consisting of two independent cars and controllers. Vehicles are controlled by Android powered mobile devices or tablets

ayoka
Download Presentation

Knightro Kart

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Knightro Kart Liz Lyons Mike Scherban Oscar Orihuela

  2. What Is Knightro Kart? An interactive, Android controlled vehicle race system consisting of two independent cars and controllers. • Vehicles are controlled by Android powered mobile devices or tablets • Consists of two independent vehicles, a track utilizing infrared, and two independent remote controls

  3. System Block Diagram

  4. System Specifications

  5. Remote Control Mobile device will be used in landscape mode. It will utilize hardware level sensor data, and interpret them to tell the MSP430 how to direct the vehicle.

  6. Why Android? • Essentially Free – No new hardware costs, free SDK, familiar languages • Open source platform, easy to learn

  7. Target APIs 10 (Android 2.3.3 Gingerbread and higher), approximately 88.2% of Android market

  8. Target APIs 10 (Android 2.3.3 Gingerbread and higher), approximately 88.2% of Android market

  9. Remote Control Requirements Android Device Must: • Have Bluetooth Capability • Contain Accelerometer Sensors • Have Touch Screen • Run Android 2.3.3 Gingerbread or newer OS

  10. Handling Accelerometers Accelerometers are seen by the devices relative to an imagined coordinate system. • We will be using the Y (left/right) and Z (forward/back) axis values to control the cars.

  11. Handling Accelerometers Must apply low-pass filter to isolate gravity, and then a high-pass filter to remove gravity from the readings. Also helps to smooth out values.

  12. Wireless Communication Choices

  13. Connecting Android devices will be able to connect to one and only one car. • Will use received values from the MSP430 to enhance UI with more info such as vehicle speed and current lap.

  14. Bluetooth Remote control application sends information to the MSP 430 via Bluetooth. • Sends one byte at a time, byte value depends on accelerometer values

  15. Bluetooth Module • Roving Networks RN-41 • Minimal configuration • Baud rate • Built in antenna • Automatically pushes data via UART RX/TX pins • Runs own Bluetooth stack • Low power • 30 mA connected • 3.3V • 100m range

  16. Microcontroller 2.75” 2.75”

  17. Microcontroller • Same voltage as Bluetooth module • More feature rich IDE • No special bootloaders required

  18. Microcontroller

  19. Programming and Debugging • JTAG used to take advantage of viewable registers and memory locations, and disassembly • Connect through TI USB FET device

  20. Motor Signals • Takes advantage of MSP430 hardware PWM support • PWM used to add variable speed Slow Fast!

  21. Microcontroller Comm. • 9600 Baudrate • RX/TX between BT and MSP430 crossed • Interrupts will be used for phone  MSP430 and infrared signal

  22. Low Power Mode • Bluetooth Module separate from MSP430 • Allows BT pairing while MSP430 is asleep • MSP430 goes to sleep at power on and when not in race mode • Turns off clocks • Button on the car or command from phone will wake the car for use

  23. MSP430 Software Flowchart

  24. Printed Circuit Board • Most components will be on a custom printed circuit board designed in Eagle

  25. Printed Circuit Board BT Module and status LEDs LEDs JTAG Power MSP430

  26. Track • Race car will contain an IR phototransistor • Biased by IR light • At the START line for the Race Track, there will be a line of IR LEDs that will set off IR phototransistor • By setting off the IR phototransistor on the car, it will allow user to know how many laps the car has travelled during the race

  27. Race Car • 9v power supplyrequired • Potential to travel20 mph • 2 D.C motors • 1st Motor controlling FWD & REV motion • 2nd Motor controlling turning Left & Right • 17 inches Long • 7 inches Wide • 8 Inches Tall

  28. H-Bridge • Serves as mediator between MSP430 & Race car motors • MSP430 will receive commands from Mobile Application and send high / low signals to the H-bridge connected to the motors causing the motors to spin in a certain direction • EX: Clockwise / Counter-clockwise / Stand Still

  29. H-Bridge - Typical • Typical H-Bridge configuration • Inner Circle = Motor • Switches represent Transistors • Motor is at a stand still

  30. H-Bridge - Clockwise • Due to the directional flowof the circuit, the H-bridgeis causing the D.C Motor connected to it to spinclockwise

  31. H-Bridge – counter clockwise • Due to the directional flowof the circuit, the H-bridgeis causing the D.C Motor connected to it to spincounter-clockwise

  32. SN754410 • H-Bridge Designed to drive inductive loads such as DC Motors • Chosen for its capability to manageboth D.C Motors in a single chip • Manufacturer: Texas Instruments • Cost: $2.16 • 1 Chip per car needed • . • .

  33. SN754410 Layout

  34. D.C Motor VS Servo Motor • Race car will require 2 motors • 1st Motor controls – FWD & REV motion – D.C Motor • 2nd Motor Controls – turning capabilities • For the purpose of Knightro Kart, D.C motors will be sufficient as well as better for our wallets & Handbag

  35. Power Supply

  36. Desirables • Speedometer • Phone to Phone Communication • Race Standing Notifications

  37. Speedometer (optional)

  38. Magnetic Reed Switch • Switch opens at close proximityof a magnet • Sends PWM signal back to MSP430 • Switch will be attached to axelof Race car • Low power magnet will be attached to rim or inner wheel of the race car

  39. Budget and Financing to Date Total Cost To Date: $364.60

  40. Current Progress

  41. Plans For Completion • Complete Soldering • Complete Code • Assemble Vehicles • Test • Construct IR Start Line

More Related