Commit Graph

498 Commits (e427f78835fc5e10859d2807f854f71eec00a3c7)

Author SHA1 Message Date
alanbjohnston e47f058aac
typos in uint8_t
7 years ago
alanbjohnston eb70bd8394
fixed typo
7 years ago
alanbjohnston fb4abcf1c6
changed fmo str to uint_t b
7 years ago
alanbjohnston 8ba69a80d4
more tests of encode A & B
7 years ago
alanbjohnston bac819ac30
typos
7 years ago
alanbjohnston dbdceb5ed8
testing encodeA
7 years ago
alanbjohnston aae2a05dc6
more typos in ecode A & B usage
7 years ago
alanbjohnston 3a98fdfe90
typos in encode A and B
7 years ago
alanbjohnston dd2f70ca86
encode A and B functions added with tests
7 years ago
alanbjohnston 8c10819d60
adding parameters to fox telem
7 years ago
alanbjohnston 1b417de961
initialize fox telmetry to 0's
7 years ago
alanbjohnston 7547db7fb0
display fox telem as hex
7 years ago
alanbjohnston 935687812f
typo in get_tlm_fox
7 years ago
alanbjohnston 5f2b513675
added Fox telemetry formatting to get_tlm_fox
7 years ago
alanbjohnston 1f8069e757
added get_tlm_fox
7 years ago
alanbjohnston 82119b99b4
printf cleanup
7 years ago
alanbjohnston 1d40b91dd6
pointer passing to get_tlm
7 years ago
alanbjohnston 5485d9795f
moved AX.25 header out of get_tlm string str
7 years ago
alanbjohnston 4711c7fc4c
typo
7 years ago
alanbjohnston 3c2960980d
moving tlm array to get_tlm
7 years ago
alanbjohnston e214af7358
passed buffer to get_tlm instead of AO-7 array
7 years ago
alanbjohnston afed75decb
removed transmit
7 years ago
alanbjohnston a48687b744
disabled transmit
7 years ago
alanbjohnston 63af9ad620
moved Adafruit_INA219.h
7 years ago
alanbjohnston 4018f396ae
moving location of Adafruit_INA219.h
7 years ago
alanbjohnston 997631fc88
initial add
7 years ago
alanbjohnston a76d43c0c5
old code removal
7 years ago
alanbjohnston 0750ddba56
removed old file
7 years ago
alanbjohnston fa9b5ebc40
removed old file
7 years ago
alanbjohnston 1e784f1109
printf fix
7 years ago
alanbjohnston ff35fe2211
formatting fixes
7 years ago
alanbjohnston aa188e32f9
fixed temp
7 years ago
alanbjohnston 3db862c41b
added temp
7 years ago
alanbjohnston 7d099f362a
added sensor read variable
7 years ago
alanbjohnston eb6263830d
typos
7 years ago
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
alanbjohnston 61240b40ec
changed to all sensor[] tlm
7 years ago
alanbjohnston 8db31fc5c3
commented out readcurrenty.py call
7 years ago
alanbjohnston e6fd3b3dca
changed order of current and bus reading to match old code
7 years ago
alanbjohnston f2260ebc63
commented out last of x_fd, y_fd, and z_fd
7 years ago
alanbjohnston 1171effa92
disable old code to test new code
7 years ago
Alan Johnston 3998bc3165 -X, -Y, and -Z voltage working!
7 years ago
alanbjohnston b10a98064a
fixed value type
7 years ago
alanbjohnston 6d2b7ae798
reverted bus switch, testing new busVolts calculation
7 years ago
alanbjohnston de2c89411d
turning off master code i2c-1 read as a test
7 years ago
alanbjohnston ee45b62175
switched master code from 1 to 0 to test
7 years ago
alanbjohnston 29522b3220
changed to %+4.2f for sign alignment
7 years ago
alanbjohnston 57112c38b1
Changed -1 to OFF
7 years ago
alanbjohnston eb6cff57d8
fixed x_voltage, x_power definitions
7 years ago
alanbjohnston 0427a73b1e
commented out unneeded #defines
7 years ago
alanbjohnston accfbe7747
fixed #DEBUG LOGGING of x_fd, y_fd, and z_fd
7 years ago
alanbjohnston 52a9087bf0
reconfigures power and voltage to eliminate no debug compiler warnings
7 years ago
alanbjohnston 03261b9cfe
added missing #ifdef DEBUG_LOGGING around printfs
7 years ago
alanbjohnston 09bc98a60a
got rid of "sensnsor"
7 years ago
alanbjohnston eddd071771
changed temp printf
7 years ago
alanbjohnston b9b8d7e826
fixed V printf
7 years ago
alanbjohnston e46e82f18a
cleanup of V, mA, and mW printfs
7 years ago
alanbjohnston 17d99e839b
added x_voltage, y_voltage, and z_voltage readings
7 years ago
alanbjohnston 1addf19abc
changed to all I2C telemetry
7 years ago
alanbjohnston 235fd7d6dd
removed debug ina219[] printf
7 years ago
alanbjohnston 4babd58712
fixed printf
7 years ago
alanbjohnston e87ea997f0
fixed config and x_power from master
7 years ago
alanbjohnston 6b73a5a8ee
x_calValue cleanup with code from master
7 years ago
alanbjohnston ab7e10a6d6
putting back master code for x_fd, y_fd, and z_fd
7 years ago
alanbjohnston 58eadd263e
changed printf for sensor data
7 years ago
alanbjohnston 8d5ecd3633
fixed debug loging warning
7 years ago
alanbjohnston 58419e72a4
Update main.c
7 years ago
alanbjohnston 9877a9caf1
replaced INA219_CONFIG_GAIN_8_320MV
7 years ago
alanbjohnston 9fc67b8e39
removed ina219.h since replaced by Adafruit
7 years ago
alanbjohnston 4a9c9f97c7
fixed location of Adafruit_INA219.h
7 years ago
alanbjohnston 6c495cd29c
added #include "Adafruit_INA219/Adafruit_INA219.h"
7 years ago
alanbjohnston 397ba72eaf
cleanup of x_fd printfs
7 years ago
alanbjohnston 28353dd3de
switched x_fd to wireReadRegister
7 years ago
alanbjohnston 1fd7a2f0de
Update main.c
7 years ago
alanbjohnston f7aa30efee
fixed x_fd, cleanup of rest
7 years ago
alanbjohnston c979313e9f
Compiling now, no -x, -y, or -z current; removed CALLSIGN
7 years ago
alanbjohnston ea059afeb6
Update main.c
7 years ago
alanbjohnston 9b31ba1370
commented out arduinoI2C
7 years ago
alanbjohnston 4f031fa813
commented out extra curly bracket
7 years ago
alanbjohnston ff183d7378
Update main.c
7 years ago
alanbjohnston bd5b35c784
renamed config to x_config
7 years ago
alanbjohnston 35701f1e01
Merge branch 'test-merge' into i2c_ina219
7 years ago
Alan Johnston 83cec35671 frequency set to 434.9 MHz
7 years ago
Alan Johnston a88e52af5a callsign added via command line argv[1]
7 years ago
alanbjohnston 2bbd6a3116
Update main.c
7 years ago
alanbjohnston b645db5d5d
Update main.c
7 years ago
alanbjohnston e06842a698
Update main.c
7 years ago
alanbjohnston 1141fe958d
Update main.c
7 years ago
alanbjohnston f308d5d4eb
added command line Callsign
7 years ago
alanbjohnston f7fdbc20cb
fixed source and dest callsign printf issue
7 years ago
alanbjohnston 57d0a56cb7
reverted changes
7 years ago
alanbjohnston 3e18c22cd1
Update main.c
7 years ago
alanbjohnston 671a359432
Update main.c
7 years ago
alanbjohnston 3480dfd501
added callsign and telem printf
7 years ago
alanbjohnston 249b114227
fixed printf of source, dest callsign
7 years ago
alanbjohnston 601217a87e
Update ax25.c
7 years ago
alanbjohnston 78b440aed7
added src>dst: to printf
7 years ago
alanbjohnston 78499e72d9
removed last printf
7 years ago
alanbjohnston 65b6fac1c3
added stdio.h
7 years ago
alanbjohnston 20178e9d7c
added printf of packet
7 years ago
alanbjohnston aa2148083c
added #ifdef DEBUG_LOGGING around INFO printf messages
7 years ago

Powered by TurnKey Linux.