Connect with us

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

Discussion in 'Microcontrollers, Programming and IoT' started by [email protected], Nov 7, 2012.

Scroll to continue with content
  1. loheslath@yahoo.fr

    [email protected]

    2
    0
    Nov 7, 2012
    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
     
  2. CocaCola

    CocaCola

    3,635
    5
    Apr 7, 2012
    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...
     
  3. loheslath@yahoo.fr

    [email protected]

    2
    0
    Nov 7, 2012
    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 ?
     
  4. CocaCola

    CocaCola

    3,635
    5
    Apr 7, 2012
    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: Nov 8, 2012
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-