SlideShare a Scribd company logo
1 of 10
Make It Talk!
Use MIT App Inventor and a $5 Bluetooth module to wirelessly control an
Arduino project from an Android device.
What you will need:
● Computer with Internet access
● Android smartphone or tablet (JellyBean or newer)
● Arduino
● HC-05 Bluetooth to UART Serial Transceiver (eBay or Amazon)
● Free account at MIT App Inventor website
https://ai2.appinventor.mit.edu
MIT App Inventor: Designer Window
MIT App Inventor: Blocks Window
Getting the App to your Android Device
● Install Google Goggles
● In Settings on device, allow ‘Unknown
Sources’ app installs under Security
● From App Inventor click:
o Build
o App (Provide QR code for .apk)
● Scan QR code with Google Goggles and
install
Ask me about the AI Companion app! Great for testing!
There is also an emulator that can be downloaded
#define pins and command codes
initialize the Bluetooth stream and declare
variables
Startup the Bluetooth connection and turn off
LED
Sit and listen for data to come in over the
Bluetooth serial stream
If we see a ‘1’ turn the LED on
If we see a ‘0’ turn the LED off
Arduino IDE
HC-05 modules don’t come from a single
vendor.
All HC-05s I’ve dealt with are 5V tolerant.
There is a chance though the not all are,
some may require 3.3V maximum!
Most Arduinos are 5V output on the GPIO
pins.
Except the newest Arduinos!
Arduino Zero does have 3.3V GPIO pins,
and most likely all future Arduinos will move
to 3.3V.
99% of the time, this circuit will work just fine
since all all HC-05s I’ve seen have 5V-3V
level shifter...
Default passcode:
1234
But just to be safe
you can add a voltage divider
Voltage divider is built using two
resistors.
We will place ours between the
Arduino TX pin (pin 11) and the
HC-05 RX pin.
4.7K-ohm
10K-ohm
Vout = Vin * [ R2 / (R1+R2) ] = 5V * (10K/14.7K) = 3.4V
Shortcut!
github.com/geekcowboy/AppInventor_Arduino_Bluetooth
Upload the .aia file into your App Inventor account by clicking on:
● Projects
● Import project (.aia) from my computer
Open the .ino file in the Arduino IDE, tweak as needed, and then upload to your Arduino
head on over to
Thank You!
● Luis Picarzo - App Inventor tutorial
o whatakuai.com/bluetooth-and-app-inventor/
● Mohannad Rawashdeh - HC-05 tutorial
o instructables.com/id/Arduino-AND-Bluetooth-HC-05-Connecting-easily

More Related Content

What's hot

What's hot (20)

Introduction to Raspberrypi
Introduction to  RaspberrypiIntroduction to  Raspberrypi
Introduction to Raspberrypi
 
Raspberry-Pi
Raspberry-PiRaspberry-Pi
Raspberry-Pi
 
Introduction to raspberry pi
Introduction to raspberry piIntroduction to raspberry pi
Introduction to raspberry pi
 
Raspberry PI
Raspberry PIRaspberry PI
Raspberry PI
 
Introduction to Raspberry PI
Introduction to Raspberry PIIntroduction to Raspberry PI
Introduction to Raspberry PI
 
IOT ppt.pptx
IOT ppt.pptxIOT ppt.pptx
IOT ppt.pptx
 
Presentation on Raspberry pi
Presentation on Raspberry piPresentation on Raspberry pi
Presentation on Raspberry pi
 
Internet of things
Internet of thingsInternet of things
Internet of things
 
Cloud computing in iot seminar report
Cloud computing in iot seminar reportCloud computing in iot seminar report
Cloud computing in iot seminar report
 
Embedded Systems and IoT
Embedded Systems and IoTEmbedded Systems and IoT
Embedded Systems and IoT
 
Internet of Things(IoT) & Applications
Internet of Things(IoT) & ApplicationsInternet of Things(IoT) & Applications
Internet of Things(IoT) & Applications
 
Internet of things
Internet of thingsInternet of things
Internet of things
 
Privacy and security in IoT
Privacy and security in IoTPrivacy and security in IoT
Privacy and security in IoT
 
1. Introduction to Embedded Systems & IoT
1. Introduction to Embedded Systems & IoT1. Introduction to Embedded Systems & IoT
1. Introduction to Embedded Systems & IoT
 
Final year report on remote control of home appliances via bluetooth
Final year report on remote control of home appliances via bluetoothFinal year report on remote control of home appliances via bluetooth
Final year report on remote control of home appliances via bluetooth
 
IOT: Home Automation using Android Application
IOT: Home Automation using Android ApplicationIOT: Home Automation using Android Application
IOT: Home Automation using Android Application
 
Smart shopping trolley.
Smart shopping trolley.Smart shopping trolley.
Smart shopping trolley.
 
Raspberry pi ppt
Raspberry pi pptRaspberry pi ppt
Raspberry pi ppt
 
Raspberry pi
Raspberry piRaspberry pi
Raspberry pi
 
Smart Notice Board with android app via Bluetooth
Smart Notice Board with android app via BluetoothSmart Notice Board with android app via Bluetooth
Smart Notice Board with android app via Bluetooth
 

Viewers also liked

Viewers also liked (11)

Wearables 101
Wearables 101Wearables 101
Wearables 101
 
การบำบัดของเสียในอุตสาหกรรม 31 03 59
การบำบัดของเสียในอุตสาหกรรม 31 03 59การบำบัดของเสียในอุตสาหกรรม 31 03 59
การบำบัดของเสียในอุตสาหกรรม 31 03 59
 
สรุป การออกแบบระบบบำบัดน้ำเสีย ไม่ครบ
สรุป การออกแบบระบบบำบัดน้ำเสีย ไม่ครบสรุป การออกแบบระบบบำบัดน้ำเสีย ไม่ครบ
สรุป การออกแบบระบบบำบัดน้ำเสีย ไม่ครบ
 
Google App Inventor
Google App InventorGoogle App Inventor
Google App Inventor
 
Water Recycling Process
Water Recycling ProcessWater Recycling Process
Water Recycling Process
 
Recycle and reuse of wastewater
Recycle and reuse of wastewaterRecycle and reuse of wastewater
Recycle and reuse of wastewater
 
กฎหมายว่าด้วยมลพิษ
กฎหมายว่าด้วยมลพิษกฎหมายว่าด้วยมลพิษ
กฎหมายว่าด้วยมลพิษ
 
คู่มือ Thunkable
คู่มือ Thunkableคู่มือ Thunkable
คู่มือ Thunkable
 
MIT APP Inventor como instrumento de coleta de dados - Prof. Ricardo Costa Rossi
MIT APP Inventor como instrumento de coleta de dados - Prof. Ricardo Costa RossiMIT APP Inventor como instrumento de coleta de dados - Prof. Ricardo Costa Rossi
MIT APP Inventor como instrumento de coleta de dados - Prof. Ricardo Costa Rossi
 
คู่มือ Handbook app inventor
คู่มือ Handbook app inventorคู่มือ Handbook app inventor
คู่มือ Handbook app inventor
 
Characteristics of Waste-Water (Unit-I)
Characteristics of Waste-Water (Unit-I)Characteristics of Waste-Water (Unit-I)
Characteristics of Waste-Water (Unit-I)
 

Similar to MIT App Inventor + Arduino + Bluetooth

Similar to MIT App Inventor + Arduino + Bluetooth (20)

ARDUINO.pptx
ARDUINO.pptxARDUINO.pptx
ARDUINO.pptx
 
Embedded system application
Embedded system applicationEmbedded system application
Embedded system application
 
Android Things - The IoT platform from Google
Android Things - The IoT platform from GoogleAndroid Things - The IoT platform from Google
Android Things - The IoT platform from Google
 
Arduino Workshop Slides
Arduino Workshop SlidesArduino Workshop Slides
Arduino Workshop Slides
 
Arduino slides
Arduino slidesArduino slides
Arduino slides
 
Using arduino and raspberry pi for internet of things
Using arduino and raspberry pi for internet of thingsUsing arduino and raspberry pi for internet of things
Using arduino and raspberry pi for internet of things
 
XBee and RFID
XBee and RFIDXBee and RFID
XBee and RFID
 
XBee and RFID
XBee and RFIDXBee and RFID
XBee and RFID
 
Connecting outsideworld with Android and Arduino
Connecting outsideworld with Android and ArduinoConnecting outsideworld with Android and Arduino
Connecting outsideworld with Android and Arduino
 
Advanced View Arduino Projects List - Use Arduino for Projects-4.pdf
Advanced View Arduino Projects List - Use Arduino for Projects-4.pdfAdvanced View Arduino Projects List - Use Arduino for Projects-4.pdf
Advanced View Arduino Projects List - Use Arduino for Projects-4.pdf
 
Advanced view arduino projects list use arduino for projects 2
Advanced view arduino projects list  use arduino for projects 2Advanced view arduino projects list  use arduino for projects 2
Advanced view arduino projects list use arduino for projects 2
 
Arduino Slides With Neopixels
Arduino Slides With NeopixelsArduino Slides With Neopixels
Arduino Slides With Neopixels
 
Physical prototyping lab1-input_output (2)
Physical prototyping lab1-input_output (2)Physical prototyping lab1-input_output (2)
Physical prototyping lab1-input_output (2)
 
Advanced View Arduino Projects List _ Use Arduino for Projects {4}.pdf
Advanced View Arduino Projects List _ Use Arduino for Projects {4}.pdfAdvanced View Arduino Projects List _ Use Arduino for Projects {4}.pdf
Advanced View Arduino Projects List _ Use Arduino for Projects {4}.pdf
 
DIGITAL LOGIC DESIGN (1) PROJECT REPORT.docx
DIGITAL LOGIC DESIGN (1) PROJECT REPORT.docxDIGITAL LOGIC DESIGN (1) PROJECT REPORT.docx
DIGITAL LOGIC DESIGN (1) PROJECT REPORT.docx
 
Advanced View Arduino Projects List - Use Arduino for Projects [04].pdf
Advanced View Arduino Projects List - Use Arduino for Projects [04].pdfAdvanced View Arduino Projects List - Use Arduino for Projects [04].pdf
Advanced View Arduino Projects List - Use Arduino for Projects [04].pdf
 
What is Arduino ?
What is Arduino ?What is Arduino ?
What is Arduino ?
 
Linux Format - Get Into Linux Today
Linux Format - Get Into Linux TodayLinux Format - Get Into Linux Today
Linux Format - Get Into Linux Today
 
1.Arduino Ecosystem.pptx
1.Arduino Ecosystem.pptx1.Arduino Ecosystem.pptx
1.Arduino Ecosystem.pptx
 
Intro to Arduino
Intro to ArduinoIntro to Arduino
Intro to Arduino
 

Recently uploaded

Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
MayuraD1
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
Health
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 

Recently uploaded (20)

Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Learn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksLearn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic Marks
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Bridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptxBridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptx
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
 
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
Rums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfRums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdf
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 

MIT App Inventor + Arduino + Bluetooth

  • 1. Make It Talk! Use MIT App Inventor and a $5 Bluetooth module to wirelessly control an Arduino project from an Android device.
  • 2. What you will need: ● Computer with Internet access ● Android smartphone or tablet (JellyBean or newer) ● Arduino ● HC-05 Bluetooth to UART Serial Transceiver (eBay or Amazon) ● Free account at MIT App Inventor website https://ai2.appinventor.mit.edu
  • 3. MIT App Inventor: Designer Window
  • 4. MIT App Inventor: Blocks Window
  • 5. Getting the App to your Android Device ● Install Google Goggles ● In Settings on device, allow ‘Unknown Sources’ app installs under Security ● From App Inventor click: o Build o App (Provide QR code for .apk) ● Scan QR code with Google Goggles and install Ask me about the AI Companion app! Great for testing! There is also an emulator that can be downloaded
  • 6. #define pins and command codes initialize the Bluetooth stream and declare variables Startup the Bluetooth connection and turn off LED Sit and listen for data to come in over the Bluetooth serial stream If we see a ‘1’ turn the LED on If we see a ‘0’ turn the LED off Arduino IDE
  • 7. HC-05 modules don’t come from a single vendor. All HC-05s I’ve dealt with are 5V tolerant. There is a chance though the not all are, some may require 3.3V maximum! Most Arduinos are 5V output on the GPIO pins. Except the newest Arduinos! Arduino Zero does have 3.3V GPIO pins, and most likely all future Arduinos will move to 3.3V. 99% of the time, this circuit will work just fine since all all HC-05s I’ve seen have 5V-3V level shifter... Default passcode: 1234
  • 8. But just to be safe you can add a voltage divider Voltage divider is built using two resistors. We will place ours between the Arduino TX pin (pin 11) and the HC-05 RX pin. 4.7K-ohm 10K-ohm Vout = Vin * [ R2 / (R1+R2) ] = 5V * (10K/14.7K) = 3.4V
  • 9. Shortcut! github.com/geekcowboy/AppInventor_Arduino_Bluetooth Upload the .aia file into your App Inventor account by clicking on: ● Projects ● Import project (.aia) from my computer Open the .ino file in the Arduino IDE, tweak as needed, and then upload to your Arduino head on over to
  • 10. Thank You! ● Luis Picarzo - App Inventor tutorial o whatakuai.com/bluetooth-and-app-inventor/ ● Mohannad Rawashdeh - HC-05 tutorial o instructables.com/id/Arduino-AND-Bluetooth-HC-05-Connecting-easily