UPDATE 23-12-2013: http://appinventor.mit.edu changed their whole website… So the source file that previously you could use to edit on their website, only works with AppInventor version 1.0 or also called classic that you can see here http://appinventor.mit.edu/explore/classic.html Click the button: “Invent your own Apps now” . This project still works just fine with my app and with my Arduino code. But you can only edit the source code on Appinventor classic version.
After so many requests, I’ve decided to create this quick tutorial! I hope you enjoy.
This will help you understand how App Inventor works and how it can interact with your arduino via bluetooth.
Watch this video tutorial
Download all my source code below
- Arduino Sketch
- BlueLED Source files (for editing purpose)
Note: If you want to edit my app this is what you need to do: After you download this folder make sure you unzip it. Only upload the BlueLED.zip into App Inventor.
- 1x Arduino Uno
- 1x Bluetooth Module (for example: HC-05, click here to read my review here about this Bluetooth module)
- 1x Smartphone (any Android will work, I’ve only tested with Samsung Galaxy Ace)
- Android Application (you can download it in the next step)
- 1x 220Ohm Resistor
- 1x LED
- 1x Breadboard
- Jumper Cables
- You need to remove the RX and TX cables when you’re uploading the sketch to your Arduino.
- Sometimes people connect the TX from the bluetooth module to the TX of the Arduino… that’s wrong and it won’t work. Make sure you connect it properly, the TX into RX and the RX into the TX.
- If the HC-05 Bluetooth Module asks for a password, It’s ’1234′.
- Before Testing my “BlueLED” app, test if you’ve made all the connections correctly. How you can do that? Simply enter numbers (’1′, ’0′) into your serial monitor and your LED should be turning on and off.
I hope you found this useful!
Do you have any questions? Leave a comment down below!
Thanks for reading. If you like this post probably you might like my next ones, so please support me by subscribing my blog and my Facebook Page.
P.S. You don’t have a Bluetooth Module yet? Read my review here about the one I’m using in this tutorial!
P.P.S. Check a Similar project made by me using MIT App Inventor. (Click here)
- 21 Arduino Modules You Can Buy For Less Than $2
- ESP8266 Remote Controlled Sockets (safely)
- Complete Guide for nRF24L01 – 2.4GHz RF Transceiver Module With Arduino
- Password Protected Web Server Accessible from Anywhere
- Complete Guide for RF 433MHz Transmitter/Receiver Module
- How to Control Your ESP8266 From Anywhere in the World