Commit Graph

363 Commits (d1dea70e41adf0a72d9367e27d68dc737228cc08)

Author SHA1 Message Date
alanbjohnston 70efb45f64
removed double print
7 years ago
alanbjohnston 3d9f423b6f
typos
7 years ago
alanbjohnston 9a84a873e0
added telem printfs
7 years ago
alanbjohnston 64670a843b
Added in sensor read and printf
7 years ago
alanbjohnston 8b8e0774d4
removed command line argument processing
7 years ago
alanbjohnston 916d025e06
remove stuff
7 years ago
alanbjohnston 2cf1191f3a
cleanup
7 years ago
alanbjohnston 94d5e94cf3
initial add of telemetry display function
7 years ago
alanbjohnston 29506570f1
turned off SatNOGS upload
7 years ago
alanbjohnston 1189628e9f
turned on SatNOGS upload
7 years ago
alanbjohnston 9b6ae0f027
old code removal
7 years ago
alanbjohnston 211c94a922
typo
7 years ago
alanbjohnston 81a605c3a6
changed tempSensor into struct
7 years ago
alanbjohnston a1607d6eb3
typos
7 years ago
alanbjohnston 598dcbb2a1
simplified configuration
7 years ago
alanbjohnston 95b816e9aa
rewrote confg_sensor
7 years ago
alanbjohnston 550d93b615
reset
7 years ago
alanbjohnston a931999042
swapped order of voltage and power reading
7 years ago
alanbjohnston f0849cd11d
added calc and config
7 years ago
alanbjohnston 52819fa7ad
a
7 years ago
alanbjohnston d7fb15541d
added calc write before power
7 years ago
alanbjohnston a9df2d2b38
changed power reading
7 years ago
alanbjohnston 8e98c1be19
cleaned up current, voltage, and power readings
7 years ago
alanbjohnston d3e546fba5
reverted current read
7 years ago
alanbjohnston ad35fdedba
Update main.c
7 years ago
alanbjohnston bc9d9125e8
Update main.c
7 years ago
alanbjohnston 6a51214407
50ms delay
7 years ago
alanbjohnston 200b33ed85
tried 2'c complement manual
7 years ago
alanbjohnston c2c56d3944
cleanup after paste and replacing current code too
7 years ago
alanbjohnston 4bcd29327e
typo
7 years ago
alanbjohnston 647a746081
removing wireRead by including code
7 years ago
alanbjohnston f7cf243f36
reverted to previously working with wireRead
7 years ago
alanbjohnston 0f9e1e0835
typo
7 years ago
alanbjohnston af3c96f3c3
fixed typo
7 years ago
alanbjohnston 751da0655e
separate value1 and value2 byte reads
7 years ago
alanbjohnston 7d79af0af9
copied code from wireRead but with int16_t
7 years ago
alanbjohnston c7c6300429
wireReadRegister for current change
7 years ago
alanbjohnston 16478e9d0b
reverted removal of wireReadRegister
7 years ago
alanbjohnston 9420a0b4d7
fixing voltage read problem
7 years ago
alanbjohnston 38110e17c7
replaced last wireReadRegister with wiringPiI2CReadReg16
7 years ago
alanbjohnston 02ea0b9fca
cleanup
7 years ago
alanbjohnston 55c17eb66d
cleanup
7 years ago
alanbjohnston 4f278865a3
back to 16, fixed current shunt calc
7 years ago
alanbjohnston b3160db85c
Tried 12 bits
7 years ago
alanbjohnston 83522ab8f1
fixed shunt calc
7 years ago
alanbjohnston 2719d43034
Update main.c
7 years ago
alanbjohnston e0f01d9b8e
reading shunt voltage and manually calculating current
7 years ago
alanbjohnston 757321b085
removed extra printfs
7 years ago
alanbjohnston c2d331fbd8
fix current calc
7 years ago
alanbjohnston 8399d4ebfb
use twos
7 years ago
alanbjohnston dcbaf2ea98
Update main.c
7 years ago
alanbjohnston b6f6fb8092
Update main.c
7 years ago
alanbjohnston 9164aed395
Update main.c
7 years ago
alanbjohnston ef1961a4ff
Update main.c
7 years ago
alanbjohnston 3674229ade
twosToInt
7 years ago
alanbjohnston 5a83e38f64
Update main.c
7 years ago
alanbjohnston 64cff2c6c5
Update main.c
7 years ago
alanbjohnston be25eb5d88
two's c
7 years ago
alanbjohnston 854d1ca980
Update main.c
7 years ago
alanbjohnston 8a3ad9a14f
Update main.c
7 years ago
alanbjohnston aefe4c9469
3 step
7 years ago
alanbjohnston f233dfb837
Update main.c
7 years ago
alanbjohnston 51868dc739
Update main.c
7 years ago
alanbjohnston 29cd1da1c7
3 steps
7 years ago
alanbjohnston cbfa6829c4
printf in 3 values
7 years ago
alanbjohnston d40e214b39
revert
7 years ago
alanbjohnston 55d68e0b10
uint8_t
7 years ago
alanbjohnston ffcaff8c2d
another change
7 years ago
alanbjohnston 1ac88664e0
changing ints
7 years ago
alanbjohnston d8a28a9179
fixed fd in write
7 years ago
alanbjohnston 053a867ebd
added register write
7 years ago
alanbjohnston 221df1fe09
typo
7 years ago
alanbjohnston b3be894747
added printf to see values
7 years ago
alanbjohnston faa41d1c35
defined value and value2
7 years ago
alanbjohnston a5dcb9b2cb
fixed int16_t for current calc
7 years ago
alanbjohnston 7d06c94372
switched to two wiringPiI2CRead 8 bit reads instead of 16 bit read
7 years ago
alanbjohnston c23c37ac21
type in unit16_t
7 years ago
alanbjohnston d3a321fda1
added int16_t to current I2CRead
7 years ago
alanbjohnston 7d963a0c0c
added (float) to current divider and power multiplier
7 years ago
alanbjohnston 05dde0a0ef
added #ifdef SATNOGS to curl uploading code and cleanup
7 years ago
alanbjohnston b41e2b78f9
Merge branch 'ina-struct-satnogs' into satnogs-upload
7 years ago
alanbjohnston 0da6174626
formatting cleanup
7 years ago
alanbjohnston b6b7cc235c
print formatting
7 years ago
alanbjohnston ed5d4844e5
fixed printf formatting
7 years ago
alanbjohnston 001eb01124
typo fix
7 years ago
alanbjohnston eb884ce0e6
cleanup of commented out code
7 years ago
alanbjohnston cb9d4609da
always get voltage and power, cleanup
7 years ago
alanbjohnston fa4850f555
added 2x multiply to fix current values
7 years ago
alanbjohnston 6816d503b5
changed data.config from Adafruit Lib
7 years ago
alanbjohnston a84d5297ee
typos
7 years ago
alanbjohnston 69d4f1a6a7
fixed typos in config function
7 years ago
alanbjohnston 589a817982
added 400mA and 2A configurations
7 years ago
alanbjohnston 86687fea6e
fixed compiler warnings
7 years ago
alanbjohnston 47e2d82e04
fixed x_fd in function call
7 years ago
alanbjohnston 8c591373ca
added sensor reading to the read_sensor_data function
7 years ago
alanbjohnston 278f79d7c8
fixed typos
7 years ago
alanbjohnston 8ea8eaffb5
fixed references to data struct
7 years ago
alanbjohnston 87332dc6a2
fixed initialization of struct
7 years ago
alanbjohnston 025e6effb7
created config structure
7 years ago
alanbjohnston 5fef435df2
Merge branch 'ina-struct' into refactor-i2c-reading-code
7 years ago

Powered by TurnKey Linux.