Android Display Board

download Android Display Board

of 20

Transcript of Android Display Board

  • 8/11/2019 Android Display Board

    1/20

    REMOTELY CONTROLLED ANDROID BASED

    ELECTRONIC NOTICE BOARDABSTRACT:

    Notice Board is primary thing in any institution / organization or public utility places

    like bus stations, railway stations and parks. But sticking various notices day-to-day is a

    difficult process. A separate person is reuired to take care of this notices display. !his

    pro"ect deals about an advanced hi-tech wireless notice board.

    !he main ob"ective of the pro"ect is to develop a wireless notice board that displays

    notices when a message is sent from the user#s android application device. $emote operation

    is achieved by any smart-phone/!ablet etc., with Android %&, upon a '() *'raphical (ser

    )nterface+ based touch screen operation. hile the user sends the message from the android

    application device, it is received and retrieved by the Bluetooth device at the display unit.

    !he Bluetooth access password will only be known to the user. )t is then sent to the

    microcontroller that further displays the notice sent from the user on to the electronic notice

    board which is euipped with a 0 123 display. )t uses a microcontroller from 456

    family.

    !he power supply consists of a step down transformer 075/08, which steps down the

    voltage to 08 A2. !his is converted to 32 using a Bridge rectifier. !he ripples are removed

    using a capacitive filter and it is then regulated to 968 using a voltage regulator :456 which

    is reuired for the operation of the microcontroller and other components.

  • 8/11/2019 Android Display Board

    2/20

    BLOCK DIAGRAM:

    SOFTWARE REQUIREMENTS:

    ;iel compiler, 1anguage< =mbedded 2%r >e? Assembly

    Android Application.

    HARDWARE REQUIREMENTS:

    @icro controller unit *A!4260+, B1(=!%%!>3evice, 123 *?0+, $esistors, 2apacitors,

    3iodes, !ransformer, $egulator

  • 8/11/2019 Android Display Board

    3/20

    Serial Bluetooth Module

    Quantity Pricing

    !his module enables you to wireless transmit receive serial data. )t is a drop in

    replacement for wired serial connections allowing transparent two way data communication.

    Cou can simply use it for serial port replacement to establish connection between @2( orembedded pro"ect and D2 for data transfer.

    Features

    7.78 power operation

    (A$! interface 5 meters range

    =asy to use

    @inimum =?ternal 2omponents

    &tatus 1=3s

    Appl!at"#s

    ireless !elemetry

    $emote 3ata 1ogging

    $obotics

    &ensor @onitoring

    $emote DrogrammingSpe!$!at"#s

    Bluetooth protocol v0.5

    $ange 5 meters

    Ereuency< 0.F 'hz )&@

    @odulation< 'E&;

    !ransmit power< FdBm

    &ensitivity< 4FdBm

    $ate< 0.@bps*@a?+ /5kbps*Async+G @bps*&ync+

    Authentication =ncryption

    http://www.sunrom.com/img/p/93/93_800.jpg
  • 8/11/2019 Android Display Board

    4/20

    Dower &upply< 97.7 832 65mA

    %perating !emperate< -052 to 966 2

    3imensions< 0. mm ? 7 mm ? 0.0 mm

    @odes of operation

    !hese modules have two modes< master and slave. Cou can set the module mode *master or

    slave+ of the device by A! commands.

    !he main function of Bluetooth serial module is replacing the serial port line, such asz suarewave to make the 1=3 flicker uickly. )t indicates the module is at the pairable mode.

    3- &are* M"*e .LED *"u/le $l!0er per se!"#*-:Dairing is finished and module can

    communicate.

    Dair 1=3

    1=3 comes on once the module has paired with another bluetooth module or D2 or &martDhone. !he pair 1=3 pin goes high when module is in pairing else the pin is at low level

    when unpaired.

    8arious types of )nterfacing

    !he Bluetooth module works on 7.78 level only. H+( )"lta+e l0e 45 2ll per%a#e#tl6

    *a%a+e t(e %"*ule7 s" please ta0e !are # us#+ t8

    )f your application reuires to be operated at 68 then use a 1@:-7.7 regulator to convertthe 68 level to 787 level as reuired by module. Also protect the $3 pin against 68 !3

    signal by inserting ; resistor in series to module $3 pin.

  • 8/11/2019 Android Display Board

    7/20

    )f you wish to connect this module to D2#s &erial port which is at $&070 level, then you need

    to add @A070 circuit as shown.

    @odule 3imensions

  • 8/11/2019 Android Display Board

    8/202onfig @ode

  • 8/11/2019 Android Display Board

    9/20

    hen "umper is put on config pin making it high during power on state the module enters A!

    command mode for module configuration at baud rate of 74F55bps.

    !hen you can use a software like !erminal to configure the module. Cou can download

    !erminal from this product page download bo?.

    >ere you can see we are entering various A! commands and getting response from module.

    >ere you can see we are setting different configuration and module is responding with %;.

  • 8/11/2019 Android Display Board

    10/20

    Ereuently used A! 2ommands

    A! 2ommand structure< all command should end up with JKrKnL *>e?< 5?53 5?5A+ as theterminator. Eor full A! command download D3E A!-2ommands.pdf from this page

    download bo?.

    Reset t(e %aster9sla)e r"le !"%%a#*:

    A!9$%1=M5 ----&et the module to be slave mode. !he default mode is slave.

    A!9$%1=M ----&et the module to be master mode.

    Set %e%"r6 !"%%a#*:A!92@%3=M &et the module to make pair with the other random Bluetooth module*Not specified address+. !he default is this mode.

    A!92@%3=M5 &et the module to make pair with the other Bluetooth module *specified

    address+. )f set the module to make pair with random one first, then set the module to makepair with the Bluetooth module has specified address. !hen the module will search the last

    paired module until the module is found.

    Reset t(e pass2"r* !"%%a#*

    A!9D&3M

    &et the module pair password. !he password must be F-bits.

    Reset t(e /au* rate

    A!9(A$!M DaramO,Daram0O,Daram7O.

    Ea%ple:

    A!9(A$!M55,5,5 ----set the baud rate to be 55N4

    Reset t(e Bluet""t( #a%e

    A!9NA@=M

  • 8/11/2019 Android Display Board

    11/20

    Steps t" set %"*ule t" MASTER

    Dower on module in config mode, module comes into A! 2ommand $esponse &tatus.

    %pen >yperterminal or other communications tool, set the baud rate to 74F55, 4 data bits, stop bit, no parity bit, no flow control

    8ia !!1 serial port, send characters PA! 9 $%1= M r nP,if successful, return P%; r nP,

    where r n is carriage return.$emove 2onfig "umper, re-power, then in @aster state, automatically search for slave

    module and connect.

    Brief A! commands to uery module parameters

    A! responds %;.

    A!9$=&=! responds %;.A!98=$&)%NQ responds with the firmware version.

    A!9%$'1 responds %; and restores default state.

    A!9A33$Q responds with module address.A!9NA@=Q responds with module name.

    A!9NA@=name where name 05 or fewer characters. $esponds %;name. $etained across

    power offs.

    A!9$NA@=Q responds with remote paired moduleRs name.

    A!9$%1=Q responds with 5Mslave, Mmaster, 0Mslave-loop *loopback< receives masterdevice data and sends back to master+.

    A!921A&&Q responds with device type *70 bit indicating device type and what issupported+.

    A!9D&3Q responds with password.

    A!9D&3Mpassword sets module pairing password to password.A!9(A$!M?,y,z where ? is F455, 55, 055, 74F55, 6:55, 6055, 075F55, F5455,

    055, 740F55 for baud rate, where y is 5M bit, M0 bits stop bit, where z is 5Mnone,

    Modd, 0Meven parity+. 3eafult is 55,5,5.

    A!9(A$!Q responds with 9(A$!

  • 8/11/2019 Android Display Board

    12/20

  • 8/11/2019 Android Display Board

    13/20

  • 8/11/2019 Android Display Board

    14/20

    Adding Bluetooth 3evice on D2

    !he Bluetooth module runs the &DD *&erial Drotocol over Bluetooth+ protocol. &o any device

    supporting &DD can connect to it. %n a D2 this looks like a virtual 2%@ port. ) show here thesteps for indows *running indows :+.

    )t seems that Apple *iDhone, iDA3, etc+ does SnotS support &DD, so connecting with aniDhone is not possible. Android works, or any D2 machine with Bluetooth 3ongle.

  • 8/11/2019 Android Display Board

    15/20

    Erom the 3evice @anager, select TAdd a 3evice#