레이블이 Bluetooth인 게시물을 표시합니다. 모든 게시물 표시
레이블이 Bluetooth인 게시물을 표시합니다. 모든 게시물 표시

2018년 10월 1일 월요일

nRF52810 MDBT42Q-PAT Breakout board UART 통신

MDBT42Q-PAT 제품은 Nordic UART Service를 지원합니다.
PC와 UART 연결하면 AT Command를 이용하여 Smart Phone에서 통신이 가능합니다.

MDBT42Q-PAT Breakout board ---- USB to Serial

UART 설정
  • Baud Rate : 9600
  • Data Size : 8Bit
  • Parity : nono
  • Flow Contorl : None

제품 구매 :

nRF52-DK 보드로 MDBT42Q Breakout board Program 하기

nRF52 DK 보드를 Debugger로 이용하여 MDBT42Q Breakout board에 Firmware 개발이 가능합니다.Connect는 아래 그림과 같이 연결하시면 됩니다.


nRF52 DK ------- MDBT42Q Breakout board

2017년 3월 21일 화요일

Bluetooth 5.0 새로운 기능

2016년 12월 7일 Bluetooth 5.0 기능이 정식으로 릴리즈되었습니다









Bluetooth 5.0의 새로운 기능은 다음과 같습니다.

   - Bluetooth 4.2 보다 BLE 2배 속도 지원
     Bluetooth 5.0은 대역폭을 2Mbps 증가시켜, 무선 디바이스의 Firmware update 기능을 
     좀더 신뢰할 수 있도록 구현할 수 있는 기능을 지원합니다.   - Bluetooth 4.2 보다 4배 증가한 송 수신 거리 지원     대역폭을 늘림으로 소비전력을 비슷한 수준으로 유지하며 송수신 거리를 4배 증가된 
     거리를 지원합니다.  - 8배의 Advertising Packet size 지원    31 옥텟에서 255옥텟으로 8배 증가한 브로드캐스팅 메시지 용량을 제공합니다.    3개의 광고 채널에서 최대 37개의 광고 채널로 광고 데이터를 오프로드하는 기능을 지
    원합니다.






2015년 9월 15일 화요일

BLE Beacon : 2.Cross Platform을 지원하는 Beacon APP 제작 및 연동 Test

<원문 : http://cafe.naver.com/wirelessdev/434>

2. Cross Platform을 지원하는 Beacon APP 제작 및 연동 Test

HTML 5와 JavaScript를 이용하여 쉽고 빠르게 IoT Application을 제작할 수 있는 Evothings Studio를 이용하여 Android와 iPhone용 APP을 제작한다.
동일한 Source를 이용하여 iPhone과 Android에서 동시에 사용 가능하다.
준비물 :

iBEACON APP 실행하기.
  • 동일한 Access Point에 PC와 Smart Phone을 접속한다(동일한 Network에 접속하기 위함.)
  • Evothings Studio를 실행한다.
    EvothingsWorkbench.exe 파일을 실행한다.
  • Evothings Client를 실행한다.

    SCAN FOR WORKBENCH를 Click하여 동일 Network의 Workbench를 검색
    검색된 Workbench를 선택하여 연결

    iBeacon App 실행 대기 상태
  • Workbench에서 실행할 APP을 선택하여 실행한다.
  • Evothings Client 실행 화면
iBeacon APP을 실행하여 검색되는 부분을 확인하였습니다.
다음은 APP 과 Beacon의 통신 Packet을 Sniffer로 분석하는 부분을 설명합니다.

2015년 9월 11일 금요일

BLE Beacon 제작 및 스마트폰 앱 연동하기. - 1

<원문 : http://cafe.naver.com/wirelessdev/433>

  • BLE iBeacon을 제작 및 APP 연동 관련 TEST를 진행하며 정리한 내용 올립니다
    아직 학습하는 과정으로 정보의 오류가 있을 수 있습니다.
    오류 부분은 지적해 주시기 바랍니다.

    정리한 내용은 4개 과정으로 나누어 정리했습니다.
    1. Beacon 개요 및 Arduino Beacon 제작
    2. Cross Platform을 지원하는 Beacon APP 제작 및 연동 Test
    3. Beacon Packet 분석을 통한 iBeacon 이해
    4. Beacon의 설정에 따라 동작하는 Beacon APP 제작

    1. Beacon 개요 및 Arduino Beacon 제작
    • iBeacon 이란 ?.
      • 비콘은 주기적으로 신호를 발생시키는 장치를 의미
      • iBeacon은 애플에서 정의한 것으로 Find me profile과 Proximity Profile을 이용한다
      • UUID, Major, Minor ID를 Beacon 식별 정보로 활용
      • 등대와 같이 단 방향으로 식별 정보를 전송하는 용도로 이용하며, Advertising mode 만을 사용
      • 예) UUID – 도시 , Major ID – 상가, Minor ID – 상품
      • iBeacon Packet format

    • Beacon 제작하기.
      • 준비 물
        - RBL nRF51822, iPhone, Android Phone
      • Arduino 소스 분석
        #include <BLE_API.h>


               BLEDevice ble;        // BLE radio driver 
    const static uint8_t beaconPayload[] = {
    0x4C, 0x00, // Company identifier code (0x004C == Apple)
    0x02, // ID
    0x15, // length of the remaining payload
    0xA4, 0x95, 0x00, 0x01, 0xC5, 0xB1, 0x4B, 0x44, // location UUID
    0xB5, 0x12, 0x13, 0x70, 0xF0, 0x2D, 0x74, 0xDE,
             0x00, 0x01, // the major value to differentiate a location
    0x00, 0x01, // the minor value to differentiate a location
    0xC8 // 2의 보수 : Tx power (-56dB)
    };

    void setup()
    {
    uint32_t err_code = 0;
    uint8_t val = 0;

    //Close peripheral power – 저전력 Mode로 변경
    NRF_POWER->DCDCEN = 0x00000001;
    NRF_TIMER1->POWER = 0;
    NRF_TIMER2->POWER = 0;
    NRF_WDT->POWER = 0;
    NRF_TEMP->POWER = 0;
    NRF_UART0->POWER = 0;

    pinMode(LED, OUTPUT);
    digitalWrite(LED, HIGH);

    err_code = ble.init();

    ble.accumulateAdvertisingPayload(GapAdvertisingData::BREDR_NOT_SUPPORTED);
    ble.accumulateAdvertisingPayload(GapAdvertisingData::MANUFACTURER_SPECIFIC_DATA, beaconPayload, sizeof(beaconPayload));
    ble.setAdvertisingType(GapAdvertisingParams::ADV_NON_CONNECTABLE_UNDIRECTED);
    ble.setAdvertisingInterval(160); /* 100ms; in multiples of 0.625ms. */
    ble.startAdvertising();
    }

    void loop()
    {
    ble.waitForEvent();
    }

    위의 Code를 RBL nRF51822에 Load하면 Beacon 제작 마무리된다.
    다음 내용은 iBeacon APP을 제작하여 통신하는 부분에 대해 설명합니다.

2015년 8월 3일 월요일

Bluetooth Low Energy ? BLE : Arduino, GCC, MBED 개발 환경 제공하는 BLE 개발 KIT

MBED, GCC, Arduino등 다양한 개발 환경을 제공하는 개발 KIT 소개합니다.
Arduino, MBED, GCC 등 다양한 개발환경 및 BLE 기능을 제공하여 학습을 목적으로 사용한다면 적합한 제품일 것 같습니다.
작은 모듈 형태로 제작되어 Bread board와 연결하여 시제품 제작에도 사용가능 할 듯 합니다.
BLE Nano & MK20 USB Board
Features
  • Smallest BLE development board, only 18.5mm x 21.0mm
  • Nordic nRF51822 SoC supports both BLE Central and BLE Peripheral roles
  • Ultra low power consumption
  • Support voltage from 1.8V to 3.3V
  • Software development using mbed.org, GCC, Keil or Arduino
  • Lots of libraries and examples available
  • Easy firmware deployment with our MK20 USB board or Over-the-Air download (available soon)
  • Work with our free Android App and iOS App
Description
BLE Nano is the smallest Bluetooth 4.1 Low Energy (BLE) development board in the market. The core is Nordic nRF51822 (an ARM Cortex-M0 SoC plus BLE capability) running at 16MHz with ultra low power consumption.
Developing a Bluetooth Smart enabled 'appcessory' (accessory device + companion application) is easier than ever. You can quickly produce protypes and demos target for Internet of Things (IoT) and other interesting projects. BLE Nano could operate under 1.8V to 3.3V, therefore it works with a lot of electronic components.
Current supported BLE central devices:
iOS 7 or 8
  • iPhone 4s
  • iPhone 5/6 (all models)
  • iPod touch 5
  • iPad 3/4/mini/Air
Android 4.3 or above (4.4 recommended for stability) with Bluetooth 4.0 hardware support
Windows Phone 8.1
  • Nokia Lumia 630
  • (please report any other Windows Phone devices supported)

Windows 8.1 with built-in Bluetooth 4.0 or USB dongle
Mac OSX 10.9.2 with built-in Bluetooth 4.0 or USB dongle
Linux with BlueZ 5.1 with built-in Bluetooth 4.0 or USB dongle
Programming
There are three options to program your BLE Nano with MK20 USB Board.
Nordic nRF51822 BLE SDK
If you want the full power of nRF51822, you should use 
Nordic nRF51822 BLE SDK, we provide a product key for all registered users* of our BLE Nano to download the SDK.
We have prepared a guide "
Firmware Development with nRF51822 SDK" to show you how to use the SDK with ARM GCC.
mbed's Bluetooth Low Energy API
The 
mbed platform, developed by ARM, provides free software libraries and online tools for professional rapid prototyping of products based on ARM microcontrollers. Their Bluetooth Low Energy Development Team has released the mbed BLE API together with 10+ samples.
Our "
Getting Started with nRF51822" guide shows you how to start programming with mbed.
Arduino Library for nRF51822
We have developed an Arduino library for nRF51822 which will be open-sourced and publicly available in the future; it is still at pre-release stage but we invite all interested registered users* of our BLE Nano to access the pre-release library and sample sketches including BLE Controller, Beacon, Heart Rate Monitor etc. Please refer to our "
Getting Started with nRF51822" guide for more details.
* You will find a product registration card inside the BLE Nano box with the instruction on how to register.
Power Supply
VIN
The BLE Nano can accept 3.3V to 13V from the VIN pin, voltage will be regulated to 3.3V via the onboard LDO as the nRF51822 chip operates at 3.3V. Thus, you can connect a rechargeable battery to it directly. Also, if you have another component to work with the BLE Nano, you can get 3.3V from the VDD as power supply to your component.
VDD
VDD can accept 1.8V to 3.3V only, if you have another MCU to work with the BLE Nano and that can supply 1.8V to 3.3V output, you should connect it to VDD of the BLE Nano. This would allow your BLE Nano to work components below 3.3V (e.g. 1.8V).
*Caution
  • DO NOT supply power from both VIN and VDD, it will damage the BLE Nano
  • DO NOT supply higher than 3.3V to VDD, it will damage the BLE Nano
  • DO NOT supply higher than 13V to VIN, it will damage the BLE Nano
BLE Nano Pinout
The on-board LED is connected to Pin 19 (P0_19).
Pin 30 (P0_30) is used as a signal pin. If short switch S5 but leave switch S10 open, pin 30 will be GND (low); if short S10 but leave S5 open, pin 30 will be VDD (high). Developer can make appropriate decision in the firmware according to the state of pin 30; some Nordic's firmware detect this to decide which pins to be used as Serial (UART) pins.
Switches S1 to S4 and S6 to S9 are used to select which pins to be used as UART connections (RTS, RXD, TXD and CTS). By default they are wired to p8 to p11, most Nordic's firmware use this settings, for example their Packet Sniffer firmware. If you want to have more analog pins for your project, you could consider routing the serial interface to p0 to p3.
BLE Nano Specification
Microcontroller
Nordic nRF51822
CMSIS-DAP Chip
Freescale MK20
Operating Voltage
1.8V to 3.3V
Input Voltage
1.8V-3.3V (VDD)
3.3V-13V (VIN)

Caution: Use either one power source at a time, otherwise you will damage the board.
Clock Speed
16MHz
Connectivity
Bluetooth 4.0 Low Energy
Serial (TX/RX)
I2C
SPI
Flash Memory
256KB
SRAM
16KB
Dimensions
18.5 x 21.0mm
I/O Pins
11
MK20 USB Board
The MK20 (Freescale MK20DX128VFM5) USB board acts as a dongle, it accepts 5V from USB port and regulates to 3.3V via the onboard LDO which can be used to power BLE Nano. It appears on your computer as both a serial port and a removable mass storage disk. Please refer to the guide Getting Started with BLE Nano to learn how to deploy firmware using MK20 USB board.
Since the BLE Nano can work as low as 1.8V, we have designed the MK20 USB board to run at 1.8V as well, simple short the switch S, then the regulator will outputs 1.8V instead. This would allow your BLE Nano to work with 1.8V components.
제품 문의 : cksung@md-korea.kr, 010-6237-3457

2014년 8월 28일 목요일

Bluetooth 4.0 Smart Ready Audio Module

PRODUCT FEATURES:

소형의 Bluetooth Smart Ready Module로 Bluetooth Audio와 Data, BLE를 모듈에서 동시에 지원한다. DSP Processor를 내장하였으며, Audio 성능을 향상 시키기 위하여 추가 Codec(APT-X etc)을 지원한다


Main Features 
  • Dual Mode: Bluetooth and Bluetooth Low Energy (BLE)
  • Backwards compatible with 1.1, 2.0, 2.1 + EDR and 3.0
  • Embedded Bluetooth Protocol Stack 
  • Supports HFP, A2DP Sync, AVRCP, PBAP
  • Supports HFP-Ag and A2DP Source for Transmit
  • Supports IAP1/IAP2 profiles for connection to iOS devices
  • Supports aptX, (inc. Low latency), aac, sbs and mp3 codecs
  • Simple UART and GPIO interface for command and control
  • Connects to external Codecs with I2S, PCM and SPDIF interfaces
  • Input and Ouput can be Digital or Analog Audio
  • Small form factor (11.8mm x 18mm)
제품 문의 : 010-6237-3457, cksung@md-korea.kr

Bluetooth 4.0 Smart Ready(Dual Mode) Data Module

BT43 Product Specification






  • Bluetooth 4.0 Smart Ready를 지원하여, Bluetooth Low Energy와 Bluetooth Classic(V 3.0)을 하나의 모듈에서 이용 가능하다. 
  • 이 제품은 Data 통신에 적합하며, AT Command API를 이용하여 iPhone, Android와 쉽게 통신 기능을 구현 및 Test가 가능하다. 
  • Chip 안테나를 내장하고 있으며, Size를 최소화하여 작은 기구 설계에 적합니다.

Bluetooth Features

  • Bluetooth v4.0 Smart Ready
  • Class 1 radio
  • Range up to 80m LOS
  • 1.5Mbps data throughput
  • 128-bit encryption security
  • Support Profile : SPP, iAP(Apple), BLE
Hardware Features
  •  Cortex-M4microprocessor up to 84MHz
  • 256K bytes Flash memory
  • 64K bytes RAM memory
  • UART, up to 2M baud
  • SPI and I2C interfaces
  • 7 general purpose I/O
  • 4x12-bit A/D inputs
  • 1 LPO input
  • Size : 11.6mm X 13.5mm X 2.2mm

제품 문의 : 010-6237-3457, cksung@md-korea.kr

BLUETOOTH LE AUDIO : BIS and CIS Explored

  LE 오디오? LE 오디오는 블루투스 저전력(LE; Low Energy) 에서 작동한다. Bluetooth 5.2의 주요 혁신으로, 저복잡도 통신 코덱(LC3)을 사용해 더 나은 음질과 낮은 전력 소비를 제공합니다. 이 기술은 방송(Broadcas...