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.

DLPNIRNANOEVM: How to provide external switches - On-off/Bluetooth-Scan etc on a hardware casing

Part Number: DLPNIRNANOEVM

Dear All,

I am using NanoScan and making a plastic casing. I have ordered for the battery as per the part number

I do not know how to provide (and which) switches to provide in the casing.

- Which switches shall i order?

- How do I provide connections to the internal switches? OR do i have to connect to the Jtag or something.

Kindly advice.

  • Hi Anhad,

    Welcome to the DLP Forums and thank you for your question!

    The switches you want to provide on the outside of the case depend on your design and application. Most often, users want to provide a "scan" button and a power button.

    It is quite difficult for us to recommend a specific switch to you because you are using a custom housing. Simply buy whichever switch is able to reach the existing switches on the Nano or can be soldered into their place.

    I'm not exactly sure what you mean by "internal" switches, but I don't think you'll need access to JTAG on the outside of the case.

    Sorry that we can't be of more assistance - good luck your design!
    Paul
  • Anhad,

    If you are just placing a plastic button cover, that presses the button when depressed, then depending on how you designed the enclosure, just use a suitable plastic button cover that is able to press down on the board buttons.

    If you want to reroute this buttons to another board to place in a more convenient location, the expansion connector on the NIRscan Nano has an option to route LED and scan button functionality. The code has a compiler switch option that moves that functionality to the pins at compile time. These compiler switches are in:

    C:\ti\DLPNIRscanNanoSoftware_2.0.1\Sources\App\include\common.h

    and you can find them labeled as:

    • SCAN_BUTTON_EXP_CONN
    • GREEN_LED_EXP_CONN
    • YELLOW_LED_EXP_CONN
    • BLUE_LED_EXP_CONN

    As you can see int he schematics, the scan button just acts as a momentary grounding of a pull-up resistor. With these signals, you can move this functionality to another board. 

    Best regards,
    Pedro