This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Have the Bluetooth / Scan switch "ON" by default when turning on the device?

Other Parts Discussed in Thread: DLPNIRNANOEVM, BQ24250

Hi,

I have two beginner questions with regards to the DLP NIRscan Nano DLPNIRNANOEVM.

First question is with regards to the Bluetooth/Scan switch. Is it possible to have it turned on by default when opening the device? I am looking to incorporate the DLP NIRscan Nano in a larger experimental setup and having to manually click on the little Bluetooth/Scan switch everytime I want to use the device is quite annoying. 

Second question is with regards to the battery. I will order the recommended battery pack for this unit: 
Tenergy Li-Polymer 3.7V 1700mAh (103450) Battery

Will the battery charge automatically if I connect the device to a wall plug or a computer using a micro USB cable? 

Thanks!

  • Dominic,

    1) Bluetooth can be set to on at power up through a compile time switch. You will have to re compile the Tiva sources with Code Composer Studio. To setup the compile switch ENABLE_BLE_AT_STARTUP, in App/include/common.h set this #if to 1, as follows:

    /****************** BLUETOOTH CONTROLS *****************/

    /**
    * Compiler switch to enable BLE advertsing at startup
    */
    #if 1
       #ifdef NIRSCAN_INCLUDE_BLE
           #define ENABLE_BLE_AT_STARTUP
       #endif
    #else
        #undef ENABLE_BLE_AT_STARTUP
    #endif

    Then recompile the code and download this Tiva firmware to the NIRscan Nano using the GUI under the Utilities tab. Setting this #if to 0 will disable this switch and keep Bluetooth off until the scan button is held for a few seconds.

    2) The battery will charge automatically as long as a thermistor is connected. The BQ24250 senses the battery voltage and will charge it if it is voltage is below the charging threshold. The thermistor measures the temperature of the battery to safely charge the battery. See Section 4.1 of the DLP NIRscan Nano User's Guide for the recommended thermistor part number.

    Best regards,
    Pedro

  • Thanks for your answer. As for the thermistor, I have checked the part on digikey:
    www.digikey.com/.../en

    Is there a recommended way to connect the thermistor to the beige connector of the NIRscan Nano. On the unit, it seems like there could be some sort of plastic connector that could be use...

    Thanks again!
  • Dominic,

    The thermistor uses connector J7. The J7 connector is a 2-pin 1mm connector. The connector and crimp part numbers are detailed on Section F.2 of the DLP NIRscan Nano User's Guide

    Best regards,
    Pedro