Commit Graph

1653 Commits (fc-cpp)

Author SHA1 Message Date
alanbjohnston 7ceaa6251a
added popens for nc and rpitx commands
6 years ago
alanbjohnston 611c99b3c1
back to h[6] again
6 years ago
alanbjohnston 89816feb70
changed to h[7]
6 years ago
alanbjohnston 0233994ba6
fixed BPSK fox id of 99 in h[6]
6 years ago
alanbjohnston aa2c676c04
added while for loop
6 years ago
alanbjohnston 29365849b0
Update main.c
6 years ago
alanbjohnston f70a784a2b
fixed pointer
6 years ago
alanbjohnston 09b34ba11a
added loop variable from argv[2]
6 years ago
alanbjohnston c7cf8f9a59
Update main.c
6 years ago
alanbjohnston 8c45e7cf84
if argv is 'b' then BPSK mode
6 years ago
alanbjohnston 71d4d04774
added id = 99 for BPSK
6 years ago
alanbjohnston 2bf87ac79c
trying BPSK
6 years ago
alanbjohnston fb1a3dd426
removed b10 and h10
6 years ago
alanbjohnston 1c60563a5c
added if mode ==
6 years ago
alanbjohnston 97571e6d64
removed data[]
6 years ago
alanbjohnston 165b1b946a
fixed dataLen value
6 years ago
alanbjohnston c621eef947
fixed write_wave
6 years ago
alanbjohnston dd0d7cc4eb
Update main.c
6 years ago
alanbjohnston 1459938b67
moved buffer
6 years ago
alanbjohnston e4dcb26a00
moved data8 and other variables
6 years ago
alanbjohnston bfa703a12c
Update main.c
6 years ago
alanbjohnston c71c5b974e
Update main.c
6 years ago
alanbjohnston ebcb84b2d2
moved variables
6 years ago
alanbjohnston 39f76f4156
changing to variables part 2
6 years ago
alanbjohnston fa5ffa55a2
changed from macros to variables - part 1
6 years ago
alanbjohnston e1dc4174e3
turned off LED at start
6 years ago
alanbjohnston 0e89c8da0c
added LED on/off on socket write
6 years ago
alanbjohnston 90920c19cb
FSK
6 years ago
alanbjohnston 0f7af2be1a
changed NaN to 0's, added value check and set fd = -1 if not present
6 years ago
alanbjohnston c3d58f88db
replaced NaN with 0; and tested value for -1 and set fd -1 if not present on bus
6 years ago
alanbjohnston ef6b75dd03
BPSK
6 years ago
alanbjohnston 512bdf538a
Update main.c
6 years ago
alanbjohnston 899838f442
FSK
6 years ago
alanbjohnston 0fb1b95438
BPSK
6 years ago
alanbjohnston 4119e36367
back to continuous and 3 frames of FSK
6 years ago
alanbjohnston 469213cc4d
loop once
6 years ago
alanbjohnston 86646db527
writing transmit.wav and 60 frames sleep(2)
6 years ago
alanbjohnston aae927e049
trying FRAME_CNT 2
6 years ago
alanbjohnston 910c56a6c3
Trying sleep(2);
6 years ago
alanbjohnston 8d52549c9a
Really setting to FRAME_CNT 3
6 years ago
alanbjohnston dcdf7d2c75
Went wrong way, reduced to sleep(3);
6 years ago
alanbjohnston af51b37447
Back to 3, increasing to sleep(5)
6 years ago
alanbjohnston 7733716d7e
Trying FRAME_CNT 4
6 years ago
alanbjohnston 8d22f46e6c
Trying FRAME_CNT 2
6 years ago
alanbjohnston a3e8021702
Increased FRAME_CNT to 14 to see if get better reception
6 years ago
alanbjohnston 8207918d23
back to FSK
7 years ago
alanbjohnston 4c3844ebbb
added frames per sec display
7 years ago
alanbjohnston 8839232786
typo
7 years ago
alanbjohnston fd4b685a09
added mode printf with bits per frame display
7 years ago
alanbjohnston f678a32ef5
BPSK 3 frames at a time
7 years ago
alanbjohnston 45ffdfa29d
FSK, 3 frames per, 4 second delay
7 years ago
alanbjohnston 94c8afaa8a
BPSK amplitude is 3x FSK amplitude
7 years ago
alanbjohnston 19a95f767a
Continuous BPSK Working! Gets layout errors in FoxTelem
7 years ago
alanbjohnston 854ae7ed27
Trying BPSK continuous
7 years ago
alanbjohnston 3a872432e8
Working! Continuous FSK!
7 years ago
alanbjohnston 4ea2c7358a
Didn't work, added ctr=0 in for loop
7 years ago
alanbjohnston 41755fce40
Didn't work, trying enabling for loop
7 years ago
alanbjohnston 2e6d6f2ac3
trying to send multiple times over same socket
7 years ago
alanbjohnston bffd8b1289
Update main.c
7 years ago
alanbjohnston b6dfe6fe39
Working, added socket_open variable to check if socket already open
7 years ago
alanbjohnston 3fea286394
reverted to _old and cnt to 11
7 years ago
alanbjohnston bb177c6240
removed version marks
7 years ago
alanbjohnston 1bcbeac093
Update main.c
7 years ago
alanbjohnston e3a7560ff0
Old version
7 years ago
Alan Johnston e93326ceb6 Merge branch 'fox-encoding' of http://github.com/alanbjohnston/CubeSatSim into fox-encoding
7 years ago
alanbjohnston 74d22435ce
copied from Pi
7 years ago
Alan Johnston 82707cc9b8 changes done locally - BPSK still not working
7 years ago
alanbjohnston 363442c3e9
not working, set frames to 11, sleep to 20
7 years ago
alanbjohnston bf44a25ce6
not working, trying commenting out for loop
7 years ago
alanbjohnston 92d2feb081
increased sleep to 10
7 years ago
alanbjohnston bf6a4b0b7b
still not working, frame count back to 3
7 years ago
alanbjohnston 80c55fa16b
moved sleep to after socket write
7 years ago
alanbjohnston abae966267
no frames, increasing frame count to 5
7 years ago
alanbjohnston d246646e77
added sleep 5 before socket write
7 years ago
alanbjohnston c72e09af70
fixed variables
7 years ago
alanbjohnston 0a22a49c68
moved socket open to before for loop
7 years ago
alanbjohnston 8ef22a18e2
reset ctr to zero
7 years ago
alanbjohnston 4af3e531dd
for not working, reduced frame count to minimum of 3
7 years ago
alanbjohnston c6ac5f43eb
Turned on for loop
7 years ago
alanbjohnston d064285e6f
Seems to work! turned of WAV file write
7 years ago
alanbjohnston f81c883389
turned off popen transmit
7 years ago
alanbjohnston 02b78b26c5
Update main.c
7 years ago
alanbjohnston 4527882610
adding in socket write after WAV file write
7 years ago
alanbjohnston 280d85e43a
Changed DUV to FSK
7 years ago
alanbjohnston e912587c83
actually backing out memcpy changes
7 years ago
alanbjohnston b9b6b9c738
reverted memcpy changes
7 years ago
alanbjohnston 3379854f21
Create main_memcpy.c
7 years ago
alanbjohnston 44b260424b
Update main.c
7 years ago
alanbjohnston 08e0455945
Update main.c
7 years ago
alanbjohnston 9bc53de58d
moved initialization
7 years ago
alanbjohnston 3901f3dcf6
Update main.c
7 years ago
alanbjohnston ec0c5d2458
copied in changes from main3.c with memcpy
7 years ago
alanbjohnston 7dc9e960d8
copy of main prior to memcpy changes
7 years ago
alanbjohnston d32d6f8b67
Update main3.c
7 years ago
alanbjohnston 9f94782fa3
copy prior to memcpy changes
7 years ago
alanbjohnston 24cb0fe11f
Trying 11 frames
7 years ago
alanbjohnston 9d8fe09a5d
realized won't work as all 6 payloads have same header and hence timestamp
7 years ago
alanbjohnston 0a6bbe5e20
telem per payload
7 years ago
alanbjohnston fff3611321
copied to try telem per data frame
7 years ago
alanbjohnston 74de387895
Trying BPSK
7 years ago
alanbjohnston 59966713d6
sleep 1 to avoid duplicate times, 30 frames
7 years ago
alanbjohnston 8a7455944b
sleep 0.5 to make sure more than 1 sec, 20 in a row
7 years ago
alanbjohnston 441d166620
no sleep
7 years ago
alanbjohnston 13d117fdb5
Update main.c
7 years ago
alanbjohnston 8806efd67b
read telem each time, sleep only 0.5 sec
7 years ago
alanbjohnston 2ef456b82e
current telem instead of voltage
7 years ago
alanbjohnston 673cf8f48a
Update main.c
7 years ago
alanbjohnston 2866deabaf
added neg voltages and battery voltage and current to telem
7 years ago
alanbjohnston cd546883ff
added sendor read
7 years ago
alanbjohnston b1ab3c1df5
Update main.c
7 years ago
alanbjohnston 1d8b5fb15a
Update main.c
7 years ago
alanbjohnston 0eac3399d3
Update main.c
7 years ago
alanbjohnston 374c5cc9f9
added DUV FM modulation
7 years ago
alanbjohnston c869310518
Trying DUV
7 years ago
alanbjohnston 3b6e13d0be
reset back to one shot frame
7 years ago
alanbjohnston 1404b92960
trying continuous, 3 second delay
7 years ago
alanbjohnston e500a6d8c8
3 frames
7 years ago
alanbjohnston f349b32cd0
removed printfs in generation of wav, 2 frames
7 years ago
alanbjohnston aefd3b3b8f
Update main.c
7 years ago
alanbjohnston 170a4b7536
Update main.c
7 years ago
alanbjohnston d62bffa482
added sendiq transmit!
7 years ago
alanbjohnston b8afc693d9
Update main.c
7 years ago
alanbjohnston 2b3a59a0c0
Update main.c
7 years ago
alanbjohnston 90a868bfca
Update make_wav.h
7 years ago
alanbjohnston 57d8d0208a
Update make_wav.h
7 years ago
alanbjohnston 4fdd9907b9
Update main.c
7 years ago
alanbjohnston f5a6d0da6a
Update main.c
7 years ago
alanbjohnston 858bf55370
Update main.c
7 years ago
alanbjohnston d0d012fa4e
added make_wav.h
7 years ago
alanbjohnston 04038b143b
moved encode 8b10
7 years ago
alanbjohnston ca6c946bac
added Encode 8b10
7 years ago
alanbjohnston 96bc0732a1
Update main.c
7 years ago
alanbjohnston 0a828e8c7e
Update main.c
7 years ago
alanbjohnston c62971366e
Update main.c
7 years ago
alanbjohnston 8d1b188e3c
copied from make_wav
7 years ago
alanbjohnston ea05eb12a9
merged in make_wav code into get_tlm_fox
7 years ago
alanbjohnston 06729a79b7
typo
7 years ago
alanbjohnston f21b47a986
edits to latest Fox-1E telem variable names
7 years ago
alanbjohnston 68a7d50bba
cleanup
7 years ago
alanbjohnston d1dea70e41
defined header offset of 6
7 years ago
alanbjohnston f10681c776
fixed ihu_temp
7 years ago
alanbjohnston 56598af13c
added offset of 6 after header
7 years ago
alanbjohnston 88d28e718d
fixed ihu_cpu_temp
7 years ago
alanbjohnston 0466948964
added lots of fox telemetry fields
7 years ago
alanbjohnston 2b43ed0a68
added cpuTemp
7 years ago
alanbjohnston bdb81fb3d3
testing
7 years ago
alanbjohnston 3fa4178056
testing
7 years ago
alanbjohnston 4426ecf61e
temp
7 years ago
alanbjohnston 29b706f357
temp
7 years ago
alanbjohnston 94421b55a8
added fox telem temp
7 years ago
alanbjohnston 36366a478a
fixed hex printf
7 years ago
alanbjohnston 4810e91091
fixed printf
7 years ago
alanbjohnston 42d1aa3974
change printf
7 years ago
alanbjohnston f3bbad67bc
typo
7 years ago
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 69c459d293
Update main.c
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
alanbjohnston 568bab80e1
Fixed missing / in /dev/i2c-0
7 years ago
alanbjohnston c8db1e4f62
Added #ifdef DEBUG_LOGGING around all non-error printfs
7 years ago
alanbjohnston 799fd71444
Merge branch 'next-version' into code-cleanup
7 years ago
Jacob McLemore 2bfa17abfd Fix indentation in read_sensor_data
7 years ago
jmclemo6 73675b2f9f Change i2c sensor reading code to use the read_sensor_data function
7 years ago
jmclemo6 a59e0c3088 Add function and struct to read sensor data.
7 years ago
alanbjohnston 4bbdddddd9
Update main.c
7 years ago
alanbjohnston c0e3b9e70f
Autoranging error messages added
7 years ago
alanbjohnston 02133b00af
Update ax5043.c
7 years ago
alanbjohnston 2ae75ad8a7
autoranging with timeout
7 years ago
alanbjohnston 02ff2ecb32
autoranging bug fix
7 years ago
alanbjohnston d0ae44ea32
Testing change of RNG START bit test in ax5043_autoranging
7 years ago
alanbjohnston fbf6fa8c0c
Update main.c
7 years ago
alanbjohnston cd14848514
Update main.c
7 years ago
alanbjohnston 16cd676459
Update main.c
7 years ago
alanbjohnston f720278ce4
Update main.c
7 years ago
alanbjohnston f6a0888126
Update main.c
7 years ago
alanbjohnston ed6452ed25
Update main.c
7 years ago
alanbjohnston b24d1fcf83
Update main.c
7 years ago
alanbjohnston 0a36cc2f07
Update main.c
7 years ago
alanbjohnston 89f794331e
Update main.c
7 years ago
alanbjohnston b1f6e12f53
Update main.c
7 years ago
alanbjohnston 0c6805f1cd
Update main.c
7 years ago
alanbjohnston 0d51b46465
Update main.c
7 years ago
alanbjohnston 61c3790ad3
Update main.c
7 years ago
alanbjohnston 5d3131276e
Update main.c
7 years ago
alanbjohnston e4cbde2f88
Update main.c
7 years ago
alanbjohnston b893833d6c
Update main.c
7 years ago
alanbjohnston d6e1eceb5c
Update main.c
7 years ago
alanbjohnston 341356bf33
Update main.c
7 years ago
alanbjohnston 96d3b910a1
Update main.c
7 years ago
alanbjohnston 34481f4eb4
Update main.c
7 years ago
alanbjohnston 9e0e42617e
added calls to Adafruit_INA219 libs
7 years ago
Alan Johnston 2d8d802da5 testing c code not working
7 years ago
Alan Johnston b1ae87aa5e added CPU temp sensor to tlm
7 years ago
alanbjohnston 773b7b90b3
added modulo 24 to UTC calculation bug
7 years ago
alanbjohnston 40c5f4ea27
Fixed callsign
7 years ago
alanbjohnston 38fcb96a03
fixed -Z telem bug
7 years ago
alanbjohnston be415f1fab
fixed -Z telem bug
7 years ago
alanbjohnston df85a9440f
fixed -Z current bug
7 years ago
Alan Johnston 7f0ec0d1e8 curl seems to work
7 years ago
Alan Johnston f2f21cea26 still trying to get curl to work
7 years ago
Alan Johnston aacade364f almost working curl
7 years ago
Alan Johnston 304b366370 linked with libcurl4-openssl-dev
7 years ago
alanbjohnston 80549a39c1
added stdio.h
7 years ago
alanbjohnston 9561938724
added date and frame printing for curl
7 years ago
jmclemo6 3dbf81adf8 Change open calls to access
7 years ago
jmclemo6 55660e29fb Refactor afsk/main.c to have better formatting and use ifdef guards instead of commenting out logging.
7 years ago
jmclemo6 cc872f923b Change for loop to memset
7 years ago
Alan Johnston 7118098894 set channel to 0
7 years ago
Alan Johnston ba678c5625 tx_freq_hz sets frequency and tx_channel sets channel -50k step
7 years ago
Alan Johnston d81fff6df9 Arduio 4 register telemetry transmitted if present
7 years ago
Alan Johnston 7761aec9e9 started adding arduino telemetry
7 years ago
Alan Johnston 017a4b8960 fixed AX.25 header PID from 0x0f to 0xf0
7 years ago
alanbjohnston 3d4ad40a54
Changed Arduino I2C address to 0x4B
7 years ago
Alan Johnston 60e9a1da91 modified
7 years ago
Alan Johnston 8cf765a7d0 turned off autoranging on ax5043 to avoid freeze
7 years ago
alanbjohnston ab6e7b087c
turned on transmit again
7 years ago
alanbjohnston 60b548ba31
Update main.c
7 years ago
alanbjohnston cabbeb6ce3
Update main.c
7 years ago
alanbjohnston 9625b4943f
reactivated tlm
7 years ago
alanbjohnston 201ae20f67
Merge branch 'master' into i2c_ina219
7 years ago
Alan Johnston 8077763cf6 commented out conf_tx_path since it was locking up Pi Zero W sometimes!
7 years ago
Alan Johnston 007fada311 trying to find lockup - everything disabled
7 years ago
alanbjohnston 0b352d75ec
changed 1000 to 999 in fgets
7 years ago
Alan Johnston d9201fe636 changed 1000 to 999 on fgets
7 years ago
Alan Johnston 7918b87f2a i2c reg read from arduino payload
7 years ago
alanbjohnston a0437b6a74
Update main.c
7 years ago
alanbjohnston 66132de2f5
fixed i2c bus check for arduino
7 years ago
alanbjohnston 6bbc0ba496
check i2c-0 before using
7 years ago
Alan Johnston 43a44bccb2 Merge branch 'i2c_ina219' of http://github.com/alanbjohnston/CubeSatSim into i2c_ina219
7 years ago
Alan Johnston 91650f75ca blinking LED using WiringPi
7 years ago
alanbjohnston 725a9c4e9b
added -Z
7 years ago
Alan Johnston 8711c75523 removed sleep and readdata tab spacing:
7 years ago
Alan Johnston 9e53199bd3 updates
7 years ago
alanbjohnston 01e557a5d0
fixed current and y_current calculation
7 years ago
alanbjohnston 351ba53514
fixed y_current
7 years ago
alanbjohnston 601aa8ff10
Changed 1C, 1D, 2A, and 2B telemetry values transmitted
7 years ago
alanbjohnston b1d399ef9a
read i2c sensors
7 years ago
alanbjohnston e1f34d2480
i2c open for X- and Y-
7 years ago
alanbjohnston d3eacc9529
removed ;
7 years ago
alanbjohnston b2ceca87a5
added ina219.h
7 years ago
alanbjohnston 8148d7f6ac
created for c code reading of ina219 current sensors
7 years ago
Alan Johnston bd0fcb40e9 30 second delay plus output cleanup
7 years ago
Alan Johnston 3a27d60cc0 boot autorun working with sleep
7 years ago
Alan Johnston c4bd8d09dd yellow LED blinks on transmit on charging
7 years ago
alanbjohnston c18174271b
Update main.c
7 years ago
alanbjohnston 702c2f0fd0
Update main.c
7 years ago
alanbjohnston 4e1562c894
added back MoPower telemetry reading
7 years ago
Alan Johnston 84320aa446 added callsign
7 years ago
Alan Johnston 04664c8939 changes
7 years ago
alanbjohnston 87b7189801
Update main.c
7 years ago
alanbjohnston 8eba7e9bb4
switched 1C and 1D to agree with schematic
7 years ago
Alan Johnston 51a9f8136e updates
7 years ago
Alan Johnston 5b5de2d31b detecting i2c bus
7 years ago
Alan Johnston 2e1343b8b7 tempSensor -1 check and abs(tlm[3][A]
7 years ago
Alan Johnston bce1707aa3 resync
7 years ago
alanbjohnston b4b5f02e82
Update main.c
7 years ago
alanbjohnston af9a70b244
more cleanup
7 years ago
alanbjohnston a356090fa5
cleanup
7 years ago
alanbjohnston a27b65e6ee
Now with temp sensor
7 years ago
alanbjohnston bb8694f826
Update main.c
7 years ago
alanbjohnston 889176dbde
Update main.c
7 years ago
alanbjohnston 9759c5ec0a
Update main.c
7 years ago
alanbjohnston 005e45ae55
Transmitting AFSK again!
7 years ago
alanbjohnston bed69c5ae7
Update main.c
7 years ago
alanbjohnston 51707a02b6
Update main.c
7 years ago
alanbjohnston 271f4fa6b2
Update main.c
7 years ago
alanbjohnston f5f037fec7
Update main.c
7 years ago
alanbjohnston 5c25fdf7f0
Update main.c
7 years ago
alanbjohnston 2f531c0d52
Update main.c
7 years ago
alanbjohnston 8cd330abe6
Update main.c
7 years ago
alanbjohnston bf723ccd64
Update main.c
7 years ago
alanbjohnston 9030a1e187
Update main.c
7 years ago
alanbjohnston 5c0ee8e332
Update main.c
7 years ago
alanbjohnston d8c90e6dad
Update main.c
7 years ago
alanbjohnston 3dea7e12e0
Update main.c
7 years ago
alanbjohnston ab53352c11
config_afsk and send_afsk working
7 years ago
Alan Johnston fd6efbd0a9 afsk only
7 years ago
Alan Johnston ec3198b0d6 only setup SPI once
7 years ago
Alan Johnston 665de2c84d added INFOs
7 years ago
Alan Johnston 3e66f4d42c code reorg, doesn't work
7 years ago
Alan Johnston a9ce6fef39 ina reading but not in tlm yet
7 years ago
alanbjohnston 2ca3ec5777
Update main.c
7 years ago
alanbjohnston 998802ab40
Update main.c
7 years ago
alanbjohnston 433ec31dc1
Update main.c
7 years ago
alanbjohnston f1b9561a7c
Update main.c
7 years ago
Alan Johnston fd0b32d23e current sensors
7 years ago
Alan Johnston df7d8990cb tlm array passed around
7 years ago
alanbjohnston 1d1710e9e3
Update send_afsk.c
7 years ago
alanbjohnston 27d6861a24
Update send_afsk.c
7 years ago
alanbjohnston 8d008059f1
Update send_afsk.c
7 years ago
alanbjohnston f783baaa5a
Update send_afsk.h
7 years ago
alanbjohnston 891ad0680f
Update send_afsk.c
7 years ago
Alan Johnston 033375badb 13 channels of tlm including temperature
7 years ago
Alan Johnston 46e26e649f CW and AFSK workng together!
7 years ago
Alan Johnston 90353f214f library conflict _reset corrected
7 years ago
Alan Johnston f5b50cb71c 10 channels of TLM working
7 years ago
Alan Johnston 7747856f2e tlm 2c and 3a working
7 years ago
Alan Johnston 04ab418df7 sending 3a tlm
7 years ago
Alan Johnston c28d24e541 added MoPower TLM query
7 years ago
alanbjohnston b4368401e4
Update main.c
7 years ago
Alan Johnston 62917ccd84 Segmentation fault with afsk/ax5043.o problem
7 years ago
Alan Johnston a4f91cfc2c working
7 years ago
Alan Johnston dbc9fdd820 initial add
7 years ago
alanbjohnston 66f9a5fb7e
Update main.c
7 years ago
alanbjohnston 442e2d82aa
Update main.c
7 years ago
Alan Johnston bd8c49fb7f Adding my copy of AFSK 1200 X.25
7 years ago

Powered by TurnKey Linux.