This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to send data from NRF 52832 to HC 08 device?

data sending from NRF52832 to HC 08 device

  • Hi @IC, There's a couple different ways you can do this. Can you post the specs of your HC08 chip? I would assume it has some form of serial interface to work with, unless of course you mean over BLE. In either case, a datasheet would help answer your question.

  • Specification of HC-08 Bluetooth Module

    Bluetooth protocol: Bluetooth Specification V4.0 BLE
    Open environment and iphone 4 s can achieve 80 meters extreme distance communication.
    Based on TI CC2540 chipset
    Bluetooth class 2
    Industrial level SPP Bluetooth module
    Integrated chip antenna
    Industrial temperature range from -40 to +85
    Support for on-board applications
    Operating frequency: 2.4 GHz  ISM band
    Modulation method: GFSK (Gaussian Frequency Shift Keying)
    Acuity: -84 DBM or less BER at 0.1%
    Transfer rate: Asynchronous: 6 KBPS Synchronous: KBPS
    Security features: Authentication and encryption
    Support services: Central and Peripheral UUID FFE0, FFE1
    Power consumption: automatic sleep mode, the standby current 400 ~ 1.5 mA, transfer 8.5 mA.
    Power supply: + 3.3 VDC 50 MA
    

    I want to send data through UART

  • FormerMember
    0 FormerMember

    If you want to communicate with the that chip/module over uart, I would recommend you to take a look at our UART example in the SDK, in the peripheral folder.

  • Did you end up figuring this out? I'm trying to do the same thing. I was able to establish a connection between the devices, using "examples/ble_central/ble_app_uart_c/", but haven't figured out how to send data from nrf52832 to HC-08.

  • That's the Nordic UART Service (NUS).

    As the name suggests, it's a Nordic Proprietary service - so you'd have to implement it yourself at the HC-08 end...

    EDIT

    Alternatively, implement whatever proprietary service(s) the HC-08 has on the nRF end.

    The point here being that there is no standard "UART-over-BLE" service defined by the Bluetooth SIG - so everyone does their own proprietary thing.

Related