SlideShare a Scribd company logo
1 of 17
Transferring data using
Audio signal in Android
              Sudar Muthu
         http://sudarmuthu.com
     http://twitter.com/sudarmuthu
Yes you heard it
       right
  It’s possible
Basic Idea
In any data transmission system, data flows from
             Transmitter to Receiver



    Transmitter                     Receiver
Basic Idea
Android Audio Player Plays audio and becomes
                 Transmitter


                     Plays audio
  Audio Player
Basic Idea
Android Audio Recorder records audio and becomes the
                     Receiver


                  Receives Audio
                                    Audio Player
Basic Idea
So now the data (audio) flows between Audio Player
               and Audio Recorder


                      Audio
     Audio Player                  Audio Recorder
                      Data
Data inside Audio
Sound/Audio is Analog

Your data is Digital (0 or 1)

Data and Audio are combined using Frequency Shift
keying (FSK)

Android has a built in analog to digital Convertor
What is FSK?




http://en.wikipedia.org/wiki/Frequency-shift_keying
Code Sample – Audio
     Recorder
Code Sample – Audio
       Track
So why would anyone
   want to use it?
Zero power transmission

Less battery usage, when compared with WIFI or
Bluetooth

Can work with any audio device

Very simple to plug into your phone
Commercial projects
Process credit cards – http://propay.com

Tata sky – Converts your mobile into a remote

Audio cassette interfaces to mobile
Project Ideas
Communication between multiple audio devices like
your PC, iPod/iPad/iPhone

Hide data inside an audio file

Broadcast data as a music file. Imagine what happens
if your radio station does that

Hook up your Arduino and control robots (and that’s
what got me interested in this ;) )
How to get started?
Things you need

  Android Phone

  Audio cable (4 pole 3.5 mm)

  SoftModem –
  http://www.sparkfun.com/products/10331

  Any additional device (another phone or even an
  Arduino)
Libraries/Projects to
      check out
Androino - http://code.google.com/p/androino/

AndroinoTerminal -
http://code.google.com/p/androino/wiki/AndroinoTer
minal

Arms22 - http://code.google.com/p/arms22/
Demo
Thank You

       Sudar Muthu
       http://sudarmuthu.com
       http://github.com/sudar
       http://twitter.com/sudarmuthu

More Related Content

More from Sudar Muthu

Capabilities of Arduino (including Due)
Capabilities of Arduino (including Due)Capabilities of Arduino (including Due)
Capabilities of Arduino (including Due)
Sudar Muthu
 
Open hack 2011-hardware-hacks
Open hack 2011-hardware-hacksOpen hack 2011-hardware-hacks
Open hack 2011-hardware-hacks
Sudar Muthu
 

More from Sudar Muthu (20)

Getting started with arduino workshop
Getting started with arduino workshopGetting started with arduino workshop
Getting started with arduino workshop
 
Python in raspberry pi
Python in raspberry piPython in raspberry pi
Python in raspberry pi
 
Hack 101 at IIT Kanpur
Hack 101 at IIT KanpurHack 101 at IIT Kanpur
Hack 101 at IIT Kanpur
 
PureCSS open hack 2013
PureCSS open hack 2013PureCSS open hack 2013
PureCSS open hack 2013
 
Pig workshop
Pig workshopPig workshop
Pig workshop
 
Arduino Robotics workshop day2
Arduino Robotics workshop day2Arduino Robotics workshop day2
Arduino Robotics workshop day2
 
Arduino Robotics workshop Day1
Arduino Robotics workshop Day1Arduino Robotics workshop Day1
Arduino Robotics workshop Day1
 
Hands on Hadoop and pig
Hands on Hadoop and pigHands on Hadoop and pig
Hands on Hadoop and pig
 
Lets make robots
Lets make robotsLets make robots
Lets make robots
 
Capabilities of Arduino (including Due)
Capabilities of Arduino (including Due)Capabilities of Arduino (including Due)
Capabilities of Arduino (including Due)
 
Controlling robots using javascript
Controlling robots using javascriptControlling robots using javascript
Controlling robots using javascript
 
Picture perfect hacks with flickr API
Picture perfect hacks with flickr APIPicture perfect hacks with flickr API
Picture perfect hacks with flickr API
 
Hacking 101
Hacking 101Hacking 101
Hacking 101
 
Capabilities of Arduino
Capabilities of ArduinoCapabilities of Arduino
Capabilities of Arduino
 
Introduction to node.js GDD
Introduction to node.js GDDIntroduction to node.js GDD
Introduction to node.js GDD
 
Using Javascript in today's world
Using Javascript in today's worldUsing Javascript in today's world
Using Javascript in today's world
 
Hack u yql-iit-delhi
Hack u yql-iit-delhiHack u yql-iit-delhi
Hack u yql-iit-delhi
 
A slightly advanced introduction to node.js
A slightly advanced introduction to node.jsA slightly advanced introduction to node.js
A slightly advanced introduction to node.js
 
YAP - HackU 2011
YAP - HackU 2011YAP - HackU 2011
YAP - HackU 2011
 
Open hack 2011-hardware-hacks
Open hack 2011-hardware-hacksOpen hack 2011-hardware-hacks
Open hack 2011-hardware-hacks
 

Recently uploaded

Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
panagenda
 

Recently uploaded (20)

Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
 
How to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cfHow to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cf
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentation
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
 
How to Check GPS Location with a Live Tracker in Pakistan
How to Check GPS Location with a Live Tracker in PakistanHow to Check GPS Location with a Live Tracker in Pakistan
How to Check GPS Location with a Live Tracker in Pakistan
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdf
 
Overview of Hyperledger Foundation
Overview of Hyperledger FoundationOverview of Hyperledger Foundation
Overview of Hyperledger Foundation
 
Frisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdf
Frisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdfFrisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdf
Frisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdf
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
Vector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptxVector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptx
 
الأمن السيبراني - ما لا يسع للمستخدم جهله
الأمن السيبراني - ما لا يسع للمستخدم جهلهالأمن السيبراني - ما لا يسع للمستخدم جهله
الأمن السيبراني - ما لا يسع للمستخدم جهله
 
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
 
UiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overviewUiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overview
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
ChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps Productivity
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 

Transfering data using audio signal in android

  • 1. Transferring data using Audio signal in Android Sudar Muthu http://sudarmuthu.com http://twitter.com/sudarmuthu
  • 2. Yes you heard it right It’s possible
  • 3. Basic Idea In any data transmission system, data flows from Transmitter to Receiver Transmitter Receiver
  • 4. Basic Idea Android Audio Player Plays audio and becomes Transmitter Plays audio Audio Player
  • 5. Basic Idea Android Audio Recorder records audio and becomes the Receiver Receives Audio Audio Player
  • 6. Basic Idea So now the data (audio) flows between Audio Player and Audio Recorder Audio Audio Player Audio Recorder Data
  • 7. Data inside Audio Sound/Audio is Analog Your data is Digital (0 or 1) Data and Audio are combined using Frequency Shift keying (FSK) Android has a built in analog to digital Convertor
  • 9. Code Sample – Audio Recorder
  • 10. Code Sample – Audio Track
  • 11. So why would anyone want to use it? Zero power transmission Less battery usage, when compared with WIFI or Bluetooth Can work with any audio device Very simple to plug into your phone
  • 12. Commercial projects Process credit cards – http://propay.com Tata sky – Converts your mobile into a remote Audio cassette interfaces to mobile
  • 13. Project Ideas Communication between multiple audio devices like your PC, iPod/iPad/iPhone Hide data inside an audio file Broadcast data as a music file. Imagine what happens if your radio station does that Hook up your Arduino and control robots (and that’s what got me interested in this ;) )
  • 14. How to get started? Things you need Android Phone Audio cable (4 pole 3.5 mm) SoftModem – http://www.sparkfun.com/products/10331 Any additional device (another phone or even an Arduino)
  • 15. Libraries/Projects to check out Androino - http://code.google.com/p/androino/ AndroinoTerminal - http://code.google.com/p/androino/wiki/AndroinoTer minal Arms22 - http://code.google.com/p/arms22/
  • 16. Demo
  • 17. Thank You Sudar Muthu http://sudarmuthu.com http://github.com/sudar http://twitter.com/sudarmuthu