Controlling the Air Swimming Shark with your Brainwaves How does it work? Nick Carter 7/25/2016 ?????????????????????

Slides:



Advertisements
Similar presentations
Intro to Digital Logic. What does Digital mean? A method of storing, processing and transmitting information through the use of distinct electronic or.
Advertisements

JED Microprocessors Pty Ltd Presenting the JED T430 low-cost Projector Controllers Nov 22nd, 2009.
Presented by Team 3350 (T-BOTS).  Students should lead their teams in the building, design, and all other aspects of the robot.  Knowledge of the Kit.
IR Control Materials taken from a variety of sources including IR Remote for the Boe-Bot by Andy Lindsay.
In this presentation you will:
COMPUTERS AND INPUT SENSORS. cbc MICROCOMPUTER OPERATION HAPPENS IN STAGES Memory.
Index  INTRODUCTION  HARDWARE DESCRIPTION  BLOCK DIAGRAM  COMPONENT LIST  ADVANTAGES AND APPLICATIONS  CONCLUSION.
Wiring the new control system MVRT 2010 – 2011 Season.
By Troy Mills 4/13/2009. Project Background The original concept was to use different color LED’s in order to control how the submarine would guide itself.
Motor Control Lab Using Altera Nano FPGA
OutLine Overview about Project Wii Robot Escaper Robot Problems and Solutions Demo.
New Human Computer Interfaces Amnon Dekel HUJI – CSE, Spring 2006 Class 5 May
Coordinate Based Tracking System
New Human Computer Interfaces Amnon Dekel HUJI – CSE, Spring 2007 Class ? May
IR SENSORS AND ENCODERS. LCDs Timothy Friez Class # 2.
Micromouse Meeting #3 Lecture #2 Power Motors Encoders.
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Detailed Design Review Project P13363 Members: Justine Converse (IE) James Cover (CE) Alexander Eschbach (EE) Jason Hang (ME) Ashley Trode (EE) Guide:
Embedded Programming and Robotics
3X3X3 LED CUBE By JASON WU CET4711 FINAL PROJECT.
Microcontroller Hands-on Workshop #3 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers November 7, 2009.
MTI FALL 2010 By: Rohan Sharma Mini Project Documentation: Bacterial Growth Monitor.
1 Applied Control Systems Technology. 2 Pin configuration Applied Control Systems.
RC CAR CONTROLLER BASED ON INTEL GALILEO SOC PLATFORM Nadav Shiloach Sagi Sabag Supervisor: Idan Shmuel Spring 2014 One Semester Project PROJECT’S ENDING.
Team Members: Ruichen Zhao Xhoua Lor Jen-Yuan Hsiao John Marion.
Introduction to the Arduino
L ILY P AD T RAINING C ENTENNIAL E LEMENTARY 2012 Material by Linz Craig Revision by Sarah Bloms Additional images by Modkit & Adam Meyer.
Overview What is Arduino? What is it used for? How to get started Demonstration Questions are welcome at any time.
IR Communication Materials taken from a variety of sources including IR Remote for the Boe-Bot by Andy Lindsay.
Servos The material presented is taken from a variety of sources including:
IR Communication Materials taken from a variety of sources including IR Remote for the Boe-Bot by Andy Lindsay.
MAKE: AN ELECTRONICS WORKSHOP
Casne.ncl.ac.uk Taking care of the CrumbleBot Please do NOT stress the robot's motors 1.Do NOT push the robot 2.Do NOT hold the.
Electronic Instrumentation Project 204 Project Name: Light Level Monitor Student #1: Name ID Student #2: Name ID Student #3: Name ID.
1 Transistor. 2 Transistors are used to turn components on and off They come in all different shapes and sizes.
1 Microcontrollers. 2 Programmers work in the virtual world Machinery works in the physical world Microcontrollers connect the virtual and physical world.
ROBOTC for CORTEX Teacher Training © 2011 Project Lead The Way, Inc. Automation and Robotics VEX.
Components of Mechatronic Systems AUE 425 Week 2 Kerem ALTUN October 3, 2016.
In and Out Line Monitoring System for Volleyball
Application Case Study Christmas Lights Controller
A Different Soldering Class “Surface Mount Soldering”
Having fun with code, using Arduino in a middle school CS classroom
Introduction to Motors, servos and steppers
The 4th Annual Colorado Robot Challenge
simple example program to control a DC-Motor
ARDUINO BASED AUTOMATIC TEMPERATURE BASED FAN SPEED CONTROLLER
Home automation using Arduino & ‘PIR sensor’
Using Arduino to modify RC controls Nick Carter 12/31/2015
IR Communication Materials taken from a variety of sources including IR Remote for the Boe-Bot by Andy Lindsay.
Monitoring Robot Prepared by: Hanin Mizyed ,Abdalla Melhem
Microcontroller Based Digital Code Lock
Introduction to Handshaking Communication with SSC-32U
Automated Ticket to Ride
Introduction to Handshaking Communication with SSC-32
Programming Scratch to Control a K’NEX Fairground Ride
IR Control Materials taken from a variety of sources including IR Remote for the Boe-Bot by Andy Lindsay.
Electrical Engineer Responsibilities
Zigbee Networks Using Xbee Modules
How to avoid catching things on fire.
PLC Hardware Components.
Automation and Robotics
Design Brief Liam and Dorsa.
Dave Mawdsley, DACS Member, Linux SIG January 16, 2013
EET 2261 Unit 12 Controlling Stepper Motors and Servos
Copier Jam Detector Design Problem
Chapter 1 Introduction of Arduino
Actuators and acting electrical signal digital signal.
UNIT 9 Relays.
UNIT 11: RC-SERVOMOTOR CONTROL
UNIT 9 Relays.
Presentation transcript:

Controlling the Air Swimming Shark with your Brainwaves How does it work? Nick Carter 7/25/2016 ?????????????????????

The Idea In researching EEG Sensors I found Open EEG and their application idea. http://eeghacker.blogspot.com/2015/03/brain-controlled-shark-attack.html http://spectrum.ieee.org/geek-life/hands-on/openbci-control-an-air-shark-with-your-mind I wanted to do it on the cheap thus, MindFlex Game has 1 or 2 EEG sensor inputs.

Shark being driven at Nova Labs EEG Headset MindFlex Game RF IR Shark Remote Arduino For Video see: https://drive.google.com/file/d/0B_8yqnVcbS5gQ0ZWVjVQdGU2SzQ/view?usp=drivesdk

Block Diagram - Project Building Blocks Program in Arduino to translate MindFlex signals to Shark Remote signals Circuit* to make MindFlex compatible with Arduino Circuit* to make Shark Remote buttons compatible with Arduino Shark Remote Modified to get button signals MindFlex Toy Player Brain Control Signals. 1 EEG Sensor ?? ?? ?? ??

Interface Mindflex to Arduino - 1 What signals are available Motor control Physically moves Seems to have speed/position feedback Physical access? LED control Easy access 3 intensities already decoded 2 player access Other Hack controller? More difficult – little info available I chose the LED control

Interface Mindflex to Arduino - 2 Interface to LEDs – how do I monitor them What is the drive LED signal Light intensity varies with Pulse Width Modulated (PWM) signal How do I interface to it, Arduino has Analog and Digital inputs. Digital interfacing requires careful timing and there are 6 lights. Analog interfacing is easy. I used an RC network to convert PWM to analog. Use threshold values in the Arduino to decide if LEDs are “ON/OFF” for control purposes

Wiring inside MindFlex Base Unit LEDs LEDs Connectors LED Wiring to Connectors LED Wiring to Connectors

Arduino Code Major Code Blocks – Loop this Read Analog Inputs Compare Analog inputs with thresholds to see if they represent ON or OFF. Since the filtered signal is a saw tooth, we need a big hysteresis. (Difference between thresholds more than saw tooth height.) Decide Shark Drive action based on LED ON/OFF Forward, Turn Left, Turn Right, Up, Down Send signals to “push” the Remote Control buttons Turn solid state relays ON/OFF with Digital outputs Create Sequences for Drive actions as callable functions Forward = side to side tail wag, alternate L/R button press Turn Left = Short wag R, Long wag L. (Turn R = opposite) Up/Down – requires 2nd player, use manual control at first Using one player, Activate Drive sequence Forward when Green LED is on, Activate turn Left or Right when Orange LED is on, Change turn direction every time Orange is achieved after Green. Notes: 2 Player LED signal sets are available – players would have to coordinate but more control information is available. Preprogrammed Shark drive sequences could be used without the “mind control.” just using the Arduino – or using other input means.

Interface Arduino to Shark Remote control Remote control has push buttons to control the Shark. 3 buttons close to a common signal 1 button does not** I need to wire out the button contact points I will wire to a convenient external connector for my relay board **This was my remote version. Some versions of remote may have all buttons with common connection to switches drivable from Arduino, but relay drive is universal. Ribbon cable with 6 pin connector to Relay Board

Interface Arduino to Shark Remote control Solid State Relay I need to close the Push Button circuit from Arduino I cannot drive directly from digital outputs for all I need a relay (isolated contact) for the 1 contact I designed a quad Solid State Relay board using Eagle CAD, PCB from OSHPark. Components from Digikey. Ribbon Cable Connector mate

Integrating the Parts Couple everything with connectors Breadboard interface Arduino to Game Arduino Monitor on PC. Values sent back 1=LED_ON, 0=LED_OFF Arduino Analog level REMOTE GONDOLA IR Wagging the tail from the PC (This pic shows EV3 remote not shark remote)

The Shark I used “Air Swimming Shark” from Internet. (Other fish types available) Price range $15 to $50 Requires about $15 of helium to inflate I bought a party balloon kit for $25 with helium canister. So far it did 1 full inflate + 1 top-up – more left still. Shark stays inflated a few days then may need to be topped up. Cannot assemble shark until inflated. 2 people needed for best assembly. Fins and control electronics are held with double sided sticky tape + overlay reinforcements. (Tricky with one person) Neutral buoyance is achieved using clay/putty (supplied). I found I had to tape some to front of shark to balance it. Normal leveling is supposed to be achieved using “climb/dive “ attitude adjustment using the remote to move the electronics module (gondola) to front or rear with rack /pinion gearing. Propulsion forwards is by side to side tail wags using remote to wag left and right alternately (separate buttons) Turn is done using the wag buttons to wag more one way than the other, or holding button down will only wag to one side.

Issues Shark fin reinforcement tape is light and sticks to itself easily. Can be difficult to apply. My placement of the control gondola using lowest altitude placement was not far enough forward to enable proper climb dive control (I added more clay taped to front of shark.) You can’t tell until you stick it on then it is too late. The fins came off in my car driving 7 miles and the shark was stressed against roof etc.. They could be re-stuck but for how long? The control gondola did not stick well to underside, curvature did not match shark. One end broke and I had to hot-glue it. The tail drive mechanism frequently became stuck and had to be manually released (forced) to continue wagging. From time to time it gets “directionally challenged” and needs manual intervention to put it back on course (see video) BUT…..despite these issues, it is a fun toy and people really like it 