Skip to content

Columns 5 and 6 theory #1

@edgarmove

Description

@edgarmove

What about a 24 bit ADC inside the box?

Maybe the 24 bits of the output corresponds to the 3 bytes of the columns:

MSB | | LSB
byte 2 | byte 1 | byte 0
column 4 | column 5 | column 6

This could explain why the values of columns 5 and 6 are changing faster.

You can try the hypothesis using the struct library.
https://docs.python.org/2/library/struct.html

Something like this:

from struct import *
#reorder the bytes in little endian
buffer=struct.pack ('BBBB',data[5], data[4], data[3], 0x00)
#convert 3 bytes to unsigned int
ADCvalue=struct.unpack ('I', buffer)

Then graph all the values.
http://i01.i.aliimg.com/img/pb/681/397/670/670397681_909.jpg

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions