Maker Pro
Maker Pro

Make a sipmle microcontroller that will send its Serial Number to a smartPhone

[email protected]

Nov 7, 2012
2
Joined
Nov 7, 2012
Messages
2
Please can someone tell me how to make a sipmle microcontroller, while press on its button, it will send its Serial Number to a smartPhone by blutooth connexion.

Thank
 

CocaCola

Apr 7, 2012
3,635
Joined
Apr 7, 2012
Messages
3,635
There are cheap bluetooth modules all over ebay, you get one of those and simply interface it with the micro... Once that's done you pair it with the phone and send you info... Of course it's more involved overall, you need to actually write the code on both the micro and the phone to do the communications...
 

[email protected]

Nov 7, 2012
2
Joined
Nov 7, 2012
Messages
2
There are cheap bluetooth modules all over ebay, you get one of those and simply interface it with the micro... Once that's done you pair it with the phone and send you info... Of course it's more involved overall, you need to actually write the code on both the micro and the phone to do the communications...
Thank you CocaCola for your answer.

I know how to write the code on the phone to do the communications bu not on the micro.
Have you an idea on how to write the code on micro ?
 

CocaCola

Apr 7, 2012
3,635
Joined
Apr 7, 2012
Messages
3,635
To write the code for the micro you will first need to pick a micro and then choose your development suite to write the code... There are a TON of compilers out there for most micros, you have to simply choose one that works for you... I would personally stick to Atmel AVR or Microchip PIC as they both have a huge market share and thus a huge number of options and support...

From that point you can almost always find example code that can be tweaked to work, until you get good enough to write your own code from scratch...

For example here is an entire tutorial devoted to getting an Arduino and Bluetooth module to work together....

http://www.arduino.cc/playground/Learning/Tutorial01
 
Last edited:
Top