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

i need a help for programming , i2c programming for my project . to transfer the data from temperature sensor via phone using ble

Hi.......

i am student , i am doing a project based on temperature. i want transfer data from temperature sensor to phone via using NRF connect . can you help me ? how to write a program where should i start ?which BLE peripheral can i use ? suggest me some idea 

Parents
  • As a starting point, you can have a look at the ble_app_hts (Health Thermometer Service) which is included in the nrf52 sdk inside the ble_peripherals folder. 

    Regarding the temperature sensor, you'll have to implement the logic to read the data from the registers of the temperature sensor

    As a starting point for that you can use the twi_sensor example given in the nrf sdk inside the peripherals folder. (TWI is same as I2C but they don't use the same abbreviation for legal reasons).

    Then you can integrate the two applications and test the functionality using nrf connect or the nrf toolbox app.

  • thank you, one more i am beginner to the nrf , programming also ,whether  it will be easy ?if i started with twi sensor and later hts . 

Reply Children
Related