AndysProjects.com
  • Blog
  • About
  • Contact

Arduino, Bluetooth, Android, Lego Train

12/20/2014

19 Comments

 
Picture
Recently after having taught a workshop on Arduino/Android/Bluetooth connectivity, I decided to see if I could create an app using MIT's App Inventor 2. I set out using an HC-05 bluetooth module (commonly available on Amazon.com) as the Bluetooth portion of my recipe. My current Microcontroller of choice is Adafruit's Trinket Pro. This handles the code and receives the serial messages sent from the app over bluetooth. 
The Adafruit Trinket Pro has the availability to do Serial where the base Trinket does not, at least not with out a software hack.  The IR transmitter goes on pin 13 by default in the code. I attached a JST header to the Trinket so it could be powered off of a lipo. The one pictured is a bit overkill, but does the job. 

The HC-05 Talks to the Trinket Pro over Serial using pins 1 and 2 on the Adafruit Trinket Pro and making sure to send RX to TX and visa versa.


The app made in app inventor looks like the picture below. Adding images and buttons is pretty simple. The toughest part is setting up the Bluetooth Client and list picker. Directions for that can be found here.


Picture
19 Comments
Tips Android link
3/24/2015 11:27:36 pm

awazome application, i'm so excited with the lego :D

Reply
Topten link
8/4/2015 04:30:18 am

excellent information on your blog, thank you for taking the time to share with us. amazing insight you have on this, it's nice to find a website that details so much information about different artists.

Reply
SpongeBob Moves In v4.28.00 Apk Mod link
4/14/2015 12:35:41 am

After reading this article, I became interested in making an android application with MIT's App Inventor 2. However, it took great effort in order to create an android application.
Are there any tips to make android apps with ease?
Thank you

Reply
Android One Smartphone link
4/25/2015 05:26:11 pm

The technology is very sophisticated, all can be run using android. and the one thing that all should know that I really like Lego: D

Reply
Android Aplication link
5/3/2015 01:57:43 pm

amazing this aplication,I just about about lego train thanks :D

Reply
Android Digit link
5/4/2015 09:22:29 pm

a good work, whether measures to make Can you make? I wish to make a tutorial. thank you

Reply
klik disini link
5/21/2015 02:37:48 am

nice trick bro... thanks for your sharing....

Reply
klik disini link
5/21/2015 02:47:39 am

thanks for your information...

Reply
usaha sampingan ibu rumah tangga link
5/21/2015 02:50:17 am

nice sharing... thank you...

Reply
manjakani kanza untuk program hamil link
7/17/2015 09:41:32 pm

This is indeed a very unique game, but unfortunately I'm old enough to play

Reply
Obat Keputihan Herbal link
7/17/2015 09:43:58 pm

Wanted to have a healthy baby, by maintaining intestinal health ..

Reply
software indonesia link
7/27/2015 12:21:53 pm

I love playing lego but with this technology became more attractive, can all be run using android. Thinks this article is very interesting

Reply
harga paket internet dan smartphone link
10/19/2015 03:00:26 pm

Hi! .. Greetings everyone, my name taufik of the field. During my visit on this website, I found many articles that are useful, that indeed I was looking before. Thanks admin, and everything."

Reply
Cara Menghilangkan Benjolan Di Kaki link
10/25/2015 11:33:49 pm

Thank you

Reply
Mengobati Lutut Berbunyi Dan Sakit Sendi link
11/4/2015 01:25:10 am

thank you

Reply
android link
5/23/2016 01:52:05 am

nice idea to utilize android with bluetooth, hopefully get a lot of support for this activity

Reply
takipçi satın al link
8/3/2022 12:48:20 am

Really informative article, I had the opportunity to learn a lot, thank you. https://www.takipcikenti.com/instagram/turk-takipci/

Reply
ebay yurtdışı kargo link
8/9/2022 06:27:17 am

Really informative article, I had the opportunity to learn a lot, thank you. https://www.smsbankasi.net/2022/08/amazon-shopify-aliexpress-walmart-ebay.html

Reply
instagram takipçi satın al link
8/11/2022 02:14:40 pm

Really informative article, I had the opportunity to learn a lot, thank you. https://bit.ly/instagram-takipci-satin-al-takipci

Reply



Leave a Reply.

    Picture

    Author

    I am a maker at heart and electronics enthusiast. Many of my projects are created out of necessity for the item, or out of a modification of existing things I have!

    Archives

    February 2017
    February 2015
    December 2014

    Categories

    All

    RSS Feed

Powered by Create your own unique website with customizable templates.