Code Monkey home page Code Monkey logo

motormouth's Introduction

Motormouth

Introduction

Hackathon 2019 project partnered with the Neil Squire Society to use the LipSync mouth controlled joystick to control an RC car.

Getting Started

  1. Prerequisites:
  2. Install the MCP4261 library
    • Launch the Arduino IDE
    • Sketch > Include Library > Add .ZIP Library ...
    • Select the MCP4261 subfolder in this repo and press "Open"

Building

  1. Build and deploy the modified LipSync Arduino sketch
    • Connect LipSync to PC via USB
    • Enter the Software sub-directory
    • Open LipSync_Motormouth_Firmware/LipSync_Motormouth_Firmware.ino in Arduino IDE
    • Configure COM port if necessary
    • Upload sketch to LipSync
  2. Build and deploy the Motormouth Arduino sketch
    • Connect Motormouth MCU to PC via USB
    • Open MOTORMOUTH_RX/MOTORMOUTH_RX.ino in Arduino Include
    • Configure COM port if necessary
    • Upload sketch to Motormouth MCU

Pairing LipSync with Motormouth

* For this build the pairing of the Lipsync and Rx Hardware was done manually. I found the mac address of the Lipsync by using BluetoothView on PC and then setting auto connect on the Rx Bluetooth Mate manually.

Testing

  1. Turn on LipSync
  2. Turn on Motormouth
  3. The LED on Motormouth's Bluetooth module should turn green once LipSync and Motormouth are paired
  4. Turn on RC controller
  5. Turn on RC car
  6. Testing:
    • Move LipSync joystick left and right to control RC car steering
    • Puff gently to increase forward speed (or decrease reverse speed).
    • Sip gently to increase reverse speed (or decrease forward speed).
    • Puff hard to go "full throttle"
    • Move LipSync joystick down to stop RC car

Hardware Setup

The schematics for the project can be found on Upverter.

Known Issues

  • Sometimes, the Motormouth module fails to connect to the LipSync joystick. Other times, the link between the two seems to be broken and commands stopped being received. These problems may be resolved by power cycling Motormouth's Bluetooth module. The root causes of these issues are not known.

motormouth's People

Contributors

jakemcivor avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.