Commit Graph

1653 Commits (pico-v0.37-esp32-working)

Author SHA1 Message Date
alanbjohnston d88973438e
Update main.c
5 years ago
alanbjohnston 7485205448
made x and y axis only positive for now
5 years ago
alanbjohnston c7f627cedc
added display of values
5 years ago
alanbjohnston 40411aa44c
Update main.c
5 years ago
alanbjohnston 5549e7951c
fixed Xv typo
5 years ago
alanbjohnston a9dec99736
converting doubles to floats
5 years ago
alanbjohnston c9f8753e22
Update main.c
5 years ago
alanbjohnston a7cce53061
typos
5 years ago
alanbjohnston 578a692479
added set of sim voltages, currents, and temp
5 years ago
alanbjohnston 395d9ed630
1/2 speed
5 years ago
alanbjohnston c9d16166ca
+/- 10% noise
5 years ago
alanbjohnston b7318cae23
typo
5 years ago
alanbjohnston a67a8f7ec0
0.5 noise
5 years ago
alanbjohnston 01fd089aea
now with +/- 0.1 noise
5 years ago
alanbjohnston db32addc30
angle 0.2 0.2 1
5 years ago
alanbjohnston 7a5bf8ff47
now fixed
5 years ago
alanbjohnston 3d3fa8fd6a
now correct values
5 years ago
alanbjohnston c6918cb635
Update main.c
5 years ago
alanbjohnston 5bf8d27895
Update main.c
5 years ago
alanbjohnston f77cda0bd6
added printf
5 years ago
alanbjohnston 68100c5676
typo
5 years ago
alanbjohnston 46119b7313
typo in conditional expression
5 years ago
alanbjohnston e454c8cd84
encode simulated X, Y, Z current
5 years ago
alanbjohnston 26fca73d99
typo
5 years ago
alanbjohnston 6a52ba19d5
double
5 years ago
alanbjohnston 16c1401aa0
print typo
5 years ago
alanbjohnston b015eb558a
fixed sin()
5 years ago
alanbjohnston 1264342dc7
changed time to millis
5 years ago
alanbjohnston 1f07352ea6
added posXi calc test
5 years ago
alanbjohnston c4ece650a9
testing rnd
5 years ago
alanbjohnston d7c1e02a05
stray characters
5 years ago
alanbjohnston db78f62eb1
typo
5 years ago
alanbjohnston 0692df38fa
added random float generator
5 years ago
alanbjohnston a2309c00a7
swapped -X and +Z mapping
5 years ago
alanbjohnston 7698dbb6eb
swapped -X and +Z for vB5
5 years ago
alanbjohnston c429ae441e
back to type 1 again
5 years ago
alanbjohnston dd7e8a9feb
test type 3
5 years ago
alanbjohnston 20ef9f3f90
testing type 2
5 years ago
alanbjohnston 1a490d7ba5
back to frame type 1
5 years ago
alanbjohnston 5175f5df3a
test payload type 3
5 years ago
alanbjohnston 1845d78d5a
added rounding in integer conversion for currents
5 years ago
alanbjohnston dc71a9b9c5
frame type 2
5 years ago
alanbjohnston 2fb646bedb
testing frame type 3
5 years ago
alanbjohnston f97d863948
changed to frame_type 2 to test max, min
5 years ago
alanbjohnston e9ed60b3d4
fixed angular velocity
5 years ago
alanbjohnston 6aa8800f6e
more testing
5 years ago
alanbjohnston 2641e3a01d
testing Angular Velocity
5 years ago
alanbjohnston be0ad9844b
changed antenna failure to antenna deploy
5 years ago
alanbjohnston 01f8be893d
typo in antenna failure
5 years ago
alanbjohnston 102ebd6d43
encoding for failures and antenna deployment and ground command count
5 years ago
alanbjohnston 01b090441d
testing all flags
5 years ago
alanbjohnston b51018b998
turning on all four status bits
5 years ago
alanbjohnston 26e0019d23
still testing
5 years ago
alanbjohnston 9464d69471
testing again
5 years ago
alanbjohnston b64fd61631
fixed lookup value
5 years ago
alanbjohnston 2bdc2a00ea
testing sensor3
5 years ago
alanbjohnston db951ef4a7
More testing
5 years ago
alanbjohnston 5557f06577
trying STEM Board Failure
5 years ago
alanbjohnston 84562e9d19
testing NormalModeFail
5 years ago
alanbjohnston 5eb8dbc109
Added NormalModeFailure and test RXAntenna and TXAntenna
5 years ago
alanbjohnston c13bf27698
try Normal Mode FAIL
5 years ago
alanbjohnston beb0194e5c
test accel values
5 years ago
alanbjohnston 53c5ff2edf
fixed sensor2
5 years ago
alanbjohnston 0d69a8e72e
added sensor1 and sensor 2 values
5 years ago
alanbjohnston 98d6d22040
added back in linear angular velocity
5 years ago
alanbjohnston bc58348441
fixed new variables for pressure, temp, alt, and accel
5 years ago
alanbjohnston eb630a80ae
partial add of STEM Payload sensors, missing rotation linear changes
5 years ago
alanbjohnston 3708d103b9
latitude typo
5 years ago
alanbjohnston a2587b0a7f
set lat and long if valid coords in sim.cfg
5 years ago
alanbjohnston 6a2fddd578
used fabs
5 years ago
alanbjohnston 42a59f991d
added test of lat and long from sim.cfg
5 years ago
alanbjohnston d8567fa259
typo in file read
5 years ago
alanbjohnston 3d30eec185
Update main.c
5 years ago
alanbjohnston ca8b68b0fa
Update main.c
5 years ago
alanbjohnston 37514dc716
added lat and long to sim.cfg
5 years ago
alanbjohnston da367b5d8d
added condition for N or S latitude, E or W long
5 years ago
alanbjohnston a6cce7b690
added back missing S
5 years ago
alanbjohnston a0f9f5e267
lat and long * 100
5 years ago
alanbjohnston f3b3aa7041
added latitude and longitude variables
5 years ago
alanbjohnston 3be9083010
// to get /
5 years ago
alanbjohnston b007b16194
try double escaping \
5 years ago
alanbjohnston 1c844c2599
hex for \
5 years ago
alanbjohnston e11daa157c
adding APRS string to tlm
5 years ago
alanbjohnston f2942054bc
typos
5 years ago
alanbjohnston c1074e66f9
Update main.c
5 years ago
alanbjohnston 7f521e7f4f
start adding APRS latt and long with "\"
5 years ago
alanbjohnston 478d246e97
\\ to escape \
5 years ago
alanbjohnston 8b5f4b5d6a
escaping with ASCII
5 years ago
alanbjohnston ffe7d6409e
escaped backslash
5 years ago
alanbjohnston a52d02b4f8
different icon
5 years ago
alanbjohnston c76a1321c7
escaped \ in APRS string
5 years ago
alanbjohnston 48c6fe3631
satellite APRS icon
5 years ago
alanbjohnston 26471725e3
another symbol
5 years ago
alanbjohnston 95a925a84a
change APRS symbol
5 years ago
alanbjohnston 203befc34f
APRS typo
5 years ago
alanbjohnston d96114de57
added coords to AFSK
5 years ago
alanbjohnston af9ec8d2c2
don't check for payload if vB3 with TFB present
5 years ago
alanbjohnston a8573dd9a9
Merge pull request #59 from alanbjohnston/dev
5 years ago
Alan Johnston 45d0927a0c Added APRS formatting to tlm displayed as Comment
5 years ago
alanbjohnston 6ea3717745
fixed bug in vB5 i2c bus selection
5 years ago
alanbjohnston c085835d0d
Merge pull request #57 from alanbjohnston/dev
5 years ago
alanbjohnston 3531a33718
added bus test for vB3
5 years ago
alanbjohnston 313c439cde
fixed error text
5 years ago
alanbjohnston f4e1b433db
Added test_i2c_bus, sets bus to -1 if not present
5 years ago
alanbjohnston 9d786f3db8
added rest
5 years ago
alanbjohnston 2b4f9b19f3
Update telem.c
5 years ago
alanbjohnston 5d6275af10
use snprintf
5 years ago
alanbjohnston 8795900a03
added test for bus 3 and 11
5 years ago
alanbjohnston d84d1de3d1
Update telem.c
5 years ago
alanbjohnston 3cba4929b0
fixing string errors
5 years ago
alanbjohnston 16c705173c
Update telem.c
5 years ago
alanbjohnston ffa70811ce
Update telem.c
5 years ago
alanbjohnston 654de9f30a
Update telem.c
5 years ago
alanbjohnston 0ba842108b
Update telem.c
5 years ago
alanbjohnston 7a72f6edbc
Update telem.c
5 years ago
alanbjohnston 5d588a1715
fixed string cat
5 years ago
alanbjohnston 83bbc1ec24
added bus string determination
5 years ago
alanbjohnston c6bc354f65
Update telem.c
5 years ago
alanbjohnston 1c2aa10540
Update telem.c
5 years ago
alanbjohnston 0435bd54cc
Update telem.c
5 years ago
alanbjohnston 9dbf7927db
Update telem.c
5 years ago
alanbjohnston 235231c744
typo
5 years ago
alanbjohnston 6259ff62f0
typo
5 years ago
alanbjohnston a2f01d7c61
typo
5 years ago
alanbjohnston 4c0a2118db
added test_i2c_bus function
5 years ago
alanbjohnston bb3924055e
typo
5 years ago
alanbjohnston 41d274bc52
typo
5 years ago
alanbjohnston a25d4daf9b
added bus tests 0
5 years ago
alanbjohnston 70e25e0d02
put -1 for bad i2c bus
5 years ago
alanbjohnston 2e64a1df96
added test to bus 11 or 3 to make sure it has pullup resistors
5 years ago
alanbjohnston 920b51604c
added RXTemperature to FoxTelem FSK
5 years ago
alanbjohnston e28e5d58f8
Update main.c
5 years ago
alanbjohnston d6480d9dbb
Update main.c
5 years ago
alanbjohnston 48d2192f32
Update main.c
5 years ago
alanbjohnston e2444b7035
Update main.c
5 years ago
alanbjohnston ace16f6f9f
Update main.c
5 years ago
alanbjohnston 004d7f8e20
Update main.c
5 years ago
alanbjohnston dba9388249
Update main.c
5 years ago
alanbjohnston 884c4905c3
Update main.c
5 years ago
alanbjohnston 9f3e782ee7
Added RXTemperature from the BME280 sensor reading
5 years ago
alanbjohnston dad41bf31d
cleanup
5 years ago
alanbjohnston 37168ce579
removed rest of voltage and current logging
5 years ago
alanbjohnston 2308e5b6f0
removed Parities and voltage and current logging
5 years ago
alanbjohnston e17ae7ab4c
Merge branch 'master' into dev-py
5 years ago
alanbjohnston 628b450805
removed ina219 .h
5 years ago
alanbjohnston 0a3d4b3436
Delete Adafruit_INA219.h
5 years ago
alanbjohnston a54ebe7a51
Delete send_afsk.h
5 years ago
alanbjohnston ef2be21013
Delete send_afsk.c
5 years ago
alanbjohnston 28e2fdaba7
Delete ina219.h
5 years ago
alanbjohnston 61752931ad
Create TelemEncoding.h
5 years ago
alanbjohnston de783bcf8d
added TelemEncoding.h
5 years ago
alanbjohnston 9d2be29edb
Update main.c
5 years ago
alanbjohnston 60a25ae547
Update main.c
5 years ago
alanbjohnston 8cb6d2b26e
removed unneeded .h files
5 years ago
alanbjohnston 2086431e24
Delete main_old.c
5 years ago
alanbjohnston fa10e3d978
Delete make_wav.h
5 years ago
alanbjohnston a784d1c35c
Delete main_not_working.c
5 years ago
alanbjohnston f9f50a88b5
Delete main_memcpy.c
5 years ago
alanbjohnston f50e5bfdd2
Delete main4.c
5 years ago
alanbjohnston aa3ee9244e
Delete main3.c
5 years ago
alanbjohnston 959acb6975
Delete main2.c
5 years ago
alanbjohnston a416c3c7cd
Delete main.c.bk
5 years ago
alanbjohnston a13e3cbceb
cleanup
5 years ago
alanbjohnston af3c8b1bd0
cleanup
5 years ago
alanbjohnston 5ee28dbbb1
fixed -0 display
5 years ago
alanbjohnston 53b4f870a4
Update telem.c
5 years ago
alanbjohnston 9b5fc5619c
Update telem.c
5 years ago
alanbjohnston d6c3cfab59
Update telem.c
5 years ago
alanbjohnston c0337aa11b
Update telem.c
5 years ago
alanbjohnston 8579fe6216
updated to use python voltcurrent.py
5 years ago
alanbjohnston c9311b1499
Update telem.c
5 years ago
alanbjohnston cc776b3cf7
print all values
5 years ago
alanbjohnston 807bf54311
Update telem.c
5 years ago
alanbjohnston aa2a3b71fd
Update telem.c
5 years ago
alanbjohnston 552b28de25
Update telem.c
5 years ago
alanbjohnston 4a29e547c4
Update telem.c
5 years ago
alanbjohnston 02ff418e3e
switching to python start
5 years ago
alanbjohnston 95a297ad81
removed old sensor and rpitx code that was commented out
5 years ago
alanbjohnston abfbb5db89
set map array back to 8 values
5 years ago
alanbjohnston 1aa6351106
Update main.c
5 years ago
alanbjohnston 00b13bf51b
2.5
5 years ago
alanbjohnston 48bc9dc6a4
increase time
5 years ago
alanbjohnston 16800022d5
reduce BPSK sleep time to reduce sample time to 3 s
5 years ago
alanbjohnston 1b770af050
fixed mapping for vB3 board
5 years ago
alanbjohnston ad251a3a4e
changing mapping for vB3
5 years ago
alanbjohnston 4f0e0ca66e
first payload UART query with R instead of ? to reset payload
5 years ago
alanbjohnston 763970b9c6
Update main.c
5 years ago
alanbjohnston d07e893d12
removed newline in AFSK payload telemetry to avoid direwolf crash
5 years ago
alanbjohnston aa43cd5540
Update main.c
5 years ago
alanbjohnston cda631ea64
removed sensor structs and functions
5 years ago
alanbjohnston d6768d1c09
added batteryThreshold for original board
5 years ago
alanbjohnston ee77e6c494
moved batteryVoltage
5 years ago
alanbjohnston 20d6b946c8
added mapping of sensor numbers for different boards
5 years ago
alanbjohnston 72e12763b0
added null checking around token parsing
5 years ago
alanbjohnston 0b381b401e
use bus string for python sensor read
5 years ago
alanbjohnston 5aef3312c7
Update main.c
5 years ago
alanbjohnston d63b9c30c2
Update main.c
5 years ago
alanbjohnston 9439f12cf8
Update main.c
5 years ago
alanbjohnston e8d3422f1e
starting string operations for python commands
5 years ago
alanbjohnston 5b25abc58b
added NULL checking in token parsing
5 years ago
alanbjohnston 88da3241a4
added space at end of string
5 years ago
alanbjohnston 5899390305
added \n before \0
5 years ago
alanbjohnston e1911f3a6b
Update main.c
5 years ago
alanbjohnston 8dbc43f8e4
skipping over BME280 data
5 years ago
alanbjohnston cfeee7da97
one more
5 years ago
alanbjohnston 907d20358c
skip BME280 Data
5 years ago
alanbjohnston 72adb1b5ad
added gyro to FSK telemetry
5 years ago
alanbjohnston c7f09f4f1e
Update main.c
5 years ago
alanbjohnston ab442213ae
Update main.c
5 years ago
alanbjohnston a3d0be8b3d
typo
5 years ago
alanbjohnston 6d756a766d
added tokenization of gyro string
5 years ago
alanbjohnston b00a7db5ac
changed to polynomial formula
5 years ago
alanbjohnston 1e594e5712
refined formula about +/- 6 dps
5 years ago
alanbjohnston edac4ead20
typo in formula
5 years ago
alanbjohnston 0aa830b781
added dps to Angular Velocity formula
5 years ago
alanbjohnston a44d8e2ad1
Update main.c
5 years ago
alanbjohnston d6b060135d
added x, y, z angular velocity placeholders
5 years ago
alanbjohnston 925f2143ee
Update main.c
5 years ago
alanbjohnston dcc4e0211f
Update main.c
5 years ago
alanbjohnston 9c04919b88
stop at newline
5 years ago
alanbjohnston 974c4de4d6
Update main.c
5 years ago
alanbjohnston 3bc0f6adde
print payload string
5 years ago
alanbjohnston f93e162863
Update main.c
5 years ago
alanbjohnston 696db56b11
Update main.c
5 years ago
alanbjohnston ee8e8efec5
added payload print in AFSK mode
5 years ago
alanbjohnston a319ec7602
changed sensor numbers
5 years ago
alanbjohnston d1ab288928
Update main.c
5 years ago
alanbjohnston d4ad546520
switched to voltage[] and current[]
5 years ago
alanbjohnston 06f94b0cc7
Update main.c
5 years ago
alanbjohnston 2c5594ca1e
Update main.c
5 years ago
alanbjohnston 1bcf93e5ee
Update main.c
5 years ago
alanbjohnston d833b6bbb6
Update main.c
5 years ago
alanbjohnston e655b22009
Update main.c
5 years ago
alanbjohnston 853b2bcec9
start converting to voltcurrent.py
5 years ago
alanbjohnston 95e33b8cc9
Update telem.c
5 years ago
alanbjohnston bf860bb976
Update telem.c
5 years ago
alanbjohnston a665677357
Update telem.c
5 years ago
alanbjohnston dc7e47ad24
Update telem.c
5 years ago
alanbjohnston b579bc0b4c
Update telem.c
5 years ago
alanbjohnston 38e8f60ec5
Update telem.c
5 years ago
alanbjohnston 7248b254a9
Update telem.c
5 years ago
alanbjohnston 4705dd55e6
Update telem.c
5 years ago
alanbjohnston e0087bacd9
Update telem.c
5 years ago
alanbjohnston 45105e2304
Update telem.c
5 years ago
alanbjohnston a98f71abcf
Update telem.c
5 years ago
alanbjohnston 4a54977194
Update telem.c
5 years ago
alanbjohnston 32dcfc5548
Update telem.c
5 years ago
alanbjohnston ad5800a48d
switching to voltcurrent.py
5 years ago
alanbjohnston d4c79e405e
Rename telem.c.bk to telem.c
5 years ago
alanbjohnston 0729d647b6
Rename telem.c to telem.c.bk
5 years ago
alanbjohnston 469a2bfbef
cleanup after dealing with bus 11 properly and using python read
5 years ago
alanbjohnston 742f10d9ac
Update telem.c
5 years ago
alanbjohnston f8880adf9d
Update telem.c
5 years ago
alanbjohnston c49b3a0c18
Update telem.c
5 years ago
alanbjohnston 92847b48d0
Update telem.c
5 years ago
alanbjohnston b8f0064de1
Update telem.c
5 years ago
alanbjohnston 4ec7458671
Update telem.c
5 years ago
alanbjohnston 85fb433d1d
use strtok
5 years ago
alanbjohnston 13c8bda5a9
Update telem.c
5 years ago
alanbjohnston c15f9ef734
Update telem.c
5 years ago
alanbjohnston d7cc00952d
Update telem.c
5 years ago
alanbjohnston 78d9e0260e
Update telem.c
5 years ago
alanbjohnston 0c2c7df8bb
Update telem.c
5 years ago
alanbjohnston 8c1c9be42d
added current
5 years ago
alanbjohnston 4b37f4b9e0
Update telem.c
5 years ago
alanbjohnston 48d3c7be05
snprintf
5 years ago
alanbjohnston 9568ac764b
Update telem.c
5 years ago
alanbjohnston 3670d738c5
started adding python read
5 years ago
alanbjohnston 24ffb1faf9
Fixed AFSK transmit frequency
5 years ago
alanbjohnston ca0acfb3c3
increased sleep to 10 sec
5 years ago
alanbjohnston e47d897993
added 4 second delay in AFSK mode to wait for CW ID to complete
5 years ago
alanbjohnston 4aa7a9f17b
Merge pull request #50 from alanbjohnston/dev
5 years ago
alanbjohnston d677c73ced
put back printf
5 years ago
alanbjohnston bbb9a3795e
added test for i2c-11 bus
5 years ago
alanbjohnston 307a30aa18
fixed conditional
5 years ago
alanbjohnston e6cd0c1887
check if i2c-11 is present for vB5
5 years ago
alanbjohnston a21e57cdf8
added I2C error detection
5 years ago
alanbjohnston 82355dfa3e
10 second i2c timeout time
5 years ago
alanbjohnston 4e52393186
Don't print standard board detection
5 years ago
alanbjohnston fed84ca26b
set back to 5 sec for timeout i2cdetect
5 years ago
alanbjohnston d728af2833
set i2cdetect timeout to 3 sec
5 years ago
alanbjohnston 4929f557e3
try single fgets read
5 years ago
alanbjohnston 108d53ba28
edited I2C troubleshooting suggestions
5 years ago
alanbjohnston 06ff8256ce
commented out debug printfs
5 years ago
alanbjohnston e77391f8b2
detects problems with I2C bus wiring
5 years ago
alanbjohnston 7b1ee75e64
Update telem.c
5 years ago
alanbjohnston faeca11f99
Update telem.c
5 years ago
alanbjohnston 83830a7f74
Update telem.c
5 years ago
alanbjohnston ed058bf57b
Update telem.c
5 years ago
alanbjohnston c2eccfbc37
Update telem.c
5 years ago
alanbjohnston bc6ff48c51
Update telem.c
5 years ago
alanbjohnston ad6633052d
Update telem.c
5 years ago
alanbjohnston 8d51fefcc5
Update telem.c
5 years ago
alanbjohnston 2ee631220a
Update telem.c
5 years ago
alanbjohnston f56eb06c1e
Update telem.c
5 years ago
alanbjohnston e10e28c4b4
Update telem.c
5 years ago
alanbjohnston 201a8c0035
Update telem.c
5 years ago
alanbjohnston 9634ce239d
Update telem.c
5 years ago
alanbjohnston b41f437ba6
Update telem.c
5 years ago
alanbjohnston b1cd28662e
Update telem.c
5 years ago
alanbjohnston d4955ed370
Update telem.c
5 years ago
alanbjohnston 943c6b693d
Update telem.c
5 years ago
alanbjohnston e66994b17f
Update telem.c
5 years ago
alanbjohnston b3a5146aad
Update telem.c
5 years ago
alanbjohnston 8719770a5e
Update telem.c
5 years ago
alanbjohnston c13851cf95
Update telem.c
5 years ago
alanbjohnston 3bf2d4882d
Update telem.c
5 years ago
alanbjohnston 591892c346
Update telem.c
5 years ago
alanbjohnston 97dec2fe63
Update telem.c
5 years ago
alanbjohnston 6ac991dfa8
Update telem.c
5 years ago
alanbjohnston 8d6c22e590
typo
5 years ago
alanbjohnston ed5ba3fe41
Update telem.c
5 years ago
alanbjohnston 9cb1c22cdb
Update telem.c
5 years ago
alanbjohnston 78fc8beae2
added echo $?
5 years ago
alanbjohnston 6033d9d882
Update telem.c
5 years ago
alanbjohnston 24b5eeb84f
Update telem.c
5 years ago
alanbjohnston be4f4aafef
try getc
5 years ago
alanbjohnston 53f1e42e73
Update telem.c
5 years ago
alanbjohnston e91eceeb2d
added i2cdetect test of i2c bus
5 years ago
alanbjohnston 4a72135c82
Bug in PSU Voltage in integer conversion
5 years ago
alanbjohnston 1ea32bbc49
handle case where no battery is plugged into INA219 which reads < 1V
5 years ago
alanbjohnston a2015ca412
added sleep after shutdown command
5 years ago
alanbjohnston 04bef68b47
turning off tx LED when low battery shutdown
5 years ago
alanbjohnston 8a2444fd29
Blink green onLed when low voltage shutdown
5 years ago
Alan Johnston b66f6c41f0 cleanup of ax5043 code
5 years ago
Alan Johnston 902177cdf0 removed BPSK 4 frame no delay
5 years ago
Alan Johnston f59751e35b added Tx LED Logging - occational 8 sec BPSK
5 years ago
alanbjohnston 9cac292894
reset Hi and LOW for Tx LED
5 years ago
alanbjohnston 379843640f
swapped HIGH and LOW for txLed On/Off for vB5
5 years ago
alanbjohnston 63e0161321
removed cw id transmit since in rpitx now
5 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
6 years ago
alanbjohnston 8acb8306fe
reducing sleep by 2 in AFSK
6 years ago
alanbjohnston a3ebcb97da
Update main.c
6 years ago
alanbjohnston 32d16380a2
LED AFSK
6 years ago
alanbjohnston 7d4cf1bd71
changed LED for AFSK
6 years ago
alanbjohnston ada7bc15d4
fixed LED on AFSK
6 years ago
alanbjohnston 45851ed13f
only do digitalWrite when not transmitting
6 years ago
alanbjohnston 6be96fe44b
fixed LED
6 years ago
alanbjohnston 6bbda34af4
LED test
6 years ago
alanbjohnston 2194619af7
fixed blue LED
6 years ago
alanbjohnston 26a515d926
added firstTime detection to write frame of zeros, blue LED off during sleep(3);
6 years ago
alanbjohnston 972ae85829
fixed order of telem, removed 10x scaling
6 years ago
Alan Johnston 98bd2b5775 Working FSK telem
6 years ago
alanbjohnston 8d57f47c62
added telem value set
6 years ago
alanbjohnston f2c6f9643d
added more delay
6 years ago
alanbjohnston f335e388dc
fixed temp and extra delays in AFSK
6 years ago
alanbjohnston 9ffb00acc7
fixed timing of AFSK
6 years ago
alanbjohnston ee9feab8e2
position of cycle mode change
6 years ago
alanbjohnston c0801cedc8
changed callsign, made cycle alternate each time running
6 years ago
alanbjohnston 5fc7dd9199
changed back
6 years ago
alanbjohnston a52973ea58
no 2x on send test
6 years ago
alanbjohnston 9a399017d3
cycle starting with FSK
6 years ago
alanbjohnston 05fa436f60
Just FSK and BPSK cycle
6 years ago
alanbjohnston 0fbf5aff3f
always kill processes after frameCnt
6 years ago
alanbjohnston aa899f0222
fixed mode changing
6 years ago
alanbjohnston 08b76359b5
Update main.c
6 years ago
alanbjohnston 57d5b2f543
cycle debugging
6 years ago
alanbjohnston eedd8ac138
cycle fix
6 years ago
alanbjohnston 0538c5bebf
changed from cycle true false to ON/OFF
6 years ago
alanbjohnston e5dbe67546
fixed true/false
6 years ago
alanbjohnston 91932f58d1
fixed cycling error
6 years ago
alanbjohnston 86c2b124f0
typo
6 years ago
alanbjohnston 73c7c9d85d
added c parameter for cycle through modes, number parameter is now framCnt, recommended to be 3
6 years ago
alanbjohnston d7ee690066
starting with FSK
6 years ago
alanbjohnston e933ac7315
defaults to FSK, added afsk command line setting
6 years ago
alanbjohnston 926185ac80
Update main.c
6 years ago
alanbjohnston e26535aca3
Update main.c
6 years ago
alanbjohnston e568f2a925
added killall before AFSK
6 years ago
alanbjohnston 3d32dc0a67
fixed delays around AFSK mode
6 years ago
alanbjohnston a0f6f3a8c2
fixed AFSK looping
6 years ago
alanbjohnston 7c21ce36dc
Update main.c
6 years ago
alanbjohnston e5aa68cfeb
send 3 AFSK packets, shift frequency 3 Hz lower
6 years ago
alanbjohnston 4429dd66c9
fixed tlm_str and str errors
6 years ago
alanbjohnston f3748dffec
Update main.c
6 years ago
alanbjohnston 8ee7a590f3
fixed str typos
6 years ago
alanbjohnston f5d02d5269
added back rpitx afsk code
6 years ago
alanbjohnston 4fb1c99a1a
added socket_open = 0; after closing of socket
6 years ago
alanbjohnston 7f4b533b8f
Update main.c
6 years ago
alanbjohnston 1fb9fbe0b8
BPSK frame count to 3, added debugs
6 years ago
alanbjohnston 43c2f57033
turned on mode alternation
6 years ago
alanbjohnston 4de0c85706
more kill -9
6 years ago
alanbjohnston 80a48603d5
removed rpitxStatus reset on errors to try to figure out sendiq multiplication
6 years ago
alanbjohnston 6134164b02
fixed 0xa5
6 years ago
alanbjohnston c4e6e9ae6a
frameCnt back to 3.
6 years ago
alanbjohnston e1644a7fcb
cleared buffer with a5 instead of 0.
6 years ago
alanbjohnston 199a623fdc
try 2x send
6 years ago
alanbjohnston a7b4bb3896
plus 1 instead of round
6 years ago
alanbjohnston 34b849f332
fixed roundup
6 years ago
alanbjohnston c5931f609d
made float
6 years ago
alanbjohnston 9b6df1c3cd
changed send to only send half of buffer
6 years ago
alanbjohnston c99fdf508c
test 7 to see if it gives 3 frames
6 years ago
alanbjohnston d70748ebda
trying 10 frames
6 years ago
alanbjohnston ccb81a6c59
re-enabled flip_ctr in write_wave
6 years ago
alanbjohnston 38e075dfb3
3 with WAV
6 years ago
alanbjohnston 6f263247ac
adde back in WAV write
6 years ago
alanbjohnston ac798c7861
Update main.c
6 years ago
alanbjohnston 586dc4e3bc
6 frames
6 years ago
alanbjohnston 03034fedf0
and removed printf on write_wave
6 years ago
alanbjohnston 345e26ffc9
made nrd and rd global, set sample and parties back
6 years ago
alanbjohnston 6063b0127b
set parities to sequential number for troubleshooting
6 years ago
alanbjohnston a9e0756c31
changed samples=1 to make printf easier to see
6 years ago
alanbjohnston e79742f90c
added print_wave printf
6 years ago
alanbjohnston 5f3b63c18a
got rid of alt in buffer
6 years ago
alanbjohnston ace3bfccdb
back to 1 sync word. 2 didn't help
6 years ago
alanbjohnston 7f41f94ed7
back to 2 sync_words
6 years ago
alanbjohnston 7da2a69c37
took out for
6 years ago
alanbjohnston 82afa49db7
back to just 1 sync word
6 years ago
alanbjohnston abc0f07ccd
trying 2 sync words instead of just one.
6 years ago
alanbjohnston cf5ee6f726
frameCnt back to 3
6 years ago
alanbjohnston 12ac4be269
frameCnt = 1
6 years ago
alanbjohnston b9aeaa0a7e
frame count 6
6 years ago
alanbjohnston 8df09be064
got rid of one printf
6 years ago
alanbjohnston 725b14af1a
added printf at start of buffer loop
6 years ago
alanbjohnston 7d22bd68da
added more printfs to diagnose
6 years ago
alanbjohnston b52d5abfe0
added printfs for ctr1 and ctr3 to see how many bytes of data8 and data10 written
6 years ago
alanbjohnston 9eb0e7c16e
set frame count to 4
6 years ago
alanbjohnston a6dc543618
put in killall
6 years ago
alanbjohnston ee26fa813d
changing sent printf
6 years ago
alanbjohnston fa2eee922c
changed from i to ctr
6 years ago
alanbjohnston a25847ec54
changed send to i from buffSize
6 years ago
alanbjohnston d9f6cc0010
turned off alt, added printf i and buffSize
6 years ago
alanbjohnston aa627afcb4
added write_wave with buffer[alt]
6 years ago
alanbjohnston 6a61c876ab
back to alternating
6 years ago
alanbjohnston 404674e5c7
back to sleep(3)
6 years ago
alanbjohnston bc0b9514ab
changed sleep to 5
6 years ago
alanbjohnston 97668d75d8
added printf of sock send attempt
6 years ago
alanbjohnston 44de671d53
changed sleep(3) to 1.
6 years ago
alanbjohnston 2d49ce36fd
Update main.c
6 years ago
alanbjohnston 45bc295287
removed printfs
6 years ago
alanbjohnston 6eaa0ff6a7
inserted two sleeps
6 years ago
alanbjohnston e813ba537b
set rpitxStatus if socket lost
6 years ago
alanbjohnston f32c8d00a6
printf on open socket
6 years ago
alanbjohnston 6091c8be80
keep alt = 0, reopen socket on failure, print error in open
6 years ago
alanbjohnston 3a26bd7ee6
set frameCnt back to 3
6 years ago
alanbjohnston 94e1e68c2b
changed frameCnt to 1 to see if connection reset error goes away
6 years ago
alanbjohnston c52796f4a2
Update main.c
6 years ago
alanbjohnston 903fff053a
printf errono if an error in send
6 years ago
alanbjohnston f672b1921b
Update main.c
6 years ago
alanbjohnston f2bc637f1e
include <errno.h>
6 years ago
alanbjohnston 720f804053
added strerror(errno) for send()
6 years ago
alanbjohnston a4d6a7e571
added printf of return value of send()
6 years ago
alanbjohnston 8ae05e2511
fixed dim of buffer
6 years ago
alanbjohnston 07ad5ec59f
Update main.c
6 years ago
alanbjohnston f45bbc645b
made buffer a global
6 years ago
alanbjohnston 16a8aafcb6
print out max bufLen
6 years ago
alanbjohnston 0172a63445
Update main.c
6 years ago
alanbjohnston 6471317960
Update main.c
6 years ago
alanbjohnston bc4ead6f88
added alt to buffer which alternates between 0 and 1
6 years ago
alanbjohnston 3be637dae6
commented out changing mode
6 years ago
alanbjohnston 3482f3a298
printf get_tlm
6 years ago
alanbjohnston 5d4f0d5a08
pre increment mode
6 years ago
alanbjohnston 8eb069b1f8
added modulo printf
6 years ago
alanbjohnston e9cc3e187a
fixed divide by 0
6 years ago
alanbjohnston 2903c8dc05
moved mode settings into loop
6 years ago
alanbjohnston ec22b535d1
incrementing mode modulo 3
6 years ago
alanbjohnston 8f22a0c0a8
works for FSK and BPSK with two sleep(1)s
6 years ago
alanbjohnston 830771d17d
put back in 1 sleep(1)
6 years ago
alanbjohnston 59d66b92d3
added > /dev/null 2>&1 to fuser
6 years ago
alanbjohnston 6dfeda59a0
added > /dev/null 2>&1 to kill
6 years ago
alanbjohnston 87abd8aa70
removed most sleep(1)
6 years ago
alanbjohnston 7adeb180a9
Update main.c
6 years ago
alanbjohnston cdb8e1a216
added sleep(1) after popoens
6 years ago
alanbjohnston ecea1398ae
added sleep(1) after rpitx
6 years ago
alanbjohnston 04e2813782
Update main.c
6 years ago
alanbjohnston 1f28d94643
typos
6 years ago

Powered by TurnKey Linux.