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. I’ll try to update the source code in the next 4 weeks or something. I’m currently working on another projects that I need to finish right away.
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:
(You can download all the source code used in this video, by clicking share!)
- 1x Arduino Uno
- 1x Bluetooth Module (for example: HC-05, you don’t have one? No problem, 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)