Commit Graph

1391 Commits (d9b358a4310904e96643bac988df14f31424d46f)

Author SHA1 Message Date
alanbjohnston bea0f92bb3
more log cleanup
5 years ago
alanbjohnston e82022c45e
added 10x for Humidity
5 years ago
alanbjohnston e03298b1be
Merge branch 'dev' into dev-py-test-min
5 years ago
alanbjohnston 417360ad83
removed some printfs
5 years ago
alanbjohnston 606243e601
simulated mode if i2c bus 3 not present
5 years ago
alanbjohnston 869e2da2da
added zero values if no max or min
5 years ago
alanbjohnston 0d15eb274b
removed bogus max min when no payload present
5 years ago
alanbjohnston 1d275ef56c
added fflush(stdout)
5 years ago
alanbjohnston bb29bdab7f
added flush(stderr)
5 years ago
alanbjohnston 445330ea5b
added humidity
5 years ago
alanbjohnston 8ebf3b830b
rest of sensors max min
5 years ago
alanbjohnston d543c1dc15
added last few sensors max min
5 years ago
alanbjohnston 4c3a0cc27c
Update main.c
5 years ago
alanbjohnston 06600cfea5
Update main.c
5 years ago
alanbjohnston fcd4457cd6
Update main.c
5 years ago
alanbjohnston b59c8ec0b9
Update main.c
5 years ago
alanbjohnston b8a65f4038
Update main.c
5 years ago
alanbjohnston 3dab696302
Update main.c
5 years ago
alanbjohnston 0c9c57b37a
Update main.c
5 years ago
alanbjohnston 5773a85975
Update main.c
5 years ago
alanbjohnston cbbca89a3f
Update main.c
5 years ago
alanbjohnston b93996587c
Update main.c
5 years ago
alanbjohnston 6d0e3db664
WOD printf
5 years ago
alanbjohnston ed73add48d
changed to unsigned int
5 years ago
alanbjohnston e56efcf662
wow test
5 years ago
alanbjohnston 3f009f49aa
more word
5 years ago
alanbjohnston 343592d81c
Update main.c
5 years ago
alanbjohnston 0c6083f0d6
more word
5 years ago
alanbjohnston 4fc216bc81
more wod
5 years ago
alanbjohnston 7488627d62
more word
5 years ago
alanbjohnston 4fc4ff76a9
put MAX and MIN back
5 years ago
alanbjohnston 6c37aadf01
added rest of sensors
5 years ago
alanbjohnston c33b24b1ce
switching max and min
5 years ago
alanbjohnston ccc5955c2f
wow test
5 years ago
alanbjohnston 6c3421e573
missing ) typo
5 years ago
alanbjohnston 0813b39364
Update main.c
5 years ago
alanbjohnston c514885dae
fixed current conversions
5 years ago
alanbjohnston dda78ebc6f
missing {
5 years ago
alanbjohnston 50cff5a94e
rest of battery voltages and currents
5 years ago
alanbjohnston c33ee9a02d
fixed payload order
5 years ago
alanbjohnston 1f7e208776
always send MAX Min frame BPSK
5 years ago
alanbjohnston 71b914cdb2
added payload frame checking for MAX Min
5 years ago
alanbjohnston 35c04331de
BPSK only send MAX MIN frames, just +Xv and +Yv so far
5 years ago
alanbjohnston 4654fc583c
turned on max and min frames for a test similar to dev-faster
5 years ago
alanbjohnston b82ce45442
added printf for python results
5 years ago
alanbjohnston fcef731b5e
back to sleep(2.3) for BPSK and FSK
5 years ago
alanbjohnston b40eee5ca8
sleep 1.3 for BPSK
5 years ago
alanbjohnston df7e53c0fa
sleep 4.3 for BPSK
5 years ago
alanbjohnston d836c622a8
Only sleep(2.3) for FSK
5 years ago
alanbjohnston 2cdb41f04f
removed sleep(2.3)
5 years ago
alanbjohnston 421547dd9b
removed double clearing buffer
5 years ago
alanbjohnston 7ef595e4bb
double clearing buffer
5 years ago
alanbjohnston 41fb0eab32
added test for BPSK mode for 2nd socket send
5 years ago
alanbjohnston b38e528681
changed UART to 115200
5 years ago
alanbjohnston b65770fc81
changed a printf to fprintf(stderr
5 years ago
alanbjohnston fdd5fd0fd9
printout PythonConfigStr
5 years ago
alanbjohnston 863dddbbb5
send frame twice over socket
5 years ago
alanbjohnston 0086136b2c
changed humidity to include tenths of a percent
5 years ago
alanbjohnston 4cb9a33fb3
simulated telemetry mode set by i2c bus 3 so automatically set with Lite board
5 years ago
alanbjohnston 0b885c76b1
fixed swap -X and -Y bug
5 years ago
alanbjohnston 5b961be801
sim mode is activated by only i2c bus 1 disabled, allowing raspi-config to enable sim mode
5 years ago
alanbjohnston 278e84fcd9
change sleep(3.3) to 2.3
5 years ago
alanbjohnston d4ac2bb073
typo
5 years ago
alanbjohnston 9c8b60fa5d
fixed APRS mode python read
5 years ago
alanbjohnston 07d6e22f37
more cleanup
5 years ago
alanbjohnston d3ec5b3749
cleanup
5 years ago
alanbjohnston f4155d1f0f
trying to fix max and min
5 years ago
alanbjohnston 52652e5124
formatting
5 years ago
alanbjohnston 1f05cd054f
fix max min
5 years ago
alanbjohnston 8697d11071
investigate Imax and min
5 years ago
alanbjohnston e36e5ff678
Working pretty well, removed duplicate Sample period printf
5 years ago
alanbjohnston b5099b6cc7
turn on payload
5 years ago
alanbjohnston 5b0394d782
Working OK without cpu limit, MAX MIN not correct for FSK
5 years ago
alanbjohnston fd3f41e2ac
turn payload off
5 years ago
alanbjohnston b50723f8cf
removed python test at start
5 years ago
alanbjohnston 2b20f1170e
try turning firstTime on again
5 years ago
alanbjohnston dad7f9d139
Working, turning on payload
5 years ago
alanbjohnston 10de251683
added sleep(0.5) if resending
5 years ago
alanbjohnston d08054b8c3
socket resend not working yet
5 years ago
alanbjohnston 7059775750
added back in socket resend
5 years ago
alanbjohnston ac36259312
sleep(3.3)
5 years ago
alanbjohnston f8cf009a95
changed MAX MIN
5 years ago
alanbjohnston b53d2251c7
sleep(3.8)
5 years ago
alanbjohnston e2d9badab2
typo
5 years ago
alanbjohnston 4f2823b739
merged in sin_map from dev-faster
5 years ago
alanbjohnston 115aaeff58
Update main.c
5 years ago
alanbjohnston 2a81c4d4a5
take python read out
5 years ago
alanbjohnston 2507048f8f
reduce sleep time
5 years ago
alanbjohnston 630c6f2a0f
removed python read
5 years ago
alanbjohnston 18a2c69b2b
sleep(2.8)
5 years ago
alanbjohnston e4e148ca06
took out old file1 code
5 years ago
alanbjohnston bf44272ed2
try new sopen
5 years ago
alanbjohnston c209010fe8
stdout
5 years ago
alanbjohnston ee66bfa171
typo
5 years ago
alanbjohnston 2881b595cf
added stdin
5 years ago
alanbjohnston bad0056b37
testing python read
5 years ago
alanbjohnston f655d2f801
printf python read result
5 years ago
alanbjohnston 5279c8f36f
working with every frame, fixing telem read
5 years ago
alanbjohnston 211da494be
sleep(3.5) now with quicker python sensor reads
5 years ago
alanbjohnston 1733e4cab7
made cmdbuffer and file1 globals, keep open
5 years ago
alanbjohnston 1d2f100c74
changed to popen w
5 years ago
alanbjohnston 36706a6c81
Update main.c
5 years ago
alanbjohnston 036a850aae
Update main.c
5 years ago
alanbjohnston 1f7aa9b402
Update main.c
5 years ago
alanbjohnston 817e20da8a
try in and out
5 years ago
alanbjohnston a6a48b52a6
Update main.c
5 years ago
alanbjohnston 203f9cee90
handled errors
5 years ago
alanbjohnston 4ee4fe7847
Update main.c
5 years ago
alanbjohnston 27399f2022
Update main.c
5 years ago
alanbjohnston b8fe0cef95
Update main.c
5 years ago
alanbjohnston 100aabd8f1
bool to int
5 years ago
alanbjohnston a3e34d9ea5
Try start process
5 years ago
alanbjohnston 444ba6992d
try r+
5 years ago
alanbjohnston 6b67bf70a6
changed popen to rw
5 years ago
alanbjohnston d8cedd9f21
try new python
5 years ago
alanbjohnston 40230331b6
Update main.c
5 years ago
alanbjohnston 6c1b63be40
sleep 1.5 and python telem
5 years ago
alanbjohnston 71234ff24f
back to sleep(2.5)
5 years ago
alanbjohnston 55fbb3c52b
delay(3)
5 years ago
alanbjohnston b89ba8c0ce
Update main.c
5 years ago
alanbjohnston f081a668e0
delay
5 years ago
alanbjohnston 729fe608a0
changed to delay(2.5)
5 years ago
alanbjohnston e1ba966153
No sleep, buffer always full, almost 100% frames
5 years ago
alanbjohnston 739d111da5
removed sleep
5 years ago
alanbjohnston 41fe5ffebb
typo
5 years ago
alanbjohnston 5013b81bc0
reduced to 2.5
5 years ago
alanbjohnston 3ae7a22691
reduce to 3.0
5 years ago
alanbjohnston fffdff6b10
reduced sleep from 3.5 to 3.2 to avoid buffer overflow
5 years ago
alanbjohnston 3d817f4382
Almost every frame decoded, still buffer filling, try turning off first time
5 years ago
alanbjohnston f2e0854b12
all together again one sleep
5 years ago
alanbjohnston bd53121655
more testing
5 years ago
alanbjohnston 8befb7cf14
loop time test
5 years ago
alanbjohnston dfac052acd
Two sleep(2.5)
5 years ago
alanbjohnston 47584fd479
consolidated all into a sleep(4.5)
5 years ago
alanbjohnston 4deeee6e90
changed to sleep(2.5)
5 years ago
alanbjohnston 3cf5703081
added sleep(0.6)
5 years ago
alanbjohnston 75606058f1
added 3x sleep(1)
5 years ago
alanbjohnston 4ec37242cd
no python sensor read
5 years ago
alanbjohnston 162ecb1b33
Update main.c
5 years ago
alanbjohnston 82a96e1c5f
turned off payload
5 years ago
alanbjohnston 67bda7538b
Update main.c
5 years ago
alanbjohnston 1271e7b62c
Update main.c
5 years ago
alanbjohnston 5a8adeea2f
typos
5 years ago
alanbjohnston af945401f7
moved sim_mode code
5 years ago
alanbjohnston 642f625363
removed sensor printf
5 years ago
alanbjohnston 8b28cf1c17
added time printf
5 years ago
alanbjohnston 6da1423650
moved initialization of FSK and BPSK values
5 years ago
alanbjohnston bead52d20a
strstr warning
5 years ago
alanbjohnston 1df9a30367
Update main.c
5 years ago
alanbjohnston e508a3c118
more cleanup
5 years ago
alanbjohnston 0b46263f47
more cleanup
5 years ago
alanbjohnston fb58b87a60
WOD testing, not working yet
5 years ago
alanbjohnston 0276a76c0d
Update main.c
5 years ago
alanbjohnston 7d7823869f
end of WOD field experiments
5 years ago
alanbjohnston 99226a0f81
typo
5 years ago
alanbjohnston d0fe751d10
moving WOD fields
5 years ago
alanbjohnston 031e66ad83
no MAX MIN for BPSK, added WOD field test
5 years ago
alanbjohnston 63e95663a0
even more
5 years ago
alanbjohnston 86a2f70748
more
5 years ago
alanbjohnston 02e259bf11
missing #endif
5 years ago
alanbjohnston 8685cf1c18
more fixing of warnings
5 years ago
alanbjohnston 82431f1460
start of cleanup of compiler warnings
5 years ago
alanbjohnston 6b6fa5aa42
cleanup error from reformatter
5 years ago
alanbjohnston d7c5d11a62
reformatted
5 years ago
alanbjohnston 8ea31a748a
fixed typo - payload is not off in sim_mode
5 years ago
alanbjohnston 92813858d0
typo
5 years ago
alanbjohnston a532f3724f
turned payload OFF if sim mode
5 years ago
alanbjohnston 5a32553298
typo
5 years ago
alanbjohnston 75db343fd2
check for valid values in sensor max and min before writing
5 years ago
alanbjohnston 26f8a15cb3
only update max and min if valid sensor data
5 years ago
alanbjohnston 30c8a0f7ac
moved min max after sim
5 years ago
alanbjohnston 2b0e96c256
added MAX and MIN
5 years ago
alanbjohnston 68eb69776e
fixed RSSI and rearranged payload read order
5 years ago
alanbjohnston 3a6397db66
typo
5 years ago
alanbjohnston 6994a433c1
added MIN frame every 1/4
5 years ago
alanbjohnston 32c8accace
fixed RSSI
5 years ago
alanbjohnston 3afcdb77ba
typo
5 years ago
alanbjohnston 86958b5a28
typos
5 years ago
alanbjohnston b0fcc5ed5d
added other for IHUtemp
5 years ago
alanbjohnston 9867c9cb36
typo
5 years ago
alanbjohnston 7bf38384d4
only process payload string if valid (begins with "OK")
5 years ago
alanbjohnston 92366d9351
testing sensor_min and max
5 years ago
alanbjohnston 6f7bbbc2de
debug sensor_min
5 years ago
alanbjohnston 9e3fbf5894
typo in sensor min and max
5 years ago
alanbjohnston f11811f484
typo
5 years ago
alanbjohnston 8b7b1de256
added HUMI, etc XS1 to 3
5 years ago
alanbjohnston 941d71090c
changed 20 to 14, encoded accel
5 years ago
alanbjohnston b2fe6e2084
added GYRO_X, Y, and Z, ACCEL_X, Y, Z
5 years ago
alanbjohnston b162d1b1a8
typo
5 years ago
alanbjohnston 06c29b1558
added sensor max and min and other max and min
5 years ago
alanbjohnston 421235ef43
typo
5 years ago
alanbjohnston 8b0d8f9fbb
initialized max and min so that first value sets it
5 years ago
alanbjohnston d5e9303b49
typos
5 years ago
alanbjohnston af3d08657c
typo
5 years ago
alanbjohnston db71caa8f7
typos
5 years ago
alanbjohnston 898a01e965
typos
5 years ago
alanbjohnston b5a6338293
added storage of V, I max and min
5 years ago
alanbjohnston 15eb474e07
reset NormalModeFailure when V > 3.5V
5 years ago
alanbjohnston 7e42606d14
changed back to 9600 UART to arduino
5 years ago
alanbjohnston 335b142896
fixed cpuTemp in APRS simulated mode
5 years ago
alanbjohnston 6df61e363f
removed NormalModeFailure from APRS
5 years ago
alanbjohnston 5ac93cfca9
added simulation tlm for APRS
5 years ago
alanbjohnston 40b97545cd
Payload query cleanup
5 years ago
alanbjohnston 2c78a95284
try clearing buffer before reading
5 years ago
alanbjohnston 6971275a02
try retry instead of end at \n
5 years ago
alanbjohnston 79c7811c14
added printf
5 years ago
alanbjohnston 3bf456089c
added test for OK in sensor payload and restart
5 years ago
alanbjohnston 0f848d6d46
Try 19200 UART
5 years ago
alanbjohnston 46c182e4e1
back to 9600 but with Arduino checking for ?
5 years ago
alanbjohnston 985f3aca4d
try 19200 serial to UART
5 years ago
alanbjohnston 29247884a1
Try \n? again
5 years ago
alanbjohnston c4d90f8ba2
Try \n? query
5 years ago
alanbjohnston a39eafbfc2
Accel to floats
5 years ago
alanbjohnston a714ed69cc
typo
5 years ago
alanbjohnston b4087cefe5
sensor3 typo
5 years ago
alanbjohnston 2c4dfd489c
sensor fixup
5 years ago
alanbjohnston b66743491f
fixed encoding of BME280
5 years ago
alanbjohnston 535ffd5576
changed BME280 variables to float
5 years ago
alanbjohnston 8a59a54a5f
corrected token read of sensor data
5 years ago
alanbjohnston 8ffe4ff249
Normal mode failure if battery < 3.5 V
5 years ago
alanbjohnston d79b308c7e
fixed accel telem
5 years ago
alanbjohnston 30f1abd698
fixed BME280temperature
5 years ago
alanbjohnston 248490a82f
moved tx and rx antennas to globals
5 years ago
alanbjohnston 50bd27f92a
typo
5 years ago
alanbjohnston 3a0cc30e07
BME280temperature, spin, and txAntennaDeployed set by variables
5 years ago
alanbjohnston d66e9b51e1
typos
5 years ago
alanbjohnston dccf20dba7
added all BME280 and MPU6050 sensor fields
5 years ago
alanbjohnston 8ca33c8767
Rssi typo
5 years ago
alanbjohnston 92c619ee00
Rssi typo
5 years ago
alanbjohnston cc437da16e
Resets typo
5 years ago
alanbjohnston d172b7d4e1
added Resets and Rssi
5 years ago
alanbjohnston 9c141cc09b
camera status working
5 years ago
alanbjohnston f5aaf74124
Update main.c
5 years ago
alanbjohnston 150ca64110
Update main.c
5 years ago
alanbjohnston 1e8a049954
Update main.c
5 years ago
alanbjohnston f7c380fe62
zeroed all sensors
5 years ago
alanbjohnston c92919f696
camera testing
5 years ago
alanbjohnston 992e0bc6bf
testing PayloadFailure
5 years ago
alanbjohnston ab5484645b
Update main.c
5 years ago
alanbjohnston b85e680873
camera test, added PayloadFailure 1 and 2 status
5 years ago
alanbjohnston 0489f68f20
testing
5 years ago
alanbjohnston 9b23cf1766
Update main.c
5 years ago
alanbjohnston 23bc5d8173
testing
5 years ago
alanbjohnston c5d89e8e39
all 1's in status bits
5 years ago
alanbjohnston 71618fd3f2
Update main.c
5 years ago
alanbjohnston e774df3e72
testing camera status
5 years ago
alanbjohnston 57e229a80b
reversed conditional
5 years ago
alanbjohnston 87c501483c
added camera conditional
5 years ago
alanbjohnston 3e16f41339
typo
5 years ago
alanbjohnston 1d53b14af0
typo
5 years ago

Powered by TurnKey Linux.