Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • This was the output with no mppt and 0V on the vsense pin, so the next steps are to see how accurate it is with different nomura output voltages. In any case, seeing i2c reads is such a relief.

  • hmm it was on theĀ MCP3427_CHANNEL_2, but I swtiched to 1 and was able to see this output:


    [0] projects/smoke_mcp3427/src/main.c:150: Voltage sense mcp3427 ID = 5; Value = 21480
    [0] projects/smoke_mcp3427/src/main.c:150: Voltage sense mcp3427 ID = 5; Value = 21480
    [0] projects/smoke_mcp3427/src/main.c:150: Voltage sense mcp3427 ID = 5; Value = 21480
    [0] projects/smoke_mcp3427/src/main.c:150: Voltage sense mcp3427 ID = 5; Value = 21480
    [0] projects/smoke_mcp3427/src/main.c:150: Voltage sense mcp3427 ID = 5; Value = 21480
    [0] projects/smoke_mcp3427/src/main.c:150: Voltage sense mcp3427 ID = 5; Value = 21480
    [0] projects/smoke_mcp3427/src/main.c:150: Voltage sense mcp3427 ID = 5; Value = 21481
    [0] projects/smoke_mcp3427/src/main.c:150: Voltage sense mcp3427 ID = 5; Value = 21480
    [0] projects/smoke_mcp3427/src/main.c:150: Voltage sense mcp3427 ID = 5; Value = 21481

    the actual voltage is 25.2V

    [0] projects/smoke_mcp3427/src/main.c:150: Voltage sense mcp3427 ID = 5; Value = 21498
    [0] projects/smoke_mcp3427/src/main.c:150: Voltage sense mcp3427 ID = 5; Value = 21498
    [0] projects/smoke_mcp3427/src/main.c:150: Voltage sense mcp3427 ID = 5; Value = 21497
    [0] projects/smoke_mcp3427/src/main.c:150: Voltage sense mcp3427 ID = 5; Value = 21498
    [0] projects/smoke_mcp3427/src/main.c:150: Voltage sense mcp3427 ID = 5; Value = 21500
    [0] projects/smoke_mcp3427/src/main.c:150: Voltage sense mcp3427 ID = 5; Value = 21498
    [0] projects/smoke_mcp3427/src/main.c:150: Voltage sense mcp3427 ID = 5; Value = 21497

    thats for 25.6V, so there is a change

    awesome its not calibrated correctly, but there definitely is change! (this is 26V)

    [0] projects/smoke_mcp3427/src/main.c:150: Voltage sense mcp3427 ID = 5; Value = 21822
    [0] projects/smoke_mcp3427/src/main.c:150: Voltage sense mcp3427 ID = 5; Value = 21824
    [0] projects/smoke_mcp3427/src/main.c:150: Voltage sense mcp3427 ID = 5; Value = 21822
    [0] projects/smoke_mcp3427/src/main.c:150: Voltage sense mcp3427 ID = 5; Value = 21826
    [0] projects/smoke_mcp3427/src/main.c:150: Voltage sense mcp3427 ID = 5; Value = 21825
    [0] projects/smoke_mcp3427/src/main.c:150: Voltage sense mcp3427 ID = 5; Value = 21823

    and when the output voltage from the mppt is 0, it takes about 30 seconds to stabilize (ramp down) but then i see this
    [0] projects/smoke_mcp3427/src/main.c:150: Voltage sense mcp3427 ID = 5; Value = 10
    [0] projects/smoke_mcp3427/src/main.c:150: Voltage sense mcp3427 ID = 5; Value = 10
    [0] projects/smoke_mcp3427/src/main.c:150: Voltage sense mcp3427 ID = 5; Value = 10
    [0] projects/smoke_mcp3427/src/main.c:150: Voltage sense mcp3427 ID = 5; Value = 10
    [0] projects/smoke_mcp3427/src/main.c:150: Voltage sense mcp3427 ID = 5; Value = 10

  • one question that remains is: why does this work on MCP3427_CHANNEL_1 when im initializing port 2?