Einleitung

  1. 2VVjHsmvEZ2IdUWT
    2VVjHsmvEZ2IdUWT
    nJ4ciSCc2BrJweEW
    xfSGdrQYuuHsdGoW
    • 1. Disconnect the plug to the solar panel.

    • Then, grabbing the green connector, pull the battery connector from the solar charge controller.

    • 2. Disconnect the plugs for the autosampler battery.

    • 3. Disconnect the connector that plugs into the battery port of the sampler.

    • If disconnect battery before solar panel, this can damage the solar charger!

  2. Uh6cDmYf3vUqBKpP
    Uh6cDmYf3vUqBKpP
    TEHd2UKhVKcBX21v
    ahJ4Gu34KWWwfirU
    • 4. Plug in the USB programmer into the Open-Storm board.

    • 5. Reconnect the node battery.

    • 6. Reconnect the autosampler battery.

  3. 4YKxHUlDRLMBWxYd
    4YKxHUlDRLMBWxYd
    LtkbdSC23xeJkVe6
    XHcQlhPvOkTQLMPO
    • 7. Connect the USB programmer into the computer.

    • 8. Create a folder for the Open-Storm board code to be stored. In this case, it indicates that we are working with an autosampler.

    • 9. The code is stored on GitHub here. Click the "Clone or download" button. Copy the address.

  4. UZMO15Xh3mOxNPqy
    UZMO15Xh3mOxNPqy
    qc1eSltAi53yKIGZ
    Ga2UtFihLHtb3QRG
    • 10. Open the Git Bash application and type "cd" followed by the address of the folder you created to save the code in. In this case "~/Documents/psoc/perfect-cell-autosampler".

    • You can use the "~" if the folder is located in your home directory.

    • You will need the free program Git BASH in order to download the code. You can download it here.

    • 11. Type "git clone" followed by the address copied from git hub here.

    • Now the code will download to the desired folder.

    • 12. Inside your folder, open the "perfect-cell" folder then open the "perfect-cell.cydsn" folder.

  5. dfJLSCwN1BAYcKYu
    dfJLSCwN1BAYcKYu
    g4kFfhCvgHXknha2
    qdwTCTKjImNKkO2Q
    • 13. Obtain the "config.h" file from an administrator at the Real-Time Water Systems Lab. Then copy the file and paste it in the "perfect-cell.cydsn" file.

    • You will need the free program PSoC to program the cell. You can download it here.

    • PSoC only works on Windows.

    • 14. Then in the perfect-cell.cydsn" file, open the "perfect-cell" PSoC file. Once the PSoC Creator program launches, begin by building the cell. Go to: Build>Build perfect-cell. After it's done building you should not see any errors. Warnings are okay.

    • 15. Now it is time to program the cell! There are two ways to do this:

    • (1) Press the "Program" button" or;

    • (2) Click "Debug" then select "Program"

  6. Q1JR6uemW1DpIeer
    Q1JR6uemW1DpIeer
    ixdR4XnCVEvWuOWU
    mpuoRdn12QvAXCck
    • 16. PSOC will begin flashing the code. You can track the progress by watching the "programming - XX of 1024 blocks".

    • 17. When the board is completely programmed, it will say "Finished Programming".

    • 18. You will also note the board is completely programmed when the board flashes blue.

    • Now you can unplug the USB from the board and the computer.

Brooke Mason

Mitglied seit: 29/05/19

2928 Reputation

0 Kommentare