Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Bluetooth driver – control within mobile phone

Status
Not open for further replies.

Vermes

Advanced Member level 4
Joined
Aug 2, 2011
Messages
1,163
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,316
Activity points
22,318


Technical parameters:
  • 4 digital inputs
  • 4 relay outputs with NC and NO terminals. Output voltage range: from 12 to 30V DC and from 24 to 250V AC
  • RTC allows to determine the time of the event
  • Bluetooth communication module having a 100m range (class 1) BTM222
  • thermometer DS18B20
  • RS-485 communication output allowing the communication with other devices of building automation, it is possible to communicate using Modbus or BacNet protocols
  • outputs for plugging the control panel, consisted of a display, keyboard and a buzzer
Inputs and outputs are protected by optocouplers. From the power side, the system is protected by EMC filter to meet CE requirements.
Schema and board drawings are presented below:



And the driver:



Software:
Microcontroller was programmed in AVR-GCC. The control program is based on the task scheduling algorithm. Also semaphores, critical sections and system flags are applied, so it is similar to a mini-RTOS. The most important resource of the device is module BTM222. Everything which was sent, is loaded into the FIFO queue and timely handled with a maximum delay after receiving the package of data is 2ms.
Security access issue can be solved like this:
The external device must send a special code so that it can access the driver control, the same code on the basis of certain parameters is generated by the driver, so it has to calculate, that is why 16MHz quartz was used.
From the phone side, an application that communicates with the driver at the request.



Few versions of the software to the mobile phone was created:
  • to control the gate
  • to control the shutters
  • to open the factory passages (specifically three passages, gate and door x2), this version also is passages recorder
The driver also records all the enters, data can be read by a computer program connected by RS485 to the driver. Any passage can be directly opened from the program.



A version with LCD and buttons can be designed, as well as software dedicated to phones with Symbian.



Link to original thread (useful attachment) – Sterownik Bluetooth - kontrola w zasięgu komórki
 

Great work thanks
how can i create the J2ME program
i am searching this type of projects
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top