Commit Graph

1086 Commits (c6918cb635e21492988b5bcba3e2d49352397889)

Author SHA1 Message Date
alanbjohnston 925f2143ee
Update main.c
6 years ago
alanbjohnston dcc4e0211f
Update main.c
6 years ago
alanbjohnston 9c04919b88
stop at newline
6 years ago
alanbjohnston 974c4de4d6
Update main.c
6 years ago
alanbjohnston 3bc0f6adde
print payload string
6 years ago
alanbjohnston f93e162863
Update main.c
6 years ago
alanbjohnston 696db56b11
Update main.c
6 years ago
alanbjohnston ee8e8efec5
added payload print in AFSK mode
6 years ago
alanbjohnston a319ec7602
changed sensor numbers
6 years ago
alanbjohnston d1ab288928
Update main.c
6 years ago
alanbjohnston d4ad546520
switched to voltage[] and current[]
6 years ago
alanbjohnston 06f94b0cc7
Update main.c
6 years ago
alanbjohnston 2c5594ca1e
Update main.c
6 years ago
alanbjohnston 1bcf93e5ee
Update main.c
6 years ago
alanbjohnston d833b6bbb6
Update main.c
6 years ago
alanbjohnston e655b22009
Update main.c
6 years ago
alanbjohnston 853b2bcec9
start converting to voltcurrent.py
6 years ago
alanbjohnston 95e33b8cc9
Update telem.c
6 years ago
alanbjohnston bf860bb976
Update telem.c
6 years ago
alanbjohnston a665677357
Update telem.c
6 years ago
alanbjohnston dc7e47ad24
Update telem.c
6 years ago
alanbjohnston b579bc0b4c
Update telem.c
6 years ago
alanbjohnston 38e8f60ec5
Update telem.c
6 years ago
alanbjohnston 7248b254a9
Update telem.c
6 years ago
alanbjohnston 4705dd55e6
Update telem.c
6 years ago
alanbjohnston e0087bacd9
Update telem.c
6 years ago
alanbjohnston 45105e2304
Update telem.c
6 years ago
alanbjohnston a98f71abcf
Update telem.c
6 years ago
alanbjohnston 4a54977194
Update telem.c
6 years ago
alanbjohnston 32dcfc5548
Update telem.c
6 years ago
alanbjohnston ad5800a48d
switching to voltcurrent.py
6 years ago
alanbjohnston d4c79e405e
Rename telem.c.bk to telem.c
6 years ago
alanbjohnston 0729d647b6
Rename telem.c to telem.c.bk
6 years ago
alanbjohnston 469a2bfbef
cleanup after dealing with bus 11 properly and using python read
6 years ago
alanbjohnston 742f10d9ac
Update telem.c
6 years ago
alanbjohnston f8880adf9d
Update telem.c
6 years ago
alanbjohnston c49b3a0c18
Update telem.c
6 years ago
alanbjohnston 92847b48d0
Update telem.c
6 years ago
alanbjohnston b8f0064de1
Update telem.c
6 years ago
alanbjohnston 4ec7458671
Update telem.c
6 years ago
alanbjohnston 85fb433d1d
use strtok
6 years ago
alanbjohnston 13c8bda5a9
Update telem.c
6 years ago
alanbjohnston c15f9ef734
Update telem.c
6 years ago
alanbjohnston d7cc00952d
Update telem.c
6 years ago
alanbjohnston 78d9e0260e
Update telem.c
6 years ago
alanbjohnston 0c2c7df8bb
Update telem.c
6 years ago
alanbjohnston 8c1c9be42d
added current
6 years ago
alanbjohnston 4b37f4b9e0
Update telem.c
6 years ago
alanbjohnston 48d3c7be05
snprintf
6 years ago
alanbjohnston 9568ac764b
Update telem.c
6 years ago
alanbjohnston 3670d738c5
started adding python read
6 years ago
alanbjohnston 24ffb1faf9
Fixed AFSK transmit frequency
6 years ago
alanbjohnston ca0acfb3c3
increased sleep to 10 sec
6 years ago
alanbjohnston e47d897993
added 4 second delay in AFSK mode to wait for CW ID to complete
6 years ago
alanbjohnston 4aa7a9f17b
Merge pull request #50 from alanbjohnston/dev
6 years ago
alanbjohnston d677c73ced
put back printf
6 years ago
alanbjohnston bbb9a3795e
added test for i2c-11 bus
6 years ago
alanbjohnston 307a30aa18
fixed conditional
6 years ago
alanbjohnston e6cd0c1887
check if i2c-11 is present for vB5
6 years ago
alanbjohnston a21e57cdf8
added I2C error detection
6 years ago
alanbjohnston 82355dfa3e
10 second i2c timeout time
6 years ago
alanbjohnston 4e52393186
Don't print standard board detection
6 years ago
alanbjohnston fed84ca26b
set back to 5 sec for timeout i2cdetect
6 years ago
alanbjohnston d728af2833
set i2cdetect timeout to 3 sec
6 years ago
alanbjohnston 4929f557e3
try single fgets read
6 years ago
alanbjohnston 108d53ba28
edited I2C troubleshooting suggestions
6 years ago
alanbjohnston 06ff8256ce
commented out debug printfs
6 years ago
alanbjohnston e77391f8b2
detects problems with I2C bus wiring
6 years ago
alanbjohnston 7b1ee75e64
Update telem.c
6 years ago
alanbjohnston faeca11f99
Update telem.c
6 years ago
alanbjohnston 83830a7f74
Update telem.c
6 years ago
alanbjohnston ed058bf57b
Update telem.c
6 years ago
alanbjohnston c2eccfbc37
Update telem.c
6 years ago
alanbjohnston bc6ff48c51
Update telem.c
6 years ago
alanbjohnston ad6633052d
Update telem.c
6 years ago
alanbjohnston 8d51fefcc5
Update telem.c
6 years ago
alanbjohnston 2ee631220a
Update telem.c
6 years ago
alanbjohnston f56eb06c1e
Update telem.c
6 years ago
alanbjohnston e10e28c4b4
Update telem.c
6 years ago
alanbjohnston 201a8c0035
Update telem.c
6 years ago
alanbjohnston 9634ce239d
Update telem.c
6 years ago
alanbjohnston b41f437ba6
Update telem.c
6 years ago
alanbjohnston b1cd28662e
Update telem.c
6 years ago
alanbjohnston d4955ed370
Update telem.c
6 years ago
alanbjohnston 943c6b693d
Update telem.c
6 years ago
alanbjohnston e66994b17f
Update telem.c
6 years ago
alanbjohnston b3a5146aad
Update telem.c
6 years ago
alanbjohnston 8719770a5e
Update telem.c
6 years ago
alanbjohnston c13851cf95
Update telem.c
6 years ago
alanbjohnston 3bf2d4882d
Update telem.c
6 years ago
alanbjohnston 591892c346
Update telem.c
6 years ago
alanbjohnston 97dec2fe63
Update telem.c
6 years ago
alanbjohnston 6ac991dfa8
Update telem.c
6 years ago
alanbjohnston 8d6c22e590
typo
6 years ago
alanbjohnston ed5ba3fe41
Update telem.c
6 years ago
alanbjohnston 9cb1c22cdb
Update telem.c
6 years ago
alanbjohnston 78fc8beae2
added echo $?
6 years ago
alanbjohnston 6033d9d882
Update telem.c
6 years ago
alanbjohnston 24b5eeb84f
Update telem.c
6 years ago
alanbjohnston be4f4aafef
try getc
6 years ago
alanbjohnston 53f1e42e73
Update telem.c
6 years ago
alanbjohnston e91eceeb2d
added i2cdetect test of i2c bus
6 years ago
alanbjohnston 4a72135c82
Bug in PSU Voltage in integer conversion
6 years ago
alanbjohnston 1ea32bbc49
handle case where no battery is plugged into INA219 which reads < 1V
6 years ago
alanbjohnston a2015ca412
added sleep after shutdown command
6 years ago
alanbjohnston 04bef68b47
turning off tx LED when low battery shutdown
6 years ago
alanbjohnston 8a2444fd29
Blink green onLed when low voltage shutdown
6 years ago
Alan Johnston b66f6c41f0 cleanup of ax5043 code
6 years ago
Alan Johnston 902177cdf0 removed BPSK 4 frame no delay
6 years ago
Alan Johnston f59751e35b added Tx LED Logging - occational 8 sec BPSK
6 years ago
alanbjohnston 9cac292894
reset Hi and LOW for Tx LED
6 years ago
alanbjohnston 379843640f
swapped HIGH and LOW for txLed On/Off for vB5
6 years ago
alanbjohnston 63e0161321
removed cw id transmit since in rpitx now
6 years ago
alanbjohnston d8f37caab6
removed rest of rpitx except for AFSK
6 years ago
Alan Johnston 048cd2a6a3 started removing rpitx
6 years ago
Alan Johnston 1a955cd092 changed to file2 for SPI check
6 years ago
alanbjohnston 4b644b0230
removed &2>1
6 years ago
alanbjohnston 249464f513
added 2>&1 to rpitx
6 years ago
alanbjohnston 8c6b0d841d
added changes to remove delays on first four frames for BPSK
6 years ago
alanbjohnston 9638cd4509
changed to 60m
6 years ago
alanbjohnston 44fa3dd0e2
added -k 1 to timeout for BPSK mode
6 years ago
alanbjohnston 28d7e1917b
moved & again
6 years ago
alanbjohnston a2b23b2dad
fixed ;done
6 years ago
alanbjohnston f954213907
removed trailing &
6 years ago
alanbjohnston f20059a78a
removed loop % 1000 and added timeout to rpitx commands
6 years ago
alanbjohnston b504acc61d
restart rpitx every 1000 frames
6 years ago
alanbjohnston 5454e89d8a
fixed typo in posYi
6 years ago
alanbjohnston 61e4697d25
fixed order of X, Y, Z telem in BPSK
6 years ago
alanbjohnston 975df210c5
changed BPSK back to sendiq
6 years ago
alanbjohnston 525375d26e
removing sendiq for BPSK
6 years ago
alanbjohnston e86356aef2
close all popens
6 years ago
alanbjohnston 1aaf7b1b19
closed all fopens
6 years ago
alanbjohnston 8efcc657e8
Update main.c
6 years ago
alanbjohnston 9808485bb1
Update main.c
6 years ago
alanbjohnston ab8dcd098d
Update main.c
6 years ago
alanbjohnston 8d92dd7253
Update main.c
6 years ago
alanbjohnston 3cc46f3c40
Update main.c
6 years ago
alanbjohnston edcb0ab898
Update main.c
6 years ago
alanbjohnston b66cee5410
Update main.c
6 years ago
alanbjohnston d607682860
with CW on AFSK
6 years ago
alanbjohnston 5e170d6f64
Update main.c
6 years ago
alanbjohnston 6d304885fb
displaying no transmit each time
6 years ago
alanbjohnston e294211eee
added no transmit warning
6 years ago
alanbjohnston 2fa06de1ce
only send over socket if transmitting
6 years ago
alanbjohnston 3677643478
only open socket if transmitting
6 years ago
alanbjohnston 9dbdfa6aa3
fixed transmit variable conflict
6 years ago
alanbjohnston ef70bc262d
added transmit variable only set if BPF is detected
6 years ago
alanbjohnston cb180699fe
Update main.c
6 years ago
alanbjohnston f10a583f5e
Update main.c
6 years ago
alanbjohnston d47c714115
Update main.c
6 years ago
alanbjohnston 9bc1a25690
Update main.c
6 years ago
alanbjohnston fc4b05672e
Update main.c
6 years ago
alanbjohnston d740684bd7
Update main.c
6 years ago
alanbjohnston dd9be0c18d
Update main.c
6 years ago
alanbjohnston 9e1e7212cb
Update main.c
6 years ago
alanbjohnston 7aa5e913df
use pclose(popen()) for cw ID to prevent callsign cutoff
6 years ago
alanbjohnston fd8d37cd29
commented out rpitx call to stop BPSK to have audio gap before AFSK
6 years ago
alanbjohnston 86b3bbd714
Merge branch 'master-test' into universal
6 years ago
alanbjohnston 29ff6952fe
put absolute path in sim.cfg
6 years ago
alanbjohnston 456ebb276b
updated new path for rpitx
6 years ago
alanbjohnston cf522f9510
made payload variable global
6 years ago
alanbjohnston 739fdacc99
added setting of STEMBoardFailure
6 years ago
Alan Johnston bd1ce541ce reduced sleep time to 0.01
6 years ago
alanbjohnston 61db1dd919
added sleep(1) before reading current sensor
6 years ago
alanbjohnston 7337eb3bdf
added delay before reading current sensor
6 years ago
alanbjohnston 36ae683868
added extra Transmit LED On for BPSK
6 years ago
alanbjohnston de1d1d38a2
only turn off Power LED if CW ID is enabled
6 years ago
alanbjohnston 522ed51433
fixed Power LED turnoff too early
6 years ago
alanbjohnston dd528083f7
Removed CW debug printfs
6 years ago
alanbjohnston 08e6b6ae98
fixed swapped BUS and BAT sensors!
6 years ago
alanbjohnston d5fd1d80e3
swapped bus and battery
6 years ago
alanbjohnston f0065119fe
rest of sensors
6 years ago
alanbjohnston b449f206df
Adding +X to test
6 years ago
alanbjohnston 9178f6e618
config of different boards
6 years ago
alanbjohnston 4ba6c6b0dd
board sensing added
6 years ago
alanbjohnston 7b9990172f
added vB5 detection
6 years ago
Alan Johnston cbaf601b67 changes to serial payload test
6 years ago
Alan Johnston 5df202ad10 payload interaction
6 years ago
Alan Johnston 56a3de9743 added delays at end of looping will killall and rpitx for 1 sec
6 years ago
alanbjohnston 8530f7ae56
added sleep for BPSK looping at end to prevent cutoff in demo.sh script
6 years ago
alanbjohnston 9c153b9cb9
don't test for payload serial interface if AX5043 present
6 years ago
alanbjohnston fca6b813fc
forced AFSK mode with AX5043 detected
6 years ago
Alan Johnston 11051344f1 check for SPI devices added
6 years ago
Alan Johnston ab7a8ddce7 Payload UART communication test added, disable AX5043 test
6 years ago
Alan Johnston 992175a02e demo cleanup
6 years ago
Alan Johnston 05e7996d9f fixing no CW when mode cycling
6 years ago
alanbjohnston be2ac895d4
added cw_id to set if sending CW id, set by 3rd command line arg
6 years ago
alanbjohnston 8d11163ae4
turn off CW id if mode cycling
6 years ago
Alan Johnston f6f0cf3f47 added PSU voltage, current, and experiment status
6 years ago
Alan Johnston 2580447cfe curves set for FoxTelem 1.09f working FSK
6 years ago
alanbjohnston be9b9768b8
cleanup
6 years ago
alanbjohnston b45c523123
don't do cw if using ax5043
6 years ago
alanbjohnston e583e6d961
don't cycle if ax5043
6 years ago
Alan Johnston 42015f9e48 AX5043 AFSK transmit working
6 years ago
alanbjohnston 00bf384dbc
moved around header and footer strings
6 years ago
alanbjohnston b7a662a03d
added in data
6 years ago
alanbjohnston aa20bb8215
added ax5043 transmit
6 years ago
alanbjohnston 240c03c7d5
fixed tempSensor bug
6 years ago
alanbjohnston 421aa52425
various adds of ax5043 stuff
6 years ago
alanbjohnston e0f9a6bd7e
fixed true typo
6 years ago
alanbjohnston e6afab48ac
adjusted board checking
6 years ago
Alan Johnston 55178f7b82 added init_rf() with return code for AX5043 presence
6 years ago
Alan Johnston cb934eb2f3 check for SPI enabled
6 years ago
alanbjohnston 18cc6b5c17
testing init
6 years ago
alanbjohnston 982ef380d1
starting to add back in ax-5043 stuff
6 years ago
alanbjohnston bb2698afdd
fixed cw_str length and def
6 years ago
alanbjohnston ad7aad8f59
id with saved callsign
6 years ago
Alan Johnston e1516b73c3 CW ID hardcoded at start
6 years ago
alanbjohnston 2ffd487802
Added station ID in CW Morse using Direwolf gen_packets
6 years ago
Alan Johnston 6f719f91f8 read callsign from sim.cfg file
6 years ago
Alan Johnston d50f89ecfc fixed bug in telem.c
6 years ago
alanbjohnston 4cefb93971
voltage x 100
6 years ago
alanbjohnston 102331d6fa
actual v and i telemetry
6 years ago
alanbjohnston f4e36354ca
battery voltage x 100
6 years ago
alanbjohnston d0bf92e0e4
typo
6 years ago
alanbjohnston b4d9863d65
added current as well as voltage encoding in fox
6 years ago
Alan Johnston daa93ff053 BPSK not working
6 years ago
Alan Johnston 35e97006af better vB3, TFB, and vB4 determination
6 years ago
alanbjohnston cbd1a85f83
typo
6 years ago
alanbjohnston 3d9cf80913
added batteryThreshold with auto shutdown
6 years ago
Alan Johnston de30dc6eda not sure if TFB LEDs working
6 years ago
Alan Johnston a671aecb2a added LED default for vB3 only board
6 years ago
Alan Johnston f128bc6803 vB4 sensing and LEDs working
6 years ago
Alan Johnston 0be5b7342e TFB sensing and tx LED
6 years ago
Alan Johnston 4aafa43afe argument changed to loop count, cycle per reset
6 years ago
Alan Johnston 2bae990de8 FSK and BPSK working with sleepTime and 3000
6 years ago
Alan Johnston 2133853aa9 cycle partial, sleep(0.5) works, samplePeriod gives BPSK 1 Radiation Error
6 years ago
Alan Johnston c4e86f6a9b BPSK working?
6 years ago
Alan Johnston 2c4f80d66d FSK and BPSK works sort of
6 years ago
Alan Johnston 6bd2050f0b FSK 1 working but BPSK no decodes
6 years ago
Alan Johnston d750b6dbd3 working sampleTime - 500 ms
6 years ago
Alan Johnston a006157417 working TFB
6 years ago
Alan Johnston 1ba9a2d372 not working
6 years ago
Alan Johnston 0279f5eb60 fixed socket write length bug
6 years ago
alanbjohnston 71d168dccf
removed curl
6 years ago
alanbjohnston c3a88ff432
changed to i2c 4 and removed tempSensor
6 years ago
alanbjohnston c414e1d2b8
changed to ic2 4
6 years ago
alanbjohnston b705ed4bbb
changed to i2c-3 bus
6 years ago
alanbjohnston 8c1b666f0a
changed to i2c-3
6 years ago
alanbjohnston c25755484c
added default frameCnt if not specified as an argument to avoid crash
6 years ago
alanbjohnston 9c22441e13
added BPF error text
6 years ago
alanbjohnston 07ea618e50
added pullup test
6 years ago
alanbjohnston 4ecd3074f5
adding read to GPIO22
6 years ago
alanbjohnston aeb1e6059e
added green and blue LED control
6 years ago
alanbjohnston fa25410cfe
fixed I2C address
6 years ago
alanbjohnston bfe8596617
fixed I2C address
6 years ago
alanbjohnston fff2d3c755
updated with I2C addresses for new vB4 PCB
6 years ago
alanbjohnston 6d6a8c48f6
changed I2C addresses to match vB4 PCB
6 years ago
alanbjohnston d982023221
moved firstTime to only avoid sleep(3) not writing values
7 years ago
alanbjohnston 8acb8306fe
reducing sleep by 2 in AFSK
7 years ago

Powered by TurnKey Linux.