SlideShare a Scribd company logo
Android-Controlled Robot
Ben Johnke
ECE561 Final Project
December 16, 2013
1
Project Overview
• What?
– Vehicle which can be controlled remotely by an
Android smartphone

• How?
– Write an Android app which allows the user to
provide throttle and steering inputs
– The app sends commands via Bluetooth
– Commands received by Bluetooth modem
connected to microcontroller
– Microcontroller controls motors
2
System Overview
Microcontroller
Bluetooth
modem

Power
source

Motor driver

Android
controller
application

Drivetrain

3
System Overview
Microcontroller
Bluetooth
modem

Power
source

Motor driver

Android
controller
application

Drivetrain

4
Drivetrain
• Vehicle driven by left and right
DC motors
• Motor torque spec based on
estimated vehicle weight,
desired acceleration
• Differential steering employed
– Turn vehicle by driving motors at
different velocities
– Ball casters in front allow
pivoting; no additional wheels
needed
5
System Overview
Microcontroller
Bluetooth
modem

Power
source

Motor driver

Android
controller
application

Drivetrain

6
Power Source
• Few battery technologies can
provide high current
• Max. discharge rate specified
by “C”-rating
– C = battery capacity in amp hrs.
– NiMH: ~1C
– LiPo: 10C+

• LiPo selected to meet this
application’s high-current
needs
– 6A stall current per motor
– Chosen battery has 4.0Ah
capacity and 25C discharge
rating
7
System Overview
Microcontroller
Bluetooth
modem

Power
source

Motor driver

Android
controller
application

Drivetrain

8
Motor Driver
• Motor control requires full processor attention
– Monitor motor speed
– Continuously adjust motor voltage to minimize error between desired
and actual motor speeds
– Essentially a digital feedback control system

• Want to avoid this additional hardware and software complexity
• Solution: Pololu Dual Motor Driver Shield for Arduino
– Contains 2 STMicroelectronics VNH5019 motor drivers, each rated for
12A
– Includes Arduino library allowing motor speeds to be set with simple
function call

9
System Overview
Microcontroller
Bluetooth
modem

Power
source

Motor driver

Android
controller
application

Drivetrain

10
Microcontroller
• Arduino UNO
– 14 digital I/O pins which can also be
used for serial communication
– On-board regulated 5V supply
– Works with Pololu Motor Driver Shield

• Implements differential steering
algorithm
– Outside wheel speed set based on
throttle command alone
– Inside wheel speed also set based on
throttle command, but subtracted from
according to sharpness of steering
angle
– Rate limiter keeps speeds from
changing too quickly

11
System Overview
Microcontroller
Bluetooth
modem

Power
source

Motor driver

Android
controller
application

Drivetrain

12
Bluetooth Modem
• Want Class 1 Bluetooth for long range
(~100m)
– Chosen model: BlueSMiRF Gold

• Essentially implements a wireless serial
stream
– When modem receives a message via
Bluetooth, it sends that message via
serial
– When modem receives a message via
serial, it sends that message via
Bluetooth

• Has static network address which
Android controller uses to establish a
connection
13
System Overview
Microcontroller
Bluetooth
modem

Power
source

Motor driver

Android
controller
application

Drivetrain

14
Android Controller Application
• Creates socket for
communicating with
Bluetooth modem,
using its known address
• Reads throttle and
steering slider bar
values, transmits
periodically on socket’s
OutputStream
• Listens on socket’s
InputStream for error
messages from Arduino
15
Lessons Learned
• Skills
–
–
–
–

Android app development (Java, XML)
Selecting parts based on datasheets
Practical aspects: sourcing parts, mechanical fabrication
Bringing a design from concept to implementation

• Conclusion
– It is feasible to implement Bluetooth communication
between smartphone and microcontroller
– This opens door for wide range of possible similar
applications
• Remote starter for car
• Automation of household tasks
16
Future Extensions
• Advanced motion
– i.e. robot arm controlled by servo
motor

• Obstacle avoidance
– Install proximity sensor; develop
algorithms to steer around / back
up when obstacles detected

• Vision
– Use camera to transmit frames
back to Android application for
display to user
– Bluetooth too low-bandwidth;
switch to WiFi
17
Video
• https://www.youtube.com/watch?v=LB0zt2BY
d84

18

More Related Content

PPTX
Robo wireless controll
PPTX
Robot controlled car using Wireless Module
PPTX
Home automation using internet of things
PPTX
Bluetooth controlled robot
PPTX
Bluetooth Controlled Robot/Car
DOCX
Bluetooth Controlled Robot
PPTX
Bluetooth controlled robot using arduino uno and HC-05
PPT
Automatic vehicle accident detection and messaging system using gsm and gps m...
Robo wireless controll
Robot controlled car using Wireless Module
Home automation using internet of things
Bluetooth controlled robot
Bluetooth Controlled Robot/Car
Bluetooth Controlled Robot
Bluetooth controlled robot using arduino uno and HC-05
Automatic vehicle accident detection and messaging system using gsm and gps m...

What's hot (20)

PPTX
Android Based Home Automation Control
PPTX
Bluetooth controlled android car
PDF
Embedded System in Automobiles
DOCX
Arduino bluetooth controlled robot
PDF
BLUETOOTH CONTROL ROBOT WITH ANDROID APPLICATION
DOCX
Vehicle tracking Using GPS,GSM & ARM7
PPTX
Android mobile phone controlled bluetooth robot
PPTX
Autonomous and electric vehicles
PPTX
Autonomous Vehicles
PPTX
Autonomous car
PPTX
VOICE OPERATED WHEELCHAIR
PDF
Vehicle Theft control system
PDF
IRJET - Women’s Safety System using IoT
DOCX
Smart wheel chair based on voice recognition for handicapped
PPTX
Gps tracking system
PPTX
HAND GESTURE CONTROLLED WHEEL CHAIR
PDF
Embedded Systems in Automotive
PPTX
IOT Based Smart Parking and Damage Detection Using RFID
PPTX
Alcohol detection system with gsm and gps (fiem , ece)
PPTX
Infotainment system of car
Android Based Home Automation Control
Bluetooth controlled android car
Embedded System in Automobiles
Arduino bluetooth controlled robot
BLUETOOTH CONTROL ROBOT WITH ANDROID APPLICATION
Vehicle tracking Using GPS,GSM & ARM7
Android mobile phone controlled bluetooth robot
Autonomous and electric vehicles
Autonomous Vehicles
Autonomous car
VOICE OPERATED WHEELCHAIR
Vehicle Theft control system
IRJET - Women’s Safety System using IoT
Smart wheel chair based on voice recognition for handicapped
Gps tracking system
HAND GESTURE CONTROLLED WHEEL CHAIR
Embedded Systems in Automotive
IOT Based Smart Parking and Damage Detection Using RFID
Alcohol detection system with gsm and gps (fiem , ece)
Infotainment system of car
Ad

Viewers also liked (8)

PDF
20130719 Robot Car controlled by Android Phone
PPTX
Bluetooth.ppt
PPT
Car speed control using bluetooth
PPT
Bluetooth Slides
PDF
Bluetooth Module HC-06
PDF
Bluetooth Module
PPT
Bluetooth technology presentation
PPTX
Bluetooth Presentation
20130719 Robot Car controlled by Android Phone
Bluetooth.ppt
Car speed control using bluetooth
Bluetooth Slides
Bluetooth Module HC-06
Bluetooth Module
Bluetooth technology presentation
Bluetooth Presentation
Ad

Similar to Android controlled robot (20)

PPTX
Design and implementation of an obstacle avoiding robot
PPTX
FYP PPT (1) (4).pptx
PPTX
Android phone controlled obstacle avoiding robot
PPTX
rohith
PPT
Design and Construction of DC Motor Speed Controller Using Android.ppt
DOCX
Speed and direction control of dc motor using android mobile application grv ...
PPTX
Bluetooth controled robot
PPTX
Presentation slides on android controlled robot
PPTX
Presentation slides of android controlled robot
PDF
Advanced android mobile controlling robot
PPT
War field spying robot
DOCX
Project_report_voice_controlling_robot
PPTX
Android controlled robot
PDF
IJSRED-V2I2P26
DOCX
Brian black book
PPTX
ppt ITR.final.pptx
PPT
12266127.ppt
PDF
Bluetooth Controlled Car with Arduino.pdf
PDF
IRJET- Multi-Featured Android Controlled Smart Car
PDF
IRJET- Multi-Featured Android Controlled Smart Car
Design and implementation of an obstacle avoiding robot
FYP PPT (1) (4).pptx
Android phone controlled obstacle avoiding robot
rohith
Design and Construction of DC Motor Speed Controller Using Android.ppt
Speed and direction control of dc motor using android mobile application grv ...
Bluetooth controled robot
Presentation slides on android controlled robot
Presentation slides of android controlled robot
Advanced android mobile controlling robot
War field spying robot
Project_report_voice_controlling_robot
Android controlled robot
IJSRED-V2I2P26
Brian black book
ppt ITR.final.pptx
12266127.ppt
Bluetooth Controlled Car with Arduino.pdf
IRJET- Multi-Featured Android Controlled Smart Car
IRJET- Multi-Featured Android Controlled Smart Car

Recently uploaded (20)

PPTX
MYSQL Presentation for SQL database connectivity
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Approach and Philosophy of On baking technology
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Cloud computing and distributed systems.
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Electronic commerce courselecture one. Pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
cuic standard and advanced reporting.pdf
MYSQL Presentation for SQL database connectivity
The AUB Centre for AI in Media Proposal.docx
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
Approach and Philosophy of On baking technology
Spectral efficient network and resource selection model in 5G networks
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Unlocking AI with Model Context Protocol (MCP)
Reach Out and Touch Someone: Haptics and Empathic Computing
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Mobile App Security Testing_ A Comprehensive Guide.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Cloud computing and distributed systems.
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Electronic commerce courselecture one. Pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
cuic standard and advanced reporting.pdf

Android controlled robot

Editor's Notes

  • #4: -Power source for microcontroller and motor driver-Microcontroller receives commands from smartphone via Bluetooth modem-Microcontroller then sends appropriate signals to motor driver
  • #12: -Serial communication via computer, BT modem-5V supply to power BT modem
  • #14: Arduino interacts with modem just as it would any other serial connectionSits on static network address and listens for any attempted connections